text
stringlengths
1
22.8M
Lawrence (Larry) Raymond Schaeffer (born 3 April 1947) is an American geneticist, and emeritus professor of animal breeding and genetics at the University of Guelph, Guelph, Ontario, Canada. Biography Larry Schaeffer was born in Chicago, Illinois, US, and grew up in the state of Indiana. In 1965 he attended Purdue University in West Lafayette, Indiana where he studied animal sciences and graduated with a Bachelor of Science. In 1969 he moved to Cornell University, Ithaca, New York, where he studied Quantitative Genetics under Henderson and Van Vleck. By 1971 he received a Master of Science and in 1973 received his doctorate (PhD). Schaeffer then moved to the University of Guelph in Guelph, Ontario. Here he joined the Centre for Genetic Improvement of Livestock (CGIL). On July 7, 2011, he was awarded emeritus status. Work Since the mid-1970s, Schaeffer had aided livestock breeders in understanding new mathematical methods and solutions to apply within breeding evaluations. Over the last few years he has also encouraged breeders and breeding companies to include genomic information into their breeding evaluations. Schaeffer published his results extensively, allowing them to pass into the public domain. Starting in 1975 Schaeffer developed new methodologies in the area of variance component estimation and breeding value estimation in farm animals. From 1975 through the 1980s, he further developed the "BLUP" methodology with the solution of large systems of equations incorporating all kinship relationships. After 1990 Schaeffer developed theoretical and practical implementations in the evaluation of individual control data (test day data) using larger computer capacities. By 1994 the ability to compare international breeding values was ensured through the Multiple Across Country Evaluation (MACE) Model. This international breeding value estimation was carried out in Sweden by Interbull (a permanent Sub-Committee of the International Committee For Animal Recording (ICAR)). In 2006 the inclusion of genomic information in the form of single-base polymorphisms (SNPs) in breeding value estimation became part of many breeding organizations. Schaeffer has produced more than 170 works in magazines and books as well as 387 journal articles. Schaeffer's most recent work involved monitoring genetic evaluation systems for dairy and meat sheep. He also worked on an Atlantic Salmon project with Dr. Elizabeth Boulding (University of Guelph) that used genomics to evaluate Canadian fish for disease resistance. Honours and awards 1988: Lush Award from the American Dairy Science Association 2009: Hermann von Nathusius Medal of the German Society for Breeding Studies Member of the Scientific Advisory Board of Interbull in Sweden Selected publications References Living people Academic staff of the University of Guelph American geneticists University of Guelph Cornell University alumni 1947 births
```rust use tarpc::serde_transport; use tokio_serde::formats::Json; fn main() { #[deny(unused_must_use)] { serde_transport::tcp::connect::<_, (), (), _, _>("0.0.0.0:0", Json::default); } } ```
Samueli Dawai Naulu, (5 January 1982 – 30 March 2013), was a Fijian rugby union footballer. He was born in Narewa, Nadi. He played as a wing. He played for the USA Perpignan team in the Heineken Cup as well as playing for the same team in the French Top 14 Competition. Samueli was 1.94 m (6' 4") tall and weighed 116 kg (18 st 3 lb). When he joined Perpignan he used to play as a flanker but because the coach thought he would make a good winger he was trialled at the wing. He became USA Perpignan's first choice winger after joining the side after playing Rugby league. He died on 30 March 2013 after his car collided with a tree in around 5am, 20 km south of Bergerac in Issigeac, France. References External links Samueli Naulu's profile on ercrugby.com 1982 births 2013 deaths Fijian rugby union players Rugby union wings USA Perpignan players Road incident deaths in France Fijian expatriate rugby union players Expatriate rugby union players in France Fijian expatriate sportspeople in France Sportspeople from Nadi Rugby union players from Ba Province I-Taukei Fijian people USA Limoges players
The Roslyn Flats is a historic building located on the hill above downtown Davenport, Iowa, United States. It was constructed in 1901 and listed on the National Register of Historic Places in 1983. The apartment building was one of several that were built near the campus of Palmer College of Chiropractic. Architecture Roslyn Flats follows the basic design of apartment buildings built in the late 19th and early 20th centuries in Davenport. The building is a three-story structure built over a raised basement and constructed in brick. Bay windows frame the façade on the north and south sides and a two-story porch was constructed between them. Flanking the window bays are rusticated brick pilasters that end in Ionic caps. The cornice features a plain molded architrave below a wide frieze into which are set small Adamesque oval windows. The building features the "formalism, sharp lines and studied elegance" that is found in Federalist architecture. References Residential buildings completed in 1901 Apartment buildings in Davenport, Iowa Apartment buildings on the National Register of Historic Places in Iowa National Register of Historic Places in Davenport, Iowa
```powershell ######################################## # Paste into elevated PowerShell in DC # ######################################## $StartDateTime = get-date Write-host "Script started at $StartDateTime" #region LAB Config # 2-64 nodes $numberofnodes=4 #servernames $ServersPrefix="HVNode" #generate names $servers=@() 1..$numberofnodes | ForEach-Object {$servers+="$ServersPrefix$_"} #ClusterName $ClusterName="HV-Cluster" #Cluster IP Address $ClusterIP="10.0.0.111" #RDMA? Actually "RDMA" based design. If false, traditional converged design is deployed $RDMA=$false #DCB? $DCB=$False #$true for ROCE, $false for iWARP #IP addresses $Net1="172.16.1." $Net1VLAN=1 #VLAN for Storage (RDMA design) or Cluster network (traditional) $Net2="172.16.2." $Net2VLAN=2 #VLAN for LiveMigration network (traditional) #StartIP $IP=1 #SMB Bandwith Limits for Live Migration? path_to_url $SMBBandwidthLimits=$true #Additional Features $Bitlocker=$false #Install "Bitlocker" and "RSAT-Feature-Tools-BitLocker" on nodes? $StorageReplica=$false #Install "Storage-Replica" and "RSAT-Storage-Replica" on nodes? $Deduplication=$false #install "FS-Data-Deduplication" on nodes? #Memory dump type (Active or Kernel) path_to_url $MemoryDump="Active" #endregion #region install features for management (Client needs RSAT, Server/Server Core have different features) $WindowsInstallationType=Get-ItemPropertyValue -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\' -Name InstallationType $CurrentBuildNumber=Get-ItemPropertyValue -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\' -Name CurrentBuildNumber if ($WindowsInstallationType -eq "Server"){ Install-WindowsFeature -Name RSAT-Clustering,RSAT-Clustering-Mgmt,RSAT-Clustering-PowerShell,RSAT-Hyper-V-Tools,RSAT-Feature-Tools-BitLocker-BdeAducExt,RSAT-Storage-Replica }elseif ($WindowsInstallationType -eq "Server Core"){ Install-WindowsFeature -Name RSAT-Clustering,RSAT-Clustering-PowerShell,RSAT-Hyper-V-Tools,RSAT-Storage-Replica }elseif (($WindowsInstallationType -eq "Client") -and ($CurrentBuildNumber -lt 17763)){ #Validate RSAT Installed if (!((Get-HotFix).hotfixid -contains "KB2693643") ){ Write-Host "Please install RSAT, Exitting in 5s" Start-Sleep 5 Exit } }elseif (($WindowsInstallationType -eq "Client") -and ($CurrentBuildNumber -ge 17763)){ #Install RSAT tools $Capabilities="Rsat.ServerManager.Tools~~~~0.0.1.0","Rsat.FailoverCluster.Management.Tools~~~~0.0.1.0","Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0" foreach ($Capability in $Capabilities){ Add-WindowsCapability -Name $Capability -Online } } if ($WindowsInstallationType -eq "Client"){ #Install Hyper-V Management features if ((Get-WindowsOptionalFeature -online -FeatureName Microsoft-Hyper-V-Management-PowerShell).state -ne "Enabled"){ #Install all features and then remove all except Management (fails when installing just management) Enable-WindowsOptionalFeature -online -FeatureName Microsoft-Hyper-V-All -NoRestart Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -NoRestart $Q=Read-Host -Prompt "Restart is needed. Do you want to restart now? Y/N" If ($Q -eq "Y"){ Write-Host "Restarting Computer" Start-Sleep 3 Restart-Computer }else{ Write-Host "You did not type Y, please restart Computer. Exitting" Start-Sleep 3 Exit } }elseif((get-command -Module Hyper-V) -eq $null){ $Q=Read-Host -Prompt "Restart is needed to load Hyper-V Management. Do you want to restart now? Y/N" If ($Q -eq "Y"){ Write-Host "Restarting Computer" Start-Sleep 3 Restart-Computer }else{ Write-Host "You did not type Y, please restart Computer. Exitting" Start-Sleep 3 Exit } } } #endregion #region Configure basic settings on servers #configure memory dump if ($MemoryDump -eq "Kernel"){ #Configure Kernel memory dump Invoke-Command -ComputerName $servers -ScriptBlock { Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\CrashControl -Name CrashDumpEnabled -value 2 } } if ($MemoryDump -eq "Active"){ #Configure Active memory dump Invoke-Command -ComputerName $servers -ScriptBlock { Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\CrashControl -Name CrashDumpEnabled -value 1 Set-ItemProperty -Path HKLM:\System\CurrentControlSet\Control\CrashControl -Name FilterPages -value 1 } } #install roles and features #install Hyper-V using DISM (if nested virtualization is not enabled install-windowsfeature would fail) Invoke-Command -ComputerName $Servers -ScriptBlock {Enable-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V -Online -NoRestart} #define features for Cluster Nodes $features="Failover-Clustering","Hyper-V-PowerShell" if ($Bitlocker){$Features+="Bitlocker","RSAT-Feature-Tools-BitLocker"} if ($StorageReplica){$Features+="Storage-Replica","RSAT-Storage-Replica"} if ($Deduplication){$features+="FS-Data-Deduplication"} #install features on Cluster Nodes foreach ($Server in $Servers) {Install-WindowsFeature -Name $features -ComputerName $Server} #restart and wait for computers Restart-Computer $Servers -Protocol WSMan -Wait -For PowerShell Start-Sleep 20 #Failsafe as Hyper-V needs 2 reboots and sometimes it happens, that during the first reboot the restart-computer evaluates the machine is up #endregion #region Configure Networking if (!$RDMA){ Invoke-Command -ComputerName $servers -ScriptBlock {New-VMSwitch -Name SETSwitch -EnableEmbeddedTeaming $TRUE -MinimumBandwidthMode Weight -NetAdapterName (Get-NetIPAddress -IPAddress 10.* ).InterfaceAlias} #Configuring networking path_to_url Invoke-Command -ComputerName $servers -ScriptBlock { Rename-VMNetworkAdapter -ManagementOS -Name SETSwitch -NewName Mgmt Add-VMNetworkAdapter -ManagementOS -Name "LiveMigration" -SwitchName "SETSwitch" Add-VMNetworkAdapter -ManagementOS -Name "Cluster" -SwitchName "SETSwitch" Set-VMNetworkAdapter -ManagementOS -Name "Cluster" -MinimumBandwidthWeight 40 Set-VMNetworkAdapter -ManagementOS -Name Management -MinimumBandwidthWeight 5 Set-VMNetworkAdapter -ManagementOS -Name "LiveMigration" -MinimumBandwidthWeight 20 Set-VMSwitch "SETSwitch" -DefaultFlowMinimumBandwidthWeight 3 } #Configure the host vNIC to use a Vlan. Set-VMNetworkAdapterVlan -VMNetworkAdapterName Cluster -VlanId $Net1VLAN -Access -ManagementOS -CimSession $servers Set-VMNetworkAdapterVlan -VMNetworkAdapterName LiveMigration -VlanId $Net2VLAN -Access -ManagementOS -CimSession $servers #Restart each host vNIC adapter so that the Vlan is active. Restart-NetAdapter "vEthernet (Cluster)" -CimSession $servers Restart-NetAdapter "vEthernet (LiveMigration)" -CimSession $servers $servers | ForEach-Object { New-NetIPAddress -IPAddress ($Net1+$IP.ToString()) -InterfaceIndex (Get-NetAdapter -Name *Cluster* -CimSession $_).InterfaceIndex -CimSession $_ -PrefixLength 24 New-NetIPAddress -IPAddress ($Net2+$IP.ToString()) -InterfaceIndex (Get-NetAdapter -Name *LiveMigration* -CimSession $_).InterfaceIndex -CimSession $_ -PrefixLength 24 $IP++ } } if ($RDMA){ Invoke-Command -ComputerName $servers -ScriptBlock {New-VMSwitch -Name SETSwitch -EnableEmbeddedTeaming $TRUE -NetAdapterName (Get-NetIPAddress -IPAddress 10.* ).InterfaceAlias} $Servers | ForEach-Object { Rename-VMNetworkAdapter -ManagementOS -Name SETSwitch -NewName Mgmt -ComputerName $_ Add-VMNetworkAdapter -ManagementOS -Name SMB01 -SwitchName SETSwitch -CimSession $_ Add-VMNetworkAdapter -ManagementOS -Name SMB02 -SwitchName SETSwitch -Cimsession $_ #configure IP Addresses New-NetIPAddress -IPAddress ($Net1+$IP.ToString()) -InterfaceAlias "vEthernet (SMB01)" -CimSession $_ -PrefixLength 24 $IP++ New-NetIPAddress -IPAddress ($Net1+$IP.ToString()) -InterfaceAlias "vEthernet (SMB02)" -CimSession $_ -PrefixLength 24 $IP++ } Start-Sleep 5 Clear-DnsClientCache #Configure the host vNIC to use a Vlan. They can be on the same or different VLans Set-VMNetworkAdapterVlan -VMNetworkAdapterName SMB01 -VlanId $Net1VLAN -Access -ManagementOS -CimSession $Servers Set-VMNetworkAdapterVlan -VMNetworkAdapterName SMB02 -VlanId $Net1VLAN -Access -ManagementOS -CimSession $Servers #Restart each host vNIC adapter so that the Vlan is active. Restart-NetAdapter "vEthernet (SMB01)" -CimSession $Servers Restart-NetAdapter "vEthernet (SMB02)" -CimSession $Servers #Associate each of the vNICs configured for RDMA to a physical adapter that is up and is not virtual (to be sure that each RDMA enabled ManagementOS vNIC is mapped to separate RDMA pNIC) Invoke-Command -ComputerName $servers -ScriptBlock { $physicaladapters=Get-NetAdapter | where status -eq up | where Name -NotLike vEthernet* | Sort-Object Set-VMNetworkAdapterTeamMapping -VMNetworkAdapterName "SMB01" -ManagementOS -PhysicalNetAdapterName ($physicaladapters[0]).name Set-VMNetworkAdapterTeamMapping -VMNetworkAdapterName "SMB02" -ManagementOS -PhysicalNetAdapterName ($physicaladapters[1]).name } #Validate mapping Get-VMNetworkAdapterTeamMapping -CimSession $servers -ManagementOS | ft ComputerName,NetAdapterName,ParentAdapter #Enable RDMA on the host vNIC adapters Enable-NetAdapterRDMA "vEthernet (SMB01)","vEthernet (SMB02)" -CimSession $Servers #verify RDMA Get-NetAdapterRdma -CimSession $servers | Sort-Object -Property Systemname | ft systemname,interfacedescription,name,enabled -AutoSize -GroupBy Systemname } #Verify that the VlanID is set Get-VMNetworkAdapterVlan -ManagementOS -CimSession $servers |Sort-Object -Property Computername | ft ComputerName,AccessVlanID,ParentAdapter -AutoSize -GroupBy ComputerName #verify ip config Get-NetIPAddress -CimSession $servers -InterfaceAlias vEthernet* -AddressFamily IPv4 | Sort-Object -Property PSComputername | ft pscomputername,interfacealias,ipaddress -AutoSize -GroupBy pscomputername #configure DCB if requested if ($DCB -eq $True){ #Install DCB if (!$NanoServer){ foreach ($server in $servers) {Install-WindowsFeature -Name "Data-Center-Bridging" -ComputerName $server} } ##Configure QoS New-NetQosPolicy "SMB" -NetDirectPortMatchCondition 445 -PriorityValue8021Action 3 -CimSession $servers New-NetQosPolicy "ClusterHB" -Cluster -PriorityValue8021Action 7 -CimSession $servers New-NetQosPolicy "Default" -Default -PriorityValue8021Action 0 -CimSession $servers #Turn on Flow Control for SMB Invoke-Command -ComputerName $servers -ScriptBlock {Enable-NetQosFlowControl -Priority 3} #Disable flow control for other traffic than 3 (pause frames should go only from prio 3) Invoke-Command -ComputerName $servers -ScriptBlock {Disable-NetQosFlowControl -Priority 0,1,2,4,5,6,7} #Disable Data Center bridging exchange (disable accept data center bridging (DCB) configurations from a remote device via the DCBX protocol, which is specified in the IEEE data center bridging (DCB) standard.) Invoke-Command -ComputerName $servers -ScriptBlock {Set-NetQosDcbxSetting -willing $false -confirm:$false} #Configure IeeePriorityTag #IeePriorityTag needs to be On if you want tag your nonRDMA traffic for QoS. Can be off if you use adapters that pass vSwitch (both SR-IOV and RDMA bypasses vSwitch) Invoke-Command -ComputerName $servers -ScriptBlock {Set-VMNetworkAdapter -ManagementOS -Name "SMB*" -IeeePriorityTag on} #validate flow control setting Invoke-Command -ComputerName $servers -ScriptBlock { Get-NetQosFlowControl} | Sort-Object -Property PSComputername | ft PSComputerName,Priority,Enabled -GroupBy PSComputerName #Validate DCBX setting Invoke-Command -ComputerName $servers -ScriptBlock {Get-NetQosDcbxSetting} | Sort-Object PSComputerName | Format-Table Willing,PSComputerName #Apply policy to the target adapters. The target adapters are adapters connected to vSwitch Invoke-Command -ComputerName $servers -ScriptBlock {Enable-NetAdapterQos -InterfaceDescription (Get-VMSwitch).NetAdapterInterfaceDescriptions} #validate policy Invoke-Command -ComputerName $servers -ScriptBlock {Get-NetAdapterQos | where enabled -eq true} | Sort-Object PSComputerName #Create a Traffic class and give SMB Direct 60% of the bandwidth minimum. The name of the class will be "SMB". #This value needs to match physical switch configuration. Value might vary based on your needs. #If connected directly (in 2 node configuration) skip this step. Invoke-Command -ComputerName $servers -ScriptBlock {New-NetQosTrafficClass "SMB" -Priority 3 -BandwidthPercentage 60 -Algorithm ETS} Invoke-Command -ComputerName $servers -ScriptBlock {New-NetQosTrafficClass "ClusterHB" -Priority 7 -BandwidthPercentage 1 -Algorithm ETS} } #Configure Hyper-V Port Load Balancing algorithm (in 1709 its already Hyper-V, therefore setting only for Windows Server 2016) Invoke-Command -ComputerName $servers -scriptblock { if ((Get-ItemPropertyValue -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\' -Name CurrentBuildNumber) -eq 14393){ Set-VMSwitchTeam -Name SETSwitch -LoadBalancingAlgorithm HyperVPort } } #endregion #region Create Cluster #create new cluster # New-Cluster -Name $ClusterName -Node $servers -StaticAddress $ClusterIP Start-Sleep 5 Clear-DnsClientCache #endregion #region Add CSVs and Witness disk #add csv disks $CSV_disks = get-disk -cimsession $servers[0] | where {$_.PartitionStyle -eq 'RAW' -and $_.Size -gt 10GB} | sort number $i=1 foreach ($CSV_disk in $CSV_disks){ $volumename=("CSV"+($i).ToString()) $CSV_disk | Initialize-Disk -PartitionStyle GPT Format-Volume -Partition (New-Partition -UseMaximumSize -InputObject $CSV_disk ) -FileSystem NTFS -AllocationUnitSize 8kb -NewFileSystemLabel $volumename -CimSession $servers[0] -Confirm:$false $CSV_disk | set-disk -IsOffline $true $ClusterDisk = Get-ClusterAvailableDisk -Cluster $ClusterName $clusterDisk=Add-ClusterDisk -Cluster $ClusterName -InputObject $ClusterDisk $clusterDisk.name = $volumename $ClusterSharedVolume = Add-ClusterSharedVolume -Cluster $ClusterName -InputObject $ClusterDisk $ClusterSharedVolume.Name = $volumename $path=$ClusterSharedVolume.SharedVolumeInfo.FriendlyVolumeName $path=$path.Substring($path.LastIndexOf("\")+1) $FullPath = Join-Path -Path "c:\ClusterStorage\" -ChildPath $Path Invoke-Command -ComputerName $ClusterSharedVolume.OwnerNode -ArgumentList $fullpath,$volumename -ScriptBlock { param($fullpath,$volumename); Rename-Item -Path $FullPath -NewName $volumename -PassThru } $i++ } #add witness disks $witness_disk = get-disk -cimsession $servers[0] | where {$_.PartitionStyle -eq 'RAW' -and $_.Size -le 2GB} $witness_disk | Initialize-Disk -PartitionStyle GPT Format-Volume -Partition (New-Partition -UseMaximumSize -InputObject $witness_disk) -FileSystem NTFS -AllocationUnitSize 8kb -NewFileSystemLabel witness_disk -CimSession $servers[0] -Confirm:$false $witness_disk | Set-Disk -IsOffline $true $ClusterDisk = Get-ClusterAvailableDisk -Cluster $ClusterName $clusterDisk=Add-ClusterDisk -Cluster $ClusterName -InputObject $ClusterDisk $clusterDisk.name = "Witness Disk" Set-ClusterQuorum -DiskWitness $ClusterDisk -Cluster $ClusterName #endregion #region configure cluster networks if (!$RDMA){ #Rename networks (Get-ClusterNetwork -Cluster $clustername | where Role -eq ClusterAndClient).Name="Management" (Get-ClusterNetwork -Cluster $clustername | where Address -eq $net1"0").Name="Cluster" (Get-ClusterNetwork -Cluster $clustername | where Address -eq $net2"0").Name="LiveMigration" (Get-ClusterNetwork -Cluster $clustername | where Address -eq $net2"0").role="None" #Set network for Live Migration path_to_url Get-ClusterResourceType -Cluster $clustername -Name "Virtual Machine" | Set-ClusterParameter -Name MigrationExcludeNetworks -Value ([String]::Join(";",(Get-ClusterNetwork -Cluster $clustername | Where-Object {$_.Name -ne "LiveMigration"}).ID)) }else{ #Rename networks (Get-ClusterNetwork -Cluster $clustername | where Role -eq ClusterAndClient).Name="Management" (Get-ClusterNetwork -Cluster $clustername | where Address -eq $net1"0").Name="SMB" #Set network for Live Migration path_to_url Get-ClusterResourceType -Cluster $clustername -Name "Virtual Machine" | Set-ClusterParameter -Name MigrationExcludeNetworks -Value ([String]::Join(";",(Get-ClusterNetwork -Cluster $clustername | Where-Object {$_.Name -ne "SMB"}).ID)) #set Live Migration to SMB on Hyper-V hosts Set-VMHost -VirtualMachineMigrationPerformanceOption SMB -cimsession $Servers #Configure SMB Bandwidth Limits for Live Migration path_to_url if ($SMBBandwidthLimits){ #install feature Invoke-Command -ComputerName $servers -ScriptBlock {Install-WindowsFeature -Name "FS-SMBBW"} #Calculate 40% of capacity of NICs in vSwitch (considering 2 NICs, if 1 fails, it will not consume all bandwith, therefore 40%) $Adapters=(Get-VMSwitch -CimSession $Servers[0]).NetAdapterInterfaceDescriptions $BytesPerSecond=((Get-NetAdapter -CimSession $Servers[0] -InterfaceDescription $adapters).TransmitLinkSpeed | Measure-Object -Sum).Sum/8 Set-SmbBandwidthLimit -Category LiveMigration -BytesPerSecond ($BytesPerSecond*0.4) -CimSession $Servers } } #endregion #test cluster Test-Cluster -Cluster $ClusterName #region Create some dummy VMs #grab CVSs, to create some VMs on each $CSVs=(Get-ClusterSharedVolume -Cluster $ClusterName).Name foreach ($CSV in $CSVs){ 1..3 | ForEach-Object { $VMName="TestVM$($CSV)_$_" Invoke-Command -ComputerName (Get-ClusterNode -Cluster $ClusterName).name[0] -ArgumentList $CSV,$VMName -ScriptBlock { param($CSV,$VMName); New-VM -Name $VMName -NewVHDPath "c:\ClusterStorage\$CSV\$VMName\Virtual Hard Disks\$VMName.vhdx" -NewVHDSizeBytes 32GB -SwitchName SETSwitch -Generation 2 -Path "c:\ClusterStorage\$CSV\" } Add-ClusterVirtualMachineRole -VMName $VMName -Cluster $ClusterName } } #Set memory startup bytes for VMs to 32MB (just to show how you can work with all custer VMs) $nodes=(Get-ClusterNode -Cluster $ClusterName).Name Get-VM -CimSession $nodes | Set-VM -MemoryStartupBytes 32MB #endregion #finishing Write-Host "Script finished at $(Get-date) and took $(((get-date) - $StartDateTime).TotalMinutes) Minutes" ```
Room Eleven was a Dutch band, active from 2004 to 2009. Several members continued as Schradinova. History Room Eleven saw its origins in 2001, when lead singer Janne Schra (born Janneke Maria Ali Schra) posted a note on Utrecht's Music College's message board seeking someone to write songs with. Arriën Molema responded, and they started writing music together. In August 2004, Tony Roe, Lucas Dols and Maarten Molema joined the group on keyboard, double bass and drums, respectively. That same year they played at Amsterdam's Uitmarkt. Their debut album, produced by Floris Klinkert and Room Eleven, was called Six White Russians and a Pink Pussycat and was released in June 2006. It was re-released in early 2007 with an additional bonus disc containing two cover versions of the song "Bitch", a new song called "Gray" and live versions of "Greenest Grass", "Sad Song" and "Come Closer". It went platinum. In the summers of 2007 and 2009, they were invited to perform at the Montreal International Jazz Festival. In April 2008, they released their second album, Mmm... Gumbo?, featuring the string quartet ETHEL, which became a gold disc. In spite of having had five hits, Room Eleven split up in December 2009, announcing on their website that they "had decided to take a break, but it soon became clear that our ambitions were too different and it didn't feel as exciting as before. The chemistry and excitement we felt before on stage and in the studio was suddenly gone." Schradinova Schra, Dols, and Roe continued, together with Philippe Lemm, Sietse van Gorkum, and Stef van Es, as a new band, called "Schradinova". Their first album, India Lima Oscar Victor Echo You, was released in October 2010. Two singles, "Glowing" and "Dogs Bark", failed to become big hits. Discography Studio albums Six White Russians and a Pink Pussycat (2006) Mmm... Gumbo? (2008) Live albums Live in Carré (2009) Singles Come Closer (2007) Gallery References External links Room Eleven Schradinova Dutch musical groups Musical groups established in 2004 Musical groups disestablished in 2009
```xml <dict> <key>LayoutID</key> <integer>72</integer> <key>PathMapRef</key> <array> <dict> <key>CodecID</key> <array> <integer>283902517</integer> </array> <key>ExtMic</key> <dict> <key>MuteGPIO</key> <integer>1342242841</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1063256063</integer> <key>5</key> <data>O7qJwvAsd8IxFYLCNC+Iwgh8h8JYT3zCTGxtwjCQbMLsb3/C58KIwmIAjcKqEZTCM22Xwr5/k8L6Q5DCUXiPwhlqksKOQ5TCQS2XwkCYnMLSmqPCbK+your_sha256_hashqwvxyqcLWr6XCdkajwulQpMJs1afCbmCqwqbpqcIaSKrCSrmpwjv+p8KjIqjCVkOowh9WqMLun6nCudimwvISp8K686rC+your_sha256_hash8GswgJLr8Ku2a/your_sha256_hashCQGK1woYFtcIw7LHCOMuxwiKZs8K8YrXC6nO4ws5cu8KCa73CJjG+wqekvMK9RLnC4/a2wuKBt8Jyyour_sha512_hash/Rwhmf0cImvtPClErXwmrF18JUfdvCNi7fwty43cL+WdvCuqrawiIL3cKCR+HCYPDnwqQ67MLYserCshHowl7L6MK2guzCsvrvwu4o8cJyfv7C</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspEqualization32</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>9</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1065353216</integer> <key>3</key> <integer>1065353216</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspClientGainAdjustStage</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>1</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>1082130432</integer> <key>4</key> <integer>1103626240</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1082130432</integer> <key>7</key> <integer>3</integer> <key>8</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Headphone</key> <dict> <key>MuteGPIO</key> <integer>0</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1063256063</integer> <key>5</key> <data>O7qJwvAsd8IxFYLCNC+Iwgh8h8JYT3zCTGxtwjCQbMLsb3/C58KIwmIAjcKqEZTCM22Xwr5/k8L6Q5DCUXiPwhlqksKOQ5TCQS2XwkCYnMLSmqPCbK+your_sha256_hashqwvxyqcLWr6XCdkajwulQpMJs1afCbmCqwqbpqcIaSKrCSrmpwjv+p8KjIqjCVkOowh9WqMLun6nCudimwvISp8K686rC+your_sha256_hash8GswgJLr8Ku2a/your_sha256_hashCQGK1woYFtcIw7LHCOMuxwiKZs8K8YrXC6nO4ws5cu8KCa73CJjG+wqekvMK9RLnC4/a2wuKBt8Jyyour_sha512_hash/Rwhmf0cImvtPClErXwmrF18JUfdvCNi7fwty43cL+WdvCuqrawiIL3cKCR+HCYPDnwqQ67MLYserCshHowl7L6MK2guzCsvrvwu4o8cJyfv7C</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspEqualization32</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>9</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1065353216</integer> <key>3</key> <integer>1065353216</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspClientGainAdjustStage</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>1</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>1082130432</integer> <key>4</key> <integer>1103626240</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1082130432</integer> <key>7</key> <integer>3</integer> <key>8</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Inputs</key> <array> <string>ExtMic</string> <string>LineIn</string> </array> <key>IntSpeaker</key> <dict/> <key>LineIn</key> <dict> <key>MuteGPIO</key> <integer>1342242842</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1063256063</integer> <key>5</key> <data>O7qJwvAsd8IxFYLCNC+Iwgh8h8JYT3zCTGxtwjCQbMLsb3/C58KIwmIAjcKqEZTCM22Xwr5/k8L6Q5DCUXiPwhlqksKOQ5TCQS2XwkCYnMLSmqPCbK+your_sha256_hashqwvxyqcLWr6XCdkajwulQpMJs1afCbmCqwqbpqcIaSKrCSrmpwjv+p8KjIqjCVkOowh9WqMLun6nCudimwvISp8K686rC+your_sha256_hash8GswgJLr8Ku2a/your_sha256_hashCQGK1woYFtcIw7LHCOMuxwiKZs8K8YrXC6nO4ws5cu8KCa73CJjG+wqekvMK9RLnC4/a2wuKBt8Jyyour_sha512_hash/Rwhmf0cImvtPClErXwmrF18JUfdvCNi7fwty43cL+WdvCuqrawiIL3cKCR+HCYPDnwqQ67MLYserCshHowl7L6MK2guzCsvrvwu4o8cJyfv7C</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspEqualization32</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>9</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1065353216</integer> <key>3</key> <integer>1065353216</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspClientGainAdjustStage</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>1</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>1082130432</integer> <key>4</key> <integer>1103626240</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1082130432</integer> <key>7</key> <integer>3</integer> <key>8</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>LineOut</key> <dict> <key>MuteGPIO</key> <integer>0</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1063256063</integer> <key>5</key> <data>O7qJwvAsd8IxFYLCNC+Iwgh8h8JYT3zCTGxtwjCQbMLsb3/C58KIwmIAjcKqEZTCM22Xwr5/k8L6Q5DCUXiPwhlqksKOQ5TCQS2XwkCYnMLSmqPCbK+your_sha256_hashqwvxyqcLWr6XCdkajwulQpMJs1afCbmCqwqbpqcIaSKrCSrmpwjv+p8KjIqjCVkOowh9WqMLun6nCudimwvISp8K686rC+your_sha256_hash8GswgJLr8Ku2a/your_sha256_hashCQGK1woYFtcIw7LHCOMuxwiKZs8K8YrXC6nO4ws5cu8KCa73CJjG+wqekvMK9RLnC4/a2wuKBt8Jyyour_sha512_hash/Rwhmf0cImvtPClErXwmrF18JUfdvCNi7fwty43cL+WdvCuqrawiIL3cKCR+HCYPDnwqQ67MLYserCshHowl7L6MK2guzCsvrvwu4o8cJyfv7C</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspEqualization32</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>9</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120623594</integer> <key>7</key> <integer>1060439283</integer> <key>8</key> <integer>-1069504319</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134130816</integer> <key>7</key> <integer>1068239080</integer> <key>8</key> <integer>-1073964333</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1143149396</integer> <key>7</key> <integer>1069838081</integer> <key>8</key> <integer>-1072785033</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1161109679</integer> <key>7</key> <integer>1093706804</integer> <key>8</key> <integer>-1069580896</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1138536183</integer> <key>7</key> <integer>1094714319</integer> <key>8</key> <integer>-1069046873</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1134823262</integer> <key>7</key> <integer>1088568216</integer> <key>8</key> <integer>-1073319056</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>10</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1140763936</integer> <key>7</key> <integer>1095878445</integer> <key>8</key> <integer>-1066910782</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>11</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150711009</integer> <key>7</key> <integer>1082220668</integer> <key>8</key> <integer>-1072251010</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>22</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1169045837</integer> <key>7</key> <integer>1080998247</integer> <key>8</key> <integer>-1076100424</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>23</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1174718752</integer> <key>7</key> <integer>1074226939</integer> <key>8</key> <integer>-1065842737</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>24</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1174256827</integer> <key>7</key> <integer>1091118565</integer> <key>8</key> <integer>-1065842737</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1065353216</integer> <key>3</key> <integer>1065353216</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspClientGainAdjustStage</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>1</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>1082130432</integer> <key>4</key> <integer>1103626240</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1082130432</integer> <key>7</key> <integer>3</integer> <key>8</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Outputs</key> <array> <string>Headphone</string> <string>IntSpeaker</string> <string>LineOut</string> </array> <key>PathMapID</key> <integer>72</integer> </dict> </array> </dict> ```
```c++ /* * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * */ #include "config.h" #include "core/paint/ThemePainterDefault.h" #include "core/layout/LayoutObject.h" #include "core/layout/LayoutProgress.h" #include "core/layout/LayoutTheme.h" #include "core/paint/MediaControlsPainter.h" #include "core/paint/PaintInfo.h" #include "platform/LayoutTestSupport.h" #include "platform/graphics/Color.h" #include "platform/graphics/GraphicsContext.h" #include "platform/graphics/GraphicsContextStateSaver.h" #include "public/platform/Platform.h" #include "public/platform/WebRect.h" #include "public/platform/WebThemeEngine.h" namespace blink { namespace { const unsigned defaultButtonBackgroundColor = 0xffdddddd; bool useMockTheme() { return LayoutTestSupport::isRunningLayoutTest(); } WebThemeEngine::State getWebThemeState(const LayoutObject* o) { if (!LayoutTheme::isEnabled(o)) return WebThemeEngine::StateDisabled; if (useMockTheme() && LayoutTheme::isReadOnlyControl(o)) return WebThemeEngine::StateReadonly; if (LayoutTheme::isPressed(o)) return WebThemeEngine::StatePressed; if (useMockTheme() && LayoutTheme::isFocused(o)) return WebThemeEngine::StateFocused; if (LayoutTheme::isHovered(o)) return WebThemeEngine::StateHover; return WebThemeEngine::StateNormal; } class DirectionFlippingScope { public: DirectionFlippingScope(LayoutObject*, const PaintInfo&, const IntRect&); ~DirectionFlippingScope(); private: bool m_needsFlipping; const PaintInfo& m_paintInfo; }; DirectionFlippingScope::DirectionFlippingScope(LayoutObject* layoutObject, const PaintInfo& paintInfo, const IntRect& rect) : m_needsFlipping(!layoutObject->styleRef().isLeftToRightDirection()) , m_paintInfo(paintInfo) { if (!m_needsFlipping) return; m_paintInfo.context->save(); m_paintInfo.context->translate(2 * rect.x() + rect.width(), 0); m_paintInfo.context->scale(-1, 1); } DirectionFlippingScope::~DirectionFlippingScope() { if (!m_needsFlipping) return; m_paintInfo.context->restore(); } IntRect determinateProgressValueRectFor(LayoutProgress* layoutProgress, const IntRect& rect) { int dx = rect.width() * layoutProgress->position(); return IntRect(rect.x(), rect.y(), dx, rect.height()); } IntRect indeterminateProgressValueRectFor(LayoutProgress* layoutProgress, const IntRect& rect) { // Value comes from default of GTK+. static const int progressActivityBlocks = 5; int valueWidth = rect.width() / progressActivityBlocks; int movableWidth = rect.width() - valueWidth; if (movableWidth <= 0) return IntRect(); double progress = layoutProgress->animationProgress(); if (progress < 0.5) return IntRect(rect.x() + progress * 2 * movableWidth, rect.y(), valueWidth, rect.height()); return IntRect(rect.x() + (1.0 - progress) * 2 * movableWidth, rect.y(), valueWidth, rect.height()); } IntRect progressValueRectFor(LayoutProgress* layoutProgress, const IntRect& rect) { return layoutProgress->isDeterminate() ? determinateProgressValueRectFor(layoutProgress, rect) : indeterminateProgressValueRectFor(layoutProgress, rect); } IntRect convertToPaintingRect(LayoutObject* inputLayoutObject, const LayoutObject* partLayoutObject, LayoutRect partRect, const IntRect& localOffset) { // Compute an offset between the partLayoutObject and the inputLayoutObject. LayoutSize offsetFromInputLayoutObject = -partLayoutObject->offsetFromAncestorContainer(inputLayoutObject); // Move the rect into partLayoutObject's coords. partRect.move(offsetFromInputLayoutObject); // Account for the local drawing offset. partRect.move(localOffset.x(), localOffset.y()); return pixelSnappedIntRect(partRect); } } // namespace bool ThemePainterDefault::paintCheckbox(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.button.checked = LayoutTheme::isChecked(o); extraParams.button.indeterminate = LayoutTheme::isIndeterminate(o); float zoomLevel = o->style()->effectiveZoom(); GraphicsContextStateSaver stateSaver(*i.context, false); IntRect unzoomedRect = rect; if (zoomLevel != 1) { stateSaver.save(); unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); unzoomedRect.setHeight(unzoomedRect.height() / zoomLevel); i.context->translate(unzoomedRect.x(), unzoomedRect.y()); i.context->scale(zoomLevel, zoomLevel); i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); } Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartCheckbox, getWebThemeState(o), WebRect(unzoomedRect), &extraParams); return false; } bool ThemePainterDefault::paintRadio(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.button.checked = LayoutTheme::isChecked(o); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartRadio, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintButton(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.button.hasBorder = true; extraParams.button.backgroundColor = useMockTheme() ? 0xffc0c0c0 : defaultButtonBackgroundColor; if (o->hasBackground()) extraParams.button.backgroundColor = o->resolveColor(CSSPropertyBackgroundColor).rgb(); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartButton, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintTextField(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { // WebThemeEngine does not handle border rounded corner and background image // so return true to draw CSS border and background. if (o->style()->hasBorderRadius() || o->style()->hasBackgroundImage()) return true; ControlPart part = o->style()->appearance(); WebThemeEngine::ExtraParams extraParams; extraParams.textField.isTextArea = part == TextAreaPart; extraParams.textField.isListbox = part == ListboxPart; WebCanvas* canvas = i.context->canvas(); Color backgroundColor = o->resolveColor(CSSPropertyBackgroundColor); extraParams.textField.backgroundColor = backgroundColor.rgb(); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartTextField, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintMenuList(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { if (!o->isBox()) return false; const int right = rect.x() + rect.width(); const int middle = rect.y() + rect.height() / 2; WebThemeEngine::ExtraParams extraParams; extraParams.menuList.arrowY = middle; const LayoutBox* box = toLayoutBox(o); // Match Chromium Win behaviour of showing all borders if any are shown. extraParams.menuList.hasBorder = box->borderRight() || box->borderLeft() || box->borderTop() || box->borderBottom(); extraParams.menuList.hasBorderRadius = o->style()->hasBorderRadius(); // Fallback to transparent if the specified color object is invalid. Color backgroundColor(Color::transparent); if (o->hasBackground()) backgroundColor = o->resolveColor(CSSPropertyBackgroundColor); extraParams.menuList.backgroundColor = backgroundColor.rgb(); // If we have a background image, don't fill the content area to expose the // parent's background. Also, we shouldn't fill the content area if the // alpha of the color is 0. The API of Windows GDI ignores the alpha. // FIXME: the normal Aura theme doesn't care about this, so we should // investigate if we really need fillContentArea. extraParams.menuList.fillContentArea = !o->style()->hasBackgroundImage() && backgroundColor.alpha(); if (useMockTheme()) { // The size and position of the drop-down button is different between // the mock theme and the regular aura theme. int spacingTop = box->borderTop() + box->paddingTop(); int spacingBottom = box->borderBottom() + box->paddingBottom(); int spacingRight = box->borderRight() + box->paddingRight(); extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 4 + spacingRight: right - 13 - spacingRight; extraParams.menuList.arrowHeight = rect.height() - spacingBottom - spacingTop; } else { extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 7 : right - 13; } WebCanvas* canvas = i.context->canvas(); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartMenuList, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintMenuListButton(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { if (!o->isBox()) return false; const int right = rect.x() + rect.width(); const int middle = rect.y() + rect.height() / 2; WebThemeEngine::ExtraParams extraParams; extraParams.menuList.arrowY = middle; extraParams.menuList.hasBorder = false; extraParams.menuList.hasBorderRadius = o->style()->hasBorderRadius(); extraParams.menuList.backgroundColor = Color::transparent; extraParams.menuList.fillContentArea = false; if (useMockTheme()) { const LayoutBox* box = toLayoutBox(o); // The size and position of the drop-down button is different between // the mock theme and the regular aura theme. int spacingTop = box->borderTop() + box->paddingTop(); int spacingBottom = box->borderBottom() + box->paddingBottom(); int spacingRight = box->borderRight() + box->paddingRight(); extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 4 + spacingRight: right - 13 - spacingRight; extraParams.menuList.arrowHeight = rect.height() - spacingBottom - spacingTop; } else { extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 7 : right - 13; } WebCanvas* canvas = i.context->canvas(); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartMenuList, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintSliderTrack(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.slider.vertical = o->style()->appearance() == SliderVerticalPart; paintSliderTicks(o, i, rect); // FIXME: Mock theme doesn't handle zoomed sliders. float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom(); GraphicsContextStateSaver stateSaver(*i.context, false); IntRect unzoomedRect = rect; if (zoomLevel != 1) { stateSaver.save(); unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); unzoomedRect.setHeight(unzoomedRect.height() / zoomLevel); i.context->translate(unzoomedRect.x(), unzoomedRect.y()); i.context->scale(zoomLevel, zoomLevel); i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); } Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartSliderTrack, getWebThemeState(o), WebRect(unzoomedRect), &extraParams); return false; } bool ThemePainterDefault::paintSliderThumb(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.slider.vertical = o->style()->appearance() == SliderThumbVerticalPart; extraParams.slider.inDrag = LayoutTheme::isPressed(o); // FIXME: Mock theme doesn't handle zoomed sliders. float zoomLevel = useMockTheme() ? 1 : o->style()->effectiveZoom(); GraphicsContextStateSaver stateSaver(*i.context, false); IntRect unzoomedRect = rect; if (zoomLevel != 1) { stateSaver.save(); unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel); unzoomedRect.setHeight(unzoomedRect.height() / zoomLevel); i.context->translate(unzoomedRect.x(), unzoomedRect.y()); i.context->scale(zoomLevel, zoomLevel); i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); } Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartSliderThumb, getWebThemeState(o), WebRect(unzoomedRect), &extraParams); return false; } bool ThemePainterDefault::paintInnerSpinButton(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { WebThemeEngine::ExtraParams extraParams; WebCanvas* canvas = i.context->canvas(); extraParams.innerSpin.spinUp = (LayoutTheme::controlStatesForLayoutObject(o) & SpinUpControlState); extraParams.innerSpin.readOnly = LayoutTheme::isReadOnlyControl(o); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartInnerSpinButton, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintProgressBar(LayoutObject* o, const PaintInfo& i, const IntRect& rect) { if (!o->isProgress()) return true; LayoutProgress* layoutProgress = toLayoutProgress(o); IntRect valueRect = progressValueRectFor(layoutProgress, rect); WebThemeEngine::ExtraParams extraParams; extraParams.progressBar.determinate = layoutProgress->isDeterminate(); extraParams.progressBar.valueRectX = valueRect.x(); extraParams.progressBar.valueRectY = valueRect.y(); extraParams.progressBar.valueRectWidth = valueRect.width(); extraParams.progressBar.valueRectHeight = valueRect.height(); DirectionFlippingScope scope(o, i, rect); WebCanvas* canvas = i.context->canvas(); Platform::current()->themeEngine()->paint(canvas, WebThemeEngine::PartProgressBar, getWebThemeState(o), WebRect(rect), &extraParams); return false; } bool ThemePainterDefault::paintTextArea(LayoutObject* o, const PaintInfo& i, const IntRect& r) { return paintTextField(o, i, r); } bool ThemePainterDefault::paintSearchField(LayoutObject* o, const PaintInfo& i, const IntRect& r) { return paintTextField(o, i, r); } bool ThemePainterDefault::paintSearchFieldCancelButton(LayoutObject* cancelButtonObject, const PaintInfo& paintInfo, const IntRect& r) { // Get the layoutObject of <input> element. if (!cancelButtonObject->node()) return false; Node* input = cancelButtonObject->node()->shadowHost(); LayoutObject* baseLayoutObject = input ? input->layoutObject() : cancelButtonObject; if (!baseLayoutObject->isBox()) return false; LayoutBox* inputLayoutBox = toLayoutBox(baseLayoutObject); LayoutRect inputContentBox = inputLayoutBox->contentBoxRect(); // Make sure the scaled button stays square and will fit in its parent's box. LayoutUnit cancelButtonSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), r.height())); // Calculate cancel button's coordinates relative to the input element. // Center the button vertically. Round up though, so if it has to be one pixel off-center, it will // be one pixel closer to the bottom of the field. This tends to look better with the text. LayoutRect cancelButtonRect(cancelButtonObject->offsetFromAncestorContainer(inputLayoutBox).width(), inputContentBox.y() + (inputContentBox.height() - cancelButtonSize + 1) / 2, cancelButtonSize, cancelButtonSize); IntRect paintingRect = convertToPaintingRect(inputLayoutBox, cancelButtonObject, cancelButtonRect, r); DEFINE_STATIC_REF(Image, cancelImage, (Image::loadPlatformResource("searchCancel"))); DEFINE_STATIC_REF(Image, cancelPressedImage, (Image::loadPlatformResource("searchCancelPressed"))); paintInfo.context->drawImage(LayoutTheme::isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, paintingRect); return false; } bool ThemePainterDefault::paintSearchFieldResultsDecoration(LayoutObject* magnifierObject, const PaintInfo& paintInfo, const IntRect& r) { // Get the layoutObject of <input> element. if (!magnifierObject->node()) return false; Node* input = magnifierObject->node()->shadowHost(); LayoutObject* baseLayoutObject = input ? input->layoutObject() : magnifierObject; if (!baseLayoutObject->isBox()) return false; LayoutBox* inputLayoutBox = toLayoutBox(baseLayoutObject); LayoutRect inputContentBox = inputLayoutBox->contentBoxRect(); // Make sure the scaled decoration stays square and will fit in its parent's box. LayoutUnit magnifierSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), r.height())); // Calculate decoration's coordinates relative to the input element. // Center the decoration vertically. Round up though, so if it has to be one pixel off-center, it will // be one pixel closer to the bottom of the field. This tends to look better with the text. LayoutRect magnifierRect(magnifierObject->offsetFromAncestorContainer(inputLayoutBox).width(), inputContentBox.y() + (inputContentBox.height() - magnifierSize + 1) / 2, magnifierSize, magnifierSize); IntRect paintingRect = convertToPaintingRect(inputLayoutBox, magnifierObject, magnifierRect, r); DEFINE_STATIC_REF(Image, magnifierImage, (Image::loadPlatformResource("searchMagnifier"))); paintInfo.context->drawImage(magnifierImage, paintingRect); return false; } } // namespace blink ```
```objective-c // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #pragma once #include <map> #include <memory> #include <string> #include <vector> #include "paddle/common/macros.h" #include "paddle/fluid/distributed/fleet_executor/dist_model_tensor_wrapper.h" #include "paddle/fluid/distributed/fleet_executor/fleet_executor_desc.pb.h" #include "paddle/fluid/framework/lod_tensor.h" #include "paddle/fluid/framework/tensor.h" #include "paddle/phi/common/place.h" namespace paddle { namespace framework { class ProgramDesc; class Scope; class BlockDesc; } // namespace framework namespace distributed { class TaskNode; class FleetExecutor; struct DistModelConfig { std::string model_dir{}; framework::ProgramDesc* program_desc{nullptr}; framework::Scope* scope{nullptr}; std::string place{}; int device_id{0}; std::string device_type{}; std::vector<std::string> trainer_endpoints{}; std::string current_endpoint{}; int64_t nranks{1}; int64_t local_rank{0}; bool enable_timer{false}; std::map<int64_t, std::vector<int64_t>> ring_id_to_ranks_{}; std::map<int64_t, std::vector<int64_t>> rank_to_ring_ids_{}; }; class DistModel { public: explicit DistModel(const DistModelConfig& config) : config_(config) {} bool Init(); bool Run(const std::vector<DistModelTensor>& input_data, std::vector<DistModelTensor>* output_data); ~DistModel() = default; private: DISABLE_COPY_AND_ASSIGN(DistModel); bool PrepareScope(); bool PrepareProgram(); bool LoadProgram(); bool LoadParameters(); bool PreparePlace(); bool CommInit(); bool PrepareFeedAndFetch(); bool PrepareFleetExe(); void InsertCommOp(std::string tmp_var_name, int nranks, int rank, const std::vector<std::string>& peer_endpoints, framework::BlockDesc* block, int ring_id); bool FeedData(const std::vector<DistModelTensor>& input_data, framework::Scope* scope); bool FetchResults(std::vector<DistModelTensor>* output_data, framework::Scope* scope); template <typename T> bool FetchResult(const phi::DenseTensor& fetch, DistModelTensor* output_data); std::string carrier_id_; std::vector<phi::DenseTensor> feed_tensors_; std::vector<framework::OpDesc*> feeds_; std::map<std::string, int64_t> feed_names_; std::map<int64_t, std::string> idx_to_feeds_; std::map<std::string, DistModelDataType> feeds_to_dtype_; std::vector<framework::OpDesc*> fetches_; std::map<int64_t, std::string> idx_to_fetches_; DistModelConfig config_; FleetExecutorDesc executor_desc_; std::shared_ptr<FleetExecutor> fleet_exe; std::shared_ptr<TaskNode> task_node_; std::shared_ptr<framework::Scope> scope_; phi::Place place_; std::shared_ptr<framework::ProgramDesc> program_; }; } // namespace distributed } // namespace paddle ```
```sourcepawn ;- your_sha256_hash------------ ;- ATMEL Microcontroller Software Support - ROUSSET - ;- your_sha256_hash------------ ;- The software is delivered "AS IS" without warranty or condition of any ;- kind, either express, implied or statutory. This includes without ;- limitation any warranty or condition with respect to merchantability or ;- fitness for any particular purpose, or against the infringements of ;- intellectual property rights of others. ;- your_sha256_hash------------ ;- File Name : AT91RM9200.h ;- Object : AT91RM9200 definitions ;- Generated : AT91 SW Application Group 11/19/2003 (17:20:51) ;- ;- CVS Reference : /AT91RM9200.pl/1.16/Fri Feb 07 10:29:51 2003// ;- CVS Reference : /SYS_AT91RM9200.pl/1.2/Fri Jan 17 12:44:37 2003// ;- CVS Reference : /MC_1760A.pl/1.1/Fri Aug 23 14:38:22 2002// ;- CVS Reference : /AIC_1796B.pl/1.1.1.1/Fri Jun 28 09:36:47 2002// ;- CVS Reference : /PMC_2636A.pl/1.1.1.1/Fri Jun 28 09:36:48 2002// ;- CVS Reference : /ST_1763B.pl/1.1/Fri Aug 23 14:41:42 2002// ;- CVS Reference : /RTC_1245D.pl/1.2/Fri Jan 31 12:19:06 2003// ;- CVS Reference : /PIO_1725D.pl/1.1.1.1/Fri Jun 28 09:36:47 2002// ;- CVS Reference : /DBGU_1754A.pl/1.4/Fri Jan 31 12:18:24 2003// ;- CVS Reference : /UDP_1765B.pl/1.3/Fri Aug 02 14:45:38 2002// ;- CVS Reference : /MCI_1764A.pl/1.2/Thu Nov 14 17:48:24 2002// ;- CVS Reference : /US_1739C.pl/1.2/Fri Jul 12 07:49:25 2002// ;- CVS Reference : /SPI_AT91RMxxxx.pl/1.3/Tue Nov 26 10:20:29 2002// ;- CVS Reference : /SSC_1762A.pl/1.2/Fri Nov 08 13:26:39 2002// ;- CVS Reference : /TC_1753B.pl/1.2/Fri Jan 31 12:19:55 2003// ;- CVS Reference : /TWI_1761B.pl/1.4/Fri Feb 07 10:30:07 2003// ;- CVS Reference : /PDC_1734B.pl/1.2/Thu Nov 21 16:38:23 2002// ;- CVS Reference : /UHP_xxxxA.pl/1.1/Mon Jul 22 12:21:58 2002// ;- CVS Reference : /EMAC_1794A.pl/1.4/Fri Jan 17 12:11:54 2003// ;- CVS Reference : /EBI_1759B.pl/1.10/Fri Jan 17 12:44:29 2003// ;- CVS Reference : /SMC_1783A.pl/1.3/Thu Oct 31 14:38:17 2002// ;- CVS Reference : /SDRC_1758B.pl/1.2/Thu Oct 03 13:04:41 2002// ;- CVS Reference : /BFC_1757B.pl/1.3/Thu Oct 31 14:38:00 2002// ;- your_sha256_hash------------ ;- Hardware register definition ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR System Peripherals ;- ***************************************************************************** ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Memory Controller Interface ;- ***************************************************************************** ^ 0 ;- AT91S_MC MC_RCR # 4 ;- MC Remap Control Register MC_ASR # 4 ;- MC Abort Status Register MC_AASR # 4 ;- MC Abort Address Status Register # 4 ;- Reserved MC_PUIA # 64 ;- MC Protection Unit Area MC_PUP # 4 ;- MC Protection Unit Peripherals MC_PUER # 4 ;- MC Protection Unit Enable Register ;- -------- MC_RCR : (MC Offset: 0x0) MC Remap Control Register -------- AT91C_MC_RCB EQU (0x1:SHL:0) ;- (MC) Remap Command Bit ;- -------- MC_ASR : (MC Offset: 0x4) MC Abort Status Register -------- AT91C_MC_UNDADD EQU (0x1:SHL:0) ;- (MC) Undefined Addess Abort Status AT91C_MC_MISADD EQU (0x1:SHL:1) ;- (MC) Misaligned Addess Abort Status AT91C_MC_MPU EQU (0x1:SHL:2) ;- (MC) Memory protection Unit Abort Status AT91C_MC_ABTSZ EQU (0x3:SHL:8) ;- (MC) Abort Size Status AT91C_MC_ABTSZ_BYTE EQU (0x0:SHL:8) ;- (MC) Byte AT91C_MC_ABTSZ_HWORD EQU (0x1:SHL:8) ;- (MC) Half-word AT91C_MC_ABTSZ_WORD EQU (0x2:SHL:8) ;- (MC) Word AT91C_MC_ABTTYP EQU (0x3:SHL:10) ;- (MC) Abort Type Status AT91C_MC_ABTTYP_DATAR EQU (0x0:SHL:10) ;- (MC) Data Read AT91C_MC_ABTTYP_DATAW EQU (0x1:SHL:10) ;- (MC) Data Write AT91C_MC_ABTTYP_FETCH EQU (0x2:SHL:10) ;- (MC) Code Fetch AT91C_MC_MST0 EQU (0x1:SHL:16) ;- (MC) Master 0 Abort Source AT91C_MC_MST1 EQU (0x1:SHL:17) ;- (MC) Master 1 Abort Source AT91C_MC_SVMST0 EQU (0x1:SHL:24) ;- (MC) Saved Master 0 Abort Source AT91C_MC_SVMST1 EQU (0x1:SHL:25) ;- (MC) Saved Master 1 Abort Source ;- -------- MC_PUIA : (MC Offset: 0x10) MC Protection Unit Area -------- AT91C_MC_PROT EQU (0x3:SHL:0) ;- (MC) Protection AT91C_MC_PROT_PNAUNA EQU (0x0) ;- (MC) Privilege: No Access, User: No Access AT91C_MC_PROT_PRWUNA EQU (0x1) ;- (MC) Privilege: Read/Write, User: No Access AT91C_MC_PROT_PRWURO EQU (0x2) ;- (MC) Privilege: Read/Write, User: Read Only AT91C_MC_PROT_PRWURW EQU (0x3) ;- (MC) Privilege: Read/Write, User: Read/Write AT91C_MC_SIZE EQU (0xF:SHL:4) ;- (MC) Internal Area Size AT91C_MC_SIZE_1KB EQU (0x0:SHL:4) ;- (MC) Area size 1KByte AT91C_MC_SIZE_2KB EQU (0x1:SHL:4) ;- (MC) Area size 2KByte AT91C_MC_SIZE_4KB EQU (0x2:SHL:4) ;- (MC) Area size 4KByte AT91C_MC_SIZE_8KB EQU (0x3:SHL:4) ;- (MC) Area size 8KByte AT91C_MC_SIZE_16KB EQU (0x4:SHL:4) ;- (MC) Area size 16KByte AT91C_MC_SIZE_32KB EQU (0x5:SHL:4) ;- (MC) Area size 32KByte AT91C_MC_SIZE_64KB EQU (0x6:SHL:4) ;- (MC) Area size 64KByte AT91C_MC_SIZE_128KB EQU (0x7:SHL:4) ;- (MC) Area size 128KByte AT91C_MC_SIZE_256KB EQU (0x8:SHL:4) ;- (MC) Area size 256KByte AT91C_MC_SIZE_512KB EQU (0x9:SHL:4) ;- (MC) Area size 512KByte AT91C_MC_SIZE_1MB EQU (0xA:SHL:4) ;- (MC) Area size 1MByte AT91C_MC_SIZE_2MB EQU (0xB:SHL:4) ;- (MC) Area size 2MByte AT91C_MC_SIZE_4MB EQU (0xC:SHL:4) ;- (MC) Area size 4MByte AT91C_MC_SIZE_8MB EQU (0xD:SHL:4) ;- (MC) Area size 8MByte AT91C_MC_SIZE_16MB EQU (0xE:SHL:4) ;- (MC) Area size 16MByte AT91C_MC_SIZE_64MB EQU (0xF:SHL:4) ;- (MC) Area size 64MByte AT91C_MC_BA EQU (0x3FFFF:SHL:10) ;- (MC) Internal Area Base Address ;- -------- MC_PUP : (MC Offset: 0x50) MC Protection Unit Peripheral -------- ;- -------- MC_PUER : (MC Offset: 0x54) MC Protection Unit Area -------- AT91C_MC_PUEB EQU (0x1:SHL:0) ;- (MC) Protection Unit enable Bit ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Real-time Clock Alarm and Parallel Load Interface ;- ***************************************************************************** ^ 0 ;- AT91S_RTC RTC_CR # 4 ;- Control Register RTC_MR # 4 ;- Mode Register RTC_TIMR # 4 ;- Time Register RTC_CALR # 4 ;- Calendar Register RTC_TIMALR # 4 ;- Time Alarm Register RTC_CALALR # 4 ;- Calendar Alarm Register RTC_SR # 4 ;- Status Register RTC_SCCR # 4 ;- Status Clear Command Register RTC_IER # 4 ;- Interrupt Enable Register RTC_IDR # 4 ;- Interrupt Disable Register RTC_IMR # 4 ;- Interrupt Mask Register RTC_VER # 4 ;- Valid Entry Register ;- -------- RTC_CR : (RTC Offset: 0x0) RTC Control Register -------- AT91C_RTC_UPDTIM EQU (0x1:SHL:0) ;- (RTC) Update Request Time Register AT91C_RTC_UPDCAL EQU (0x1:SHL:1) ;- (RTC) Update Request Calendar Register AT91C_RTC_TIMEVSEL EQU (0x3:SHL:8) ;- (RTC) Time Event Selection AT91C_RTC_TIMEVSEL_MINUTE EQU (0x0:SHL:8) ;- (RTC) Minute change. AT91C_RTC_TIMEVSEL_HOUR EQU (0x1:SHL:8) ;- (RTC) Hour change. AT91C_RTC_TIMEVSEL_DAY24 EQU (0x2:SHL:8) ;- (RTC) Every day at midnight. AT91C_RTC_TIMEVSEL_DAY12 EQU (0x3:SHL:8) ;- (RTC) Every day at noon. AT91C_RTC_CALEVSEL EQU (0x3:SHL:16) ;- (RTC) Calendar Event Selection AT91C_RTC_CALEVSEL_WEEK EQU (0x0:SHL:16) ;- (RTC) Week change (every Monday at time 00:00:00). AT91C_RTC_CALEVSEL_MONTH EQU (0x1:SHL:16) ;- (RTC) Month change (every 01 of each month at time 00:00:00). AT91C_RTC_CALEVSEL_YEAR EQU (0x2:SHL:16) ;- (RTC) Year change (every January 1 at time 00:00:00). ;- -------- RTC_MR : (RTC Offset: 0x4) RTC Mode Register -------- AT91C_RTC_HRMOD EQU (0x1:SHL:0) ;- (RTC) 12-24 hour Mode ;- -------- RTC_TIMR : (RTC Offset: 0x8) RTC Time Register -------- AT91C_RTC_SEC EQU (0x7F:SHL:0) ;- (RTC) Current Second AT91C_RTC_MIN EQU (0x7F:SHL:8) ;- (RTC) Current Minute AT91C_RTC_HOUR EQU (0x1F:SHL:16) ;- (RTC) Current Hour AT91C_RTC_AMPM EQU (0x1:SHL:22) ;- (RTC) Ante Meridiem, Post Meridiem Indicator ;- -------- RTC_CALR : (RTC Offset: 0xc) RTC Calendar Register -------- AT91C_RTC_CENT EQU (0x3F:SHL:0) ;- (RTC) Current Century AT91C_RTC_YEAR EQU (0xFF:SHL:8) ;- (RTC) Current Year AT91C_RTC_MONTH EQU (0x1F:SHL:16) ;- (RTC) Current Month AT91C_RTC_DAY EQU (0x7:SHL:21) ;- (RTC) Current Day AT91C_RTC_DATE EQU (0x3F:SHL:24) ;- (RTC) Current Date ;- -------- RTC_TIMALR : (RTC Offset: 0x10) RTC Time Alarm Register -------- AT91C_RTC_SECEN EQU (0x1:SHL:7) ;- (RTC) Second Alarm Enable AT91C_RTC_MINEN EQU (0x1:SHL:15) ;- (RTC) Minute Alarm AT91C_RTC_HOUREN EQU (0x1:SHL:23) ;- (RTC) Current Hour ;- -------- RTC_CALALR : (RTC Offset: 0x14) RTC Calendar Alarm Register -------- AT91C_RTC_MONTHEN EQU (0x1:SHL:23) ;- (RTC) Month Alarm Enable AT91C_RTC_DATEEN EQU (0x1:SHL:31) ;- (RTC) Date Alarm Enable ;- -------- RTC_SR : (RTC Offset: 0x18) RTC Status Register -------- AT91C_RTC_ACKUPD EQU (0x1:SHL:0) ;- (RTC) Acknowledge for Update AT91C_RTC_ALARM EQU (0x1:SHL:1) ;- (RTC) Alarm Flag AT91C_RTC_SECEV EQU (0x1:SHL:2) ;- (RTC) Second Event AT91C_RTC_TIMEV EQU (0x1:SHL:3) ;- (RTC) Time Event AT91C_RTC_CALEV EQU (0x1:SHL:4) ;- (RTC) Calendar event ;- -------- RTC_SCCR : (RTC Offset: 0x1c) RTC Status Clear Command Register -------- ;- -------- RTC_IER : (RTC Offset: 0x20) RTC Interrupt Enable Register -------- ;- -------- RTC_IDR : (RTC Offset: 0x24) RTC Interrupt Disable Register -------- ;- -------- RTC_IMR : (RTC Offset: 0x28) RTC Interrupt Mask Register -------- ;- -------- RTC_VER : (RTC Offset: 0x2c) RTC Valid Entry Register -------- AT91C_RTC_NVTIM EQU (0x1:SHL:0) ;- (RTC) Non valid Time AT91C_RTC_NVCAL EQU (0x1:SHL:1) ;- (RTC) Non valid Calendar AT91C_RTC_NVTIMALR EQU (0x1:SHL:2) ;- (RTC) Non valid time Alarm AT91C_RTC_NVCALALR EQU (0x1:SHL:3) ;- (RTC) Nonvalid Calendar Alarm ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR System Timer Interface ;- ***************************************************************************** ^ 0 ;- AT91S_ST ST_CR # 4 ;- Control Register ST_PIMR # 4 ;- Period Interval Mode Register ST_WDMR # 4 ;- Watchdog Mode Register ST_RTMR # 4 ;- Real-time Mode Register ST_SR # 4 ;- Status Register ST_IER # 4 ;- Interrupt Enable Register ST_IDR # 4 ;- Interrupt Disable Register ST_IMR # 4 ;- Interrupt Mask Register ST_RTAR # 4 ;- Real-time Alarm Register ST_CRTR # 4 ;- Current Real-time Register ;- -------- ST_CR : (ST Offset: 0x0) System Timer Control Register -------- AT91C_ST_WDRST EQU (0x1:SHL:0) ;- (ST) Watchdog Timer Restart ;- -------- ST_PIMR : (ST Offset: 0x4) System Timer Period Interval Mode Register -------- AT91C_ST_PIV EQU (0xFFFF:SHL:0) ;- (ST) Watchdog Timer Restart ;- -------- ST_WDMR : (ST Offset: 0x8) System Timer Watchdog Mode Register -------- AT91C_ST_WDV EQU (0xFFFF:SHL:0) ;- (ST) Watchdog Timer Restart AT91C_ST_RSTEN EQU (0x1:SHL:16) ;- (ST) Reset Enable AT91C_ST_EXTEN EQU (0x1:SHL:17) ;- (ST) External Signal Assertion Enable ;- -------- ST_RTMR : (ST Offset: 0xc) System Timer Real-time Mode Register -------- AT91C_ST_RTPRES EQU (0xFFFF:SHL:0) ;- (ST) Real-time Timer Prescaler Value ;- -------- ST_SR : (ST Offset: 0x10) System Timer Status Register -------- AT91C_ST_PITS EQU (0x1:SHL:0) ;- (ST) Period Interval Timer Interrupt AT91C_ST_WDOVF EQU (0x1:SHL:1) ;- (ST) Watchdog Overflow AT91C_ST_RTTINC EQU (0x1:SHL:2) ;- (ST) Real-time Timer Increment AT91C_ST_ALMS EQU (0x1:SHL:3) ;- (ST) Alarm Status ;- -------- ST_IER : (ST Offset: 0x14) System Timer Interrupt Enable Register -------- ;- -------- ST_IDR : (ST Offset: 0x18) System Timer Interrupt Disable Register -------- ;- -------- ST_IMR : (ST Offset: 0x1c) System Timer Interrupt Mask Register -------- ;- -------- ST_RTAR : (ST Offset: 0x20) System Timer Real-time Alarm Register -------- AT91C_ST_ALMV EQU (0xFFFFF:SHL:0) ;- (ST) Alarm Value Value ;- -------- ST_CRTR : (ST Offset: 0x24) System Timer Current Real-time Register -------- AT91C_ST_CRTV EQU (0xFFFFF:SHL:0) ;- (ST) Current Real-time Value ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Power Management Controler ;- ***************************************************************************** ^ 0 ;- AT91S_PMC PMC_SCER # 4 ;- System Clock Enable Register PMC_SCDR # 4 ;- System Clock Disable Register PMC_SCSR # 4 ;- System Clock Status Register # 4 ;- Reserved PMC_PCER # 4 ;- Peripheral Clock Enable Register PMC_PCDR # 4 ;- Peripheral Clock Disable Register PMC_PCSR # 4 ;- Peripheral Clock Status Register # 20 ;- Reserved PMC_MCKR # 4 ;- Master Clock Register # 12 ;- Reserved PMC_PCKR # 32 ;- Programmable Clock Register PMC_IER # 4 ;- Interrupt Enable Register PMC_IDR # 4 ;- Interrupt Disable Register PMC_SR # 4 ;- Status Register PMC_IMR # 4 ;- Interrupt Mask Register ;- -------- PMC_SCER : (PMC Offset: 0x0) System Clock Enable Register -------- AT91C_PMC_PCK EQU (0x1:SHL:0) ;- (PMC) Processor Clock AT91C_PMC_UDP EQU (0x1:SHL:1) ;- (PMC) USB Device Port Clock AT91C_PMC_MCKUDP EQU (0x1:SHL:2) ;- (PMC) USB Device Port Master Clock Automatic Disable on Suspend AT91C_PMC_UHP EQU (0x1:SHL:4) ;- (PMC) USB Host Port Clock AT91C_PMC_PCK0 EQU (0x1:SHL:8) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK1 EQU (0x1:SHL:9) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK2 EQU (0x1:SHL:10) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK3 EQU (0x1:SHL:11) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK4 EQU (0x1:SHL:12) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK5 EQU (0x1:SHL:13) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK6 EQU (0x1:SHL:14) ;- (PMC) Programmable Clock Output AT91C_PMC_PCK7 EQU (0x1:SHL:15) ;- (PMC) Programmable Clock Output ;- -------- PMC_SCDR : (PMC Offset: 0x4) System Clock Disable Register -------- ;- -------- PMC_SCSR : (PMC Offset: 0x8) System Clock Status Register -------- ;- -------- PMC_MCKR : (PMC Offset: 0x30) Master Clock Register -------- AT91C_PMC_CSS EQU (0x3:SHL:0) ;- (PMC) Programmable Clock Selection AT91C_PMC_CSS_SLOW_CLK EQU (0x0) ;- (PMC) Slow Clock is selected AT91C_PMC_CSS_MAIN_CLK EQU (0x1) ;- (PMC) Main Clock is selected AT91C_PMC_CSS_PLLA_CLK EQU (0x2) ;- (PMC) Clock from PLL A is selected AT91C_PMC_CSS_PLLB_CLK EQU (0x3) ;- (PMC) Clock from PLL B is selected AT91C_PMC_PRES EQU (0x7:SHL:2) ;- (PMC) Programmable Clock Prescaler AT91C_PMC_PRES_CLK EQU (0x0:SHL:2) ;- (PMC) Selected clock AT91C_PMC_PRES_CLK_2 EQU (0x1:SHL:2) ;- (PMC) Selected clock divided by 2 AT91C_PMC_PRES_CLK_4 EQU (0x2:SHL:2) ;- (PMC) Selected clock divided by 4 AT91C_PMC_PRES_CLK_8 EQU (0x3:SHL:2) ;- (PMC) Selected clock divided by 8 AT91C_PMC_PRES_CLK_16 EQU (0x4:SHL:2) ;- (PMC) Selected clock divided by 16 AT91C_PMC_PRES_CLK_32 EQU (0x5:SHL:2) ;- (PMC) Selected clock divided by 32 AT91C_PMC_PRES_CLK_64 EQU (0x6:SHL:2) ;- (PMC) Selected clock divided by 64 AT91C_PMC_MDIV EQU (0x3:SHL:8) ;- (PMC) Master Clock Division AT91C_PMC_MDIV_1 EQU (0x0:SHL:8) ;- (PMC) The master clock and the processor clock are the same AT91C_PMC_MDIV_2 EQU (0x1:SHL:8) ;- (PMC) The processor clock is twice as fast as the master clock AT91C_PMC_MDIV_3 EQU (0x2:SHL:8) ;- (PMC) The processor clock is three times faster than the master clock AT91C_PMC_MDIV_4 EQU (0x3:SHL:8) ;- (PMC) The processor clock is four times faster than the master clock ;- -------- PMC_PCKR : (PMC Offset: 0x40) Programmable Clock Register -------- ;- -------- PMC_IER : (PMC Offset: 0x60) PMC Interrupt Enable Register -------- AT91C_PMC_MOSCS EQU (0x1:SHL:0) ;- (PMC) MOSC Status/Enable/Disable/Mask AT91C_PMC_LOCKA EQU (0x1:SHL:1) ;- (PMC) PLL A Status/Enable/Disable/Mask AT91C_PMC_LOCKB EQU (0x1:SHL:2) ;- (PMC) PLL B Status/Enable/Disable/Mask AT91C_PMC_MCKRDY EQU (0x1:SHL:3) ;- (PMC) MCK_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK0RDY EQU (0x1:SHL:8) ;- (PMC) PCK0_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK1RDY EQU (0x1:SHL:9) ;- (PMC) PCK1_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK2RDY EQU (0x1:SHL:10) ;- (PMC) PCK2_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK3RDY EQU (0x1:SHL:11) ;- (PMC) PCK3_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK4RDY EQU (0x1:SHL:12) ;- (PMC) PCK4_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK5RDY EQU (0x1:SHL:13) ;- (PMC) PCK5_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK6RDY EQU (0x1:SHL:14) ;- (PMC) PCK6_RDY Status/Enable/Disable/Mask AT91C_PMC_PCK7RDY EQU (0x1:SHL:15) ;- (PMC) PCK7_RDY Status/Enable/Disable/Mask ;- -------- PMC_IDR : (PMC Offset: 0x64) PMC Interrupt Disable Register -------- ;- -------- PMC_SR : (PMC Offset: 0x68) PMC Status Register -------- ;- -------- PMC_IMR : (PMC Offset: 0x6c) PMC Interrupt Mask Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Clock Generator Controler ;- ***************************************************************************** ^ 0 ;- AT91S_CKGR CKGR_MOR # 4 ;- Main Oscillator Register CKGR_MCFR # 4 ;- Main Clock Frequency Register CKGR_PLLAR # 4 ;- PLL A Register CKGR_PLLBR # 4 ;- PLL B Register ;- -------- CKGR_MOR : (CKGR Offset: 0x0) Main Oscillator Register -------- AT91C_CKGR_MOSCEN EQU (0x1:SHL:0) ;- (CKGR) Main Oscillator Enable AT91C_CKGR_OSCTEST EQU (0x1:SHL:1) ;- (CKGR) Oscillator Test AT91C_CKGR_OSCOUNT EQU (0xFF:SHL:8) ;- (CKGR) Main Oscillator Start-up Time ;- -------- CKGR_MCFR : (CKGR Offset: 0x4) Main Clock Frequency Register -------- AT91C_CKGR_MAINF EQU (0xFFFF:SHL:0) ;- (CKGR) Main Clock Frequency AT91C_CKGR_MAINRDY EQU (0x1:SHL:16) ;- (CKGR) Main Clock Ready ;- -------- CKGR_PLLAR : (CKGR Offset: 0x8) PLL A Register -------- AT91C_CKGR_DIVA EQU (0xFF:SHL:0) ;- (CKGR) Divider Selected AT91C_CKGR_DIVA_0 EQU (0x0) ;- (CKGR) Divider output is 0 AT91C_CKGR_DIVA_BYPASS EQU (0x1) ;- (CKGR) Divider is bypassed AT91C_CKGR_PLLACOUNT EQU (0x3F:SHL:8) ;- (CKGR) PLL A Counter AT91C_CKGR_OUTA EQU (0x3:SHL:14) ;- (CKGR) PLL A Output Frequency Range AT91C_CKGR_OUTA_0 EQU (0x0:SHL:14) ;- (CKGR) Please refer to the PLLA datasheet AT91C_CKGR_OUTA_1 EQU (0x1:SHL:14) ;- (CKGR) Please refer to the PLLA datasheet AT91C_CKGR_OUTA_2 EQU (0x2:SHL:14) ;- (CKGR) Please refer to the PLLA datasheet AT91C_CKGR_OUTA_3 EQU (0x3:SHL:14) ;- (CKGR) Please refer to the PLLA datasheet AT91C_CKGR_MULA EQU (0x7FF:SHL:16) ;- (CKGR) PLL A Multiplier AT91C_CKGR_SRCA EQU (0x1:SHL:29) ;- (CKGR) PLL A Source ;- -------- CKGR_PLLBR : (CKGR Offset: 0xc) PLL B Register -------- AT91C_CKGR_DIVB EQU (0xFF:SHL:0) ;- (CKGR) Divider Selected AT91C_CKGR_DIVB_0 EQU (0x0) ;- (CKGR) Divider output is 0 AT91C_CKGR_DIVB_BYPASS EQU (0x1) ;- (CKGR) Divider is bypassed AT91C_CKGR_PLLBCOUNT EQU (0x3F:SHL:8) ;- (CKGR) PLL B Counter AT91C_CKGR_OUTB EQU (0x3:SHL:14) ;- (CKGR) PLL B Output Frequency Range AT91C_CKGR_OUTB_0 EQU (0x0:SHL:14) ;- (CKGR) Please refer to the PLLB datasheet AT91C_CKGR_OUTB_1 EQU (0x1:SHL:14) ;- (CKGR) Please refer to the PLLB datasheet AT91C_CKGR_OUTB_2 EQU (0x2:SHL:14) ;- (CKGR) Please refer to the PLLB datasheet AT91C_CKGR_OUTB_3 EQU (0x3:SHL:14) ;- (CKGR) Please refer to the PLLB datasheet AT91C_CKGR_MULB EQU (0x7FF:SHL:16) ;- (CKGR) PLL B Multiplier AT91C_CKGR_USB_96M EQU (0x1:SHL:28) ;- (CKGR) Divider for USB Ports AT91C_CKGR_USB_PLL EQU (0x1:SHL:29) ;- (CKGR) PLL Use ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Parallel Input Output Controler ;- ***************************************************************************** ^ 0 ;- AT91S_PIO PIO_PER # 4 ;- PIO Enable Register PIO_PDR # 4 ;- PIO Disable Register PIO_PSR # 4 ;- PIO Status Register # 4 ;- Reserved PIO_OER # 4 ;- Output Enable Register PIO_ODR # 4 ;- Output Disable Registerr PIO_OSR # 4 ;- Output Status Register # 4 ;- Reserved PIO_IFER # 4 ;- Input Filter Enable Register PIO_IFDR # 4 ;- Input Filter Disable Register PIO_IFSR # 4 ;- Input Filter Status Register # 4 ;- Reserved PIO_SODR # 4 ;- Set Output Data Register PIO_CODR # 4 ;- Clear Output Data Register PIO_ODSR # 4 ;- Output Data Status Register PIO_PDSR # 4 ;- Pin Data Status Register PIO_IER # 4 ;- Interrupt Enable Register PIO_IDR # 4 ;- Interrupt Disable Register PIO_IMR # 4 ;- Interrupt Mask Register PIO_ISR # 4 ;- Interrupt Status Register PIO_MDER # 4 ;- Multi-driver Enable Register PIO_MDDR # 4 ;- Multi-driver Disable Register PIO_MDSR # 4 ;- Multi-driver Status Register # 4 ;- Reserved PIO_PPUDR # 4 ;- Pull-up Disable Register PIO_PPUER # 4 ;- Pull-up Enable Register PIO_PPUSR # 4 ;- Pad Pull-up Status Register # 4 ;- Reserved PIO_ASR # 4 ;- Select A Register PIO_BSR # 4 ;- Select B Register PIO_ABSR # 4 ;- AB Select Status Register # 36 ;- Reserved PIO_OWER # 4 ;- Output Write Enable Register PIO_OWDR # 4 ;- Output Write Disable Register PIO_OWSR # 4 ;- Output Write Status Register ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Debug Unit ;- ***************************************************************************** ^ 0 ;- AT91S_DBGU DBGU_CR # 4 ;- Control Register DBGU_MR # 4 ;- Mode Register DBGU_IER # 4 ;- Interrupt Enable Register DBGU_IDR # 4 ;- Interrupt Disable Register DBGU_IMR # 4 ;- Interrupt Mask Register DBGU_CSR # 4 ;- Channel Status Register DBGU_RHR # 4 ;- Receiver Holding Register DBGU_THR # 4 ;- Transmitter Holding Register DBGU_BRGR # 4 ;- Baud Rate Generator Register # 28 ;- Reserved DBGU_C1R # 4 ;- Chip ID1 Register DBGU_C2R # 4 ;- Chip ID2 Register DBGU_FNTR # 4 ;- Force NTRST Register # 180 ;- Reserved DBGU_RPR # 4 ;- Receive Pointer Register DBGU_RCR # 4 ;- Receive Counter Register DBGU_TPR # 4 ;- Transmit Pointer Register DBGU_TCR # 4 ;- Transmit Counter Register DBGU_RNPR # 4 ;- Receive Next Pointer Register DBGU_RNCR # 4 ;- Receive Next Counter Register DBGU_TNPR # 4 ;- Transmit Next Pointer Register DBGU_TNCR # 4 ;- Transmit Next Counter Register DBGU_PTCR # 4 ;- PDC Transfer Control Register DBGU_PTSR # 4 ;- PDC Transfer Status Register ;- -------- DBGU_CR : (DBGU Offset: 0x0) Debug Unit Control Register -------- AT91C_US_RSTRX EQU (0x1:SHL:2) ;- (DBGU) Reset Receiver AT91C_US_RSTTX EQU (0x1:SHL:3) ;- (DBGU) Reset Transmitter AT91C_US_RXEN EQU (0x1:SHL:4) ;- (DBGU) Receiver Enable AT91C_US_RXDIS EQU (0x1:SHL:5) ;- (DBGU) Receiver Disable AT91C_US_TXEN EQU (0x1:SHL:6) ;- (DBGU) Transmitter Enable AT91C_US_TXDIS EQU (0x1:SHL:7) ;- (DBGU) Transmitter Disable ;- -------- DBGU_MR : (DBGU Offset: 0x4) Debug Unit Mode Register -------- AT91C_US_PAR EQU (0x7:SHL:9) ;- (DBGU) Parity type AT91C_US_PAR_EVEN EQU (0x0:SHL:9) ;- (DBGU) Even Parity AT91C_US_PAR_ODD EQU (0x1:SHL:9) ;- (DBGU) Odd Parity AT91C_US_PAR_SPACE EQU (0x2:SHL:9) ;- (DBGU) Parity forced to 0 (Space) AT91C_US_PAR_MARK EQU (0x3:SHL:9) ;- (DBGU) Parity forced to 1 (Mark) AT91C_US_PAR_NONE EQU (0x4:SHL:9) ;- (DBGU) No Parity AT91C_US_PAR_MULTI_DROP EQU (0x6:SHL:9) ;- (DBGU) Multi-drop mode AT91C_US_CHMODE EQU (0x3:SHL:14) ;- (DBGU) Channel Mode AT91C_US_CHMODE_NORMAL EQU (0x0:SHL:14) ;- (DBGU) Normal Mode: The USART channel operates as an RX/TX USART. AT91C_US_CHMODE_AUTO EQU (0x1:SHL:14) ;- (DBGU) Automatic Echo: Receiver Data Input is connected to the TXD pin. AT91C_US_CHMODE_LOCAL EQU (0x2:SHL:14) ;- (DBGU) Local Loopback: Transmitter Output Signal is connected to Receiver Input Signal. AT91C_US_CHMODE_REMOTE EQU (0x3:SHL:14) ;- (DBGU) Remote Loopback: RXD pin is internally connected to TXD pin. ;- -------- DBGU_IER : (DBGU Offset: 0x8) Debug Unit Interrupt Enable Register -------- AT91C_US_RXRDY EQU (0x1:SHL:0) ;- (DBGU) RXRDY Interrupt AT91C_US_TXRDY EQU (0x1:SHL:1) ;- (DBGU) TXRDY Interrupt AT91C_US_ENDRX EQU (0x1:SHL:3) ;- (DBGU) End of Receive Transfer Interrupt AT91C_US_ENDTX EQU (0x1:SHL:4) ;- (DBGU) End of Transmit Interrupt AT91C_US_OVRE EQU (0x1:SHL:5) ;- (DBGU) Overrun Interrupt AT91C_US_FRAME EQU (0x1:SHL:6) ;- (DBGU) Framing Error Interrupt AT91C_US_PARE EQU (0x1:SHL:7) ;- (DBGU) Parity Error Interrupt AT91C_US_TXEMPTY EQU (0x1:SHL:9) ;- (DBGU) TXEMPTY Interrupt AT91C_US_TXBUFE EQU (0x1:SHL:11) ;- (DBGU) TXBUFE Interrupt AT91C_US_RXBUFF EQU (0x1:SHL:12) ;- (DBGU) RXBUFF Interrupt AT91C_US_COMM_TX EQU (0x1:SHL:30) ;- (DBGU) COMM_TX Interrupt AT91C_US_COMM_RX EQU (0x1:SHL:31) ;- (DBGU) COMM_RX Interrupt ;- -------- DBGU_IDR : (DBGU Offset: 0xc) Debug Unit Interrupt Disable Register -------- ;- -------- DBGU_IMR : (DBGU Offset: 0x10) Debug Unit Interrupt Mask Register -------- ;- -------- DBGU_CSR : (DBGU Offset: 0x14) Debug Unit Channel Status Register -------- ;- -------- DBGU_FNTR : (DBGU Offset: 0x48) Debug Unit FORCE_NTRST Register -------- AT91C_US_FORCE_NTRST EQU (0x1:SHL:0) ;- (DBGU) Force NTRST in JTAG ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Peripheral Data Controller ;- ***************************************************************************** ^ 0 ;- AT91S_PDC PDC_RPR # 4 ;- Receive Pointer Register PDC_RCR # 4 ;- Receive Counter Register PDC_TPR # 4 ;- Transmit Pointer Register PDC_TCR # 4 ;- Transmit Counter Register PDC_RNPR # 4 ;- Receive Next Pointer Register PDC_RNCR # 4 ;- Receive Next Counter Register PDC_TNPR # 4 ;- Transmit Next Pointer Register PDC_TNCR # 4 ;- Transmit Next Counter Register PDC_PTCR # 4 ;- PDC Transfer Control Register PDC_PTSR # 4 ;- PDC Transfer Status Register ;- -------- PDC_PTCR : (PDC Offset: 0x20) PDC Transfer Control Register -------- AT91C_PDC_RXTEN EQU (0x1:SHL:0) ;- (PDC) Receiver Transfer Enable AT91C_PDC_RXTDIS EQU (0x1:SHL:1) ;- (PDC) Receiver Transfer Disable AT91C_PDC_TXTEN EQU (0x1:SHL:8) ;- (PDC) Transmitter Transfer Enable AT91C_PDC_TXTDIS EQU (0x1:SHL:9) ;- (PDC) Transmitter Transfer Disable ;- -------- PDC_PTSR : (PDC Offset: 0x24) PDC Transfer Status Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Advanced Interrupt Controller ;- ***************************************************************************** ^ 0 ;- AT91S_AIC AIC_SMR # 128 ;- Source Mode Register AIC_SVR # 128 ;- Source Vector Register AIC_IVR # 4 ;- IRQ Vector Register AIC_FVR # 4 ;- FIQ Vector Register AIC_ISR # 4 ;- Interrupt Status Register AIC_IPR # 4 ;- Interrupt Pending Register AIC_IMR # 4 ;- Interrupt Mask Register AIC_CISR # 4 ;- Core Interrupt Status Register # 8 ;- Reserved AIC_IECR # 4 ;- Interrupt Enable Command Register AIC_IDCR # 4 ;- Interrupt Disable Command Register AIC_ICCR # 4 ;- Interrupt Clear Command Register AIC_ISCR # 4 ;- Interrupt Set Command Register AIC_EOICR # 4 ;- End of Interrupt Command Register AIC_SPU # 4 ;- Spurious Vector Register AIC_DCR # 4 ;- Debug Control Register (Protect) # 4 ;- Reserved AIC_FFER # 4 ;- Fast Forcing Enable Register AIC_FFDR # 4 ;- Fast Forcing Disable Register AIC_FFSR # 4 ;- Fast Forcing Status Register ;- -------- AIC_SMR : (AIC Offset: 0x0) Control Register -------- AT91C_AIC_PRIOR EQU (0x7:SHL:0) ;- (AIC) Priority Level AT91C_AIC_PRIOR_LOWEST EQU (0x0) ;- (AIC) Lowest priority level AT91C_AIC_PRIOR_HIGHEST EQU (0x7) ;- (AIC) Highest priority level AT91C_AIC_SRCTYPE EQU (0x3:SHL:5) ;- (AIC) Interrupt Source Type AT91C_AIC_SRCTYPE_INT_LEVEL_SENSITIVE EQU (0x0:SHL:5) ;- (AIC) Internal Sources Code Label Level Sensitive AT91C_AIC_SRCTYPE_INT_EDGE_TRIGGERED EQU (0x1:SHL:5) ;- (AIC) Internal Sources Code Label Edge triggered AT91C_AIC_SRCTYPE_EXT_HIGH_LEVEL EQU (0x2:SHL:5) ;- (AIC) External Sources Code Label High-level Sensitive AT91C_AIC_SRCTYPE_EXT_POSITIVE_EDGE EQU (0x3:SHL:5) ;- (AIC) External Sources Code Label Positive Edge triggered ;- -------- AIC_CISR : (AIC Offset: 0x114) AIC Core Interrupt Status Register -------- AT91C_AIC_NFIQ EQU (0x1:SHL:0) ;- (AIC) NFIQ Status AT91C_AIC_NIRQ EQU (0x1:SHL:1) ;- (AIC) NIRQ Status ;- -------- AIC_DCR : (AIC Offset: 0x138) AIC Debug Control Register (Protect) -------- AT91C_AIC_DCR_PROT EQU (0x1:SHL:0) ;- (AIC) Protection Mode AT91C_AIC_DCR_GMSK EQU (0x1:SHL:1) ;- (AIC) General Mask ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Serial Parallel Interface ;- ***************************************************************************** ^ 0 ;- AT91S_SPI SPI_CR # 4 ;- Control Register SPI_MR # 4 ;- Mode Register SPI_RDR # 4 ;- Receive Data Register SPI_TDR # 4 ;- Transmit Data Register SPI_SR # 4 ;- Status Register SPI_IER # 4 ;- Interrupt Enable Register SPI_IDR # 4 ;- Interrupt Disable Register SPI_IMR # 4 ;- Interrupt Mask Register # 16 ;- Reserved SPI_CSR # 16 ;- Chip Select Register # 192 ;- Reserved SPI_RPR # 4 ;- Receive Pointer Register SPI_RCR # 4 ;- Receive Counter Register SPI_TPR # 4 ;- Transmit Pointer Register SPI_TCR # 4 ;- Transmit Counter Register SPI_RNPR # 4 ;- Receive Next Pointer Register SPI_RNCR # 4 ;- Receive Next Counter Register SPI_TNPR # 4 ;- Transmit Next Pointer Register SPI_TNCR # 4 ;- Transmit Next Counter Register SPI_PTCR # 4 ;- PDC Transfer Control Register SPI_PTSR # 4 ;- PDC Transfer Status Register ;- -------- SPI_CR : (SPI Offset: 0x0) SPI Control Register -------- AT91C_SPI_SPIEN EQU (0x1:SHL:0) ;- (SPI) SPI Enable AT91C_SPI_SPIDIS EQU (0x1:SHL:1) ;- (SPI) SPI Disable AT91C_SPI_SWRST EQU (0x1:SHL:7) ;- (SPI) SPI Software reset ;- -------- SPI_MR : (SPI Offset: 0x4) SPI Mode Register -------- AT91C_SPI_MSTR EQU (0x1:SHL:0) ;- (SPI) Master/Slave Mode AT91C_SPI_PS EQU (0x1:SHL:1) ;- (SPI) Peripheral Select AT91C_SPI_PS_FIXED EQU (0x0:SHL:1) ;- (SPI) Fixed Peripheral Select AT91C_SPI_PS_VARIABLE EQU (0x1:SHL:1) ;- (SPI) Variable Peripheral Select AT91C_SPI_PCSDEC EQU (0x1:SHL:2) ;- (SPI) Chip Select Decode AT91C_SPI_DIV32 EQU (0x1:SHL:3) ;- (SPI) Clock Selection AT91C_SPI_MODFDIS EQU (0x1:SHL:4) ;- (SPI) Mode Fault Detection AT91C_SPI_LLB EQU (0x1:SHL:7) ;- (SPI) Clock Selection AT91C_SPI_PCS EQU (0xF:SHL:16) ;- (SPI) Peripheral Chip Select AT91C_SPI_DLYBCS EQU (0xFF:SHL:24) ;- (SPI) Delay Between Chip Selects ;- -------- SPI_RDR : (SPI Offset: 0x8) Receive Data Register -------- AT91C_SPI_RD EQU (0xFFFF:SHL:0) ;- (SPI) Receive Data AT91C_SPI_RPCS EQU (0xF:SHL:16) ;- (SPI) Peripheral Chip Select Status ;- -------- SPI_TDR : (SPI Offset: 0xc) Transmit Data Register -------- AT91C_SPI_TD EQU (0xFFFF:SHL:0) ;- (SPI) Transmit Data AT91C_SPI_TPCS EQU (0xF:SHL:16) ;- (SPI) Peripheral Chip Select Status ;- -------- SPI_SR : (SPI Offset: 0x10) Status Register -------- AT91C_SPI_RDRF EQU (0x1:SHL:0) ;- (SPI) Receive Data Register Full AT91C_SPI_TDRE EQU (0x1:SHL:1) ;- (SPI) Transmit Data Register Empty AT91C_SPI_MODF EQU (0x1:SHL:2) ;- (SPI) Mode Fault Error AT91C_SPI_OVRES EQU (0x1:SHL:3) ;- (SPI) Overrun Error Status AT91C_SPI_SPENDRX EQU (0x1:SHL:4) ;- (SPI) End of Receiver Transfer AT91C_SPI_SPENDTX EQU (0x1:SHL:5) ;- (SPI) End of Receiver Transfer AT91C_SPI_RXBUFF EQU (0x1:SHL:6) ;- (SPI) RXBUFF Interrupt AT91C_SPI_TXBUFE EQU (0x1:SHL:7) ;- (SPI) TXBUFE Interrupt AT91C_SPI_SPIENS EQU (0x1:SHL:16) ;- (SPI) Enable Status ;- -------- SPI_IER : (SPI Offset: 0x14) Interrupt Enable Register -------- ;- -------- SPI_IDR : (SPI Offset: 0x18) Interrupt Disable Register -------- ;- -------- SPI_IMR : (SPI Offset: 0x1c) Interrupt Mask Register -------- ;- -------- SPI_CSR : (SPI Offset: 0x30) Chip Select Register -------- AT91C_SPI_CPOL EQU (0x1:SHL:0) ;- (SPI) Clock Polarity AT91C_SPI_NCPHA EQU (0x1:SHL:1) ;- (SPI) Clock Phase AT91C_SPI_BITS EQU (0xF:SHL:4) ;- (SPI) Bits Per Transfer AT91C_SPI_BITS_8 EQU (0x0:SHL:4) ;- (SPI) 8 Bits Per transfer AT91C_SPI_BITS_9 EQU (0x1:SHL:4) ;- (SPI) 9 Bits Per transfer AT91C_SPI_BITS_10 EQU (0x2:SHL:4) ;- (SPI) 10 Bits Per transfer AT91C_SPI_BITS_11 EQU (0x3:SHL:4) ;- (SPI) 11 Bits Per transfer AT91C_SPI_BITS_12 EQU (0x4:SHL:4) ;- (SPI) 12 Bits Per transfer AT91C_SPI_BITS_13 EQU (0x5:SHL:4) ;- (SPI) 13 Bits Per transfer AT91C_SPI_BITS_14 EQU (0x6:SHL:4) ;- (SPI) 14 Bits Per transfer AT91C_SPI_BITS_15 EQU (0x7:SHL:4) ;- (SPI) 15 Bits Per transfer AT91C_SPI_BITS_16 EQU (0x8:SHL:4) ;- (SPI) 16 Bits Per transfer AT91C_SPI_SCBR EQU (0xFF:SHL:8) ;- (SPI) Serial Clock Baud Rate AT91C_SPI_DLYBS EQU (0xFF:SHL:16) ;- (SPI) Serial Clock Baud Rate AT91C_SPI_DLYBCT EQU (0xFF:SHL:24) ;- (SPI) Delay Between Consecutive Transfers ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Synchronous Serial Controller Interface ;- ***************************************************************************** ^ 0 ;- AT91S_SSC SSC_CR # 4 ;- Control Register SSC_CMR # 4 ;- Clock Mode Register # 8 ;- Reserved SSC_RCMR # 4 ;- Receive Clock ModeRegister SSC_RFMR # 4 ;- Receive Frame Mode Register SSC_TCMR # 4 ;- Transmit Clock Mode Register SSC_TFMR # 4 ;- Transmit Frame Mode Register SSC_RHR # 4 ;- Receive Holding Register SSC_THR # 4 ;- Transmit Holding Register # 8 ;- Reserved SSC_RSHR # 4 ;- Receive Sync Holding Register SSC_TSHR # 4 ;- Transmit Sync Holding Register SSC_RC0R # 4 ;- Receive Compare 0 Register SSC_RC1R # 4 ;- Receive Compare 1 Register SSC_SR # 4 ;- Status Register SSC_IER # 4 ;- Interrupt Enable Register SSC_IDR # 4 ;- Interrupt Disable Register SSC_IMR # 4 ;- Interrupt Mask Register # 176 ;- Reserved SSC_RPR # 4 ;- Receive Pointer Register SSC_RCR # 4 ;- Receive Counter Register SSC_TPR # 4 ;- Transmit Pointer Register SSC_TCR # 4 ;- Transmit Counter Register SSC_RNPR # 4 ;- Receive Next Pointer Register SSC_RNCR # 4 ;- Receive Next Counter Register SSC_TNPR # 4 ;- Transmit Next Pointer Register SSC_TNCR # 4 ;- Transmit Next Counter Register SSC_PTCR # 4 ;- PDC Transfer Control Register SSC_PTSR # 4 ;- PDC Transfer Status Register ;- -------- SSC_CR : (SSC Offset: 0x0) SSC Control Register -------- AT91C_SSC_RXEN EQU (0x1:SHL:0) ;- (SSC) Receive Enable AT91C_SSC_RXDIS EQU (0x1:SHL:1) ;- (SSC) Receive Disable AT91C_SSC_TXEN EQU (0x1:SHL:8) ;- (SSC) Transmit Enable AT91C_SSC_TXDIS EQU (0x1:SHL:9) ;- (SSC) Transmit Disable AT91C_SSC_SWRST EQU (0x1:SHL:15) ;- (SSC) Software Reset ;- -------- SSC_RCMR : (SSC Offset: 0x10) SSC Receive Clock Mode Register -------- AT91C_SSC_CKS EQU (0x3:SHL:0) ;- (SSC) Receive/Transmit Clock Selection AT91C_SSC_CKS_DIV EQU (0x0) ;- (SSC) Divided Clock AT91C_SSC_CKS_TK EQU (0x1) ;- (SSC) TK Clock signal AT91C_SSC_CKS_RK EQU (0x2) ;- (SSC) RK pin AT91C_SSC_CKO EQU (0x7:SHL:2) ;- (SSC) Receive/Transmit Clock Output Mode Selection AT91C_SSC_CKO_NONE EQU (0x0:SHL:2) ;- (SSC) Receive/Transmit Clock Output Mode: None RK pin: Input-only AT91C_SSC_CKO_CONTINOUS EQU (0x1:SHL:2) ;- (SSC) Continuous Receive/Transmit Clock RK pin: Output AT91C_SSC_CKO_DATA_TX EQU (0x2:SHL:2) ;- (SSC) Receive/Transmit Clock only during data transfers RK pin: Output AT91C_SSC_CKI EQU (0x1:SHL:5) ;- (SSC) Receive/Transmit Clock Inversion AT91C_SSC_CKG EQU (0x3:SHL:6) ;- (SSC) Receive/Transmit Clock Gating Selection AT91C_SSC_CKG_NONE EQU (0x0:SHL:6) ;- (SSC) Receive/Transmit Clock Gating: None, continuous clock AT91C_SSC_CKG_LOW EQU (0x1:SHL:6) ;- (SSC) Receive/Transmit Clock enabled only if RF Low AT91C_SSC_CKG_HIGH EQU (0x2:SHL:6) ;- (SSC) Receive/Transmit Clock enabled only if RF High AT91C_SSC_START EQU (0xF:SHL:8) ;- (SSC) Receive/Transmit Start Selection AT91C_SSC_START_CONTINOUS EQU (0x0:SHL:8) ;- (SSC) Continuous, as soon as the receiver is enabled, and immediately after the end of transfer of the previous data. AT91C_SSC_START_TX EQU (0x1:SHL:8) ;- (SSC) Transmit/Receive start AT91C_SSC_START_LOW_RF EQU (0x2:SHL:8) ;- (SSC) Detection of a low level on RF input AT91C_SSC_START_HIGH_RF EQU (0x3:SHL:8) ;- (SSC) Detection of a high level on RF input AT91C_SSC_START_FALL_RF EQU (0x4:SHL:8) ;- (SSC) Detection of a falling edge on RF input AT91C_SSC_START_RISE_RF EQU (0x5:SHL:8) ;- (SSC) Detection of a rising edge on RF input AT91C_SSC_START_LEVEL_RF EQU (0x6:SHL:8) ;- (SSC) Detection of any level change on RF input AT91C_SSC_START_EDGE_RF EQU (0x7:SHL:8) ;- (SSC) Detection of any edge on RF input AT91C_SSC_START_0 EQU (0x8:SHL:8) ;- (SSC) Compare 0 AT91C_SSC_STOP EQU (0x1:SHL:12) ;- (SSC) Receive Stop Selection AT91C_SSC_STTOUT EQU (0x1:SHL:15) ;- (SSC) Receive/Transmit Start Output Selection AT91C_SSC_STTDLY EQU (0xFF:SHL:16) ;- (SSC) Receive/Transmit Start Delay AT91C_SSC_PERIOD EQU (0xFF:SHL:24) ;- (SSC) Receive/Transmit Period Divider Selection ;- -------- SSC_RFMR : (SSC Offset: 0x14) SSC Receive Frame Mode Register -------- AT91C_SSC_DATLEN EQU (0x1F:SHL:0) ;- (SSC) Data Length AT91C_SSC_LOOP EQU (0x1:SHL:5) ;- (SSC) Loop Mode AT91C_SSC_MSBF EQU (0x1:SHL:7) ;- (SSC) Most Significant Bit First AT91C_SSC_DATNB EQU (0xF:SHL:8) ;- (SSC) Data Number per Frame AT91C_SSC_FSLEN EQU (0xF:SHL:16) ;- (SSC) Receive/Transmit Frame Sync length AT91C_SSC_FSOS EQU (0x7:SHL:20) ;- (SSC) Receive/Transmit Frame Sync Output Selection AT91C_SSC_FSOS_NONE EQU (0x0:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: None RK pin Input-only AT91C_SSC_FSOS_NEGATIVE EQU (0x1:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: Negative Pulse AT91C_SSC_FSOS_POSITIVE EQU (0x2:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: Positive Pulse AT91C_SSC_FSOS_LOW EQU (0x3:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: Driver Low during data transfer AT91C_SSC_FSOS_HIGH EQU (0x4:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: Driver High during data transfer AT91C_SSC_FSOS_TOGGLE EQU (0x5:SHL:20) ;- (SSC) Selected Receive/Transmit Frame Sync Signal: Toggling at each start of data transfer AT91C_SSC_FSEDGE EQU (0x1:SHL:24) ;- (SSC) Frame Sync Edge Detection ;- -------- SSC_TCMR : (SSC Offset: 0x18) SSC Transmit Clock Mode Register -------- ;- -------- SSC_TFMR : (SSC Offset: 0x1c) SSC Transmit Frame Mode Register -------- AT91C_SSC_DATDEF EQU (0x1:SHL:5) ;- (SSC) Data Default Value AT91C_SSC_FSDEN EQU (0x1:SHL:23) ;- (SSC) Frame Sync Data Enable ;- -------- SSC_SR : (SSC Offset: 0x40) SSC Status Register -------- AT91C_SSC_TXRDY EQU (0x1:SHL:0) ;- (SSC) Transmit Ready AT91C_SSC_TXEMPTY EQU (0x1:SHL:1) ;- (SSC) Transmit Empty AT91C_SSC_ENDTX EQU (0x1:SHL:2) ;- (SSC) End Of Transmission AT91C_SSC_TXBUFE EQU (0x1:SHL:3) ;- (SSC) Transmit Buffer Empty AT91C_SSC_RXRDY EQU (0x1:SHL:4) ;- (SSC) Receive Ready AT91C_SSC_OVRUN EQU (0x1:SHL:5) ;- (SSC) Receive Overrun AT91C_SSC_ENDRX EQU (0x1:SHL:6) ;- (SSC) End of Reception AT91C_SSC_RXBUFF EQU (0x1:SHL:7) ;- (SSC) Receive Buffer Full AT91C_SSC_CP0 EQU (0x1:SHL:8) ;- (SSC) Compare 0 AT91C_SSC_CP1 EQU (0x1:SHL:9) ;- (SSC) Compare 1 AT91C_SSC_TXSYN EQU (0x1:SHL:10) ;- (SSC) Transmit Sync AT91C_SSC_RXSYN EQU (0x1:SHL:11) ;- (SSC) Receive Sync AT91C_SSC_TXENA EQU (0x1:SHL:16) ;- (SSC) Transmit Enable AT91C_SSC_RXENA EQU (0x1:SHL:17) ;- (SSC) Receive Enable ;- -------- SSC_IER : (SSC Offset: 0x44) SSC Interrupt Enable Register -------- ;- -------- SSC_IDR : (SSC Offset: 0x48) SSC Interrupt Disable Register -------- ;- -------- SSC_IMR : (SSC Offset: 0x4c) SSC Interrupt Mask Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Usart ;- ***************************************************************************** ^ 0 ;- AT91S_USART US_CR # 4 ;- Control Register US_MR # 4 ;- Mode Register US_IER # 4 ;- Interrupt Enable Register US_IDR # 4 ;- Interrupt Disable Register US_IMR # 4 ;- Interrupt Mask Register US_CSR # 4 ;- Channel Status Register US_RHR # 4 ;- Receiver Holding Register US_THR # 4 ;- Transmitter Holding Register US_BRGR # 4 ;- Baud Rate Generator Register US_RTOR # 4 ;- Receiver Time-out Register US_TTGR # 4 ;- Transmitter Time-guard Register # 20 ;- Reserved US_FIDI # 4 ;- FI_DI_Ratio Register US_NER # 4 ;- Nb Errors Register US_XXR # 4 ;- XON_XOFF Register US_IF # 4 ;- IRDA_FILTER Register # 176 ;- Reserved US_RPR # 4 ;- Receive Pointer Register US_RCR # 4 ;- Receive Counter Register US_TPR # 4 ;- Transmit Pointer Register US_TCR # 4 ;- Transmit Counter Register US_RNPR # 4 ;- Receive Next Pointer Register US_RNCR # 4 ;- Receive Next Counter Register US_TNPR # 4 ;- Transmit Next Pointer Register US_TNCR # 4 ;- Transmit Next Counter Register US_PTCR # 4 ;- PDC Transfer Control Register US_PTSR # 4 ;- PDC Transfer Status Register ;- -------- US_CR : (USART Offset: 0x0) Debug Unit Control Register -------- AT91C_US_RSTSTA EQU (0x1:SHL:8) ;- (USART) Reset Status Bits AT91C_US_STTBRK EQU (0x1:SHL:9) ;- (USART) Start Break AT91C_US_STPBRK EQU (0x1:SHL:10) ;- (USART) Stop Break AT91C_US_STTTO EQU (0x1:SHL:11) ;- (USART) Start Time-out AT91C_US_SENDA EQU (0x1:SHL:12) ;- (USART) Send Address AT91C_US_RSTIT EQU (0x1:SHL:13) ;- (USART) Reset Iterations AT91C_US_RSTNACK EQU (0x1:SHL:14) ;- (USART) Reset Non Acknowledge AT91C_US_RETTO EQU (0x1:SHL:15) ;- (USART) Rearm Time-out AT91C_US_DTREN EQU (0x1:SHL:16) ;- (USART) Data Terminal ready Enable AT91C_US_DTRDIS EQU (0x1:SHL:17) ;- (USART) Data Terminal ready Disable AT91C_US_RTSEN EQU (0x1:SHL:18) ;- (USART) Request to Send enable AT91C_US_RTSDIS EQU (0x1:SHL:19) ;- (USART) Request to Send Disable ;- -------- US_MR : (USART Offset: 0x4) Debug Unit Mode Register -------- AT91C_US_USMODE EQU (0xF:SHL:0) ;- (USART) Usart mode AT91C_US_USMODE_NORMAL EQU (0x0) ;- (USART) Normal AT91C_US_USMODE_RS485 EQU (0x1) ;- (USART) RS485 AT91C_US_USMODE_HWHSH EQU (0x2) ;- (USART) Hardware Handshaking AT91C_US_USMODE_MODEM EQU (0x3) ;- (USART) Modem AT91C_US_USMODE_ISO7816_0 EQU (0x4) ;- (USART) ISO7816 protocol: T = 0 AT91C_US_USMODE_ISO7816_1 EQU (0x6) ;- (USART) ISO7816 protocol: T = 1 AT91C_US_USMODE_IRDA EQU (0x8) ;- (USART) IrDA AT91C_US_USMODE_SWHSH EQU (0xC) ;- (USART) Software Handshaking AT91C_US_CLKS EQU (0x3:SHL:4) ;- (USART) Clock Selection (Baud Rate generator Input Clock AT91C_US_CLKS_CLOCK EQU (0x0:SHL:4) ;- (USART) Clock AT91C_US_CLKS_FDIV1 EQU (0x1:SHL:4) ;- (USART) fdiv1 AT91C_US_CLKS_SLOW EQU (0x2:SHL:4) ;- (USART) slow_clock (ARM) AT91C_US_CLKS_EXT EQU (0x3:SHL:4) ;- (USART) External (SCK) AT91C_US_CHRL EQU (0x3:SHL:6) ;- (USART) Clock Selection (Baud Rate generator Input Clock AT91C_US_CHRL_5_BITS EQU (0x0:SHL:6) ;- (USART) Character Length: 5 bits AT91C_US_CHRL_6_BITS EQU (0x1:SHL:6) ;- (USART) Character Length: 6 bits AT91C_US_CHRL_7_BITS EQU (0x2:SHL:6) ;- (USART) Character Length: 7 bits AT91C_US_CHRL_8_BITS EQU (0x3:SHL:6) ;- (USART) Character Length: 8 bits AT91C_US_SYNC EQU (0x1:SHL:8) ;- (USART) Synchronous Mode Select AT91C_US_NBSTOP EQU (0x3:SHL:12) ;- (USART) Number of Stop bits AT91C_US_NBSTOP_1_BIT EQU (0x0:SHL:12) ;- (USART) 1 stop bit AT91C_US_NBSTOP_15_BIT EQU (0x1:SHL:12) ;- (USART) Asynchronous (SYNC=0) 2 stop bits Synchronous (SYNC=1) 2 stop bits AT91C_US_NBSTOP_2_BIT EQU (0x2:SHL:12) ;- (USART) 2 stop bits AT91C_US_MSBF EQU (0x1:SHL:16) ;- (USART) Bit Order AT91C_US_MODE9 EQU (0x1:SHL:17) ;- (USART) 9-bit Character length AT91C_US_CKLO EQU (0x1:SHL:18) ;- (USART) Clock Output Select AT91C_US_OVER EQU (0x1:SHL:19) ;- (USART) Over Sampling Mode AT91C_US_INACK EQU (0x1:SHL:20) ;- (USART) Inhibit Non Acknowledge AT91C_US_DSNACK EQU (0x1:SHL:21) ;- (USART) Disable Successive NACK AT91C_US_MAX_ITER EQU (0x1:SHL:24) ;- (USART) Number of Repetitions AT91C_US_FILTER EQU (0x1:SHL:28) ;- (USART) Receive Line Filter ;- -------- US_IER : (USART Offset: 0x8) Debug Unit Interrupt Enable Register -------- AT91C_US_RXBRK EQU (0x1:SHL:2) ;- (USART) Break Received/End of Break AT91C_US_TIMEOUT EQU (0x1:SHL:8) ;- (USART) Receiver Time-out AT91C_US_ITERATION EQU (0x1:SHL:10) ;- (USART) Max number of Repetitions Reached AT91C_US_NACK EQU (0x1:SHL:13) ;- (USART) Non Acknowledge AT91C_US_RIIC EQU (0x1:SHL:16) ;- (USART) Ring INdicator Input Change Flag AT91C_US_DSRIC EQU (0x1:SHL:17) ;- (USART) Data Set Ready Input Change Flag AT91C_US_DCDIC EQU (0x1:SHL:18) ;- (USART) Data Carrier Flag AT91C_US_CTSIC EQU (0x1:SHL:19) ;- (USART) Clear To Send Input Change Flag ;- -------- US_IDR : (USART Offset: 0xc) Debug Unit Interrupt Disable Register -------- ;- -------- US_IMR : (USART Offset: 0x10) Debug Unit Interrupt Mask Register -------- ;- -------- US_CSR : (USART Offset: 0x14) Debug Unit Channel Status Register -------- AT91C_US_RI EQU (0x1:SHL:20) ;- (USART) Image of RI Input AT91C_US_DSR EQU (0x1:SHL:21) ;- (USART) Image of DSR Input AT91C_US_DCD EQU (0x1:SHL:22) ;- (USART) Image of DCD Input AT91C_US_CTS EQU (0x1:SHL:23) ;- (USART) Image of CTS Input ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Two-wire Interface ;- ***************************************************************************** ^ 0 ;- AT91S_TWI TWI_CR # 4 ;- Control Register TWI_MMR # 4 ;- Master Mode Register TWI_SMR # 4 ;- Slave Mode Register TWI_IADR # 4 ;- Internal Address Register TWI_CWGR # 4 ;- Clock Waveform Generator Register # 12 ;- Reserved TWI_SR # 4 ;- Status Register TWI_IER # 4 ;- Interrupt Enable Register TWI_IDR # 4 ;- Interrupt Disable Register TWI_IMR # 4 ;- Interrupt Mask Register TWI_RHR # 4 ;- Receive Holding Register TWI_THR # 4 ;- Transmit Holding Register ;- -------- TWI_CR : (TWI Offset: 0x0) TWI Control Register -------- AT91C_TWI_START EQU (0x1:SHL:0) ;- (TWI) Send a START Condition AT91C_TWI_STOP EQU (0x1:SHL:1) ;- (TWI) Send a STOP Condition AT91C_TWI_MSEN EQU (0x1:SHL:2) ;- (TWI) TWI Master Transfer Enabled AT91C_TWI_MSDIS EQU (0x1:SHL:3) ;- (TWI) TWI Master Transfer Disabled AT91C_TWI_SVEN EQU (0x1:SHL:4) ;- (TWI) TWI Slave Transfer Enabled AT91C_TWI_SVDIS EQU (0x1:SHL:5) ;- (TWI) TWI Slave Transfer Disabled AT91C_TWI_SWRST EQU (0x1:SHL:7) ;- (TWI) Software Reset ;- -------- TWI_MMR : (TWI Offset: 0x4) TWI Master Mode Register -------- AT91C_TWI_IADRSZ EQU (0x3:SHL:8) ;- (TWI) Internal Device Address Size AT91C_TWI_IADRSZ_NO EQU (0x0:SHL:8) ;- (TWI) No internal device address AT91C_TWI_IADRSZ_1_BYTE EQU (0x1:SHL:8) ;- (TWI) One-byte internal device address AT91C_TWI_IADRSZ_2_BYTE EQU (0x2:SHL:8) ;- (TWI) Two-byte internal device address AT91C_TWI_IADRSZ_3_BYTE EQU (0x3:SHL:8) ;- (TWI) Three-byte internal device address AT91C_TWI_MREAD EQU (0x1:SHL:12) ;- (TWI) Master Read Direction AT91C_TWI_DADR EQU (0x7F:SHL:16) ;- (TWI) Device Address ;- -------- TWI_SMR : (TWI Offset: 0x8) TWI Slave Mode Register -------- AT91C_TWI_SADR EQU (0x7F:SHL:16) ;- (TWI) Slave Device Address ;- -------- TWI_CWGR : (TWI Offset: 0x10) TWI Clock Waveform Generator Register -------- AT91C_TWI_CLDIV EQU (0xFF:SHL:0) ;- (TWI) Clock Low Divider AT91C_TWI_CHDIV EQU (0xFF:SHL:8) ;- (TWI) Clock High Divider AT91C_TWI_CKDIV EQU (0x7:SHL:16) ;- (TWI) Clock Divider ;- -------- TWI_SR : (TWI Offset: 0x20) TWI Status Register -------- AT91C_TWI_TXCOMP EQU (0x1:SHL:0) ;- (TWI) Transmission Completed AT91C_TWI_RXRDY EQU (0x1:SHL:1) ;- (TWI) Receive holding register ReaDY AT91C_TWI_TXRDY EQU (0x1:SHL:2) ;- (TWI) Transmit holding register ReaDY AT91C_TWI_SVREAD EQU (0x1:SHL:3) ;- (TWI) Slave Read AT91C_TWI_SVACC EQU (0x1:SHL:4) ;- (TWI) Slave Access AT91C_TWI_GCACC EQU (0x1:SHL:5) ;- (TWI) General Call Access AT91C_TWI_OVRE EQU (0x1:SHL:6) ;- (TWI) Overrun Error AT91C_TWI_UNRE EQU (0x1:SHL:7) ;- (TWI) Underrun Error AT91C_TWI_NACK EQU (0x1:SHL:8) ;- (TWI) Not Acknowledged AT91C_TWI_ARBLST EQU (0x1:SHL:9) ;- (TWI) Arbitration Lost ;- -------- TWI_IER : (TWI Offset: 0x24) TWI Interrupt Enable Register -------- ;- -------- TWI_IDR : (TWI Offset: 0x28) TWI Interrupt Disable Register -------- ;- -------- TWI_IMR : (TWI Offset: 0x2c) TWI Interrupt Mask Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Multimedia Card Interface ;- ***************************************************************************** ^ 0 ;- AT91S_MCI MCI_CR # 4 ;- MCI Control Register MCI_MR # 4 ;- MCI Mode Register MCI_DTOR # 4 ;- MCI Data Timeout Register MCI_SDCR # 4 ;- MCI SD Card Register MCI_ARGR # 4 ;- MCI Argument Register MCI_CMDR # 4 ;- MCI Command Register # 8 ;- Reserved MCI_RSPR # 16 ;- MCI Response Register MCI_RDR # 4 ;- MCI Receive Data Register MCI_TDR # 4 ;- MCI Transmit Data Register # 8 ;- Reserved MCI_SR # 4 ;- MCI Status Register MCI_IER # 4 ;- MCI Interrupt Enable Register MCI_IDR # 4 ;- MCI Interrupt Disable Register MCI_IMR # 4 ;- MCI Interrupt Mask Register # 176 ;- Reserved MCI_RPR # 4 ;- Receive Pointer Register MCI_RCR # 4 ;- Receive Counter Register MCI_TPR # 4 ;- Transmit Pointer Register MCI_TCR # 4 ;- Transmit Counter Register MCI_RNPR # 4 ;- Receive Next Pointer Register MCI_RNCR # 4 ;- Receive Next Counter Register MCI_TNPR # 4 ;- Transmit Next Pointer Register MCI_TNCR # 4 ;- Transmit Next Counter Register MCI_PTCR # 4 ;- PDC Transfer Control Register MCI_PTSR # 4 ;- PDC Transfer Status Register ;- -------- MCI_CR : (MCI Offset: 0x0) MCI Control Register -------- AT91C_MCI_MCIEN EQU (0x1:SHL:0) ;- (MCI) Multimedia Interface Enable AT91C_MCI_MCIDIS EQU (0x1:SHL:1) ;- (MCI) Multimedia Interface Disable AT91C_MCI_PWSEN EQU (0x1:SHL:2) ;- (MCI) Power Save Mode Enable AT91C_MCI_PWSDIS EQU (0x1:SHL:3) ;- (MCI) Power Save Mode Disable ;- -------- MCI_MR : (MCI Offset: 0x4) MCI Mode Register -------- AT91C_MCI_CLKDIV EQU (0x1:SHL:0) ;- (MCI) Clock Divider AT91C_MCI_PWSDIV EQU (0x1:SHL:8) ;- (MCI) Power Saving Divider AT91C_MCI_PDCPADV EQU (0x1:SHL:14) ;- (MCI) PDC Padding Value AT91C_MCI_PDCMODE EQU (0x1:SHL:15) ;- (MCI) PDC Oriented Mode AT91C_MCI_BLKLEN EQU (0x1:SHL:18) ;- (MCI) Data Block Length ;- -------- MCI_DTOR : (MCI Offset: 0x8) MCI Data Timeout Register -------- AT91C_MCI_DTOCYC EQU (0x1:SHL:0) ;- (MCI) Data Timeout Cycle Number AT91C_MCI_DTOMUL EQU (0x7:SHL:4) ;- (MCI) Data Timeout Multiplier AT91C_MCI_DTOMUL_1 EQU (0x0:SHL:4) ;- (MCI) DTOCYC x 1 AT91C_MCI_DTOMUL_16 EQU (0x1:SHL:4) ;- (MCI) DTOCYC x 16 AT91C_MCI_DTOMUL_128 EQU (0x2:SHL:4) ;- (MCI) DTOCYC x 128 AT91C_MCI_DTOMUL_256 EQU (0x3:SHL:4) ;- (MCI) DTOCYC x 256 AT91C_MCI_DTOMUL_1024 EQU (0x4:SHL:4) ;- (MCI) DTOCYC x 1024 AT91C_MCI_DTOMUL_4096 EQU (0x5:SHL:4) ;- (MCI) DTOCYC x 4096 AT91C_MCI_DTOMUL_65536 EQU (0x6:SHL:4) ;- (MCI) DTOCYC x 65536 AT91C_MCI_DTOMUL_1048576 EQU (0x7:SHL:4) ;- (MCI) DTOCYC x 1048576 ;- -------- MCI_SDCR : (MCI Offset: 0xc) MCI SD Card Register -------- AT91C_MCI_SCDSEL EQU (0x1:SHL:0) ;- (MCI) SD Card Selector AT91C_MCI_SCDBUS EQU (0x1:SHL:7) ;- (MCI) SD Card Bus Width ;- -------- MCI_CMDR : (MCI Offset: 0x14) MCI Command Register -------- AT91C_MCI_CMDNB EQU (0x1F:SHL:0) ;- (MCI) Command Number AT91C_MCI_RSPTYP EQU (0x3:SHL:6) ;- (MCI) Response Type AT91C_MCI_RSPTYP_NO EQU (0x0:SHL:6) ;- (MCI) No response AT91C_MCI_RSPTYP_48 EQU (0x1:SHL:6) ;- (MCI) 48-bit response AT91C_MCI_RSPTYP_136 EQU (0x2:SHL:6) ;- (MCI) 136-bit response AT91C_MCI_SPCMD EQU (0x7:SHL:8) ;- (MCI) Special CMD AT91C_MCI_SPCMD_NONE EQU (0x0:SHL:8) ;- (MCI) Not a special CMD AT91C_MCI_SPCMD_INIT EQU (0x1:SHL:8) ;- (MCI) Initialization CMD AT91C_MCI_SPCMD_SYNC EQU (0x2:SHL:8) ;- (MCI) Synchronized CMD AT91C_MCI_SPCMD_IT_CMD EQU (0x4:SHL:8) ;- (MCI) Interrupt command AT91C_MCI_SPCMD_IT_REP EQU (0x5:SHL:8) ;- (MCI) Interrupt response AT91C_MCI_OPDCMD EQU (0x1:SHL:11) ;- (MCI) Open Drain Command AT91C_MCI_MAXLAT EQU (0x1:SHL:12) ;- (MCI) Maximum Latency for Command to respond AT91C_MCI_TRCMD EQU (0x3:SHL:16) ;- (MCI) Transfer CMD AT91C_MCI_TRCMD_NO EQU (0x0:SHL:16) ;- (MCI) No transfer AT91C_MCI_TRCMD_START EQU (0x1:SHL:16) ;- (MCI) Start transfer AT91C_MCI_TRCMD_STOP EQU (0x2:SHL:16) ;- (MCI) Stop transfer AT91C_MCI_TRDIR EQU (0x1:SHL:18) ;- (MCI) Transfer Direction AT91C_MCI_TRTYP EQU (0x3:SHL:19) ;- (MCI) Transfer Type AT91C_MCI_TRTYP_BLOCK EQU (0x0:SHL:19) ;- (MCI) Block Transfer type AT91C_MCI_TRTYP_MULTIPLE EQU (0x1:SHL:19) ;- (MCI) Multiple Block transfer type AT91C_MCI_TRTYP_STREAM EQU (0x2:SHL:19) ;- (MCI) Stream transfer type ;- -------- MCI_SR : (MCI Offset: 0x40) MCI Status Register -------- AT91C_MCI_CMDRDY EQU (0x1:SHL:0) ;- (MCI) Command Ready flag AT91C_MCI_RXRDY EQU (0x1:SHL:1) ;- (MCI) RX Ready flag AT91C_MCI_TXRDY EQU (0x1:SHL:2) ;- (MCI) TX Ready flag AT91C_MCI_BLKE EQU (0x1:SHL:3) ;- (MCI) Data Block Transfer Ended flag AT91C_MCI_DTIP EQU (0x1:SHL:4) ;- (MCI) Data Transfer in Progress flag AT91C_MCI_NOTBUSY EQU (0x1:SHL:5) ;- (MCI) Data Line Not Busy flag AT91C_MCI_ENDRX EQU (0x1:SHL:6) ;- (MCI) End of RX Buffer flag AT91C_MCI_ENDTX EQU (0x1:SHL:7) ;- (MCI) End of TX Buffer flag AT91C_MCI_RXBUFF EQU (0x1:SHL:14) ;- (MCI) RX Buffer Full flag AT91C_MCI_TXBUFE EQU (0x1:SHL:15) ;- (MCI) TX Buffer Empty flag AT91C_MCI_RINDE EQU (0x1:SHL:16) ;- (MCI) Response Index Error flag AT91C_MCI_RDIRE EQU (0x1:SHL:17) ;- (MCI) Response Direction Error flag AT91C_MCI_RCRCE EQU (0x1:SHL:18) ;- (MCI) Response CRC Error flag AT91C_MCI_RENDE EQU (0x1:SHL:19) ;- (MCI) Response End Bit Error flag AT91C_MCI_RTOE EQU (0x1:SHL:20) ;- (MCI) Response Time-out Error flag AT91C_MCI_DCRCE EQU (0x1:SHL:21) ;- (MCI) data CRC Error flag AT91C_MCI_DTOE EQU (0x1:SHL:22) ;- (MCI) Data timeout Error flag AT91C_MCI_OVRE EQU (0x1:SHL:30) ;- (MCI) Overrun flag AT91C_MCI_UNRE EQU (0x1:SHL:31) ;- (MCI) Underrun flag ;- -------- MCI_IER : (MCI Offset: 0x44) MCI Interrupt Enable Register -------- ;- -------- MCI_IDR : (MCI Offset: 0x48) MCI Interrupt Disable Register -------- ;- -------- MCI_IMR : (MCI Offset: 0x4c) MCI Interrupt Mask Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR USB Device Interface ;- ***************************************************************************** ^ 0 ;- AT91S_UDP UDP_NUM # 4 ;- Frame Number Register UDP_GLBSTATE # 4 ;- Global State Register UDP_FADDR # 4 ;- Function Address Register # 4 ;- Reserved UDP_IER # 4 ;- Interrupt Enable Register UDP_IDR # 4 ;- Interrupt Disable Register UDP_IMR # 4 ;- Interrupt Mask Register UDP_ISR # 4 ;- Interrupt Status Register UDP_ICR # 4 ;- Interrupt Clear Register # 4 ;- Reserved UDP_RSTEP # 4 ;- Reset Endpoint Register # 4 ;- Reserved UDP_CSR # 32 ;- Endpoint Control and Status Register UDP_FDR # 32 ;- Endpoint FIFO Data Register ;- -------- UDP_FRM_NUM : (UDP Offset: 0x0) USB Frame Number Register -------- AT91C_UDP_FRM_NUM EQU (0x7FF:SHL:0) ;- (UDP) Frame Number as Defined in the Packet Field Formats AT91C_UDP_FRM_ERR EQU (0x1:SHL:16) ;- (UDP) Frame Error AT91C_UDP_FRM_OK EQU (0x1:SHL:17) ;- (UDP) Frame OK ;- -------- UDP_GLB_STATE : (UDP Offset: 0x4) USB Global State Register -------- AT91C_UDP_FADDEN EQU (0x1:SHL:0) ;- (UDP) Function Address Enable AT91C_UDP_CONFG EQU (0x1:SHL:1) ;- (UDP) Configured AT91C_UDP_RMWUPE EQU (0x1:SHL:2) ;- (UDP) Remote Wake Up Enable AT91C_UDP_RSMINPR EQU (0x1:SHL:3) ;- (UDP) A Resume Has Been Sent to the Host ;- -------- UDP_FADDR : (UDP Offset: 0x8) USB Function Address Register -------- AT91C_UDP_FADD EQU (0xFF:SHL:0) ;- (UDP) Function Address Value AT91C_UDP_FEN EQU (0x1:SHL:8) ;- (UDP) Function Enable ;- -------- UDP_IER : (UDP Offset: 0x10) USB Interrupt Enable Register -------- AT91C_UDP_EPINT0 EQU (0x1:SHL:0) ;- (UDP) Endpoint 0 Interrupt AT91C_UDP_EPINT1 EQU (0x1:SHL:1) ;- (UDP) Endpoint 0 Interrupt AT91C_UDP_EPINT2 EQU (0x1:SHL:2) ;- (UDP) Endpoint 2 Interrupt AT91C_UDP_EPINT3 EQU (0x1:SHL:3) ;- (UDP) Endpoint 3 Interrupt AT91C_UDP_EPINT4 EQU (0x1:SHL:4) ;- (UDP) Endpoint 4 Interrupt AT91C_UDP_EPINT5 EQU (0x1:SHL:5) ;- (UDP) Endpoint 5 Interrupt AT91C_UDP_EPINT6 EQU (0x1:SHL:6) ;- (UDP) Endpoint 6 Interrupt AT91C_UDP_EPINT7 EQU (0x1:SHL:7) ;- (UDP) Endpoint 7 Interrupt AT91C_UDP_RXSUSP EQU (0x1:SHL:8) ;- (UDP) USB Suspend Interrupt AT91C_UDP_RXRSM EQU (0x1:SHL:9) ;- (UDP) USB Resume Interrupt AT91C_UDP_EXTRSM EQU (0x1:SHL:10) ;- (UDP) USB External Resume Interrupt AT91C_UDP_SOFINT EQU (0x1:SHL:11) ;- (UDP) USB Start Of frame Interrupt AT91C_UDP_WAKEUP EQU (0x1:SHL:13) ;- (UDP) USB Resume Interrupt ;- -------- UDP_IDR : (UDP Offset: 0x14) USB Interrupt Disable Register -------- ;- -------- UDP_IMR : (UDP Offset: 0x18) USB Interrupt Mask Register -------- ;- -------- UDP_ISR : (UDP Offset: 0x1c) USB Interrupt Status Register -------- AT91C_UDP_ENDBUSRES EQU (0x1:SHL:12) ;- (UDP) USB End Of Bus Reset Interrupt ;- -------- UDP_ICR : (UDP Offset: 0x20) USB Interrupt Clear Register -------- ;- -------- UDP_RST_EP : (UDP Offset: 0x28) USB Reset Endpoint Register -------- AT91C_UDP_EP0 EQU (0x1:SHL:0) ;- (UDP) Reset Endpoint 0 AT91C_UDP_EP1 EQU (0x1:SHL:1) ;- (UDP) Reset Endpoint 1 AT91C_UDP_EP2 EQU (0x1:SHL:2) ;- (UDP) Reset Endpoint 2 AT91C_UDP_EP3 EQU (0x1:SHL:3) ;- (UDP) Reset Endpoint 3 AT91C_UDP_EP4 EQU (0x1:SHL:4) ;- (UDP) Reset Endpoint 4 AT91C_UDP_EP5 EQU (0x1:SHL:5) ;- (UDP) Reset Endpoint 5 AT91C_UDP_EP6 EQU (0x1:SHL:6) ;- (UDP) Reset Endpoint 6 AT91C_UDP_EP7 EQU (0x1:SHL:7) ;- (UDP) Reset Endpoint 7 ;- -------- UDP_CSR : (UDP Offset: 0x30) USB Endpoint Control and Status Register -------- AT91C_UDP_TXCOMP EQU (0x1:SHL:0) ;- (UDP) Generates an IN packet with data previously written in the DPR AT91C_UDP_RX_DATA_BK0 EQU (0x1:SHL:1) ;- (UDP) Receive Data Bank 0 AT91C_UDP_RXSETUP EQU (0x1:SHL:2) ;- (UDP) Sends STALL to the Host (Control endpoints) AT91C_UDP_ISOERROR EQU (0x1:SHL:3) ;- (UDP) Isochronous error (Isochronous endpoints) AT91C_UDP_TXPKTRDY EQU (0x1:SHL:4) ;- (UDP) Transmit Packet Ready AT91C_UDP_FORCESTALL EQU (0x1:SHL:5) ;- (UDP) Force Stall (used by Control, Bulk and Isochronous endpoints). AT91C_UDP_RX_DATA_BK1 EQU (0x1:SHL:6) ;- (UDP) Receive Data Bank 1 (only used by endpoints with ping-pong attributes). AT91C_UDP_DIR EQU (0x1:SHL:7) ;- (UDP) Transfer Direction AT91C_UDP_EPTYPE EQU (0x7:SHL:8) ;- (UDP) Endpoint type AT91C_UDP_EPTYPE_CTRL EQU (0x0:SHL:8) ;- (UDP) Control AT91C_UDP_EPTYPE_ISO_OUT EQU (0x1:SHL:8) ;- (UDP) Isochronous OUT AT91C_UDP_EPTYPE_BULK_OUT EQU (0x2:SHL:8) ;- (UDP) Bulk OUT AT91C_UDP_EPTYPE_INT_OUT EQU (0x3:SHL:8) ;- (UDP) Interrupt OUT AT91C_UDP_EPTYPE_ISO_IN EQU (0x5:SHL:8) ;- (UDP) Isochronous IN AT91C_UDP_EPTYPE_BULK_IN EQU (0x6:SHL:8) ;- (UDP) Bulk IN AT91C_UDP_EPTYPE_INT_IN EQU (0x7:SHL:8) ;- (UDP) Interrupt IN AT91C_UDP_DTGLE EQU (0x1:SHL:11) ;- (UDP) Data Toggle AT91C_UDP_EPEDS EQU (0x1:SHL:15) ;- (UDP) Endpoint Enable Disable AT91C_UDP_RXBYTECNT EQU (0x7FF:SHL:16) ;- (UDP) Number Of Bytes Available in the FIFO ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Timer Counter Channel Interface ;- ***************************************************************************** ^ 0 ;- AT91S_TC TC_CCR # 4 ;- Channel Control Register TC_CMR # 4 ;- Channel Mode Register # 8 ;- Reserved TC_CV # 4 ;- Counter Value TC_RA # 4 ;- Register A TC_RB # 4 ;- Register B TC_RC # 4 ;- Register C TC_SR # 4 ;- Status Register TC_IER # 4 ;- Interrupt Enable Register TC_IDR # 4 ;- Interrupt Disable Register TC_IMR # 4 ;- Interrupt Mask Register ;- -------- TC_CCR : (TC Offset: 0x0) TC Channel Control Register -------- AT91C_TC_CLKEN EQU (0x1:SHL:0) ;- (TC) Counter Clock Enable Command AT91C_TC_CLKDIS EQU (0x1:SHL:1) ;- (TC) Counter Clock Disable Command AT91C_TC_SWTRG EQU (0x1:SHL:2) ;- (TC) Software Trigger Command ;- -------- TC_CMR : (TC Offset: 0x4) TC Channel Mode Register: Capture Mode / Waveform Mode -------- AT91C_TC_CPCSTOP EQU (0x1:SHL:6) ;- (TC) Counter Clock Stopped with RC Compare AT91C_TC_CPCDIS EQU (0x1:SHL:7) ;- (TC) Counter Clock Disable with RC Compare AT91C_TC_EEVTEDG EQU (0x3:SHL:8) ;- (TC) External Event Edge Selection AT91C_TC_EEVTEDG_NONE EQU (0x0:SHL:8) ;- (TC) Edge: None AT91C_TC_EEVTEDG_RISING EQU (0x1:SHL:8) ;- (TC) Edge: rising edge AT91C_TC_EEVTEDG_FALLING EQU (0x2:SHL:8) ;- (TC) Edge: falling edge AT91C_TC_EEVTEDG_BOTH EQU (0x3:SHL:8) ;- (TC) Edge: each edge AT91C_TC_EEVT EQU (0x3:SHL:10) ;- (TC) External Event Selection AT91C_TC_EEVT_NONE EQU (0x0:SHL:10) ;- (TC) Signal selected as external event: TIOB TIOB direction: input AT91C_TC_EEVT_RISING EQU (0x1:SHL:10) ;- (TC) Signal selected as external event: XC0 TIOB direction: output AT91C_TC_EEVT_FALLING EQU (0x2:SHL:10) ;- (TC) Signal selected as external event: XC1 TIOB direction: output AT91C_TC_EEVT_BOTH EQU (0x3:SHL:10) ;- (TC) Signal selected as external event: XC2 TIOB direction: output AT91C_TC_ENETRG EQU (0x1:SHL:12) ;- (TC) External Event Trigger enable AT91C_TC_WAVESEL EQU (0x3:SHL:13) ;- (TC) Waveform Selection AT91C_TC_WAVESEL_UP EQU (0x0:SHL:13) ;- (TC) UP mode without atomatic trigger on RC Compare AT91C_TC_WAVESEL_UPDOWN EQU (0x1:SHL:13) ;- (TC) UPDOWN mode without automatic trigger on RC Compare AT91C_TC_WAVESEL_UP_AUTO EQU (0x2:SHL:13) ;- (TC) UP mode with automatic trigger on RC Compare AT91C_TC_WAVESEL_UPDOWN_AUTO EQU (0x3:SHL:13) ;- (TC) UPDOWN mode with automatic trigger on RC Compare AT91C_TC_CPCTRG EQU (0x1:SHL:14) ;- (TC) RC Compare Trigger Enable AT91C_TC_WAVE EQU (0x1:SHL:15) ;- (TC) AT91C_TC_ACPA EQU (0x3:SHL:16) ;- (TC) RA Compare Effect on TIOA AT91C_TC_ACPA_NONE EQU (0x0:SHL:16) ;- (TC) Effect: none AT91C_TC_ACPA_SET EQU (0x1:SHL:16) ;- (TC) Effect: set AT91C_TC_ACPA_CLEAR EQU (0x2:SHL:16) ;- (TC) Effect: clear AT91C_TC_ACPA_TOGGLE EQU (0x3:SHL:16) ;- (TC) Effect: toggle AT91C_TC_ACPC EQU (0x3:SHL:18) ;- (TC) RC Compare Effect on TIOA AT91C_TC_ACPC_NONE EQU (0x0:SHL:18) ;- (TC) Effect: none AT91C_TC_ACPC_SET EQU (0x1:SHL:18) ;- (TC) Effect: set AT91C_TC_ACPC_CLEAR EQU (0x2:SHL:18) ;- (TC) Effect: clear AT91C_TC_ACPC_TOGGLE EQU (0x3:SHL:18) ;- (TC) Effect: toggle AT91C_TC_AEEVT EQU (0x3:SHL:20) ;- (TC) External Event Effect on TIOA AT91C_TC_AEEVT_NONE EQU (0x0:SHL:20) ;- (TC) Effect: none AT91C_TC_AEEVT_SET EQU (0x1:SHL:20) ;- (TC) Effect: set AT91C_TC_AEEVT_CLEAR EQU (0x2:SHL:20) ;- (TC) Effect: clear AT91C_TC_AEEVT_TOGGLE EQU (0x3:SHL:20) ;- (TC) Effect: toggle AT91C_TC_ASWTRG EQU (0x3:SHL:22) ;- (TC) Software Trigger Effect on TIOA AT91C_TC_ASWTRG_NONE EQU (0x0:SHL:22) ;- (TC) Effect: none AT91C_TC_ASWTRG_SET EQU (0x1:SHL:22) ;- (TC) Effect: set AT91C_TC_ASWTRG_CLEAR EQU (0x2:SHL:22) ;- (TC) Effect: clear AT91C_TC_ASWTRG_TOGGLE EQU (0x3:SHL:22) ;- (TC) Effect: toggle AT91C_TC_BCPB EQU (0x3:SHL:24) ;- (TC) RB Compare Effect on TIOB AT91C_TC_BCPB_NONE EQU (0x0:SHL:24) ;- (TC) Effect: none AT91C_TC_BCPB_SET EQU (0x1:SHL:24) ;- (TC) Effect: set AT91C_TC_BCPB_CLEAR EQU (0x2:SHL:24) ;- (TC) Effect: clear AT91C_TC_BCPB_TOGGLE EQU (0x3:SHL:24) ;- (TC) Effect: toggle AT91C_TC_BCPC EQU (0x3:SHL:26) ;- (TC) RC Compare Effect on TIOB AT91C_TC_BCPC_NONE EQU (0x0:SHL:26) ;- (TC) Effect: none AT91C_TC_BCPC_SET EQU (0x1:SHL:26) ;- (TC) Effect: set AT91C_TC_BCPC_CLEAR EQU (0x2:SHL:26) ;- (TC) Effect: clear AT91C_TC_BCPC_TOGGLE EQU (0x3:SHL:26) ;- (TC) Effect: toggle AT91C_TC_BEEVT EQU (0x3:SHL:28) ;- (TC) External Event Effect on TIOB AT91C_TC_BEEVT_NONE EQU (0x0:SHL:28) ;- (TC) Effect: none AT91C_TC_BEEVT_SET EQU (0x1:SHL:28) ;- (TC) Effect: set AT91C_TC_BEEVT_CLEAR EQU (0x2:SHL:28) ;- (TC) Effect: clear AT91C_TC_BEEVT_TOGGLE EQU (0x3:SHL:28) ;- (TC) Effect: toggle AT91C_TC_BSWTRG EQU (0x3:SHL:30) ;- (TC) Software Trigger Effect on TIOB AT91C_TC_BSWTRG_NONE EQU (0x0:SHL:30) ;- (TC) Effect: none AT91C_TC_BSWTRG_SET EQU (0x1:SHL:30) ;- (TC) Effect: set AT91C_TC_BSWTRG_CLEAR EQU (0x2:SHL:30) ;- (TC) Effect: clear AT91C_TC_BSWTRG_TOGGLE EQU (0x3:SHL:30) ;- (TC) Effect: toggle ;- -------- TC_SR : (TC Offset: 0x20) TC Channel Status Register -------- AT91C_TC_COVFS EQU (0x1:SHL:0) ;- (TC) Counter Overflow AT91C_TC_LOVRS EQU (0x1:SHL:1) ;- (TC) Load Overrun AT91C_TC_CPAS EQU (0x1:SHL:2) ;- (TC) RA Compare AT91C_TC_CPBS EQU (0x1:SHL:3) ;- (TC) RB Compare AT91C_TC_CPCS EQU (0x1:SHL:4) ;- (TC) RC Compare AT91C_TC_LDRAS EQU (0x1:SHL:5) ;- (TC) RA Loading AT91C_TC_LDRBS EQU (0x1:SHL:6) ;- (TC) RB Loading AT91C_TC_ETRCS EQU (0x1:SHL:7) ;- (TC) External Trigger AT91C_TC_ETRGS EQU (0x1:SHL:16) ;- (TC) Clock Enabling AT91C_TC_MTIOA EQU (0x1:SHL:17) ;- (TC) TIOA Mirror AT91C_TC_MTIOB EQU (0x1:SHL:18) ;- (TC) TIOA Mirror ;- -------- TC_IER : (TC Offset: 0x24) TC Channel Interrupt Enable Register -------- ;- -------- TC_IDR : (TC Offset: 0x28) TC Channel Interrupt Disable Register -------- ;- -------- TC_IMR : (TC Offset: 0x2c) TC Channel Interrupt Mask Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Timer Counter Interface ;- ***************************************************************************** ^ 0 ;- AT91S_TCB TCB_TC0 # 48 ;- TC Channel 0 # 16 ;- Reserved TCB_TC1 # 48 ;- TC Channel 1 # 16 ;- Reserved TCB_TC2 # 48 ;- TC Channel 2 # 16 ;- Reserved TCB_BCR # 4 ;- TC Block Control Register TCB_BMR # 4 ;- TC Block Mode Register ;- -------- TCB_BCR : (TCB Offset: 0xc0) TC Block Control Register -------- AT91C_TCB_SYNC EQU (0x1:SHL:0) ;- (TCB) Synchro Command ;- -------- TCB_BMR : (TCB Offset: 0xc4) TC Block Mode Register -------- AT91C_TCB_TC0XC0S EQU (0x1:SHL:0) ;- (TCB) External Clock Signal 0 Selection AT91C_TCB_TC0XC0S_TCLK0 EQU (0x0) ;- (TCB) TCLK0 connected to XC0 AT91C_TCB_TC0XC0S_NONE EQU (0x1) ;- (TCB) None signal connected to XC0 AT91C_TCB_TC0XC0S_TIOA1 EQU (0x2) ;- (TCB) TIOA1 connected to XC0 AT91C_TCB_TC0XC0S_TIOA2 EQU (0x3) ;- (TCB) TIOA2 connected to XC0 AT91C_TCB_TC1XC1S EQU (0x1:SHL:2) ;- (TCB) External Clock Signal 1 Selection AT91C_TCB_TC1XC1S_TCLK1 EQU (0x0:SHL:2) ;- (TCB) TCLK1 connected to XC1 AT91C_TCB_TC1XC1S_NONE EQU (0x1:SHL:2) ;- (TCB) None signal connected to XC1 AT91C_TCB_TC1XC1S_TIOA0 EQU (0x2:SHL:2) ;- (TCB) TIOA0 connected to XC1 AT91C_TCB_TC1XC1S_TIOA2 EQU (0x3:SHL:2) ;- (TCB) TIOA2 connected to XC1 AT91C_TCB_TC2XC2S EQU (0x1:SHL:4) ;- (TCB) External Clock Signal 2 Selection AT91C_TCB_TC2XC2S_TCLK2 EQU (0x0:SHL:4) ;- (TCB) TCLK2 connected to XC2 AT91C_TCB_TC2XC2S_NONE EQU (0x1:SHL:4) ;- (TCB) None signal connected to XC2 AT91C_TCB_TC2XC2S_TIOA0 EQU (0x2:SHL:4) ;- (TCB) TIOA0 connected to XC2 AT91C_TCB_TC2XC2S_TIOA2 EQU (0x3:SHL:4) ;- (TCB) TIOA2 connected to XC2 ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR USB Host Interface ;- ***************************************************************************** ^ 0 ;- AT91S_UHP UHP_HcRevision # 4 ;- Revision UHP_HcControl # 4 ;- Operating modes for the Host Controller UHP_HcCommandStatus # 4 ;- Command & status Register UHP_HcInterruptStatus # 4 ;- Interrupt Status Register UHP_HcInterruptEnable # 4 ;- Interrupt Enable Register UHP_HcInterruptDisable # 4 ;- Interrupt Disable Register UHP_HcHCCA # 4 ;- Pointer to the Host Controller Communication Area UHP_HcPeriodCurrentED # 4 ;- Current Isochronous or Interrupt Endpoint Descriptor UHP_HcControlHeadED # 4 ;- First Endpoint Descriptor of the Control list UHP_HcControlCurrentED # 4 ;- Endpoint Control and Status Register UHP_HcBulkHeadED # 4 ;- First endpoint register of the Bulk list UHP_HcBulkCurrentED # 4 ;- Current endpoint of the Bulk list UHP_HcBulkDoneHead # 4 ;- Last completed transfer descriptor UHP_HcFmInterval # 4 ;- Bit time between 2 consecutive SOFs UHP_HcFmRemaining # 4 ;- Bit time remaining in the current Frame UHP_HcFmNumber # 4 ;- Frame number UHP_HcPeriodicStart # 4 ;- Periodic Start UHP_HcLSThreshold # 4 ;- LS Threshold UHP_HcRhDescriptorA # 4 ;- Root Hub characteristics A UHP_HcRhDescriptorB # 4 ;- Root Hub characteristics B UHP_HcRhStatus # 4 ;- Root Hub Status register UHP_HcRhPortStatus # 8 ;- Root Hub Port Status Register ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Ethernet MAC ;- ***************************************************************************** ^ 0 ;- AT91S_EMAC EMAC_CTL # 4 ;- Network Control Register EMAC_CFG # 4 ;- Network Configuration Register EMAC_SR # 4 ;- Network Status Register EMAC_TAR # 4 ;- Transmit Address Register EMAC_TCR # 4 ;- Transmit Control Register EMAC_TSR # 4 ;- Transmit Status Register EMAC_RBQP # 4 ;- Receive Buffer Queue Pointer # 4 ;- Reserved EMAC_RSR # 4 ;- Receive Status Register EMAC_ISR # 4 ;- Interrupt Status Register EMAC_IER # 4 ;- Interrupt Enable Register EMAC_IDR # 4 ;- Interrupt Disable Register EMAC_IMR # 4 ;- Interrupt Mask Register EMAC_MAN # 4 ;- PHY Maintenance Register # 8 ;- Reserved EMAC_FRA # 4 ;- Frames Transmitted OK Register EMAC_SCOL # 4 ;- Single Collision Frame Register EMAC_MCOL # 4 ;- Multiple Collision Frame Register EMAC_OK # 4 ;- Frames Received OK Register EMAC_SEQE # 4 ;- Frame Check Sequence Error Register EMAC_ALE # 4 ;- Alignment Error Register EMAC_DTE # 4 ;- Deferred Transmission Frame Register EMAC_LCOL # 4 ;- Late Collision Register EMAC_ECOL # 4 ;- Excessive Collision Register EMAC_CSE # 4 ;- Carrier Sense Error Register EMAC_TUE # 4 ;- Transmit Underrun Error Register EMAC_CDE # 4 ;- Code Error Register EMAC_ELR # 4 ;- Excessive Length Error Register EMAC_RJB # 4 ;- Receive Jabber Register EMAC_USF # 4 ;- Undersize Frame Register EMAC_SQEE # 4 ;- SQE Test Error Register EMAC_DRFC # 4 ;- Discarded RX Frame Register # 12 ;- Reserved EMAC_HSH # 4 ;- Hash Address High[63:32] EMAC_HSL # 4 ;- Hash Address Low[31:0] EMAC_SA1L # 4 ;- Specific Address 1 Low, First 4 bytes EMAC_SA1H # 4 ;- Specific Address 1 High, Last 2 bytes EMAC_SA2L # 4 ;- Specific Address 2 Low, First 4 bytes EMAC_SA2H # 4 ;- Specific Address 2 High, Last 2 bytes EMAC_SA3L # 4 ;- Specific Address 3 Low, First 4 bytes EMAC_SA3H # 4 ;- Specific Address 3 High, Last 2 bytes EMAC_SA4L # 4 ;- Specific Address 4 Low, First 4 bytes EMAC_SA4H # 4 ;- Specific Address 4 High, Last 2 bytesr ;- -------- EMAC_CTL : (EMAC Offset: 0x0) -------- AT91C_EMAC_LB EQU (0x1:SHL:0) ;- (EMAC) Loopback. Optional. When set, loopback signal is at high level. AT91C_EMAC_LBL EQU (0x1:SHL:1) ;- (EMAC) Loopback local. AT91C_EMAC_RE EQU (0x1:SHL:2) ;- (EMAC) Receive enable. AT91C_EMAC_TE EQU (0x1:SHL:3) ;- (EMAC) Transmit enable. AT91C_EMAC_MPE EQU (0x1:SHL:4) ;- (EMAC) Management port enable. AT91C_EMAC_CSR EQU (0x1:SHL:5) ;- (EMAC) Clear statistics registers. AT91C_EMAC_ISR EQU (0x1:SHL:6) ;- (EMAC) Increment statistics registers. AT91C_EMAC_WES EQU (0x1:SHL:7) ;- (EMAC) Write enable for statistics registers. AT91C_EMAC_BP EQU (0x1:SHL:8) ;- (EMAC) Back pressure. ;- -------- EMAC_CFG : (EMAC Offset: 0x4) Network Configuration Register -------- AT91C_EMAC_SPD EQU (0x1:SHL:0) ;- (EMAC) Speed. AT91C_EMAC_FD EQU (0x1:SHL:1) ;- (EMAC) Full duplex. AT91C_EMAC_BR EQU (0x1:SHL:2) ;- (EMAC) Bit rate. AT91C_EMAC_CAF EQU (0x1:SHL:4) ;- (EMAC) Copy all frames. AT91C_EMAC_NBC EQU (0x1:SHL:5) ;- (EMAC) No broadcast. AT91C_EMAC_MTI EQU (0x1:SHL:6) ;- (EMAC) Multicast hash enable AT91C_EMAC_UNI EQU (0x1:SHL:7) ;- (EMAC) Unicast hash enable. AT91C_EMAC_BIG EQU (0x1:SHL:8) ;- (EMAC) Receive 1522 bytes. AT91C_EMAC_EAE EQU (0x1:SHL:9) ;- (EMAC) External address match enable. AT91C_EMAC_CLK EQU (0x3:SHL:10) ;- (EMAC) AT91C_EMAC_CLK_HCLK_8 EQU (0x0:SHL:10) ;- (EMAC) HCLK divided by 8 AT91C_EMAC_CLK_HCLK_16 EQU (0x1:SHL:10) ;- (EMAC) HCLK divided by 16 AT91C_EMAC_CLK_HCLK_32 EQU (0x2:SHL:10) ;- (EMAC) HCLK divided by 32 AT91C_EMAC_CLK_HCLK_64 EQU (0x3:SHL:10) ;- (EMAC) HCLK divided by 64 AT91C_EMAC_RTY EQU (0x1:SHL:12) ;- (EMAC) AT91C_EMAC_RMII EQU (0x1:SHL:13) ;- (EMAC) ;- -------- EMAC_SR : (EMAC Offset: 0x8) Network Status Register -------- AT91C_EMAC_MDIO EQU (0x1:SHL:1) ;- (EMAC) AT91C_EMAC_IDLE EQU (0x1:SHL:2) ;- (EMAC) ;- -------- EMAC_TCR : (EMAC Offset: 0x10) Transmit Control Register -------- AT91C_EMAC_LEN EQU (0x7FF:SHL:0) ;- (EMAC) AT91C_EMAC_NCRC EQU (0x1:SHL:15) ;- (EMAC) ;- -------- EMAC_TSR : (EMAC Offset: 0x14) Transmit Control Register -------- AT91C_EMAC_OVR EQU (0x1:SHL:0) ;- (EMAC) AT91C_EMAC_COL EQU (0x1:SHL:1) ;- (EMAC) AT91C_EMAC_RLE EQU (0x1:SHL:2) ;- (EMAC) AT91C_EMAC_TXIDLE EQU (0x1:SHL:3) ;- (EMAC) AT91C_EMAC_BNQ EQU (0x1:SHL:4) ;- (EMAC) AT91C_EMAC_COMP EQU (0x1:SHL:5) ;- (EMAC) AT91C_EMAC_UND EQU (0x1:SHL:6) ;- (EMAC) ;- -------- EMAC_RSR : (EMAC Offset: 0x20) Receive Status Register -------- AT91C_EMAC_BNA EQU (0x1:SHL:0) ;- (EMAC) AT91C_EMAC_REC EQU (0x1:SHL:1) ;- (EMAC) ;- -------- EMAC_ISR : (EMAC Offset: 0x24) Interrupt Status Register -------- AT91C_EMAC_DONE EQU (0x1:SHL:0) ;- (EMAC) AT91C_EMAC_RCOM EQU (0x1:SHL:1) ;- (EMAC) AT91C_EMAC_RBNA EQU (0x1:SHL:2) ;- (EMAC) AT91C_EMAC_TOVR EQU (0x1:SHL:3) ;- (EMAC) AT91C_EMAC_TUND EQU (0x1:SHL:4) ;- (EMAC) AT91C_EMAC_RTRY EQU (0x1:SHL:5) ;- (EMAC) AT91C_EMAC_TBRE EQU (0x1:SHL:6) ;- (EMAC) AT91C_EMAC_TCOM EQU (0x1:SHL:7) ;- (EMAC) AT91C_EMAC_TIDLE EQU (0x1:SHL:8) ;- (EMAC) AT91C_EMAC_LINK EQU (0x1:SHL:9) ;- (EMAC) AT91C_EMAC_ROVR EQU (0x1:SHL:10) ;- (EMAC) AT91C_EMAC_HRESP EQU (0x1:SHL:11) ;- (EMAC) ;- -------- EMAC_IER : (EMAC Offset: 0x28) Interrupt Enable Register -------- ;- -------- EMAC_IDR : (EMAC Offset: 0x2c) Interrupt Disable Register -------- ;- -------- EMAC_IMR : (EMAC Offset: 0x30) Interrupt Mask Register -------- ;- -------- EMAC_MAN : (EMAC Offset: 0x34) PHY Maintenance Register -------- AT91C_EMAC_DATA EQU (0xFFFF:SHL:0) ;- (EMAC) AT91C_EMAC_CODE EQU (0x3:SHL:16) ;- (EMAC) AT91C_EMAC_REGA EQU (0x1F:SHL:18) ;- (EMAC) AT91C_EMAC_PHYA EQU (0x1F:SHL:23) ;- (EMAC) AT91C_EMAC_RW EQU (0x3:SHL:28) ;- (EMAC) AT91C_EMAC_HIGH EQU (0x1:SHL:30) ;- (EMAC) AT91C_EMAC_LOW EQU (0x1:SHL:31) ;- (EMAC) ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR External Bus Interface ;- ***************************************************************************** ^ 0 ;- AT91S_EBI EBI_CSA # 4 ;- Chip Select Assignment Register EBI_CFGR # 4 ;- Configuration Register ;- -------- EBI_CSA : (EBI Offset: 0x0) Chip Select Assignment Register -------- AT91C_EBI_CS0A EQU (0x1:SHL:0) ;- (EBI) Chip Select 0 Assignment AT91C_EBI_CS0A_SMC EQU (0x0) ;- (EBI) Chip Select 0 is assigned to the Static Memory Controller. AT91C_EBI_CS0A_BFC EQU (0x1) ;- (EBI) Chip Select 0 is assigned to the Burst Flash Controller. AT91C_EBI_CS1A EQU (0x1:SHL:1) ;- (EBI) Chip Select 1 Assignment AT91C_EBI_CS1A_SMC EQU (0x0:SHL:1) ;- (EBI) Chip Select 1 is assigned to the Static Memory Controller. AT91C_EBI_CS1A_SDRAMC EQU (0x1:SHL:1) ;- (EBI) Chip Select 1 is assigned to the SDRAM Controller. AT91C_EBI_CS3A EQU (0x1:SHL:3) ;- (EBI) Chip Select 3 Assignment AT91C_EBI_CS3A_SMC EQU (0x0:SHL:3) ;- (EBI) Chip Select 3 is only assigned to the Static Memory Controller and NCS3 behaves as defined by the SMC2. AT91C_EBI_CS3A_SMC_SmartMedia EQU (0x1:SHL:3) ;- (EBI) Chip Select 3 is assigned to the Static Memory Controller and the SmartMedia Logic is activated. AT91C_EBI_CS4A EQU (0x1:SHL:4) ;- (EBI) Chip Select 4 Assignment AT91C_EBI_CS4A_SMC EQU (0x0:SHL:4) ;- (EBI) Chip Select 4 is assigned to the Static Memory Controller and NCS4,NCS5 and NCS6 behave as defined by the SMC2. AT91C_EBI_CS4A_SMC_CompactFlash EQU (0x1:SHL:4) ;- (EBI) Chip Select 4 is assigned to the Static Memory Controller and the CompactFlash Logic is activated. ;- -------- EBI_CFGR : (EBI Offset: 0x4) Configuration Register -------- AT91C_EBI_DBPUC EQU (0x1:SHL:0) ;- (EBI) Data Bus Pull-Up Configuration AT91C_EBI_EBSEN EQU (0x1:SHL:1) ;- (EBI) Bus Sharing Enable ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Static Memory Controller 2 Interface ;- ***************************************************************************** ^ 0 ;- AT91S_SMC2 SMC2_CSR # 32 ;- SMC2 Chip Select Register ;- -------- SMC2_CSR : (SMC2 Offset: 0x0) SMC2 Chip Select Register -------- AT91C_SMC2_NWS EQU (0x7F:SHL:0) ;- (SMC2) Number of Wait States AT91C_SMC2_WSEN EQU (0x1:SHL:7) ;- (SMC2) Wait State Enable AT91C_SMC2_TDF EQU (0xF:SHL:8) ;- (SMC2) Data Float Time AT91C_SMC2_BAT EQU (0x1:SHL:12) ;- (SMC2) Byte Access Type AT91C_SMC2_DBW EQU (0x1:SHL:13) ;- (SMC2) Data Bus Width AT91C_SMC2_DBW_16 EQU (0x1:SHL:13) ;- (SMC2) 16-bit. AT91C_SMC2_DBW_8 EQU (0x2:SHL:13) ;- (SMC2) 8-bit. AT91C_SMC2_DRP EQU (0x1:SHL:15) ;- (SMC2) Data Read Protocol AT91C_SMC2_ACSS EQU (0x3:SHL:16) ;- (SMC2) Address to Chip Select Setup AT91C_SMC2_ACSS_STANDARD EQU (0x0:SHL:16) ;- (SMC2) Standard, asserted at the beginning of the access and deasserted at the end. AT91C_SMC2_ACSS_1_CYCLE EQU (0x1:SHL:16) ;- (SMC2) One cycle less at the beginning and the end of the access. AT91C_SMC2_ACSS_2_CYCLES EQU (0x2:SHL:16) ;- (SMC2) Two cycles less at the beginning and the end of the access. AT91C_SMC2_ACSS_3_CYCLES EQU (0x3:SHL:16) ;- (SMC2) Three cycles less at the beginning and the end of the access. AT91C_SMC2_RWSETUP EQU (0x7:SHL:24) ;- (SMC2) Read and Write Signal Setup Time AT91C_SMC2_RWHOLD EQU (0x7:SHL:29) ;- (SMC2) Read and Write Signal Hold Time ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR SDRAM Controller Interface ;- ***************************************************************************** ^ 0 ;- AT91S_SDRC SDRC_MR # 4 ;- SDRAM Controller Mode Register SDRC_TR # 4 ;- SDRAM Controller Refresh Timer Register SDRC_CR # 4 ;- SDRAM Controller Configuration Register SDRC_SRR # 4 ;- SDRAM Controller Self Refresh Register SDRC_LPR # 4 ;- SDRAM Controller Low Power Register SDRC_IER # 4 ;- SDRAM Controller Interrupt Enable Register SDRC_IDR # 4 ;- SDRAM Controller Interrupt Disable Register SDRC_IMR # 4 ;- SDRAM Controller Interrupt Mask Register SDRC_ISR # 4 ;- SDRAM Controller Interrupt Mask Register ;- -------- SDRC_MR : (SDRC Offset: 0x0) SDRAM Controller Mode Register -------- AT91C_SDRC_MODE EQU (0xF:SHL:0) ;- (SDRC) Mode AT91C_SDRC_MODE_NORMAL_CMD EQU (0x0) ;- (SDRC) Normal Mode AT91C_SDRC_MODE_NOP_CMD EQU (0x1) ;- (SDRC) NOP Command AT91C_SDRC_MODE_PRCGALL_CMD EQU (0x2) ;- (SDRC) All Banks Precharge Command AT91C_SDRC_MODE_LMR_CMD EQU (0x3) ;- (SDRC) Load Mode Register Command AT91C_SDRC_MODE_RFSH_CMD EQU (0x4) ;- (SDRC) Refresh Command AT91C_SDRC_DBW EQU (0x1:SHL:4) ;- (SDRC) Data Bus Width AT91C_SDRC_DBW_32_BITS EQU (0x0:SHL:4) ;- (SDRC) 32 Bits datas bus AT91C_SDRC_DBW_16_BITS EQU (0x1:SHL:4) ;- (SDRC) 16 Bits datas bus ;- -------- SDRC_TR : (SDRC Offset: 0x4) SDRC Refresh Timer Register -------- AT91C_SDRC_COUNT EQU (0xFFF:SHL:0) ;- (SDRC) Refresh Counter ;- -------- SDRC_CR : (SDRC Offset: 0x8) SDRAM Configuration Register -------- AT91C_SDRC_NC EQU (0x3:SHL:0) ;- (SDRC) Number of Column Bits AT91C_SDRC_NC_8 EQU (0x0) ;- (SDRC) 8 Bits AT91C_SDRC_NC_9 EQU (0x1) ;- (SDRC) 9 Bits AT91C_SDRC_NC_10 EQU (0x2) ;- (SDRC) 10 Bits AT91C_SDRC_NC_11 EQU (0x3) ;- (SDRC) 11 Bits AT91C_SDRC_NR EQU (0x3:SHL:2) ;- (SDRC) Number of Row Bits AT91C_SDRC_NR_11 EQU (0x0:SHL:2) ;- (SDRC) 11 Bits AT91C_SDRC_NR_12 EQU (0x1:SHL:2) ;- (SDRC) 12 Bits AT91C_SDRC_NR_13 EQU (0x2:SHL:2) ;- (SDRC) 13 Bits AT91C_SDRC_NB EQU (0x1:SHL:4) ;- (SDRC) Number of Banks AT91C_SDRC_NB_2_BANKS EQU (0x0:SHL:4) ;- (SDRC) 2 banks AT91C_SDRC_NB_4_BANKS EQU (0x1:SHL:4) ;- (SDRC) 4 banks AT91C_SDRC_CAS EQU (0x3:SHL:5) ;- (SDRC) CAS Latency AT91C_SDRC_CAS_2 EQU (0x2:SHL:5) ;- (SDRC) 2 cycles AT91C_SDRC_TWR EQU (0xF:SHL:7) ;- (SDRC) Number of Write Recovery Time Cycles AT91C_SDRC_TRC EQU (0xF:SHL:11) ;- (SDRC) Number of RAS Cycle Time Cycles AT91C_SDRC_TRP EQU (0xF:SHL:15) ;- (SDRC) Number of RAS Precharge Time Cycles AT91C_SDRC_TRCD EQU (0xF:SHL:19) ;- (SDRC) Number of RAS to CAS Delay Cycles AT91C_SDRC_TRAS EQU (0xF:SHL:23) ;- (SDRC) Number of RAS Active Time Cycles AT91C_SDRC_TXSR EQU (0xF:SHL:27) ;- (SDRC) Number of Command Recovery Time Cycles ;- -------- SDRC_SRR : (SDRC Offset: 0xc) SDRAM Controller Self-refresh Register -------- AT91C_SDRC_SRCB EQU (0x1:SHL:0) ;- (SDRC) Self-refresh Command Bit ;- -------- SDRC_LPR : (SDRC Offset: 0x10) SDRAM Controller Low-power Register -------- AT91C_SDRC_LPCB EQU (0x1:SHL:0) ;- (SDRC) Low-power Command Bit ;- -------- SDRC_IER : (SDRC Offset: 0x14) SDRAM Controller Interrupt Enable Register -------- AT91C_SDRC_RES EQU (0x1:SHL:0) ;- (SDRC) Refresh Error Status ;- -------- SDRC_IDR : (SDRC Offset: 0x18) SDRAM Controller Interrupt Disable Register -------- ;- -------- SDRC_IMR : (SDRC Offset: 0x1c) SDRAM Controller Interrupt Mask Register -------- ;- -------- SDRC_ISR : (SDRC Offset: 0x20) SDRAM Controller Interrupt Status Register -------- ;- ***************************************************************************** ;- SOFTWARE API DEFINITION FOR Burst Flash Controller Interface ;- ***************************************************************************** ^ 0 ;- AT91S_BFC BFC_MR # 4 ;- BFC Mode Register ;- -------- BFC_MR : (BFC Offset: 0x0) BFC Mode Register -------- AT91C_BFC_BFCOM EQU (0x3:SHL:0) ;- (BFC) Burst Flash Controller Operating Mode AT91C_BFC_BFCOM_DISABLED EQU (0x0) ;- (BFC) NPCS0 is driven by the SMC or remains high. AT91C_BFC_BFCOM_ASYNC EQU (0x1) ;- (BFC) Asynchronous AT91C_BFC_BFCOM_BURST_READ EQU (0x2) ;- (BFC) Burst Read AT91C_BFC_BFCC EQU (0x3:SHL:2) ;- (BFC) Burst Flash Controller Operating Mode AT91C_BFC_BFCC_MCK EQU (0x1:SHL:2) ;- (BFC) Master Clock. AT91C_BFC_BFCC_MCK_DIV_2 EQU (0x2:SHL:2) ;- (BFC) Master Clock divided by 2. AT91C_BFC_BFCC_MCK_DIV_4 EQU (0x3:SHL:2) ;- (BFC) Master Clock divided by 4. AT91C_BFC_AVL EQU (0xF:SHL:4) ;- (BFC) Address Valid Latency AT91C_BFC_PAGES EQU (0x7:SHL:8) ;- (BFC) Page Size AT91C_BFC_PAGES_NO_PAGE EQU (0x0:SHL:8) ;- (BFC) No page handling. AT91C_BFC_PAGES_16 EQU (0x1:SHL:8) ;- (BFC) 16 bytes page size. AT91C_BFC_PAGES_32 EQU (0x2:SHL:8) ;- (BFC) 32 bytes page size. AT91C_BFC_PAGES_64 EQU (0x3:SHL:8) ;- (BFC) 64 bytes page size. AT91C_BFC_PAGES_128 EQU (0x4:SHL:8) ;- (BFC) 128 bytes page size. AT91C_BFC_PAGES_256 EQU (0x5:SHL:8) ;- (BFC) 256 bytes page size. AT91C_BFC_PAGES_512 EQU (0x6:SHL:8) ;- (BFC) 512 bytes page size. AT91C_BFC_PAGES_1024 EQU (0x7:SHL:8) ;- (BFC) 1024 bytes page size. AT91C_BFC_OEL EQU (0x3:SHL:12) ;- (BFC) Output Enable Latency AT91C_BFC_BAAEN EQU (0x1:SHL:16) ;- (BFC) Burst Address Advance Enable AT91C_BFC_BFOEH EQU (0x1:SHL:17) ;- (BFC) Burst Flash Output Enable Handling AT91C_BFC_MUXEN EQU (0x1:SHL:18) ;- (BFC) Multiplexed Bus Enable AT91C_BFC_RDYEN EQU (0x1:SHL:19) ;- (BFC) Ready Enable Mode ;- ***************************************************************************** ;- REGISTER ADDRESS DEFINITION FOR AT91RM9200 ;- ***************************************************************************** ;- ========== Register definition for SYS peripheral ========== ;- ========== Register definition for MC peripheral ========== AT91C_MC_PUER EQU (0xFFFFFF54) ;- (MC) MC Protection Unit Enable Register AT91C_MC_ASR EQU (0xFFFFFF04) ;- (MC) MC Abort Status Register AT91C_MC_PUP EQU (0xFFFFFF50) ;- (MC) MC Protection Unit Peripherals AT91C_MC_PUIA EQU (0xFFFFFF10) ;- (MC) MC Protection Unit Area AT91C_MC_AASR EQU (0xFFFFFF08) ;- (MC) MC Abort Address Status Register AT91C_MC_RCR EQU (0xFFFFFF00) ;- (MC) MC Remap Control Register ;- ========== Register definition for RTC peripheral ========== AT91C_RTC_IMR EQU (0xFFFFFE28) ;- (RTC) Interrupt Mask Register AT91C_RTC_IER EQU (0xFFFFFE20) ;- (RTC) Interrupt Enable Register AT91C_RTC_SR EQU (0xFFFFFE18) ;- (RTC) Status Register AT91C_RTC_TIMALR EQU (0xFFFFFE10) ;- (RTC) Time Alarm Register AT91C_RTC_TIMR EQU (0xFFFFFE08) ;- (RTC) Time Register AT91C_RTC_CR EQU (0xFFFFFE00) ;- (RTC) Control Register AT91C_RTC_VER EQU (0xFFFFFE2C) ;- (RTC) Valid Entry Register AT91C_RTC_IDR EQU (0xFFFFFE24) ;- (RTC) Interrupt Disable Register AT91C_RTC_SCCR EQU (0xFFFFFE1C) ;- (RTC) Status Clear Command Register AT91C_RTC_CALALR EQU (0xFFFFFE14) ;- (RTC) Calendar Alarm Register AT91C_RTC_CALR EQU (0xFFFFFE0C) ;- (RTC) Calendar Register AT91C_RTC_MR EQU (0xFFFFFE04) ;- (RTC) Mode Register ;- ========== Register definition for ST peripheral ========== AT91C_ST_CRTR EQU (0xFFFFFD24) ;- (ST) Current Real-time Register AT91C_ST_IMR EQU (0xFFFFFD1C) ;- (ST) Interrupt Mask Register AT91C_ST_IER EQU (0xFFFFFD14) ;- (ST) Interrupt Enable Register AT91C_ST_RTMR EQU (0xFFFFFD0C) ;- (ST) Real-time Mode Register AT91C_ST_PIMR EQU (0xFFFFFD04) ;- (ST) Period Interval Mode Register AT91C_ST_RTAR EQU (0xFFFFFD20) ;- (ST) Real-time Alarm Register AT91C_ST_IDR EQU (0xFFFFFD18) ;- (ST) Interrupt Disable Register AT91C_ST_SR EQU (0xFFFFFD10) ;- (ST) Status Register AT91C_ST_WDMR EQU (0xFFFFFD08) ;- (ST) Watchdog Mode Register AT91C_ST_CR EQU (0xFFFFFD00) ;- (ST) Control Register ;- ========== Register definition for PMC peripheral ========== AT91C_PMC_SCSR EQU (0xFFFFFC08) ;- (PMC) System Clock Status Register AT91C_PMC_SCER EQU (0xFFFFFC00) ;- (PMC) System Clock Enable Register AT91C_PMC_IMR EQU (0xFFFFFC6C) ;- (PMC) Interrupt Mask Register AT91C_PMC_IDR EQU (0xFFFFFC64) ;- (PMC) Interrupt Disable Register AT91C_PMC_PCDR EQU (0xFFFFFC14) ;- (PMC) Peripheral Clock Disable Register AT91C_PMC_SCDR EQU (0xFFFFFC04) ;- (PMC) System Clock Disable Register AT91C_PMC_SR EQU (0xFFFFFC68) ;- (PMC) Status Register AT91C_PMC_IER EQU (0xFFFFFC60) ;- (PMC) Interrupt Enable Register AT91C_PMC_MCKR EQU (0xFFFFFC30) ;- (PMC) Master Clock Register AT91C_PMC_PCER EQU (0xFFFFFC10) ;- (PMC) Peripheral Clock Enable Register AT91C_PMC_PCSR EQU (0xFFFFFC18) ;- (PMC) Peripheral Clock Status Register AT91C_PMC_PCKR EQU (0xFFFFFC40) ;- (PMC) Programmable Clock Register ;- ========== Register definition for CKGR peripheral ========== AT91C_CKGR_PLLBR EQU (0xFFFFFC2C) ;- (CKGR) PLL B Register AT91C_CKGR_MCFR EQU (0xFFFFFC24) ;- (CKGR) Main Clock Frequency Register AT91C_CKGR_PLLAR EQU (0xFFFFFC28) ;- (CKGR) PLL A Register AT91C_CKGR_MOR EQU (0xFFFFFC20) ;- (CKGR) Main Oscillator Register ;- ========== Register definition for PIOD peripheral ========== AT91C_PIOD_PDSR EQU (0xFFFFFA3C) ;- (PIOD) Pin Data Status Register AT91C_PIOD_CODR EQU (0xFFFFFA34) ;- (PIOD) Clear Output Data Register AT91C_PIOD_OWER EQU (0xFFFFFAA0) ;- (PIOD) Output Write Enable Register AT91C_PIOD_MDER EQU (0xFFFFFA50) ;- (PIOD) Multi-driver Enable Register AT91C_PIOD_IMR EQU (0xFFFFFA48) ;- (PIOD) Interrupt Mask Register AT91C_PIOD_IER EQU (0xFFFFFA40) ;- (PIOD) Interrupt Enable Register AT91C_PIOD_ODSR EQU (0xFFFFFA38) ;- (PIOD) Output Data Status Register AT91C_PIOD_SODR EQU (0xFFFFFA30) ;- (PIOD) Set Output Data Register AT91C_PIOD_PER EQU (0xFFFFFA00) ;- (PIOD) PIO Enable Register AT91C_PIOD_OWDR EQU (0xFFFFFAA4) ;- (PIOD) Output Write Disable Register AT91C_PIOD_PPUER EQU (0xFFFFFA64) ;- (PIOD) Pull-up Enable Register AT91C_PIOD_MDDR EQU (0xFFFFFA54) ;- (PIOD) Multi-driver Disable Register AT91C_PIOD_ISR EQU (0xFFFFFA4C) ;- (PIOD) Interrupt Status Register AT91C_PIOD_IDR EQU (0xFFFFFA44) ;- (PIOD) Interrupt Disable Register AT91C_PIOD_PDR EQU (0xFFFFFA04) ;- (PIOD) PIO Disable Register AT91C_PIOD_ODR EQU (0xFFFFFA14) ;- (PIOD) Output Disable Registerr AT91C_PIOD_OWSR EQU (0xFFFFFAA8) ;- (PIOD) Output Write Status Register AT91C_PIOD_ABSR EQU (0xFFFFFA78) ;- (PIOD) AB Select Status Register AT91C_PIOD_ASR EQU (0xFFFFFA70) ;- (PIOD) Select A Register AT91C_PIOD_PPUSR EQU (0xFFFFFA68) ;- (PIOD) Pad Pull-up Status Register AT91C_PIOD_PPUDR EQU (0xFFFFFA60) ;- (PIOD) Pull-up Disable Register AT91C_PIOD_MDSR EQU (0xFFFFFA58) ;- (PIOD) Multi-driver Status Register AT91C_PIOD_PSR EQU (0xFFFFFA08) ;- (PIOD) PIO Status Register AT91C_PIOD_OER EQU (0xFFFFFA10) ;- (PIOD) Output Enable Register AT91C_PIOD_OSR EQU (0xFFFFFA18) ;- (PIOD) Output Status Register AT91C_PIOD_IFER EQU (0xFFFFFA20) ;- (PIOD) Input Filter Enable Register AT91C_PIOD_BSR EQU (0xFFFFFA74) ;- (PIOD) Select B Register AT91C_PIOD_IFDR EQU (0xFFFFFA24) ;- (PIOD) Input Filter Disable Register AT91C_PIOD_IFSR EQU (0xFFFFFA28) ;- (PIOD) Input Filter Status Register ;- ========== Register definition for PIOC peripheral ========== AT91C_PIOC_IFDR EQU (0xFFFFF824) ;- (PIOC) Input Filter Disable Register AT91C_PIOC_ODR EQU (0xFFFFF814) ;- (PIOC) Output Disable Registerr AT91C_PIOC_ABSR EQU (0xFFFFF878) ;- (PIOC) AB Select Status Register AT91C_PIOC_SODR EQU (0xFFFFF830) ;- (PIOC) Set Output Data Register AT91C_PIOC_IFSR EQU (0xFFFFF828) ;- (PIOC) Input Filter Status Register AT91C_PIOC_CODR EQU (0xFFFFF834) ;- (PIOC) Clear Output Data Register AT91C_PIOC_ODSR EQU (0xFFFFF838) ;- (PIOC) Output Data Status Register AT91C_PIOC_IER EQU (0xFFFFF840) ;- (PIOC) Interrupt Enable Register AT91C_PIOC_IMR EQU (0xFFFFF848) ;- (PIOC) Interrupt Mask Register AT91C_PIOC_OWDR EQU (0xFFFFF8A4) ;- (PIOC) Output Write Disable Register AT91C_PIOC_MDDR EQU (0xFFFFF854) ;- (PIOC) Multi-driver Disable Register AT91C_PIOC_PDSR EQU (0xFFFFF83C) ;- (PIOC) Pin Data Status Register AT91C_PIOC_IDR EQU (0xFFFFF844) ;- (PIOC) Interrupt Disable Register AT91C_PIOC_ISR EQU (0xFFFFF84C) ;- (PIOC) Interrupt Status Register AT91C_PIOC_PDR EQU (0xFFFFF804) ;- (PIOC) PIO Disable Register AT91C_PIOC_OWSR EQU (0xFFFFF8A8) ;- (PIOC) Output Write Status Register AT91C_PIOC_OWER EQU (0xFFFFF8A0) ;- (PIOC) Output Write Enable Register AT91C_PIOC_ASR EQU (0xFFFFF870) ;- (PIOC) Select A Register AT91C_PIOC_PPUSR EQU (0xFFFFF868) ;- (PIOC) Pad Pull-up Status Register AT91C_PIOC_PPUDR EQU (0xFFFFF860) ;- (PIOC) Pull-up Disable Register AT91C_PIOC_MDSR EQU (0xFFFFF858) ;- (PIOC) Multi-driver Status Register AT91C_PIOC_MDER EQU (0xFFFFF850) ;- (PIOC) Multi-driver Enable Register AT91C_PIOC_IFER EQU (0xFFFFF820) ;- (PIOC) Input Filter Enable Register AT91C_PIOC_OSR EQU (0xFFFFF818) ;- (PIOC) Output Status Register AT91C_PIOC_OER EQU (0xFFFFF810) ;- (PIOC) Output Enable Register AT91C_PIOC_PSR EQU (0xFFFFF808) ;- (PIOC) PIO Status Register AT91C_PIOC_PER EQU (0xFFFFF800) ;- (PIOC) PIO Enable Register AT91C_PIOC_BSR EQU (0xFFFFF874) ;- (PIOC) Select B Register AT91C_PIOC_PPUER EQU (0xFFFFF864) ;- (PIOC) Pull-up Enable Register ;- ========== Register definition for PIOB peripheral ========== AT91C_PIOB_OWSR EQU (0xFFFFF6A8) ;- (PIOB) Output Write Status Register AT91C_PIOB_PPUSR EQU (0xFFFFF668) ;- (PIOB) Pad Pull-up Status Register AT91C_PIOB_PPUDR EQU (0xFFFFF660) ;- (PIOB) Pull-up Disable Register AT91C_PIOB_MDSR EQU (0xFFFFF658) ;- (PIOB) Multi-driver Status Register AT91C_PIOB_MDER EQU (0xFFFFF650) ;- (PIOB) Multi-driver Enable Register AT91C_PIOB_IMR EQU (0xFFFFF648) ;- (PIOB) Interrupt Mask Register AT91C_PIOB_OSR EQU (0xFFFFF618) ;- (PIOB) Output Status Register AT91C_PIOB_OER EQU (0xFFFFF610) ;- (PIOB) Output Enable Register AT91C_PIOB_PSR EQU (0xFFFFF608) ;- (PIOB) PIO Status Register AT91C_PIOB_PER EQU (0xFFFFF600) ;- (PIOB) PIO Enable Register AT91C_PIOB_BSR EQU (0xFFFFF674) ;- (PIOB) Select B Register AT91C_PIOB_PPUER EQU (0xFFFFF664) ;- (PIOB) Pull-up Enable Register AT91C_PIOB_IFDR EQU (0xFFFFF624) ;- (PIOB) Input Filter Disable Register AT91C_PIOB_ODR EQU (0xFFFFF614) ;- (PIOB) Output Disable Registerr AT91C_PIOB_ABSR EQU (0xFFFFF678) ;- (PIOB) AB Select Status Register AT91C_PIOB_ASR EQU (0xFFFFF670) ;- (PIOB) Select A Register AT91C_PIOB_IFER EQU (0xFFFFF620) ;- (PIOB) Input Filter Enable Register AT91C_PIOB_IFSR EQU (0xFFFFF628) ;- (PIOB) Input Filter Status Register AT91C_PIOB_SODR EQU (0xFFFFF630) ;- (PIOB) Set Output Data Register AT91C_PIOB_ODSR EQU (0xFFFFF638) ;- (PIOB) Output Data Status Register AT91C_PIOB_CODR EQU (0xFFFFF634) ;- (PIOB) Clear Output Data Register AT91C_PIOB_PDSR EQU (0xFFFFF63C) ;- (PIOB) Pin Data Status Register AT91C_PIOB_OWER EQU (0xFFFFF6A0) ;- (PIOB) Output Write Enable Register AT91C_PIOB_IER EQU (0xFFFFF640) ;- (PIOB) Interrupt Enable Register AT91C_PIOB_OWDR EQU (0xFFFFF6A4) ;- (PIOB) Output Write Disable Register AT91C_PIOB_MDDR EQU (0xFFFFF654) ;- (PIOB) Multi-driver Disable Register AT91C_PIOB_ISR EQU (0xFFFFF64C) ;- (PIOB) Interrupt Status Register AT91C_PIOB_IDR EQU (0xFFFFF644) ;- (PIOB) Interrupt Disable Register AT91C_PIOB_PDR EQU (0xFFFFF604) ;- (PIOB) PIO Disable Register ;- ========== Register definition for PIOA peripheral ========== AT91C_PIOA_IMR EQU (0xFFFFF448) ;- (PIOA) Interrupt Mask Register AT91C_PIOA_IER EQU (0xFFFFF440) ;- (PIOA) Interrupt Enable Register AT91C_PIOA_OWDR EQU (0xFFFFF4A4) ;- (PIOA) Output Write Disable Register AT91C_PIOA_ISR EQU (0xFFFFF44C) ;- (PIOA) Interrupt Status Register AT91C_PIOA_PPUDR EQU (0xFFFFF460) ;- (PIOA) Pull-up Disable Register AT91C_PIOA_MDSR EQU (0xFFFFF458) ;- (PIOA) Multi-driver Status Register AT91C_PIOA_MDER EQU (0xFFFFF450) ;- (PIOA) Multi-driver Enable Register AT91C_PIOA_PER EQU (0xFFFFF400) ;- (PIOA) PIO Enable Register AT91C_PIOA_PSR EQU (0xFFFFF408) ;- (PIOA) PIO Status Register AT91C_PIOA_OER EQU (0xFFFFF410) ;- (PIOA) Output Enable Register AT91C_PIOA_BSR EQU (0xFFFFF474) ;- (PIOA) Select B Register AT91C_PIOA_PPUER EQU (0xFFFFF464) ;- (PIOA) Pull-up Enable Register AT91C_PIOA_MDDR EQU (0xFFFFF454) ;- (PIOA) Multi-driver Disable Register AT91C_PIOA_PDR EQU (0xFFFFF404) ;- (PIOA) PIO Disable Register AT91C_PIOA_ODR EQU (0xFFFFF414) ;- (PIOA) Output Disable Registerr AT91C_PIOA_IFDR EQU (0xFFFFF424) ;- (PIOA) Input Filter Disable Register AT91C_PIOA_ABSR EQU (0xFFFFF478) ;- (PIOA) AB Select Status Register AT91C_PIOA_ASR EQU (0xFFFFF470) ;- (PIOA) Select A Register AT91C_PIOA_PPUSR EQU (0xFFFFF468) ;- (PIOA) Pad Pull-up Status Register AT91C_PIOA_ODSR EQU (0xFFFFF438) ;- (PIOA) Output Data Status Register AT91C_PIOA_SODR EQU (0xFFFFF430) ;- (PIOA) Set Output Data Register AT91C_PIOA_IFSR EQU (0xFFFFF428) ;- (PIOA) Input Filter Status Register AT91C_PIOA_IFER EQU (0xFFFFF420) ;- (PIOA) Input Filter Enable Register AT91C_PIOA_OSR EQU (0xFFFFF418) ;- (PIOA) Output Status Register AT91C_PIOA_IDR EQU (0xFFFFF444) ;- (PIOA) Interrupt Disable Register AT91C_PIOA_PDSR EQU (0xFFFFF43C) ;- (PIOA) Pin Data Status Register AT91C_PIOA_CODR EQU (0xFFFFF434) ;- (PIOA) Clear Output Data Register AT91C_PIOA_OWSR EQU (0xFFFFF4A8) ;- (PIOA) Output Write Status Register AT91C_PIOA_OWER EQU (0xFFFFF4A0) ;- (PIOA) Output Write Enable Register ;- ========== Register definition for DBGU peripheral ========== AT91C_DBGU_C2R EQU (0xFFFFF244) ;- (DBGU) Chip ID2 Register AT91C_DBGU_THR EQU (0xFFFFF21C) ;- (DBGU) Transmitter Holding Register AT91C_DBGU_CSR EQU (0xFFFFF214) ;- (DBGU) Channel Status Register AT91C_DBGU_IDR EQU (0xFFFFF20C) ;- (DBGU) Interrupt Disable Register AT91C_DBGU_MR EQU (0xFFFFF204) ;- (DBGU) Mode Register AT91C_DBGU_FNTR EQU (0xFFFFF248) ;- (DBGU) Force NTRST Register AT91C_DBGU_C1R EQU (0xFFFFF240) ;- (DBGU) Chip ID1 Register AT91C_DBGU_BRGR EQU (0xFFFFF220) ;- (DBGU) Baud Rate Generator Register AT91C_DBGU_RHR EQU (0xFFFFF218) ;- (DBGU) Receiver Holding Register AT91C_DBGU_IMR EQU (0xFFFFF210) ;- (DBGU) Interrupt Mask Register AT91C_DBGU_IER EQU (0xFFFFF208) ;- (DBGU) Interrupt Enable Register AT91C_DBGU_CR EQU (0xFFFFF200) ;- (DBGU) Control Register ;- ========== Register definition for PDC_DBGU peripheral ========== AT91C_DBGU_TNCR EQU (0xFFFFF31C) ;- (PDC_DBGU) Transmit Next Counter Register AT91C_DBGU_RNCR EQU (0xFFFFF314) ;- (PDC_DBGU) Receive Next Counter Register AT91C_DBGU_PTCR EQU (0xFFFFF320) ;- (PDC_DBGU) PDC Transfer Control Register AT91C_DBGU_PTSR EQU (0xFFFFF324) ;- (PDC_DBGU) PDC Transfer Status Register AT91C_DBGU_RCR EQU (0xFFFFF304) ;- (PDC_DBGU) Receive Counter Register AT91C_DBGU_TCR EQU (0xFFFFF30C) ;- (PDC_DBGU) Transmit Counter Register AT91C_DBGU_RPR EQU (0xFFFFF300) ;- (PDC_DBGU) Receive Pointer Register AT91C_DBGU_TPR EQU (0xFFFFF308) ;- (PDC_DBGU) Transmit Pointer Register AT91C_DBGU_RNPR EQU (0xFFFFF310) ;- (PDC_DBGU) Receive Next Pointer Register AT91C_DBGU_TNPR EQU (0xFFFFF318) ;- (PDC_DBGU) Transmit Next Pointer Register ;- ========== Register definition for AIC peripheral ========== AT91C_AIC_ICCR EQU (0xFFFFF128) ;- (AIC) Interrupt Clear Command Register AT91C_AIC_IECR EQU (0xFFFFF120) ;- (AIC) Interrupt Enable Command Register AT91C_AIC_SMR EQU (0xFFFFF000) ;- (AIC) Source Mode Register AT91C_AIC_ISCR EQU (0xFFFFF12C) ;- (AIC) Interrupt Set Command Register AT91C_AIC_EOICR EQU (0xFFFFF130) ;- (AIC) End of Interrupt Command Register AT91C_AIC_DCR EQU (0xFFFFF138) ;- (AIC) Debug Control Register (Protect) AT91C_AIC_FFER EQU (0xFFFFF140) ;- (AIC) Fast Forcing Enable Register AT91C_AIC_SVR EQU (0xFFFFF080) ;- (AIC) Source Vector Register AT91C_AIC_SPU EQU (0xFFFFF134) ;- (AIC) Spurious Vector Register AT91C_AIC_FFDR EQU (0xFFFFF144) ;- (AIC) Fast Forcing Disable Register AT91C_AIC_FVR EQU (0xFFFFF104) ;- (AIC) FIQ Vector Register AT91C_AIC_FFSR EQU (0xFFFFF148) ;- (AIC) Fast Forcing Status Register AT91C_AIC_IMR EQU (0xFFFFF110) ;- (AIC) Interrupt Mask Register AT91C_AIC_ISR EQU (0xFFFFF108) ;- (AIC) Interrupt Status Register AT91C_AIC_IVR EQU (0xFFFFF100) ;- (AIC) IRQ Vector Register AT91C_AIC_IDCR EQU (0xFFFFF124) ;- (AIC) Interrupt Disable Command Register AT91C_AIC_CISR EQU (0xFFFFF114) ;- (AIC) Core Interrupt Status Register AT91C_AIC_IPR EQU (0xFFFFF10C) ;- (AIC) Interrupt Pending Register ;- ========== Register definition for PDC_SPI peripheral ========== AT91C_SPI_PTCR EQU (0xFFFE0120) ;- (PDC_SPI) PDC Transfer Control Register AT91C_SPI_TNPR EQU (0xFFFE0118) ;- (PDC_SPI) Transmit Next Pointer Register AT91C_SPI_RNPR EQU (0xFFFE0110) ;- (PDC_SPI) Receive Next Pointer Register AT91C_SPI_TPR EQU (0xFFFE0108) ;- (PDC_SPI) Transmit Pointer Register AT91C_SPI_RPR EQU (0xFFFE0100) ;- (PDC_SPI) Receive Pointer Register AT91C_SPI_PTSR EQU (0xFFFE0124) ;- (PDC_SPI) PDC Transfer Status Register AT91C_SPI_TNCR EQU (0xFFFE011C) ;- (PDC_SPI) Transmit Next Counter Register AT91C_SPI_RNCR EQU (0xFFFE0114) ;- (PDC_SPI) Receive Next Counter Register AT91C_SPI_TCR EQU (0xFFFE010C) ;- (PDC_SPI) Transmit Counter Register AT91C_SPI_RCR EQU (0xFFFE0104) ;- (PDC_SPI) Receive Counter Register ;- ========== Register definition for SPI peripheral ========== AT91C_SPI_CSR EQU (0xFFFE0030) ;- (SPI) Chip Select Register AT91C_SPI_IDR EQU (0xFFFE0018) ;- (SPI) Interrupt Disable Register AT91C_SPI_SR EQU (0xFFFE0010) ;- (SPI) Status Register AT91C_SPI_RDR EQU (0xFFFE0008) ;- (SPI) Receive Data Register AT91C_SPI_CR EQU (0xFFFE0000) ;- (SPI) Control Register AT91C_SPI_IMR EQU (0xFFFE001C) ;- (SPI) Interrupt Mask Register AT91C_SPI_IER EQU (0xFFFE0014) ;- (SPI) Interrupt Enable Register AT91C_SPI_TDR EQU (0xFFFE000C) ;- (SPI) Transmit Data Register AT91C_SPI_MR EQU (0xFFFE0004) ;- (SPI) Mode Register ;- ========== Register definition for PDC_SSC2 peripheral ========== AT91C_SSC2_PTCR EQU (0xFFFD8120) ;- (PDC_SSC2) PDC Transfer Control Register AT91C_SSC2_TNPR EQU (0xFFFD8118) ;- (PDC_SSC2) Transmit Next Pointer Register AT91C_SSC2_RNPR EQU (0xFFFD8110) ;- (PDC_SSC2) Receive Next Pointer Register AT91C_SSC2_TPR EQU (0xFFFD8108) ;- (PDC_SSC2) Transmit Pointer Register AT91C_SSC2_RPR EQU (0xFFFD8100) ;- (PDC_SSC2) Receive Pointer Register AT91C_SSC2_PTSR EQU (0xFFFD8124) ;- (PDC_SSC2) PDC Transfer Status Register AT91C_SSC2_TNCR EQU (0xFFFD811C) ;- (PDC_SSC2) Transmit Next Counter Register AT91C_SSC2_RNCR EQU (0xFFFD8114) ;- (PDC_SSC2) Receive Next Counter Register AT91C_SSC2_TCR EQU (0xFFFD810C) ;- (PDC_SSC2) Transmit Counter Register AT91C_SSC2_RCR EQU (0xFFFD8104) ;- (PDC_SSC2) Receive Counter Register ;- ========== Register definition for SSC2 peripheral ========== AT91C_SSC2_IMR EQU (0xFFFD804C) ;- (SSC2) Interrupt Mask Register AT91C_SSC2_IER EQU (0xFFFD8044) ;- (SSC2) Interrupt Enable Register AT91C_SSC2_RC1R EQU (0xFFFD803C) ;- (SSC2) Receive Compare 1 Register AT91C_SSC2_TSHR EQU (0xFFFD8034) ;- (SSC2) Transmit Sync Holding Register AT91C_SSC2_CMR EQU (0xFFFD8004) ;- (SSC2) Clock Mode Register AT91C_SSC2_IDR EQU (0xFFFD8048) ;- (SSC2) Interrupt Disable Register AT91C_SSC2_TCMR EQU (0xFFFD8018) ;- (SSC2) Transmit Clock Mode Register AT91C_SSC2_RCMR EQU (0xFFFD8010) ;- (SSC2) Receive Clock ModeRegister AT91C_SSC2_CR EQU (0xFFFD8000) ;- (SSC2) Control Register AT91C_SSC2_RFMR EQU (0xFFFD8014) ;- (SSC2) Receive Frame Mode Register AT91C_SSC2_TFMR EQU (0xFFFD801C) ;- (SSC2) Transmit Frame Mode Register AT91C_SSC2_THR EQU (0xFFFD8024) ;- (SSC2) Transmit Holding Register AT91C_SSC2_SR EQU (0xFFFD8040) ;- (SSC2) Status Register AT91C_SSC2_RC0R EQU (0xFFFD8038) ;- (SSC2) Receive Compare 0 Register AT91C_SSC2_RSHR EQU (0xFFFD8030) ;- (SSC2) Receive Sync Holding Register AT91C_SSC2_RHR EQU (0xFFFD8020) ;- (SSC2) Receive Holding Register ;- ========== Register definition for PDC_SSC1 peripheral ========== AT91C_SSC1_PTCR EQU (0xFFFD4120) ;- (PDC_SSC1) PDC Transfer Control Register AT91C_SSC1_TNPR EQU (0xFFFD4118) ;- (PDC_SSC1) Transmit Next Pointer Register AT91C_SSC1_RNPR EQU (0xFFFD4110) ;- (PDC_SSC1) Receive Next Pointer Register AT91C_SSC1_TPR EQU (0xFFFD4108) ;- (PDC_SSC1) Transmit Pointer Register AT91C_SSC1_RPR EQU (0xFFFD4100) ;- (PDC_SSC1) Receive Pointer Register AT91C_SSC1_PTSR EQU (0xFFFD4124) ;- (PDC_SSC1) PDC Transfer Status Register AT91C_SSC1_TNCR EQU (0xFFFD411C) ;- (PDC_SSC1) Transmit Next Counter Register AT91C_SSC1_RNCR EQU (0xFFFD4114) ;- (PDC_SSC1) Receive Next Counter Register AT91C_SSC1_TCR EQU (0xFFFD410C) ;- (PDC_SSC1) Transmit Counter Register AT91C_SSC1_RCR EQU (0xFFFD4104) ;- (PDC_SSC1) Receive Counter Register ;- ========== Register definition for SSC1 peripheral ========== AT91C_SSC1_RFMR EQU (0xFFFD4014) ;- (SSC1) Receive Frame Mode Register AT91C_SSC1_CMR EQU (0xFFFD4004) ;- (SSC1) Clock Mode Register AT91C_SSC1_IDR EQU (0xFFFD4048) ;- (SSC1) Interrupt Disable Register AT91C_SSC1_SR EQU (0xFFFD4040) ;- (SSC1) Status Register AT91C_SSC1_RC0R EQU (0xFFFD4038) ;- (SSC1) Receive Compare 0 Register AT91C_SSC1_RSHR EQU (0xFFFD4030) ;- (SSC1) Receive Sync Holding Register AT91C_SSC1_RHR EQU (0xFFFD4020) ;- (SSC1) Receive Holding Register AT91C_SSC1_TCMR EQU (0xFFFD4018) ;- (SSC1) Transmit Clock Mode Register AT91C_SSC1_RCMR EQU (0xFFFD4010) ;- (SSC1) Receive Clock ModeRegister AT91C_SSC1_CR EQU (0xFFFD4000) ;- (SSC1) Control Register AT91C_SSC1_IMR EQU (0xFFFD404C) ;- (SSC1) Interrupt Mask Register AT91C_SSC1_IER EQU (0xFFFD4044) ;- (SSC1) Interrupt Enable Register AT91C_SSC1_RC1R EQU (0xFFFD403C) ;- (SSC1) Receive Compare 1 Register AT91C_SSC1_TSHR EQU (0xFFFD4034) ;- (SSC1) Transmit Sync Holding Register AT91C_SSC1_THR EQU (0xFFFD4024) ;- (SSC1) Transmit Holding Register AT91C_SSC1_TFMR EQU (0xFFFD401C) ;- (SSC1) Transmit Frame Mode Register ;- ========== Register definition for PDC_SSC0 peripheral ========== AT91C_SSC0_PTCR EQU (0xFFFD0120) ;- (PDC_SSC0) PDC Transfer Control Register AT91C_SSC0_TNPR EQU (0xFFFD0118) ;- (PDC_SSC0) Transmit Next Pointer Register AT91C_SSC0_RNPR EQU (0xFFFD0110) ;- (PDC_SSC0) Receive Next Pointer Register AT91C_SSC0_TPR EQU (0xFFFD0108) ;- (PDC_SSC0) Transmit Pointer Register AT91C_SSC0_RPR EQU (0xFFFD0100) ;- (PDC_SSC0) Receive Pointer Register AT91C_SSC0_PTSR EQU (0xFFFD0124) ;- (PDC_SSC0) PDC Transfer Status Register AT91C_SSC0_TNCR EQU (0xFFFD011C) ;- (PDC_SSC0) Transmit Next Counter Register AT91C_SSC0_RNCR EQU (0xFFFD0114) ;- (PDC_SSC0) Receive Next Counter Register AT91C_SSC0_TCR EQU (0xFFFD010C) ;- (PDC_SSC0) Transmit Counter Register AT91C_SSC0_RCR EQU (0xFFFD0104) ;- (PDC_SSC0) Receive Counter Register ;- ========== Register definition for SSC0 peripheral ========== AT91C_SSC0_IMR EQU (0xFFFD004C) ;- (SSC0) Interrupt Mask Register AT91C_SSC0_IER EQU (0xFFFD0044) ;- (SSC0) Interrupt Enable Register AT91C_SSC0_RC1R EQU (0xFFFD003C) ;- (SSC0) Receive Compare 1 Register AT91C_SSC0_TSHR EQU (0xFFFD0034) ;- (SSC0) Transmit Sync Holding Register AT91C_SSC0_THR EQU (0xFFFD0024) ;- (SSC0) Transmit Holding Register AT91C_SSC0_TFMR EQU (0xFFFD001C) ;- (SSC0) Transmit Frame Mode Register AT91C_SSC0_RFMR EQU (0xFFFD0014) ;- (SSC0) Receive Frame Mode Register AT91C_SSC0_CMR EQU (0xFFFD0004) ;- (SSC0) Clock Mode Register AT91C_SSC0_IDR EQU (0xFFFD0048) ;- (SSC0) Interrupt Disable Register AT91C_SSC0_SR EQU (0xFFFD0040) ;- (SSC0) Status Register AT91C_SSC0_RC0R EQU (0xFFFD0038) ;- (SSC0) Receive Compare 0 Register AT91C_SSC0_RSHR EQU (0xFFFD0030) ;- (SSC0) Receive Sync Holding Register AT91C_SSC0_RHR EQU (0xFFFD0020) ;- (SSC0) Receive Holding Register AT91C_SSC0_TCMR EQU (0xFFFD0018) ;- (SSC0) Transmit Clock Mode Register AT91C_SSC0_RCMR EQU (0xFFFD0010) ;- (SSC0) Receive Clock ModeRegister AT91C_SSC0_CR EQU (0xFFFD0000) ;- (SSC0) Control Register ;- ========== Register definition for PDC_US3 peripheral ========== AT91C_US3_PTSR EQU (0xFFFCC124) ;- (PDC_US3) PDC Transfer Status Register AT91C_US3_TNCR EQU (0xFFFCC11C) ;- (PDC_US3) Transmit Next Counter Register AT91C_US3_RNCR EQU (0xFFFCC114) ;- (PDC_US3) Receive Next Counter Register AT91C_US3_TCR EQU (0xFFFCC10C) ;- (PDC_US3) Transmit Counter Register AT91C_US3_RCR EQU (0xFFFCC104) ;- (PDC_US3) Receive Counter Register AT91C_US3_PTCR EQU (0xFFFCC120) ;- (PDC_US3) PDC Transfer Control Register AT91C_US3_TNPR EQU (0xFFFCC118) ;- (PDC_US3) Transmit Next Pointer Register AT91C_US3_RNPR EQU (0xFFFCC110) ;- (PDC_US3) Receive Next Pointer Register AT91C_US3_TPR EQU (0xFFFCC108) ;- (PDC_US3) Transmit Pointer Register AT91C_US3_RPR EQU (0xFFFCC100) ;- (PDC_US3) Receive Pointer Register ;- ========== Register definition for US3 peripheral ========== AT91C_US3_IF EQU (0xFFFCC04C) ;- (US3) IRDA_FILTER Register AT91C_US3_NER EQU (0xFFFCC044) ;- (US3) Nb Errors Register AT91C_US3_RTOR EQU (0xFFFCC024) ;- (US3) Receiver Time-out Register AT91C_US3_THR EQU (0xFFFCC01C) ;- (US3) Transmitter Holding Register AT91C_US3_CSR EQU (0xFFFCC014) ;- (US3) Channel Status Register AT91C_US3_IDR EQU (0xFFFCC00C) ;- (US3) Interrupt Disable Register AT91C_US3_MR EQU (0xFFFCC004) ;- (US3) Mode Register AT91C_US3_XXR EQU (0xFFFCC048) ;- (US3) XON_XOFF Register AT91C_US3_FIDI EQU (0xFFFCC040) ;- (US3) FI_DI_Ratio Register AT91C_US3_TTGR EQU (0xFFFCC028) ;- (US3) Transmitter Time-guard Register AT91C_US3_BRGR EQU (0xFFFCC020) ;- (US3) Baud Rate Generator Register AT91C_US3_RHR EQU (0xFFFCC018) ;- (US3) Receiver Holding Register AT91C_US3_IMR EQU (0xFFFCC010) ;- (US3) Interrupt Mask Register AT91C_US3_IER EQU (0xFFFCC008) ;- (US3) Interrupt Enable Register AT91C_US3_CR EQU (0xFFFCC000) ;- (US3) Control Register ;- ========== Register definition for PDC_US2 peripheral ========== AT91C_US2_PTSR EQU (0xFFFC8124) ;- (PDC_US2) PDC Transfer Status Register AT91C_US2_TNCR EQU (0xFFFC811C) ;- (PDC_US2) Transmit Next Counter Register AT91C_US2_RNCR EQU (0xFFFC8114) ;- (PDC_US2) Receive Next Counter Register AT91C_US2_TCR EQU (0xFFFC810C) ;- (PDC_US2) Transmit Counter Register AT91C_US2_PTCR EQU (0xFFFC8120) ;- (PDC_US2) PDC Transfer Control Register AT91C_US2_RCR EQU (0xFFFC8104) ;- (PDC_US2) Receive Counter Register AT91C_US2_TNPR EQU (0xFFFC8118) ;- (PDC_US2) Transmit Next Pointer Register AT91C_US2_RPR EQU (0xFFFC8100) ;- (PDC_US2) Receive Pointer Register AT91C_US2_TPR EQU (0xFFFC8108) ;- (PDC_US2) Transmit Pointer Register AT91C_US2_RNPR EQU (0xFFFC8110) ;- (PDC_US2) Receive Next Pointer Register ;- ========== Register definition for US2 peripheral ========== AT91C_US2_XXR EQU (0xFFFC8048) ;- (US2) XON_XOFF Register AT91C_US2_FIDI EQU (0xFFFC8040) ;- (US2) FI_DI_Ratio Register AT91C_US2_TTGR EQU (0xFFFC8028) ;- (US2) Transmitter Time-guard Register AT91C_US2_BRGR EQU (0xFFFC8020) ;- (US2) Baud Rate Generator Register AT91C_US2_RHR EQU (0xFFFC8018) ;- (US2) Receiver Holding Register AT91C_US2_IMR EQU (0xFFFC8010) ;- (US2) Interrupt Mask Register AT91C_US2_IER EQU (0xFFFC8008) ;- (US2) Interrupt Enable Register AT91C_US2_CR EQU (0xFFFC8000) ;- (US2) Control Register AT91C_US2_IF EQU (0xFFFC804C) ;- (US2) IRDA_FILTER Register AT91C_US2_NER EQU (0xFFFC8044) ;- (US2) Nb Errors Register AT91C_US2_RTOR EQU (0xFFFC8024) ;- (US2) Receiver Time-out Register AT91C_US2_THR EQU (0xFFFC801C) ;- (US2) Transmitter Holding Register AT91C_US2_CSR EQU (0xFFFC8014) ;- (US2) Channel Status Register AT91C_US2_IDR EQU (0xFFFC800C) ;- (US2) Interrupt Disable Register AT91C_US2_MR EQU (0xFFFC8004) ;- (US2) Mode Register ;- ========== Register definition for PDC_US1 peripheral ========== AT91C_US1_PTSR EQU (0xFFFC4124) ;- (PDC_US1) PDC Transfer Status Register AT91C_US1_TNCR EQU (0xFFFC411C) ;- (PDC_US1) Transmit Next Counter Register AT91C_US1_RNCR EQU (0xFFFC4114) ;- (PDC_US1) Receive Next Counter Register AT91C_US1_TCR EQU (0xFFFC410C) ;- (PDC_US1) Transmit Counter Register AT91C_US1_RCR EQU (0xFFFC4104) ;- (PDC_US1) Receive Counter Register AT91C_US1_PTCR EQU (0xFFFC4120) ;- (PDC_US1) PDC Transfer Control Register AT91C_US1_TNPR EQU (0xFFFC4118) ;- (PDC_US1) Transmit Next Pointer Register AT91C_US1_RNPR EQU (0xFFFC4110) ;- (PDC_US1) Receive Next Pointer Register AT91C_US1_TPR EQU (0xFFFC4108) ;- (PDC_US1) Transmit Pointer Register AT91C_US1_RPR EQU (0xFFFC4100) ;- (PDC_US1) Receive Pointer Register ;- ========== Register definition for US1 peripheral ========== AT91C_US1_XXR EQU (0xFFFC4048) ;- (US1) XON_XOFF Register AT91C_US1_RHR EQU (0xFFFC4018) ;- (US1) Receiver Holding Register AT91C_US1_IMR EQU (0xFFFC4010) ;- (US1) Interrupt Mask Register AT91C_US1_IER EQU (0xFFFC4008) ;- (US1) Interrupt Enable Register AT91C_US1_CR EQU (0xFFFC4000) ;- (US1) Control Register AT91C_US1_RTOR EQU (0xFFFC4024) ;- (US1) Receiver Time-out Register AT91C_US1_THR EQU (0xFFFC401C) ;- (US1) Transmitter Holding Register AT91C_US1_CSR EQU (0xFFFC4014) ;- (US1) Channel Status Register AT91C_US1_IDR EQU (0xFFFC400C) ;- (US1) Interrupt Disable Register AT91C_US1_FIDI EQU (0xFFFC4040) ;- (US1) FI_DI_Ratio Register AT91C_US1_BRGR EQU (0xFFFC4020) ;- (US1) Baud Rate Generator Register AT91C_US1_TTGR EQU (0xFFFC4028) ;- (US1) Transmitter Time-guard Register AT91C_US1_IF EQU (0xFFFC404C) ;- (US1) IRDA_FILTER Register AT91C_US1_NER EQU (0xFFFC4044) ;- (US1) Nb Errors Register AT91C_US1_MR EQU (0xFFFC4004) ;- (US1) Mode Register ;- ========== Register definition for PDC_US0 peripheral ========== AT91C_US0_PTCR EQU (0xFFFC0120) ;- (PDC_US0) PDC Transfer Control Register AT91C_US0_TNPR EQU (0xFFFC0118) ;- (PDC_US0) Transmit Next Pointer Register AT91C_US0_RNPR EQU (0xFFFC0110) ;- (PDC_US0) Receive Next Pointer Register AT91C_US0_TPR EQU (0xFFFC0108) ;- (PDC_US0) Transmit Pointer Register AT91C_US0_RPR EQU (0xFFFC0100) ;- (PDC_US0) Receive Pointer Register AT91C_US0_PTSR EQU (0xFFFC0124) ;- (PDC_US0) PDC Transfer Status Register AT91C_US0_TNCR EQU (0xFFFC011C) ;- (PDC_US0) Transmit Next Counter Register AT91C_US0_RNCR EQU (0xFFFC0114) ;- (PDC_US0) Receive Next Counter Register AT91C_US0_TCR EQU (0xFFFC010C) ;- (PDC_US0) Transmit Counter Register AT91C_US0_RCR EQU (0xFFFC0104) ;- (PDC_US0) Receive Counter Register ;- ========== Register definition for US0 peripheral ========== AT91C_US0_TTGR EQU (0xFFFC0028) ;- (US0) Transmitter Time-guard Register AT91C_US0_BRGR EQU (0xFFFC0020) ;- (US0) Baud Rate Generator Register AT91C_US0_RHR EQU (0xFFFC0018) ;- (US0) Receiver Holding Register AT91C_US0_IMR EQU (0xFFFC0010) ;- (US0) Interrupt Mask Register AT91C_US0_NER EQU (0xFFFC0044) ;- (US0) Nb Errors Register AT91C_US0_RTOR EQU (0xFFFC0024) ;- (US0) Receiver Time-out Register AT91C_US0_XXR EQU (0xFFFC0048) ;- (US0) XON_XOFF Register AT91C_US0_FIDI EQU (0xFFFC0040) ;- (US0) FI_DI_Ratio Register AT91C_US0_CR EQU (0xFFFC0000) ;- (US0) Control Register AT91C_US0_IER EQU (0xFFFC0008) ;- (US0) Interrupt Enable Register AT91C_US0_IF EQU (0xFFFC004C) ;- (US0) IRDA_FILTER Register AT91C_US0_MR EQU (0xFFFC0004) ;- (US0) Mode Register AT91C_US0_IDR EQU (0xFFFC000C) ;- (US0) Interrupt Disable Register AT91C_US0_CSR EQU (0xFFFC0014) ;- (US0) Channel Status Register AT91C_US0_THR EQU (0xFFFC001C) ;- (US0) Transmitter Holding Register ;- ========== Register definition for TWI peripheral ========== AT91C_TWI_RHR EQU (0xFFFB8030) ;- (TWI) Receive Holding Register AT91C_TWI_IDR EQU (0xFFFB8028) ;- (TWI) Interrupt Disable Register AT91C_TWI_SR EQU (0xFFFB8020) ;- (TWI) Status Register AT91C_TWI_CWGR EQU (0xFFFB8010) ;- (TWI) Clock Waveform Generator Register AT91C_TWI_SMR EQU (0xFFFB8008) ;- (TWI) Slave Mode Register AT91C_TWI_CR EQU (0xFFFB8000) ;- (TWI) Control Register AT91C_TWI_THR EQU (0xFFFB8034) ;- (TWI) Transmit Holding Register AT91C_TWI_IMR EQU (0xFFFB802C) ;- (TWI) Interrupt Mask Register AT91C_TWI_IER EQU (0xFFFB8024) ;- (TWI) Interrupt Enable Register AT91C_TWI_IADR EQU (0xFFFB800C) ;- (TWI) Internal Address Register AT91C_TWI_MMR EQU (0xFFFB8004) ;- (TWI) Master Mode Register ;- ========== Register definition for PDC_MCI peripheral ========== AT91C_MCI_PTCR EQU (0xFFFB4120) ;- (PDC_MCI) PDC Transfer Control Register AT91C_MCI_TNPR EQU (0xFFFB4118) ;- (PDC_MCI) Transmit Next Pointer Register AT91C_MCI_RNPR EQU (0xFFFB4110) ;- (PDC_MCI) Receive Next Pointer Register AT91C_MCI_TPR EQU (0xFFFB4108) ;- (PDC_MCI) Transmit Pointer Register AT91C_MCI_RPR EQU (0xFFFB4100) ;- (PDC_MCI) Receive Pointer Register AT91C_MCI_PTSR EQU (0xFFFB4124) ;- (PDC_MCI) PDC Transfer Status Register AT91C_MCI_TNCR EQU (0xFFFB411C) ;- (PDC_MCI) Transmit Next Counter Register AT91C_MCI_RNCR EQU (0xFFFB4114) ;- (PDC_MCI) Receive Next Counter Register AT91C_MCI_TCR EQU (0xFFFB410C) ;- (PDC_MCI) Transmit Counter Register AT91C_MCI_RCR EQU (0xFFFB4104) ;- (PDC_MCI) Receive Counter Register ;- ========== Register definition for MCI peripheral ========== AT91C_MCI_IDR EQU (0xFFFB4048) ;- (MCI) MCI Interrupt Disable Register AT91C_MCI_SR EQU (0xFFFB4040) ;- (MCI) MCI Status Register AT91C_MCI_RDR EQU (0xFFFB4030) ;- (MCI) MCI Receive Data Register AT91C_MCI_RSPR EQU (0xFFFB4020) ;- (MCI) MCI Response Register AT91C_MCI_ARGR EQU (0xFFFB4010) ;- (MCI) MCI Argument Register AT91C_MCI_DTOR EQU (0xFFFB4008) ;- (MCI) MCI Data Timeout Register AT91C_MCI_CR EQU (0xFFFB4000) ;- (MCI) MCI Control Register AT91C_MCI_IMR EQU (0xFFFB404C) ;- (MCI) MCI Interrupt Mask Register AT91C_MCI_IER EQU (0xFFFB4044) ;- (MCI) MCI Interrupt Enable Register AT91C_MCI_TDR EQU (0xFFFB4034) ;- (MCI) MCI Transmit Data Register AT91C_MCI_CMDR EQU (0xFFFB4014) ;- (MCI) MCI Command Register AT91C_MCI_SDCR EQU (0xFFFB400C) ;- (MCI) MCI SD Card Register AT91C_MCI_MR EQU (0xFFFB4004) ;- (MCI) MCI Mode Register ;- ========== Register definition for UDP peripheral ========== AT91C_UDP_ISR EQU (0xFFFB001C) ;- (UDP) Interrupt Status Register AT91C_UDP_IDR EQU (0xFFFB0014) ;- (UDP) Interrupt Disable Register AT91C_UDP_GLBSTATE EQU (0xFFFB0004) ;- (UDP) Global State Register AT91C_UDP_FDR EQU (0xFFFB0050) ;- (UDP) Endpoint FIFO Data Register AT91C_UDP_CSR EQU (0xFFFB0030) ;- (UDP) Endpoint Control and Status Register AT91C_UDP_RSTEP EQU (0xFFFB0028) ;- (UDP) Reset Endpoint Register AT91C_UDP_ICR EQU (0xFFFB0020) ;- (UDP) Interrupt Clear Register AT91C_UDP_IMR EQU (0xFFFB0018) ;- (UDP) Interrupt Mask Register AT91C_UDP_IER EQU (0xFFFB0010) ;- (UDP) Interrupt Enable Register AT91C_UDP_FADDR EQU (0xFFFB0008) ;- (UDP) Function Address Register AT91C_UDP_NUM EQU (0xFFFB0000) ;- (UDP) Frame Number Register ;- ========== Register definition for TC5 peripheral ========== AT91C_TC5_CMR EQU (0xFFFA4084) ;- (TC5) Channel Mode Register AT91C_TC5_IDR EQU (0xFFFA40A8) ;- (TC5) Interrupt Disable Register AT91C_TC5_SR EQU (0xFFFA40A0) ;- (TC5) Status Register AT91C_TC5_RB EQU (0xFFFA4098) ;- (TC5) Register B AT91C_TC5_CV EQU (0xFFFA4090) ;- (TC5) Counter Value AT91C_TC5_CCR EQU (0xFFFA4080) ;- (TC5) Channel Control Register AT91C_TC5_IMR EQU (0xFFFA40AC) ;- (TC5) Interrupt Mask Register AT91C_TC5_IER EQU (0xFFFA40A4) ;- (TC5) Interrupt Enable Register AT91C_TC5_RC EQU (0xFFFA409C) ;- (TC5) Register C AT91C_TC5_RA EQU (0xFFFA4094) ;- (TC5) Register A ;- ========== Register definition for TC4 peripheral ========== AT91C_TC4_IMR EQU (0xFFFA406C) ;- (TC4) Interrupt Mask Register AT91C_TC4_IER EQU (0xFFFA4064) ;- (TC4) Interrupt Enable Register AT91C_TC4_RC EQU (0xFFFA405C) ;- (TC4) Register C AT91C_TC4_RA EQU (0xFFFA4054) ;- (TC4) Register A AT91C_TC4_CMR EQU (0xFFFA4044) ;- (TC4) Channel Mode Register AT91C_TC4_IDR EQU (0xFFFA4068) ;- (TC4) Interrupt Disable Register AT91C_TC4_SR EQU (0xFFFA4060) ;- (TC4) Status Register AT91C_TC4_RB EQU (0xFFFA4058) ;- (TC4) Register B AT91C_TC4_CV EQU (0xFFFA4050) ;- (TC4) Counter Value AT91C_TC4_CCR EQU (0xFFFA4040) ;- (TC4) Channel Control Register ;- ========== Register definition for TC3 peripheral ========== AT91C_TC3_IMR EQU (0xFFFA402C) ;- (TC3) Interrupt Mask Register AT91C_TC3_CV EQU (0xFFFA4010) ;- (TC3) Counter Value AT91C_TC3_CCR EQU (0xFFFA4000) ;- (TC3) Channel Control Register AT91C_TC3_IER EQU (0xFFFA4024) ;- (TC3) Interrupt Enable Register AT91C_TC3_CMR EQU (0xFFFA4004) ;- (TC3) Channel Mode Register AT91C_TC3_RA EQU (0xFFFA4014) ;- (TC3) Register A AT91C_TC3_RC EQU (0xFFFA401C) ;- (TC3) Register C AT91C_TC3_IDR EQU (0xFFFA4028) ;- (TC3) Interrupt Disable Register AT91C_TC3_RB EQU (0xFFFA4018) ;- (TC3) Register B AT91C_TC3_SR EQU (0xFFFA4020) ;- (TC3) Status Register ;- ========== Register definition for TCB1 peripheral ========== AT91C_TCB1_BCR EQU (0xFFFA4140) ;- (TCB1) TC Block Control Register AT91C_TCB1_BMR EQU (0xFFFA4144) ;- (TCB1) TC Block Mode Register ;- ========== Register definition for TC2 peripheral ========== AT91C_TC2_IMR EQU (0xFFFA00AC) ;- (TC2) Interrupt Mask Register AT91C_TC2_IER EQU (0xFFFA00A4) ;- (TC2) Interrupt Enable Register AT91C_TC2_RC EQU (0xFFFA009C) ;- (TC2) Register C AT91C_TC2_RA EQU (0xFFFA0094) ;- (TC2) Register A AT91C_TC2_CMR EQU (0xFFFA0084) ;- (TC2) Channel Mode Register AT91C_TC2_IDR EQU (0xFFFA00A8) ;- (TC2) Interrupt Disable Register AT91C_TC2_SR EQU (0xFFFA00A0) ;- (TC2) Status Register AT91C_TC2_RB EQU (0xFFFA0098) ;- (TC2) Register B AT91C_TC2_CV EQU (0xFFFA0090) ;- (TC2) Counter Value AT91C_TC2_CCR EQU (0xFFFA0080) ;- (TC2) Channel Control Register ;- ========== Register definition for TC1 peripheral ========== AT91C_TC1_IMR EQU (0xFFFA006C) ;- (TC1) Interrupt Mask Register AT91C_TC1_IER EQU (0xFFFA0064) ;- (TC1) Interrupt Enable Register AT91C_TC1_RC EQU (0xFFFA005C) ;- (TC1) Register C AT91C_TC1_RA EQU (0xFFFA0054) ;- (TC1) Register A AT91C_TC1_CMR EQU (0xFFFA0044) ;- (TC1) Channel Mode Register AT91C_TC1_IDR EQU (0xFFFA0068) ;- (TC1) Interrupt Disable Register AT91C_TC1_SR EQU (0xFFFA0060) ;- (TC1) Status Register AT91C_TC1_RB EQU (0xFFFA0058) ;- (TC1) Register B AT91C_TC1_CV EQU (0xFFFA0050) ;- (TC1) Counter Value AT91C_TC1_CCR EQU (0xFFFA0040) ;- (TC1) Channel Control Register ;- ========== Register definition for TC0 peripheral ========== AT91C_TC0_IMR EQU (0xFFFA002C) ;- (TC0) Interrupt Mask Register AT91C_TC0_IER EQU (0xFFFA0024) ;- (TC0) Interrupt Enable Register AT91C_TC0_RC EQU (0xFFFA001C) ;- (TC0) Register C AT91C_TC0_RA EQU (0xFFFA0014) ;- (TC0) Register A AT91C_TC0_CMR EQU (0xFFFA0004) ;- (TC0) Channel Mode Register AT91C_TC0_IDR EQU (0xFFFA0028) ;- (TC0) Interrupt Disable Register AT91C_TC0_SR EQU (0xFFFA0020) ;- (TC0) Status Register AT91C_TC0_RB EQU (0xFFFA0018) ;- (TC0) Register B AT91C_TC0_CV EQU (0xFFFA0010) ;- (TC0) Counter Value AT91C_TC0_CCR EQU (0xFFFA0000) ;- (TC0) Channel Control Register ;- ========== Register definition for TCB0 peripheral ========== AT91C_TCB0_BMR EQU (0xFFFA00C4) ;- (TCB0) TC Block Mode Register AT91C_TCB0_BCR EQU (0xFFFA00C0) ;- (TCB0) TC Block Control Register ;- ========== Register definition for UHP peripheral ========== AT91C_UHP_HcRhDescriptorA EQU (0x00300048) ;- (UHP) Root Hub characteristics A AT91C_UHP_HcRhPortStatus EQU (0x00300054) ;- (UHP) Root Hub Port Status Register AT91C_UHP_HcRhDescriptorB EQU (0x0030004C) ;- (UHP) Root Hub characteristics B AT91C_UHP_HcControl EQU (0x00300004) ;- (UHP) Operating modes for the Host Controller AT91C_UHP_HcInterruptStatus EQU (0x0030000C) ;- (UHP) Interrupt Status Register AT91C_UHP_HcRhStatus EQU (0x00300050) ;- (UHP) Root Hub Status register AT91C_UHP_HcRevision EQU (0x00300000) ;- (UHP) Revision AT91C_UHP_HcCommandStatus EQU (0x00300008) ;- (UHP) Command & status Register AT91C_UHP_HcInterruptEnable EQU (0x00300010) ;- (UHP) Interrupt Enable Register AT91C_UHP_HcHCCA EQU (0x00300018) ;- (UHP) Pointer to the Host Controller Communication Area AT91C_UHP_HcControlHeadED EQU (0x00300020) ;- (UHP) First Endpoint Descriptor of the Control list AT91C_UHP_HcInterruptDisable EQU (0x00300014) ;- (UHP) Interrupt Disable Register AT91C_UHP_HcPeriodCurrentED EQU (0x0030001C) ;- (UHP) Current Isochronous or Interrupt Endpoint Descriptor AT91C_UHP_HcControlCurrentED EQU (0x00300024) ;- (UHP) Endpoint Control and Status Register AT91C_UHP_HcBulkCurrentED EQU (0x0030002C) ;- (UHP) Current endpoint of the Bulk list AT91C_UHP_HcFmInterval EQU (0x00300034) ;- (UHP) Bit time between 2 consecutive SOFs AT91C_UHP_HcBulkHeadED EQU (0x00300028) ;- (UHP) First endpoint register of the Bulk list AT91C_UHP_HcBulkDoneHead EQU (0x00300030) ;- (UHP) Last completed transfer descriptor AT91C_UHP_HcFmRemaining EQU (0x00300038) ;- (UHP) Bit time remaining in the current Frame AT91C_UHP_HcPeriodicStart EQU (0x00300040) ;- (UHP) Periodic Start AT91C_UHP_HcLSThreshold EQU (0x00300044) ;- (UHP) LS Threshold AT91C_UHP_HcFmNumber EQU (0x0030003C) ;- (UHP) Frame number ;- ========== Register definition for EMAC peripheral ========== AT91C_EMAC_RSR EQU (0xFFFBC020) ;- (EMAC) Receive Status Register AT91C_EMAC_MAN EQU (0xFFFBC034) ;- (EMAC) PHY Maintenance Register AT91C_EMAC_HSH EQU (0xFFFBC090) ;- (EMAC) Hash Address High[63:32] AT91C_EMAC_MCOL EQU (0xFFFBC048) ;- (EMAC) Multiple Collision Frame Register AT91C_EMAC_IER EQU (0xFFFBC028) ;- (EMAC) Interrupt Enable Register AT91C_EMAC_SA2H EQU (0xFFFBC0A4) ;- (EMAC) Specific Address 2 High, Last 2 bytes AT91C_EMAC_HSL EQU (0xFFFBC094) ;- (EMAC) Hash Address Low[31:0] AT91C_EMAC_LCOL EQU (0xFFFBC05C) ;- (EMAC) Late Collision Register AT91C_EMAC_OK EQU (0xFFFBC04C) ;- (EMAC) Frames Received OK Register AT91C_EMAC_CFG EQU (0xFFFBC004) ;- (EMAC) Network Configuration Register AT91C_EMAC_SA3L EQU (0xFFFBC0A8) ;- (EMAC) Specific Address 3 Low, First 4 bytes AT91C_EMAC_SEQE EQU (0xFFFBC050) ;- (EMAC) Frame Check Sequence Error Register AT91C_EMAC_ECOL EQU (0xFFFBC060) ;- (EMAC) Excessive Collision Register AT91C_EMAC_ELR EQU (0xFFFBC070) ;- (EMAC) Excessive Length Error Register AT91C_EMAC_SR EQU (0xFFFBC008) ;- (EMAC) Network Status Register AT91C_EMAC_RBQP EQU (0xFFFBC018) ;- (EMAC) Receive Buffer Queue Pointer AT91C_EMAC_CSE EQU (0xFFFBC064) ;- (EMAC) Carrier Sense Error Register AT91C_EMAC_RJB EQU (0xFFFBC074) ;- (EMAC) Receive Jabber Register AT91C_EMAC_USF EQU (0xFFFBC078) ;- (EMAC) Undersize Frame Register AT91C_EMAC_IDR EQU (0xFFFBC02C) ;- (EMAC) Interrupt Disable Register AT91C_EMAC_SA1L EQU (0xFFFBC098) ;- (EMAC) Specific Address 1 Low, First 4 bytes AT91C_EMAC_IMR EQU (0xFFFBC030) ;- (EMAC) Interrupt Mask Register AT91C_EMAC_FRA EQU (0xFFFBC040) ;- (EMAC) Frames Transmitted OK Register AT91C_EMAC_SA3H EQU (0xFFFBC0AC) ;- (EMAC) Specific Address 3 High, Last 2 bytes AT91C_EMAC_SA1H EQU (0xFFFBC09C) ;- (EMAC) Specific Address 1 High, Last 2 bytes AT91C_EMAC_SCOL EQU (0xFFFBC044) ;- (EMAC) Single Collision Frame Register AT91C_EMAC_ALE EQU (0xFFFBC054) ;- (EMAC) Alignment Error Register AT91C_EMAC_TAR EQU (0xFFFBC00C) ;- (EMAC) Transmit Address Register AT91C_EMAC_SA4L EQU (0xFFFBC0B0) ;- (EMAC) Specific Address 4 Low, First 4 bytes AT91C_EMAC_SA2L EQU (0xFFFBC0A0) ;- (EMAC) Specific Address 2 Low, First 4 bytes AT91C_EMAC_TUE EQU (0xFFFBC068) ;- (EMAC) Transmit Underrun Error Register AT91C_EMAC_DTE EQU (0xFFFBC058) ;- (EMAC) Deferred Transmission Frame Register AT91C_EMAC_TCR EQU (0xFFFBC010) ;- (EMAC) Transmit Control Register AT91C_EMAC_CTL EQU (0xFFFBC000) ;- (EMAC) Network Control Register AT91C_EMAC_SA4H EQU (0xFFFBC0B4) ;- (EMAC) Specific Address 4 High, Last 2 bytesr AT91C_EMAC_CDE EQU (0xFFFBC06C) ;- (EMAC) Code Error Register AT91C_EMAC_SQEE EQU (0xFFFBC07C) ;- (EMAC) SQE Test Error Register AT91C_EMAC_TSR EQU (0xFFFBC014) ;- (EMAC) Transmit Status Register AT91C_EMAC_DRFC EQU (0xFFFBC080) ;- (EMAC) Discarded RX Frame Register ;- ========== Register definition for EBI peripheral ========== AT91C_EBI_CFGR EQU (0xFFFFFF64) ;- (EBI) Configuration Register AT91C_EBI_CSA EQU (0xFFFFFF60) ;- (EBI) Chip Select Assignment Register ;- ========== Register definition for SMC2 peripheral ========== AT91C_SMC2_CSR EQU (0xFFFFFF70) ;- (SMC2) SMC2 Chip Select Register ;- ========== Register definition for SDRC peripheral ========== AT91C_SDRC_IMR EQU (0xFFFFFFAC) ;- (SDRC) SDRAM Controller Interrupt Mask Register AT91C_SDRC_IER EQU (0xFFFFFFA4) ;- (SDRC) SDRAM Controller Interrupt Enable Register AT91C_SDRC_SRR EQU (0xFFFFFF9C) ;- (SDRC) SDRAM Controller Self Refresh Register AT91C_SDRC_TR EQU (0xFFFFFF94) ;- (SDRC) SDRAM Controller Refresh Timer Register AT91C_SDRC_ISR EQU (0xFFFFFFB0) ;- (SDRC) SDRAM Controller Interrupt Mask Register AT91C_SDRC_IDR EQU (0xFFFFFFA8) ;- (SDRC) SDRAM Controller Interrupt Disable Register AT91C_SDRC_LPR EQU (0xFFFFFFA0) ;- (SDRC) SDRAM Controller Low Power Register AT91C_SDRC_CR EQU (0xFFFFFF98) ;- (SDRC) SDRAM Controller Configuration Register AT91C_SDRC_MR EQU (0xFFFFFF90) ;- (SDRC) SDRAM Controller Mode Register ;- ========== Register definition for BFC peripheral ========== AT91C_BFC_MR EQU (0xFFFFFFC0) ;- (BFC) BFC Mode Register ;- ***************************************************************************** ;- PIO DEFINITIONS FOR AT91RM9200 ;- ***************************************************************************** AT91C_PIO_PA0 EQU (1:SHL:0) ;- Pin Controlled by PA0 AT91C_PA0_MISO EQU (AT91C_PIO_PA0) ;- SPI Master In Slave AT91C_PA0_PCK3 EQU (AT91C_PIO_PA0) ;- PMC Programmable Clock Output 3 AT91C_PIO_PA1 EQU (1:SHL:1) ;- Pin Controlled by PA1 AT91C_PA1_MOSI EQU (AT91C_PIO_PA1) ;- SPI Master Out Slave AT91C_PA1_PCK0 EQU (AT91C_PIO_PA1) ;- PMC Programmable Clock Output 0 AT91C_PIO_PA10 EQU (1:SHL:10) ;- Pin Controlled by PA10 AT91C_PA10_ETX1 EQU (AT91C_PIO_PA10) ;- Ethernet MAC Transmit Data 1 AT91C_PA10_MCDB1 EQU (AT91C_PIO_PA10) ;- Multimedia Card B Data 1 AT91C_PIO_PA11 EQU (1:SHL:11) ;- Pin Controlled by PA11 AT91C_PA11_ECRS_ECRSDV EQU (AT91C_PIO_PA11) ;- Ethernet MAC Carrier Sense/Carrier Sense and Data Valid AT91C_PA11_MCDB2 EQU (AT91C_PIO_PA11) ;- Multimedia Card B Data 2 AT91C_PIO_PA12 EQU (1:SHL:12) ;- Pin Controlled by PA12 AT91C_PA12_ERX0 EQU (AT91C_PIO_PA12) ;- Ethernet MAC Receive Data 0 AT91C_PA12_MCDB3 EQU (AT91C_PIO_PA12) ;- Multimedia Card B Data 3 AT91C_PIO_PA13 EQU (1:SHL:13) ;- Pin Controlled by PA13 AT91C_PA13_ERX1 EQU (AT91C_PIO_PA13) ;- Ethernet MAC Receive Data 1 AT91C_PA13_TCLK0 EQU (AT91C_PIO_PA13) ;- Timer Counter 0 external clock input AT91C_PIO_PA14 EQU (1:SHL:14) ;- Pin Controlled by PA14 AT91C_PA14_ERXER EQU (AT91C_PIO_PA14) ;- Ethernet MAC Receive Error AT91C_PA14_TCLK1 EQU (AT91C_PIO_PA14) ;- Timer Counter 1 external clock input AT91C_PIO_PA15 EQU (1:SHL:15) ;- Pin Controlled by PA15 AT91C_PA15_EMDC EQU (AT91C_PIO_PA15) ;- Ethernet MAC Management Data Clock AT91C_PA15_TCLK2 EQU (AT91C_PIO_PA15) ;- Timer Counter 2 external clock input AT91C_PIO_PA16 EQU (1:SHL:16) ;- Pin Controlled by PA16 AT91C_PA16_EMDIO EQU (AT91C_PIO_PA16) ;- Ethernet MAC Management Data Input/Output AT91C_PA16_IRQ6 EQU (AT91C_PIO_PA16) ;- AIC Interrupt input 6 AT91C_PIO_PA17 EQU (1:SHL:17) ;- Pin Controlled by PA17 AT91C_PA17_TXD0 EQU (AT91C_PIO_PA17) ;- USART 0 Transmit Data AT91C_PA17_TIOA0 EQU (AT91C_PIO_PA17) ;- Timer Counter 0 Multipurpose Timer I/O Pin A AT91C_PIO_PA18 EQU (1:SHL:18) ;- Pin Controlled by PA18 AT91C_PA18_RXD0 EQU (AT91C_PIO_PA18) ;- USART 0 Receive Data AT91C_PA18_TIOB0 EQU (AT91C_PIO_PA18) ;- Timer Counter 0 Multipurpose Timer I/O Pin B AT91C_PIO_PA19 EQU (1:SHL:19) ;- Pin Controlled by PA19 AT91C_PA19_SCK0 EQU (AT91C_PIO_PA19) ;- USART 0 Serial Clock AT91C_PA19_TIOA1 EQU (AT91C_PIO_PA19) ;- Timer Counter 1 Multipurpose Timer I/O Pin A AT91C_PIO_PA2 EQU (1:SHL:2) ;- Pin Controlled by PA2 AT91C_PA2_SPCK EQU (AT91C_PIO_PA2) ;- SPI Serial Clock AT91C_PA2_IRQ4 EQU (AT91C_PIO_PA2) ;- AIC Interrupt Input 4 AT91C_PIO_PA20 EQU (1:SHL:20) ;- Pin Controlled by PA20 AT91C_PA20_CTS0 EQU (AT91C_PIO_PA20) ;- USART 0 Clear To Send AT91C_PA20_TIOB1 EQU (AT91C_PIO_PA20) ;- Timer Counter 1 Multipurpose Timer I/O Pin B AT91C_PIO_PA21 EQU (1:SHL:21) ;- Pin Controlled by PA21 AT91C_PA21_RTS0 EQU (AT91C_PIO_PA21) ;- Usart 0 Ready To Send AT91C_PA21_TIOA2 EQU (AT91C_PIO_PA21) ;- Timer Counter 2 Multipurpose Timer I/O Pin A AT91C_PIO_PA22 EQU (1:SHL:22) ;- Pin Controlled by PA22 AT91C_PA22_RXD2 EQU (AT91C_PIO_PA22) ;- USART 2 Receive Data AT91C_PA22_TIOB2 EQU (AT91C_PIO_PA22) ;- Timer Counter 2 Multipurpose Timer I/O Pin B AT91C_PIO_PA23 EQU (1:SHL:23) ;- Pin Controlled by PA23 AT91C_PA23_TXD2 EQU (AT91C_PIO_PA23) ;- USART 2 Transmit Data AT91C_PA23_IRQ3 EQU (AT91C_PIO_PA23) ;- Interrupt input 3 AT91C_PIO_PA24 EQU (1:SHL:24) ;- Pin Controlled by PA24 AT91C_PA24_SCK2 EQU (AT91C_PIO_PA24) ;- USART2 Serial Clock AT91C_PA24_PCK1 EQU (AT91C_PIO_PA24) ;- PMC Programmable Clock Output 1 AT91C_PIO_PA25 EQU (1:SHL:25) ;- Pin Controlled by PA25 AT91C_PA25_TWD EQU (AT91C_PIO_PA25) ;- TWI Two-wire Serial Data AT91C_PA25_IRQ2 EQU (AT91C_PIO_PA25) ;- Interrupt input 2 AT91C_PIO_PA26 EQU (1:SHL:26) ;- Pin Controlled by PA26 AT91C_PA26_TWCK EQU (AT91C_PIO_PA26) ;- TWI Two-wire Serial Clock AT91C_PA26_IRQ1 EQU (AT91C_PIO_PA26) ;- Interrupt input 1 AT91C_PIO_PA27 EQU (1:SHL:27) ;- Pin Controlled by PA27 AT91C_PA27_MCCK EQU (AT91C_PIO_PA27) ;- Multimedia Card Clock AT91C_PA27_TCLK3 EQU (AT91C_PIO_PA27) ;- Timer Counter 3 External Clock Input AT91C_PIO_PA28 EQU (1:SHL:28) ;- Pin Controlled by PA28 AT91C_PA28_MCCDA EQU (AT91C_PIO_PA28) ;- Multimedia Card A Command AT91C_PA28_TCLK4 EQU (AT91C_PIO_PA28) ;- Timer Counter 4 external Clock Input AT91C_PIO_PA29 EQU (1:SHL:29) ;- Pin Controlled by PA29 AT91C_PA29_MCDA0 EQU (AT91C_PIO_PA29) ;- Multimedia Card A Data 0 AT91C_PA29_TCLK5 EQU (AT91C_PIO_PA29) ;- Timer Counter 5 external clock input AT91C_PIO_PA3 EQU (1:SHL:3) ;- Pin Controlled by PA3 AT91C_PA3_NPCS0 EQU (AT91C_PIO_PA3) ;- SPI Peripheral Chip Select 0 AT91C_PA3_IRQ5 EQU (AT91C_PIO_PA3) ;- AIC Interrupt Input 5 AT91C_PIO_PA30 EQU (1:SHL:30) ;- Pin Controlled by PA30 AT91C_PA30_DRXD EQU (AT91C_PIO_PA30) ;- DBGU Debug Receive Data AT91C_PA30_CTS2 EQU (AT91C_PIO_PA30) ;- Usart 2 Clear To Send AT91C_PIO_PA31 EQU (1:SHL:31) ;- Pin Controlled by PA31 AT91C_PA31_DTXD EQU (AT91C_PIO_PA31) ;- DBGU Debug Transmit Data AT91C_PA31_RTS2 EQU (AT91C_PIO_PA31) ;- USART 2 Ready To Send AT91C_PIO_PA4 EQU (1:SHL:4) ;- Pin Controlled by PA4 AT91C_PA4_NPCS1 EQU (AT91C_PIO_PA4) ;- SPI Peripheral Chip Select 1 AT91C_PA4_PCK1 EQU (AT91C_PIO_PA4) ;- PMC Programmable Clock Output 1 AT91C_PIO_PA5 EQU (1:SHL:5) ;- Pin Controlled by PA5 AT91C_PA5_NPCS2 EQU (AT91C_PIO_PA5) ;- SPI Peripheral Chip Select 2 AT91C_PA5_TXD3 EQU (AT91C_PIO_PA5) ;- USART 3 Transmit Data AT91C_PIO_PA6 EQU (1:SHL:6) ;- Pin Controlled by PA6 AT91C_PA6_NPCS3 EQU (AT91C_PIO_PA6) ;- SPI Peripheral Chip Select 3 AT91C_PA6_RXD3 EQU (AT91C_PIO_PA6) ;- USART 3 Receive Data AT91C_PIO_PA7 EQU (1:SHL:7) ;- Pin Controlled by PA7 AT91C_PA7_ETXCK_EREFCK EQU (AT91C_PIO_PA7) ;- Ethernet MAC Transmit Clock/Reference Clock AT91C_PA7_PCK2 EQU (AT91C_PIO_PA7) ;- PMC Programmable Clock 2 AT91C_PIO_PA8 EQU (1:SHL:8) ;- Pin Controlled by PA8 AT91C_PA8_ETXEN EQU (AT91C_PIO_PA8) ;- Ethernet MAC Transmit Enable AT91C_PA8_MCCDB EQU (AT91C_PIO_PA8) ;- Multimedia Card B Command AT91C_PIO_PA9 EQU (1:SHL:9) ;- Pin Controlled by PA9 AT91C_PA9_ETX0 EQU (AT91C_PIO_PA9) ;- Ethernet MAC Transmit Data 0 AT91C_PA9_MCDB0 EQU (AT91C_PIO_PA9) ;- Multimedia Card B Data 0 AT91C_PIO_PB0 EQU (1:SHL:0) ;- Pin Controlled by PB0 AT91C_PB0_TF0 EQU (AT91C_PIO_PB0) ;- SSC Transmit Frame Sync 0 AT91C_PB0_TIOB3 EQU (AT91C_PIO_PB0) ;- Timer Counter 3 Multipurpose Timer I/O Pin B AT91C_PIO_PB1 EQU (1:SHL:1) ;- Pin Controlled by PB1 AT91C_PB1_TK0 EQU (AT91C_PIO_PB1) ;- SSC Transmit Clock 0 AT91C_PB1_CTS3 EQU (AT91C_PIO_PB1) ;- USART 3 Clear To Send AT91C_PIO_PB10 EQU (1:SHL:10) ;- Pin Controlled by PB10 AT91C_PB10_RK1 EQU (AT91C_PIO_PB10) ;- SSC Receive Clock 1 AT91C_PB10_TIOA5 EQU (AT91C_PIO_PB10) ;- Timer Counter 5 Multipurpose Timer I/O Pin A AT91C_PIO_PB11 EQU (1:SHL:11) ;- Pin Controlled by PB11 AT91C_PB11_RF1 EQU (AT91C_PIO_PB11) ;- SSC Receive Frame Sync 1 AT91C_PB11_TIOB5 EQU (AT91C_PIO_PB11) ;- Timer Counter 5 Multipurpose Timer I/O Pin B AT91C_PIO_PB12 EQU (1:SHL:12) ;- Pin Controlled by PB12 AT91C_PB12_TF2 EQU (AT91C_PIO_PB12) ;- SSC Transmit Frame Sync 2 AT91C_PB12_ETX2 EQU (AT91C_PIO_PB12) ;- Ethernet MAC Transmit Data 2 AT91C_PIO_PB13 EQU (1:SHL:13) ;- Pin Controlled by PB13 AT91C_PB13_TK2 EQU (AT91C_PIO_PB13) ;- SSC Transmit Clock 2 AT91C_PB13_ETX3 EQU (AT91C_PIO_PB13) ;- Ethernet MAC Transmit Data 3 AT91C_PIO_PB14 EQU (1:SHL:14) ;- Pin Controlled by PB14 AT91C_PB14_TD2 EQU (AT91C_PIO_PB14) ;- SSC Transmit Data 2 AT91C_PB14_ETXER EQU (AT91C_PIO_PB14) ;- Ethernet MAC Transmikt Coding Error AT91C_PIO_PB15 EQU (1:SHL:15) ;- Pin Controlled by PB15 AT91C_PB15_RD2 EQU (AT91C_PIO_PB15) ;- SSC Receive Data 2 AT91C_PB15_ERX2 EQU (AT91C_PIO_PB15) ;- Ethernet MAC Receive Data 2 AT91C_PIO_PB16 EQU (1:SHL:16) ;- Pin Controlled by PB16 AT91C_PB16_RK2 EQU (AT91C_PIO_PB16) ;- SSC Receive Clock 2 AT91C_PB16_ERX3 EQU (AT91C_PIO_PB16) ;- Ethernet MAC Receive Data 3 AT91C_PIO_PB17 EQU (1:SHL:17) ;- Pin Controlled by PB17 AT91C_PB17_RF2 EQU (AT91C_PIO_PB17) ;- SSC Receive Frame Sync 2 AT91C_PB17_ERXDV EQU (AT91C_PIO_PB17) ;- Ethernet MAC Receive Data Valid AT91C_PIO_PB18 EQU (1:SHL:18) ;- Pin Controlled by PB18 AT91C_PB18_RI1 EQU (AT91C_PIO_PB18) ;- USART 1 Ring Indicator AT91C_PB18_ECOL EQU (AT91C_PIO_PB18) ;- Ethernet MAC Collision Detected AT91C_PIO_PB19 EQU (1:SHL:19) ;- Pin Controlled by PB19 AT91C_PB19_DTR1 EQU (AT91C_PIO_PB19) ;- USART 1 Data Terminal ready AT91C_PB19_ERXCK EQU (AT91C_PIO_PB19) ;- Ethernet MAC Receive Clock AT91C_PIO_PB2 EQU (1:SHL:2) ;- Pin Controlled by PB2 AT91C_PB2_TD0 EQU (AT91C_PIO_PB2) ;- SSC Transmit data AT91C_PB2_SCK3 EQU (AT91C_PIO_PB2) ;- USART 3 Serial Clock AT91C_PIO_PB20 EQU (1:SHL:20) ;- Pin Controlled by PB20 AT91C_PB20_TXD1 EQU (AT91C_PIO_PB20) ;- USART 1 Transmit Data AT91C_PIO_PB21 EQU (1:SHL:21) ;- Pin Controlled by PB21 AT91C_PB21_RXD1 EQU (AT91C_PIO_PB21) ;- USART 1 Receive Data AT91C_PIO_PB22 EQU (1:SHL:22) ;- Pin Controlled by PB22 AT91C_PB22_SCK1 EQU (AT91C_PIO_PB22) ;- USART1 Serial Clock AT91C_PIO_PB23 EQU (1:SHL:23) ;- Pin Controlled by PB23 AT91C_PB23_DCD1 EQU (AT91C_PIO_PB23) ;- USART 1 Data Carrier Detect AT91C_PIO_PB24 EQU (1:SHL:24) ;- Pin Controlled by PB24 AT91C_PB24_CTS1 EQU (AT91C_PIO_PB24) ;- USART 1 Clear To Send AT91C_PIO_PB25 EQU (1:SHL:25) ;- Pin Controlled by PB25 AT91C_PB25_DSR1 EQU (AT91C_PIO_PB25) ;- USART 1 Data Set ready AT91C_PB25_EF100 EQU (AT91C_PIO_PB25) ;- Ethernet MAC Force 100 Mbits/sec AT91C_PIO_PB26 EQU (1:SHL:26) ;- Pin Controlled by PB26 AT91C_PB26_RTS1 EQU (AT91C_PIO_PB26) ;- Usart 0 Ready To Send AT91C_PIO_PB27 EQU (1:SHL:27) ;- Pin Controlled by PB27 AT91C_PB27_PCK0 EQU (AT91C_PIO_PB27) ;- PMC Programmable Clock Output 0 AT91C_PIO_PB28 EQU (1:SHL:28) ;- Pin Controlled by PB28 AT91C_PB28_FIQ EQU (AT91C_PIO_PB28) ;- AIC Fast Interrupt Input AT91C_PIO_PB29 EQU (1:SHL:29) ;- Pin Controlled by PB29 AT91C_PB29_IRQ0 EQU (AT91C_PIO_PB29) ;- Interrupt input 0 AT91C_PIO_PB3 EQU (1:SHL:3) ;- Pin Controlled by PB3 AT91C_PB3_RD0 EQU (AT91C_PIO_PB3) ;- SSC Receive Data AT91C_PB3_MCDA1 EQU (AT91C_PIO_PB3) ;- Multimedia Card A Data 1 AT91C_PIO_PB4 EQU (1:SHL:4) ;- Pin Controlled by PB4 AT91C_PB4_RK0 EQU (AT91C_PIO_PB4) ;- SSC Receive Clock AT91C_PB4_MCDA2 EQU (AT91C_PIO_PB4) ;- Multimedia Card A Data 2 AT91C_PIO_PB5 EQU (1:SHL:5) ;- Pin Controlled by PB5 AT91C_PB5_RF0 EQU (AT91C_PIO_PB5) ;- SSC Receive Frame Sync 0 AT91C_PB5_MCDA3 EQU (AT91C_PIO_PB5) ;- Multimedia Card A Data 3 AT91C_PIO_PB6 EQU (1:SHL:6) ;- Pin Controlled by PB6 AT91C_PB6_TF1 EQU (AT91C_PIO_PB6) ;- SSC Transmit Frame Sync 1 AT91C_PB6_TIOA3 EQU (AT91C_PIO_PB6) ;- Timer Counter 4 Multipurpose Timer I/O Pin A AT91C_PIO_PB7 EQU (1:SHL:7) ;- Pin Controlled by PB7 AT91C_PB7_TK1 EQU (AT91C_PIO_PB7) ;- SSC Transmit Clock 1 AT91C_PB7_TIOB3 EQU (AT91C_PIO_PB7) ;- Timer Counter 3 Multipurpose Timer I/O Pin B AT91C_PIO_PB8 EQU (1:SHL:8) ;- Pin Controlled by PB8 AT91C_PB8_TD1 EQU (AT91C_PIO_PB8) ;- SSC Transmit Data 1 AT91C_PB8_TIOA4 EQU (AT91C_PIO_PB8) ;- Timer Counter 4 Multipurpose Timer I/O Pin A AT91C_PIO_PB9 EQU (1:SHL:9) ;- Pin Controlled by PB9 AT91C_PB9_RD1 EQU (AT91C_PIO_PB9) ;- SSC Receive Data 1 AT91C_PB9_TIOB4 EQU (AT91C_PIO_PB9) ;- Timer Counter 4 Multipurpose Timer I/O Pin B AT91C_PIO_PC0 EQU (1:SHL:0) ;- Pin Controlled by PC0 AT91C_PC0_BFCK EQU (AT91C_PIO_PC0) ;- Burst Flash Clock AT91C_PIO_PC1 EQU (1:SHL:1) ;- Pin Controlled by PC1 AT91C_PC1_BFRDY_SMOE EQU (AT91C_PIO_PC1) ;- Burst Flash Ready AT91C_PIO_PC10 EQU (1:SHL:10) ;- Pin Controlled by PC10 AT91C_PC10_NCS4_CFCS EQU (AT91C_PIO_PC10) ;- Compact Flash Chip Select AT91C_PIO_PC11 EQU (1:SHL:11) ;- Pin Controlled by PC11 AT91C_PC11_NCS5_CFCE1 EQU (AT91C_PIO_PC11) ;- Chip Select 5 / Compact Flash Chip Enable 1 AT91C_PIO_PC12 EQU (1:SHL:12) ;- Pin Controlled by PC12 AT91C_PC12_NCS6_CFCE2 EQU (AT91C_PIO_PC12) ;- Chip Select 6 / Compact Flash Chip Enable 2 AT91C_PIO_PC13 EQU (1:SHL:13) ;- Pin Controlled by PC13 AT91C_PC13_NCS7 EQU (AT91C_PIO_PC13) ;- Chip Select 7 AT91C_PIO_PC14 EQU (1:SHL:14) ;- Pin Controlled by PC14 AT91C_PIO_PC15 EQU (1:SHL:15) ;- Pin Controlled by PC15 AT91C_PIO_PC16 EQU (1:SHL:16) ;- Pin Controlled by PC16 AT91C_PC16_D16 EQU (AT91C_PIO_PC16) ;- Data Bus [16] AT91C_PIO_PC17 EQU (1:SHL:17) ;- Pin Controlled by PC17 AT91C_PC17_D17 EQU (AT91C_PIO_PC17) ;- Data Bus [17] AT91C_PIO_PC18 EQU (1:SHL:18) ;- Pin Controlled by PC18 AT91C_PC18_D18 EQU (AT91C_PIO_PC18) ;- Data Bus [18] AT91C_PIO_PC19 EQU (1:SHL:19) ;- Pin Controlled by PC19 AT91C_PC19_D19 EQU (AT91C_PIO_PC19) ;- Data Bus [19] AT91C_PIO_PC2 EQU (1:SHL:2) ;- Pin Controlled by PC2 AT91C_PC2_BFAVD EQU (AT91C_PIO_PC2) ;- Burst Flash Address Valid AT91C_PIO_PC20 EQU (1:SHL:20) ;- Pin Controlled by PC20 AT91C_PC20_D20 EQU (AT91C_PIO_PC20) ;- Data Bus [20] AT91C_PIO_PC21 EQU (1:SHL:21) ;- Pin Controlled by PC21 AT91C_PC21_D21 EQU (AT91C_PIO_PC21) ;- Data Bus [21] AT91C_PIO_PC22 EQU (1:SHL:22) ;- Pin Controlled by PC22 AT91C_PC22_D22 EQU (AT91C_PIO_PC22) ;- Data Bus [22] AT91C_PIO_PC23 EQU (1:SHL:23) ;- Pin Controlled by PC23 AT91C_PC23_D23 EQU (AT91C_PIO_PC23) ;- Data Bus [23] AT91C_PIO_PC24 EQU (1:SHL:24) ;- Pin Controlled by PC24 AT91C_PC24_D24 EQU (AT91C_PIO_PC24) ;- Data Bus [24] AT91C_PIO_PC25 EQU (1:SHL:25) ;- Pin Controlled by PC25 AT91C_PC25_D25 EQU (AT91C_PIO_PC25) ;- Data Bus [25] AT91C_PIO_PC26 EQU (1:SHL:26) ;- Pin Controlled by PC26 AT91C_PC26_D26 EQU (AT91C_PIO_PC26) ;- Data Bus [26] AT91C_PIO_PC27 EQU (1:SHL:27) ;- Pin Controlled by PC27 AT91C_PC27_D27 EQU (AT91C_PIO_PC27) ;- Data Bus [27] AT91C_PIO_PC28 EQU (1:SHL:28) ;- Pin Controlled by PC28 AT91C_PC28_D28 EQU (AT91C_PIO_PC28) ;- Data Bus [28] AT91C_PIO_PC29 EQU (1:SHL:29) ;- Pin Controlled by PC29 AT91C_PC29_D29 EQU (AT91C_PIO_PC29) ;- Data Bus [29] AT91C_PIO_PC3 EQU (1:SHL:3) ;- Pin Controlled by PC3 AT91C_PC3_BFBAA_SMWE EQU (AT91C_PIO_PC3) ;- Burst Flash Address Advance / SmartMedia Write Enable AT91C_PIO_PC30 EQU (1:SHL:30) ;- Pin Controlled by PC30 AT91C_PC30_D30 EQU (AT91C_PIO_PC30) ;- Data Bus [30] AT91C_PIO_PC31 EQU (1:SHL:31) ;- Pin Controlled by PC31 AT91C_PC31_D31 EQU (AT91C_PIO_PC31) ;- Data Bus [31] AT91C_PIO_PC4 EQU (1:SHL:4) ;- Pin Controlled by PC4 AT91C_PC4_BFOE EQU (AT91C_PIO_PC4) ;- Burst Flash Output Enable AT91C_PIO_PC5 EQU (1:SHL:5) ;- Pin Controlled by PC5 AT91C_PC5_BFWE EQU (AT91C_PIO_PC5) ;- Burst Flash Write Enable AT91C_PIO_PC6 EQU (1:SHL:6) ;- Pin Controlled by PC6 AT91C_PC6_NWAIT EQU (AT91C_PIO_PC6) ;- NWAIT AT91C_PIO_PC7 EQU (1:SHL:7) ;- Pin Controlled by PC7 AT91C_PC7_A23 EQU (AT91C_PIO_PC7) ;- Address Bus[23] AT91C_PIO_PC8 EQU (1:SHL:8) ;- Pin Controlled by PC8 AT91C_PC8_A24 EQU (AT91C_PIO_PC8) ;- Address Bus[24] AT91C_PIO_PC9 EQU (1:SHL:9) ;- Pin Controlled by PC9 AT91C_PC9_A25_CFRNW EQU (AT91C_PIO_PC9) ;- Address Bus[25] / Compact Flash Read Not Write AT91C_PIO_PD0 EQU (1:SHL:0) ;- Pin Controlled by PD0 AT91C_PD0_ETX0 EQU (AT91C_PIO_PD0) ;- Ethernet MAC Transmit Data 0 AT91C_PIO_PD1 EQU (1:SHL:1) ;- Pin Controlled by PD1 AT91C_PD1_ETX1 EQU (AT91C_PIO_PD1) ;- Ethernet MAC Transmit Data 1 AT91C_PIO_PD10 EQU (1:SHL:10) ;- Pin Controlled by PD10 AT91C_PD10_PCK3 EQU (AT91C_PIO_PD10) ;- PMC Programmable Clock Output 3 AT91C_PD10_TPS1 EQU (AT91C_PIO_PD10) ;- ETM ARM9 pipeline status 1 AT91C_PIO_PD11 EQU (1:SHL:11) ;- Pin Controlled by PD11 AT91C_PD11_ EQU (AT91C_PIO_PD11) ;- AT91C_PD11_TPS2 EQU (AT91C_PIO_PD11) ;- ETM ARM9 pipeline status 2 AT91C_PIO_PD12 EQU (1:SHL:12) ;- Pin Controlled by PD12 AT91C_PD12_ EQU (AT91C_PIO_PD12) ;- AT91C_PD12_TPK0 EQU (AT91C_PIO_PD12) ;- ETM Trace Packet 0 AT91C_PIO_PD13 EQU (1:SHL:13) ;- Pin Controlled by PD13 AT91C_PD13_ EQU (AT91C_PIO_PD13) ;- AT91C_PD13_TPK1 EQU (AT91C_PIO_PD13) ;- ETM Trace Packet 1 AT91C_PIO_PD14 EQU (1:SHL:14) ;- Pin Controlled by PD14 AT91C_PD14_ EQU (AT91C_PIO_PD14) ;- AT91C_PD14_TPK2 EQU (AT91C_PIO_PD14) ;- ETM Trace Packet 2 AT91C_PIO_PD15 EQU (1:SHL:15) ;- Pin Controlled by PD15 AT91C_PD15_TD0 EQU (AT91C_PIO_PD15) ;- SSC Transmit data AT91C_PD15_TPK3 EQU (AT91C_PIO_PD15) ;- ETM Trace Packet 3 AT91C_PIO_PD16 EQU (1:SHL:16) ;- Pin Controlled by PD16 AT91C_PD16_TD1 EQU (AT91C_PIO_PD16) ;- SSC Transmit Data 1 AT91C_PD16_TPK4 EQU (AT91C_PIO_PD16) ;- ETM Trace Packet 4 AT91C_PIO_PD17 EQU (1:SHL:17) ;- Pin Controlled by PD17 AT91C_PD17_TD2 EQU (AT91C_PIO_PD17) ;- SSC Transmit Data 2 AT91C_PD17_TPK5 EQU (AT91C_PIO_PD17) ;- ETM Trace Packet 5 AT91C_PIO_PD18 EQU (1:SHL:18) ;- Pin Controlled by PD18 AT91C_PD18_NPCS1 EQU (AT91C_PIO_PD18) ;- SPI Peripheral Chip Select 1 AT91C_PD18_TPK6 EQU (AT91C_PIO_PD18) ;- ETM Trace Packet 6 AT91C_PIO_PD19 EQU (1:SHL:19) ;- Pin Controlled by PD19 AT91C_PD19_NPCS2 EQU (AT91C_PIO_PD19) ;- SPI Peripheral Chip Select 2 AT91C_PD19_TPK7 EQU (AT91C_PIO_PD19) ;- ETM Trace Packet 7 AT91C_PIO_PD2 EQU (1:SHL:2) ;- Pin Controlled by PD2 AT91C_PD2_ETX2 EQU (AT91C_PIO_PD2) ;- Ethernet MAC Transmit Data 2 AT91C_PIO_PD20 EQU (1:SHL:20) ;- Pin Controlled by PD20 AT91C_PD20_NPCS3 EQU (AT91C_PIO_PD20) ;- SPI Peripheral Chip Select 3 AT91C_PD20_TPK8 EQU (AT91C_PIO_PD20) ;- ETM Trace Packet 8 AT91C_PIO_PD21 EQU (1:SHL:21) ;- Pin Controlled by PD21 AT91C_PD21_RTS0 EQU (AT91C_PIO_PD21) ;- Usart 0 Ready To Send AT91C_PD21_TPK9 EQU (AT91C_PIO_PD21) ;- ETM Trace Packet 9 AT91C_PIO_PD22 EQU (1:SHL:22) ;- Pin Controlled by PD22 AT91C_PD22_RTS1 EQU (AT91C_PIO_PD22) ;- Usart 0 Ready To Send AT91C_PD22_TPK10 EQU (AT91C_PIO_PD22) ;- ETM Trace Packet 10 AT91C_PIO_PD23 EQU (1:SHL:23) ;- Pin Controlled by PD23 AT91C_PD23_RTS2 EQU (AT91C_PIO_PD23) ;- USART 2 Ready To Send AT91C_PD23_TPK11 EQU (AT91C_PIO_PD23) ;- ETM Trace Packet 11 AT91C_PIO_PD24 EQU (1:SHL:24) ;- Pin Controlled by PD24 AT91C_PD24_RTS3 EQU (AT91C_PIO_PD24) ;- USART 3 Ready To Send AT91C_PD24_TPK12 EQU (AT91C_PIO_PD24) ;- ETM Trace Packet 12 AT91C_PIO_PD25 EQU (1:SHL:25) ;- Pin Controlled by PD25 AT91C_PD25_DTR1 EQU (AT91C_PIO_PD25) ;- USART 1 Data Terminal ready AT91C_PD25_TPK13 EQU (AT91C_PIO_PD25) ;- ETM Trace Packet 13 AT91C_PIO_PD26 EQU (1:SHL:26) ;- Pin Controlled by PD26 AT91C_PD26_TPK14 EQU (AT91C_PIO_PD26) ;- ETM Trace Packet 14 AT91C_PIO_PD27 EQU (1:SHL:27) ;- Pin Controlled by PD27 AT91C_PD27_TPK15 EQU (AT91C_PIO_PD27) ;- ETM Trace Packet 15 AT91C_PIO_PD3 EQU (1:SHL:3) ;- Pin Controlled by PD3 AT91C_PD3_ETX3 EQU (AT91C_PIO_PD3) ;- Ethernet MAC Transmit Data 3 AT91C_PIO_PD4 EQU (1:SHL:4) ;- Pin Controlled by PD4 AT91C_PD4_ETXEN EQU (AT91C_PIO_PD4) ;- Ethernet MAC Transmit Enable AT91C_PIO_PD5 EQU (1:SHL:5) ;- Pin Controlled by PD5 AT91C_PD5_ETXER EQU (AT91C_PIO_PD5) ;- Ethernet MAC Transmikt Coding Error AT91C_PIO_PD6 EQU (1:SHL:6) ;- Pin Controlled by PD6 AT91C_PD6_DTXD EQU (AT91C_PIO_PD6) ;- DBGU Debug Transmit Data AT91C_PIO_PD7 EQU (1:SHL:7) ;- Pin Controlled by PD7 AT91C_PD7_PCK0 EQU (AT91C_PIO_PD7) ;- PMC Programmable Clock Output 0 AT91C_PD7_TSYNC EQU (AT91C_PIO_PD7) ;- ETM Synchronization signal AT91C_PIO_PD8 EQU (1:SHL:8) ;- Pin Controlled by PD8 AT91C_PD8_PCK1 EQU (AT91C_PIO_PD8) ;- PMC Programmable Clock Output 1 AT91C_PD8_TCLK EQU (AT91C_PIO_PD8) ;- ETM Trace Clock signal AT91C_PIO_PD9 EQU (1:SHL:9) ;- Pin Controlled by PD9 AT91C_PD9_PCK2 EQU (AT91C_PIO_PD9) ;- PMC Programmable Clock 2 AT91C_PD9_TPS0 EQU (AT91C_PIO_PD9) ;- ETM ARM9 pipeline status 0 ;- ***************************************************************************** ;- PERIPHERAL ID DEFINITIONS FOR AT91RM9200 ;- ***************************************************************************** AT91C_ID_FIQ EQU ( 0) ;- Advanced Interrupt Controller (FIQ) AT91C_ID_SYS EQU ( 1) ;- System Peripheral AT91C_ID_PIOA EQU ( 2) ;- Parallel IO Controller A AT91C_ID_PIOB EQU ( 3) ;- Parallel IO Controller B AT91C_ID_PIOC EQU ( 4) ;- Parallel IO Controller C AT91C_ID_PIOD EQU ( 5) ;- Parallel IO Controller D AT91C_ID_US0 EQU ( 6) ;- USART 0 AT91C_ID_US1 EQU ( 7) ;- USART 1 AT91C_ID_US2 EQU ( 8) ;- USART 2 AT91C_ID_US3 EQU ( 9) ;- USART 3 AT91C_ID_MCI EQU (10) ;- Multimedia Card Interface AT91C_ID_UDP EQU (11) ;- USB Device Port AT91C_ID_TWI EQU (12) ;- Two-Wire Interface AT91C_ID_SPI EQU (13) ;- Serial Peripheral Interface AT91C_ID_SSC0 EQU (14) ;- Serial Synchronous Controller 0 AT91C_ID_SSC1 EQU (15) ;- Serial Synchronous Controller 1 AT91C_ID_SSC2 EQU (16) ;- Serial Synchronous Controller 2 AT91C_ID_TC0 EQU (17) ;- Timer Counter 0 AT91C_ID_TC1 EQU (18) ;- Timer Counter 1 AT91C_ID_TC2 EQU (19) ;- Timer Counter 2 AT91C_ID_TC3 EQU (20) ;- Timer Counter 3 AT91C_ID_TC4 EQU (21) ;- Timer Counter 4 AT91C_ID_TC5 EQU (22) ;- Timer Counter 5 AT91C_ID_UHP EQU (23) ;- USB Host port AT91C_ID_EMAC EQU (24) ;- Ethernet MAC AT91C_ID_IRQ0 EQU (25) ;- Advanced Interrupt Controller (IRQ0) AT91C_ID_IRQ1 EQU (26) ;- Advanced Interrupt Controller (IRQ1) AT91C_ID_IRQ2 EQU (27) ;- Advanced Interrupt Controller (IRQ2) AT91C_ID_IRQ3 EQU (28) ;- Advanced Interrupt Controller (IRQ3) AT91C_ID_IRQ4 EQU (29) ;- Advanced Interrupt Controller (IRQ4) AT91C_ID_IRQ5 EQU (30) ;- Advanced Interrupt Controller (IRQ5) AT91C_ID_IRQ6 EQU (31) ;- Advanced Interrupt Controller (IRQ6) ;- ***************************************************************************** ;- BASE ADDRESS DEFINITIONS FOR AT91RM9200 ;- ***************************************************************************** AT91C_BASE_SYS EQU (0xFFFFF000) ;- (SYS) Base Address AT91C_BASE_MC EQU (0xFFFFFF00) ;- (MC) Base Address AT91C_BASE_RTC EQU (0xFFFFFE00) ;- (RTC) Base Address AT91C_BASE_ST EQU (0xFFFFFD00) ;- (ST) Base Address AT91C_BASE_PMC EQU (0xFFFFFC00) ;- (PMC) Base Address AT91C_BASE_CKGR EQU (0xFFFFFC20) ;- (CKGR) Base Address AT91C_BASE_PIOD EQU (0xFFFFFA00) ;- (PIOD) Base Address AT91C_BASE_PIOC EQU (0xFFFFF800) ;- (PIOC) Base Address AT91C_BASE_PIOB EQU (0xFFFFF600) ;- (PIOB) Base Address AT91C_BASE_PIOA EQU (0xFFFFF400) ;- (PIOA) Base Address AT91C_BASE_DBGU EQU (0xFFFFF200) ;- (DBGU) Base Address AT91C_BASE_PDC_DBGU EQU (0xFFFFF300) ;- (PDC_DBGU) Base Address AT91C_BASE_AIC EQU (0xFFFFF000) ;- (AIC) Base Address AT91C_BASE_PDC_SPI EQU (0xFFFE0100) ;- (PDC_SPI) Base Address AT91C_BASE_SPI EQU (0xFFFE0000) ;- (SPI) Base Address AT91C_BASE_PDC_SSC2 EQU (0xFFFD8100) ;- (PDC_SSC2) Base Address AT91C_BASE_SSC2 EQU (0xFFFD8000) ;- (SSC2) Base Address AT91C_BASE_PDC_SSC1 EQU (0xFFFD4100) ;- (PDC_SSC1) Base Address AT91C_BASE_SSC1 EQU (0xFFFD4000) ;- (SSC1) Base Address AT91C_BASE_PDC_SSC0 EQU (0xFFFD0100) ;- (PDC_SSC0) Base Address AT91C_BASE_SSC0 EQU (0xFFFD0000) ;- (SSC0) Base Address AT91C_BASE_PDC_US3 EQU (0xFFFCC100) ;- (PDC_US3) Base Address AT91C_BASE_US3 EQU (0xFFFCC000) ;- (US3) Base Address AT91C_BASE_PDC_US2 EQU (0xFFFC8100) ;- (PDC_US2) Base Address AT91C_BASE_US2 EQU (0xFFFC8000) ;- (US2) Base Address AT91C_BASE_PDC_US1 EQU (0xFFFC4100) ;- (PDC_US1) Base Address AT91C_BASE_US1 EQU (0xFFFC4000) ;- (US1) Base Address AT91C_BASE_PDC_US0 EQU (0xFFFC0100) ;- (PDC_US0) Base Address AT91C_BASE_US0 EQU (0xFFFC0000) ;- (US0) Base Address AT91C_BASE_TWI EQU (0xFFFB8000) ;- (TWI) Base Address AT91C_BASE_PDC_MCI EQU (0xFFFB4100) ;- (PDC_MCI) Base Address AT91C_BASE_MCI EQU (0xFFFB4000) ;- (MCI) Base Address AT91C_BASE_UDP EQU (0xFFFB0000) ;- (UDP) Base Address AT91C_BASE_TC5 EQU (0xFFFA4080) ;- (TC5) Base Address AT91C_BASE_TC4 EQU (0xFFFA4040) ;- (TC4) Base Address AT91C_BASE_TC3 EQU (0xFFFA4000) ;- (TC3) Base Address AT91C_BASE_TCB1 EQU (0xFFFA4080) ;- (TCB1) Base Address AT91C_BASE_TC2 EQU (0xFFFA0080) ;- (TC2) Base Address AT91C_BASE_TC1 EQU (0xFFFA0040) ;- (TC1) Base Address AT91C_BASE_TC0 EQU (0xFFFA0000) ;- (TC0) Base Address AT91C_BASE_TCB0 EQU (0xFFFA0000) ;- (TCB0) Base Address AT91C_BASE_UHP EQU (0x00300000) ;- (UHP) Base Address AT91C_BASE_EMAC EQU (0xFFFBC000) ;- (EMAC) Base Address AT91C_BASE_EBI EQU (0xFFFFFF60) ;- (EBI) Base Address AT91C_BASE_SMC2 EQU (0xFFFFFF70) ;- (SMC2) Base Address AT91C_BASE_SDRC EQU (0xFFFFFF90) ;- (SDRC) Base Address AT91C_BASE_BFC EQU (0xFFFFFFC0) ;- (BFC) Base Address ;- ***************************************************************************** ;- MEMORY MAPPING DEFINITIONS FOR AT91RM9200 ;- ***************************************************************************** AT91C_ISRAM EQU (0x00200000) ;- Internal SRAM base address AT91C_ISRAM_SIZE EQU (0x00004000) ;- Internal SRAM size in byte (16 Kbyte) AT91C_IROM EQU (0x00100000) ;- Internal ROM base address AT91C_IROM_SIZE EQU (0x00020000) ;- Internal ROM size in byte (128 Kbyte) END ```
```go package jsonrpc_test import ( "bytes" "encoding/json" "encoding/xml" "fmt" "io" "io/ioutil" "net/http" "net/url" "reflect" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/aws-sdk-go/awstesting" "github.com/aws/aws-sdk-go/awstesting/unit" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" "github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil" "github.com/aws/aws-sdk-go/private/util" "github.com/stretchr/testify/assert" ) var _ bytes.Buffer // always import bytes var _ http.Request var _ json.Marshaler var _ time.Time var _ xmlutil.XMLNode var _ xml.Attr var _ = ioutil.Discard var _ = util.Trim("") var _ = url.Values{} var _ = io.EOF var _ = aws.String var _ = fmt.Println var _ = reflect.Value{} func init() { protocol.RandReader = &awstesting.ZeroReader{} } // OutputService1ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService1ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService1ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService1ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService1ProtocolTest client from just a session. // svc := outputservice1protocoltest.New(mySession) // // // Create a OutputService1ProtocolTest client with additional configuration // svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) return newOutputService1ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService1ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService1ProtocolTest { svc := &OutputService1ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice1protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService1ProtocolTest operation and runs any // custom request initialization. func (c *OutputService1ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService1TestCaseOperation1 = "OperationName" // OutputService1TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService1TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService1TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService1TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService1TestCaseOperation1Request method. // req, resp := client.OutputService1TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService1TestShapeOutputService1TestCaseOperation1Input{} } output = &OutputService1TestShapeOutputService1TestCaseOperation1Output{} req = c.newRequest(op, input, output) return } // OutputService1TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService1TestCaseOperation1 for usage and error information. func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (*OutputService1TestShapeOutputService1TestCaseOperation1Output, error) { req, out := c.OutputService1TestCaseOperation1Request(input) return out, req.Send() } // OutputService1TestCaseOperation1WithContext is the same as OutputService1TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService1TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1WithContext(ctx aws.Context, input *OutputService1TestShapeOutputService1TestCaseOperation1Input, opts ...request.Option) (*OutputService1TestShapeOutputService1TestCaseOperation1Output, error) { req, out := c.OutputService1TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService1TestShapeOutputService1TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService1TestShapeOutputService1TestCaseOperation1Output struct { _ struct{} `type:"structure"` Char *string `type:"character"` Double *float64 `type:"double"` FalseBool *bool `type:"boolean"` Float *float64 `type:"float"` Long *int64 `type:"long"` Num *int64 `type:"integer"` Str *string `type:"string"` TrueBool *bool `type:"boolean"` } // SetChar sets the Char field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Char = &v return s } // SetDouble sets the Double field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Double = &v return s } // SetFalseBool sets the FalseBool field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.FalseBool = &v return s } // SetFloat sets the Float field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Float = &v return s } // SetLong sets the Long field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Long = &v return s } // SetNum sets the Num field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Num = &v return s } // SetStr sets the Str field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.Str = &v return s } // SetTrueBool sets the TrueBool field's value. func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { s.TrueBool = &v return s } // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService2ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService2ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService2ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService2ProtocolTest client from just a session. // svc := outputservice2protocoltest.New(mySession) // // // Create a OutputService2ProtocolTest client with additional configuration // svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) return newOutputService2ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService2ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService2ProtocolTest { svc := &OutputService2ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice2protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService2ProtocolTest operation and runs any // custom request initialization. func (c *OutputService2ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService2TestCaseOperation1 = "OperationName" // OutputService2TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService2TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService2TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService2TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService2TestCaseOperation1Request method. // req, resp := client.OutputService2TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService2TestShapeOutputService2TestCaseOperation1Input{} } output = &OutputService2TestShapeOutputService2TestCaseOperation1Output{} req = c.newRequest(op, input, output) return } // OutputService2TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService2TestCaseOperation1 for usage and error information. func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (*OutputService2TestShapeOutputService2TestCaseOperation1Output, error) { req, out := c.OutputService2TestCaseOperation1Request(input) return out, req.Send() } // OutputService2TestCaseOperation1WithContext is the same as OutputService2TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService2TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1WithContext(ctx aws.Context, input *OutputService2TestShapeOutputService2TestCaseOperation1Input, opts ...request.Option) (*OutputService2TestShapeOutputService2TestCaseOperation1Output, error) { req, out := c.OutputService2TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService2TestShapeBlobContainer struct { _ struct{} `type:"structure"` // Foo is automatically base64 encoded/decoded by the SDK. Foo []byte `locationName:"foo" type:"blob"` } // SetFoo sets the Foo field's value. func (s *OutputService2TestShapeBlobContainer) SetFoo(v []byte) *OutputService2TestShapeBlobContainer { s.Foo = v return s } type OutputService2TestShapeOutputService2TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService2TestShapeOutputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` // BlobMember is automatically base64 encoded/decoded by the SDK. BlobMember []byte `type:"blob"` StructMember *OutputService2TestShapeBlobContainer `type:"structure"` } // SetBlobMember sets the BlobMember field's value. func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlobMember(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output { s.BlobMember = v return s } // SetStructMember sets the StructMember field's value. func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStructMember(v *OutputService2TestShapeBlobContainer) *OutputService2TestShapeOutputService2TestCaseOperation1Output { s.StructMember = v return s } // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService3ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService3ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService3ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService3ProtocolTest client from just a session. // svc := outputservice3protocoltest.New(mySession) // // // Create a OutputService3ProtocolTest client with additional configuration // svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) return newOutputService3ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService3ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService3ProtocolTest { svc := &OutputService3ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice3protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService3ProtocolTest operation and runs any // custom request initialization. func (c *OutputService3ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService3TestCaseOperation1 = "OperationName" // OutputService3TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService3TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService3TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService3TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService3TestCaseOperation1Request method. // req, resp := client.OutputService3TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService3TestShapeOutputService3TestCaseOperation1Input{} } output = &OutputService3TestShapeOutputService3TestCaseOperation1Output{} req = c.newRequest(op, input, output) return } // OutputService3TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService3TestCaseOperation1 for usage and error information. func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (*OutputService3TestShapeOutputService3TestCaseOperation1Output, error) { req, out := c.OutputService3TestCaseOperation1Request(input) return out, req.Send() } // OutputService3TestCaseOperation1WithContext is the same as OutputService3TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService3TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1WithContext(ctx aws.Context, input *OutputService3TestShapeOutputService3TestCaseOperation1Input, opts ...request.Option) (*OutputService3TestShapeOutputService3TestCaseOperation1Output, error) { req, out := c.OutputService3TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService3TestShapeOutputService3TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService3TestShapeOutputService3TestCaseOperation1Output struct { _ struct{} `type:"structure"` StructMember *OutputService3TestShapeTimeContainer `type:"structure"` TimeMember *time.Time `type:"timestamp" timestampFormat:"unix"` } // SetStructMember sets the StructMember field's value. func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetStructMember(v *OutputService3TestShapeTimeContainer) *OutputService3TestShapeOutputService3TestCaseOperation1Output { s.StructMember = v return s } // SetTimeMember sets the TimeMember field's value. func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetTimeMember(v time.Time) *OutputService3TestShapeOutputService3TestCaseOperation1Output { s.TimeMember = &v return s } type OutputService3TestShapeTimeContainer struct { _ struct{} `type:"structure"` Foo *time.Time `locationName:"foo" type:"timestamp" timestampFormat:"unix"` } // SetFoo sets the Foo field's value. func (s *OutputService3TestShapeTimeContainer) SetFoo(v time.Time) *OutputService3TestShapeTimeContainer { s.Foo = &v return s } // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService4ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService4ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService4ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService4ProtocolTest client from just a session. // svc := outputservice4protocoltest.New(mySession) // // // Create a OutputService4ProtocolTest client with additional configuration // svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) return newOutputService4ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService4ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService4ProtocolTest { svc := &OutputService4ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice4protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService4ProtocolTest operation and runs any // custom request initialization. func (c *OutputService4ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService4TestCaseOperation1 = "OperationName" // OutputService4TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService4TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService4TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService4TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService4TestCaseOperation1Request method. // req, resp := client.OutputService4TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService4TestShapeOutputService4TestCaseOperation1Input{} } output = &OutputService4TestShapeOutputService4TestCaseOperation2Output{} req = c.newRequest(op, input, output) return } // OutputService4TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService4TestCaseOperation1 for usage and error information. func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (*OutputService4TestShapeOutputService4TestCaseOperation2Output, error) { req, out := c.OutputService4TestCaseOperation1Request(input) return out, req.Send() } // OutputService4TestCaseOperation1WithContext is the same as OutputService4TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService4TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1WithContext(ctx aws.Context, input *OutputService4TestShapeOutputService4TestCaseOperation1Input, opts ...request.Option) (*OutputService4TestShapeOutputService4TestCaseOperation2Output, error) { req, out := c.OutputService4TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opOutputService4TestCaseOperation2 = "OperationName" // OutputService4TestCaseOperation2Request generates a "aws/request.Request" representing the // client's request for the OutputService4TestCaseOperation2 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService4TestCaseOperation2 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService4TestCaseOperation2 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService4TestCaseOperation2Request method. // req, resp := client.OutputService4TestCaseOperation2Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation2Request(input *OutputService4TestShapeOutputService4TestCaseOperation2Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation2, HTTPPath: "/", } if input == nil { input = &OutputService4TestShapeOutputService4TestCaseOperation2Input{} } output = &OutputService4TestShapeOutputService4TestCaseOperation2Output{} req = c.newRequest(op, input, output) return } // OutputService4TestCaseOperation2 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService4TestCaseOperation2 for usage and error information. func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation2(input *OutputService4TestShapeOutputService4TestCaseOperation2Input) (*OutputService4TestShapeOutputService4TestCaseOperation2Output, error) { req, out := c.OutputService4TestCaseOperation2Request(input) return out, req.Send() } // OutputService4TestCaseOperation2WithContext is the same as OutputService4TestCaseOperation2 with the addition of // the ability to pass a context and additional request options. // // See OutputService4TestCaseOperation2 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation2WithContext(ctx aws.Context, input *OutputService4TestShapeOutputService4TestCaseOperation2Input, opts ...request.Option) (*OutputService4TestShapeOutputService4TestCaseOperation2Output, error) { req, out := c.OutputService4TestCaseOperation2Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService4TestShapeOutputService4TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService4TestShapeOutputService4TestCaseOperation2Input struct { _ struct{} `type:"structure"` } type OutputService4TestShapeOutputService4TestCaseOperation2Output struct { _ struct{} `type:"structure"` ListMember []*string `type:"list"` ListMemberMap []map[string]*string `type:"list"` ListMemberStruct []*OutputService4TestShapeStructType `type:"list"` } // SetListMember sets the ListMember field's value. func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMember(v []*string) *OutputService4TestShapeOutputService4TestCaseOperation2Output { s.ListMember = v return s } // SetListMemberMap sets the ListMemberMap field's value. func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMemberMap(v []map[string]*string) *OutputService4TestShapeOutputService4TestCaseOperation2Output { s.ListMemberMap = v return s } // SetListMemberStruct sets the ListMemberStruct field's value. func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMemberStruct(v []*OutputService4TestShapeStructType) *OutputService4TestShapeOutputService4TestCaseOperation2Output { s.ListMemberStruct = v return s } type OutputService4TestShapeStructType struct { _ struct{} `type:"structure"` } // OutputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService5ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService5ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService5ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService5ProtocolTest client from just a session. // svc := outputservice5protocoltest.New(mySession) // // // Create a OutputService5ProtocolTest client with additional configuration // svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) return newOutputService5ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService5ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService5ProtocolTest { svc := &OutputService5ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice5protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService5ProtocolTest operation and runs any // custom request initialization. func (c *OutputService5ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService5TestCaseOperation1 = "OperationName" // OutputService5TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService5TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService5TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService5TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService5TestCaseOperation1Request method. // req, resp := client.OutputService5TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService5TestShapeOutputService5TestCaseOperation1Input{} } output = &OutputService5TestShapeOutputService5TestCaseOperation1Output{} req = c.newRequest(op, input, output) return } // OutputService5TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService5TestCaseOperation1 for usage and error information. func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (*OutputService5TestShapeOutputService5TestCaseOperation1Output, error) { req, out := c.OutputService5TestCaseOperation1Request(input) return out, req.Send() } // OutputService5TestCaseOperation1WithContext is the same as OutputService5TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService5TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1WithContext(ctx aws.Context, input *OutputService5TestShapeOutputService5TestCaseOperation1Input, opts ...request.Option) (*OutputService5TestShapeOutputService5TestCaseOperation1Output, error) { req, out := c.OutputService5TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService5TestShapeOutputService5TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService5TestShapeOutputService5TestCaseOperation1Output struct { _ struct{} `type:"structure"` MapMember map[string][]*int64 `type:"map"` } // SetMapMember sets the MapMember field's value. func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetMapMember(v map[string][]*int64) *OutputService5TestShapeOutputService5TestCaseOperation1Output { s.MapMember = v return s } // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. // // OutputService6ProtocolTest methods are safe to use concurrently. It is not safe to // modify mutate any of the struct's properties though. type OutputService6ProtocolTest struct { *client.Client } // New creates a new instance of the OutputService6ProtocolTest client with a session. // If additional configuration is needed for the client instance use the optional // aws.Config parameter to add your extra config. // // Example: // // Create a OutputService6ProtocolTest client from just a session. // svc := outputservice6protocoltest.New(mySession) // // // Create a OutputService6ProtocolTest client with additional configuration // svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) return newOutputService6ProtocolTestClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName) } // newClient creates, initializes and returns a new service client instance. func newOutputService6ProtocolTestClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *OutputService6ProtocolTest { svc := &OutputService6ProtocolTest{ Client: client.New( cfg, metadata.ClientInfo{ ServiceName: "outputservice6protocoltest", SigningName: signingName, SigningRegion: signingRegion, Endpoint: endpoint, APIVersion: "", }, handlers, ), } // Handlers svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler) svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler) svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler) svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler) return svc } // newRequest creates a new request for a OutputService6ProtocolTest operation and runs any // custom request initialization. func (c *OutputService6ProtocolTest) newRequest(op *request.Operation, params, data interface{}) *request.Request { req := c.NewRequest(op, params, data) return req } const opOutputService6TestCaseOperation1 = "OperationName" // OutputService6TestCaseOperation1Request generates a "aws/request.Request" representing the // client's request for the OutputService6TestCaseOperation1 operation. The "output" return // value can be used to capture response data after the request's "Send" method // is called. // // See OutputService6TestCaseOperation1 for usage and error information. // // Creating a request object using this method should be used when you want to inject // custom logic into the request's lifecycle using a custom handler, or if you want to // access properties on the request object before or after sending the request. If // you just want the service response, call the OutputService6TestCaseOperation1 method directly // instead. // // Note: You must call the "Send" method on the returned request object in order // to execute the request. // // // Example sending a request using the OutputService6TestCaseOperation1Request method. // req, resp := client.OutputService6TestCaseOperation1Request(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, HTTPPath: "/", } if input == nil { input = &OutputService6TestShapeOutputService6TestCaseOperation1Input{} } output = &OutputService6TestShapeOutputService6TestCaseOperation1Output{} req = c.newRequest(op, input, output) return } // OutputService6TestCaseOperation1 API operation for . // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for 's // API operation OutputService6TestCaseOperation1 for usage and error information. func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (*OutputService6TestShapeOutputService6TestCaseOperation1Output, error) { req, out := c.OutputService6TestCaseOperation1Request(input) return out, req.Send() } // OutputService6TestCaseOperation1WithContext is the same as OutputService6TestCaseOperation1 with the addition of // the ability to pass a context and additional request options. // // See OutputService6TestCaseOperation1 for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1WithContext(ctx aws.Context, input *OutputService6TestShapeOutputService6TestCaseOperation1Input, opts ...request.Option) (*OutputService6TestShapeOutputService6TestCaseOperation1Output, error) { req, out := c.OutputService6TestCaseOperation1Request(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type OutputService6TestShapeOutputService6TestCaseOperation1Input struct { _ struct{} `type:"structure"` } type OutputService6TestShapeOutputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` StrType *string `type:"string"` } // SetStrType sets the StrType field's value. func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetStrType(v string) *OutputService6TestShapeOutputService6TestCaseOperation1Output { s.StrType = &v return s } // // Tests begin here // func TestOutputService1ProtocolTestScalarMembersCase1(t *testing.T) { svc := NewOutputService1ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"Str\": \"myname\", \"Num\": 123, \"FalseBool\": false, \"TrueBool\": true, \"Float\": 1.2, \"Double\": 1.3, \"Long\": 200, \"Char\": \"a\"}")) req, out := svc.OutputService1TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, "a", *out.Char) assert.Equal(t, 1.3, *out.Double) assert.Equal(t, false, *out.FalseBool) assert.Equal(t, 1.2, *out.Float) assert.Equal(t, int64(200), *out.Long) assert.Equal(t, int64(123), *out.Num) assert.Equal(t, "myname", *out.Str) assert.Equal(t, true, *out.TrueBool) } func TestOutputService2ProtocolTestBlobMembersCase1(t *testing.T) { svc := NewOutputService2ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"BlobMember\": \"aGkh\", \"StructMember\": {\"foo\": \"dGhlcmUh\"}}")) req, out := svc.OutputService2TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, "hi!", string(out.BlobMember)) assert.Equal(t, "there!", string(out.StructMember.Foo)) } func TestOutputService3ProtocolTestTimestampMembersCase1(t *testing.T) { svc := NewOutputService3ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"TimeMember\": 1398796238, \"StructMember\": {\"foo\": 1398796238}}")) req, out := svc.OutputService3TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, time.Unix(1.398796238e+09, 0).UTC().String(), out.StructMember.Foo.String()) assert.Equal(t, time.Unix(1.398796238e+09, 0).UTC().String(), out.TimeMember.String()) } func TestOutputService4ProtocolTestListsCase1(t *testing.T) { svc := NewOutputService4ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"ListMember\": [\"a\", \"b\"]}")) req, out := svc.OutputService4TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, "a", *out.ListMember[0]) assert.Equal(t, "b", *out.ListMember[1]) } func TestOutputService4ProtocolTestListsCase2(t *testing.T) { svc := NewOutputService4ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"ListMember\": [\"a\", null], \"ListMemberMap\": [{}, null, null, {}], \"ListMemberStruct\": [{}, null, null, {}]}")) req, out := svc.OutputService4TestCaseOperation2Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, "a", *out.ListMember[0]) assert.Nil(t, out.ListMember[1]) assert.Nil(t, out.ListMemberMap[1]) assert.Nil(t, out.ListMemberMap[2]) assert.Nil(t, out.ListMemberStruct[1]) assert.Nil(t, out.ListMemberStruct[2]) } func TestOutputService5ProtocolTestMapsCase1(t *testing.T) { svc := NewOutputService5ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"MapMember\": {\"a\": [1, 2], \"b\": [3, 4]}}")) req, out := svc.OutputService5TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used assert.Equal(t, int64(1), *out.MapMember["a"][0]) assert.Equal(t, int64(2), *out.MapMember["a"][1]) assert.Equal(t, int64(3), *out.MapMember["b"][0]) assert.Equal(t, int64(4), *out.MapMember["b"][1]) } func TestOutputService6ProtocolTestIgnoresExtraDataCase1(t *testing.T) { svc := NewOutputService6ProtocolTest(unit.Session, &aws.Config{Endpoint: aws.String("path_to_url")}) buf := bytes.NewReader([]byte("{\"foo\": \"bar\"}")) req, out := svc.OutputService6TestCaseOperation1Request(nil) req.HTTPResponse = &http.Response{StatusCode: 200, Body: ioutil.NopCloser(buf), Header: http.Header{}} // set headers // unmarshal response jsonrpc.UnmarshalMeta(req) jsonrpc.Unmarshal(req) assert.NoError(t, req.Error) // assert response assert.NotNil(t, out) // ensure out variable is used } ```
The Emmanuel Cathedral or simply Cathedral of Durban, is the name given to the Catholic Church which is located at 48 Cathedral Road in the heart of the city of Durban in KwaZulu-Natal in South Africa. It is a religious building that follows the Roman or Latin rite and functions as the headquarters of the Metropolitan Archdiocese of Durban (Archidioecesis Durbaniana) which was created in 1951 with the bull "Suprema Nobis" of Pope Pius XII. It was built to replace an old church dedicated to St. Joseph who had been in use since 1881. The first stone was laid by Bishop Charles Jolivet in January 1902 and the temple was officially dedicated in November 1904. Some parts of the old church were joined to the Emmanuel Cathedral. Beside the cathedral is the Juma Masjid Mosque. Across the road from the cathedral is the Victoria Street Market. See also Roman Catholicism in South Africa Roman Catholic Archdiocese of Durban References Emma Churches in Durban Roman Catholic churches completed in 1904 20th-century Roman Catholic church buildings in South Africa
```jsx import React from 'react'; import {mount, configure} from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import {wait} from '../../../utils'; const TagModal = require('../../../../../app/components/Settings/scheduler/modals/tags-modal/tags-modal.jsx').TagsModal; const ColorPicker = require('../../../../../app/components/Settings/scheduler/pickers/color-picker'); const mockTags = [{id: 'id', name: 'Tag 1', color: '#ffffff'}]; const mockStore = { getState: () => {} }; describe('Tag Modal Tests', () => { beforeAll(() => { configure({adapter: new Adapter()}); // workaround `Error: Not implemented: HTMLCanvasElement.prototype.getContext` HTMLCanvasElement.prototype.getContext = function() { return null; }; }); it('should allow you to create tags', async () => { const createTag = jest.fn(v => Promise.resolve(v)); const component = mount(<TagModal store={mockStore} open={true} createTag={createTag} />); component.find('form').simulate('submit', { target: [ { value: 'Tag name' } ] }); await wait(); expect(createTag).toHaveBeenCalledWith({ name: 'Tag name', color: component.state('color') }); }); it('should allow tags to be deleted', async () => { const deleteTag = jest.fn(v => Promise.resolve(v)); const component = mount(<TagModal store={mockStore} open={true} tags={mockTags} deleteTag={deleteTag} />); component.find('.delete').simulate('click'); component.update(); component.find('.delete-button').simulate('click'); await wait(); expect(deleteTag).toHaveBeenCalledWith(mockTags[0].id); }); it('should allow tags to be edited', () => { const updateTag = jest.fn(v => Promise.resolve(v)); const component = mount(<TagModal store={mockStore} open={true} tags={mockTags} updateTag={updateTag} />); component .find('.color-box') .at(1) .simulate('click'); component.update(); component .find('input') .at(1) .simulate('change', { target: { value: '#fff' } }); return component .find(ColorPicker) .at(1) .instance() .props.onClickAway() .then(() => { expect(updateTag).toHaveBeenCalledWith(mockTags[0].id, {color: '#ffffff'}); }); }); it('should set an error message on edit failures', () => { const updateTag = jest.fn(() => Promise.reject({error: {message: 'Mock error'}})); const createTag = jest.fn(() => Promise.reject({error: {message: 'Mock create error'}})); const component = mount( <TagModal store={mockStore} open={true} tags={mockTags} createTag={createTag} updateTag={updateTag} /> ); component .find('.color-box') .at(1) .simulate('click'); component.update(); component .find('input') .at(1) .simulate('change', { target: { value: '#fff' } }); return component .find(ColorPicker) .at(1) .instance() .props.onClickAway() .then(() => expect(component.state('error')).toBe('Mock error')) .then(() => component.instance().handleCreate({ preventDefault: () => {}, target: [{value: 'value'}] }) ) .then(() => { expect(component.state('error')).toBe('Mock create error'); }); }); }); ```
```smalltalk using Aurora.Profiles.Generic.GSI.Nodes; using Aurora.Profiles.Slime_Rancher.GSI.Nodes; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aurora.Profiles.Slime_Rancher.GSI { public class GameState_Slime_Rancher : GameState { public ProviderNode Provider => NodeFor<ProviderNode>("provider"); public GameStateNode GameState => NodeFor<GameStateNode>("game_state"); public PlayerNode Player => NodeFor<PlayerNode>("player"); public VacPackNode VacPack => NodeFor<VacPackNode>("vac_pack"); public MailNode Mail => NodeFor<MailNode>("mail"); public WorldNode World => NodeFor<WorldNode>("world"); public LocationNode Location => NodeFor<LocationNode>("location"); public GameState_Slime_Rancher() : base() { } /// <summary> /// Creates a GameState_Slime_Rancher instance based on the passed JSON data. /// </summary> /// <param name="JSONstring"></param> public GameState_Slime_Rancher(string JSONstring) : base(JSONstring) { } } } ```
Aravu is a village in Räpina Parish, Põlva County in eastern Estonia. Writer and psychiatrist Vaino Vahing (1940–2008) was born in Aravu. References Villages in Põlva County
```xml import { window, workspace, QuickPickItem, Uri, ExtensionContext } from 'vscode'; import * as path from 'path'; import * as os from 'os'; import * as cp from 'child_process'; import * as adapter from './novsc/adapter'; import * as async from './novsc/async'; import { getExtensionConfig } from './main'; type ProcessItem = QuickPickItem & { pid: number }; export async function pickProcess(context: ExtensionContext, allUsers: boolean): Promise<string> { return new Promise<string>(async (resolve) => { let showingAll = { iconPath: Uri.file(context.extensionPath + '/images/users.svg'), tooltip: 'Showing all processes' }; let showingMy = { iconPath: Uri.file(context.extensionPath + '/images/user.svg'), tooltip: 'Showing own processes' }; let qpick = window.createQuickPick<ProcessItem>(); qpick.title = 'Select a process:'; qpick.buttons = [allUsers ? showingAll : showingMy]; qpick.matchOnDetail = true; qpick.matchOnDescription = true; qpick.ignoreFocusOut = true; qpick.onDidAccept(() => { if (qpick.selectedItems && qpick.selectedItems[0]) resolve(qpick.selectedItems[0].pid.toString()) else resolve(undefined); qpick.dispose(); }); qpick.onDidTriggerButton(async () => { allUsers = !allUsers; qpick.buttons = [allUsers ? showingAll : showingMy]; qpick.busy = true; qpick.items = await getProcessList(context, allUsers); qpick.busy = false; }); qpick.onDidHide(() => { resolve(undefined); qpick.dispose(); }); qpick.busy = true; qpick.show(); qpick.items = await getProcessList(context, allUsers); qpick.busy = false; }); } async function getProcessList(context: ExtensionContext, allUsers: boolean): Promise<ProcessItem[]> { let lldb = os.platform() != 'win32' ? 'lldb' : 'lldb.exe'; let lldbPath = path.join(context.extensionPath, 'lldb', 'bin', lldb); if (!await async.fs.exists(lldbPath)) { lldbPath = lldb; } let folder = workspace.workspaceFolders?.[0]; let config = getExtensionConfig(folder?.uri); let env = adapter.getAdapterEnv(config.get('adapterEnv', {})); let lldbCommand = 'platform process list --show-args'; if (allUsers) lldbCommand += ' --all-users'; let command = `${lldbPath} --batch --no-lldbinit --one-line "${lldbCommand}"`; let stdout = await new Promise<string>((resolve, reject) => { cp.exec(command, { env: env }, (error, stdout) => { if (error) reject(error); else resolve(stdout) }) }); // A typical output will look like this: // // 224 matching processes were found on "host" // PID PARENT USER TRIPLE ARGUMENTS // ====== ====== ========== ============================== ============================ // 9756 1 user x86_64-pc-linux-gnu /lib/systemd/systemd --user // ... let lines = stdout.split('\n'); for (let i = 0; i < lines.length; ++i) { let argsOffset = lines[i].indexOf('ARGUMENTS') if (argsOffset > 0) { return parseProcessEntries(lines.slice(i + 2), argsOffset); } } return []; } function parseProcessEntries(lines: string[], argsOffset: number): ProcessItem[] { let items = []; for (let line of lines) { // Process items always start with two integers (pid and ppid); otherwise, we assume that the line // is a continuation of the previous process's argument list caused by an embedded newline character. let matches = line.match(/^(\d+)\s+(\d+)\s+/); if (matches != null) { let pid = parseInt(matches[1]); let args = line.substring(argsOffset).trim(); items.push({ label: `${pid}`, description: args, pid: pid }); continue; } // Continuation items[items.length - 1].description += '\n' + line; } return items; } ```
Germán Amed Valdez Nate Rosario (born November 20, 1995) is a Dominican professional baseball shortstop for the Los Angeles Dodgers of Major League Baseball (MLB). He made his MLB debut with the New York Mets in 2017 and has also played for the Cleveland Guardians. Career New York Mets Rosario signed with the New York Mets as an international free agent in July 2012 for $1.75 million. It was the largest international signing bonus given by the Mets. Rosario made his professional debut in 2013 with the Kingsport Mets. He started 2014 with the Brooklyn Cyclones and was promoted to the Savannah Sand Gnats in September. Rosario was promoted to the Binghamton Mets on June 23, 2016. He was named to the 2016 MLB All Star Futures Game and went 1-for-2 in the game. Rosario ended 2016 with a .324 batting average, 5 home runs, and 71 RBIs. The Mets added Rosario to their 40-man roster after the 2016 season. Rosario was assigned to the Las Vegas 51s of the Class AAA Pacific Coast League to start the 2017 season. In April 2017, Rosario was declared the top prospect in baseball by writer Keith Law. Rosario was named to the Triple-A All-Star Game and the All-Star Futures Game for 2017. Rosario earned Pacific Coast League All-Star honors as well as being awarded the 2017 PCL Rookie of the Year. Rosario made his MLB debut on August 1, 2017 against the Colorado Rockies at Coors Field. In that game, Rosario recorded his first career Major League hit off of Scott Oberg. On August 11, 2017, Rosario hit his first career Major League home run off of Héctor Neris. He had his first career multi-home run game on May 20, 2018, hitting two home runs against the Arizona Diamondbacks. In 2019, he batted .287/.323/.432 with 15 home runs and 72 RBIs, and while he stole 19 bases he tied for the major league lead in caught stolen with 10. He had the lowest pull percentage of all NL batters (30.4%). On defense in 2019, he had -10 Defensive Runs Saved (DRS), the worst in the National League among qualifying shortstops. However, Rosario led the National League in singles. On August 28, 2020, Rosario hit a walk-off home run against the New York Yankees at Yankee Stadium. The Mets were the home team because they were making up for a previously cancelled game. It was the first time a visiting player had hit a walk-off home run since Ed McKean hit one for the St. Louis Perfectos against the Cleveland Spiders in 1899. During the 2020 season, Rosario hit .252/.272/.371 with 4 home runs and 15 RBIs in 46 games. Cleveland Indians / Guardians On January 7, 2021, the Mets traded Rosario, Andrés Giménez, Josh Wolf, and Isaiah Greene to the Cleveland Indians for Francisco Lindor and Carlos Carrasco. In March 2021, the Indians began transitioning Rosario into a role as an outfielder with the help of coach Kyle Hudson, implicitly giving the starting shortstop job to Giménez. During Rosario's first three innings in the outfield during a spring training game, he committed three errors which led to eight unearned runs being scored. Rosario's only prior experience in the outfield was three innings spent in left field with the Mets in 2019. Giménez was demoted to the minors on May 18. Around that same time, Rosario became the team's regular starting shortstop. On August 31 against the Kansas City Royals, Rosario went 5-for-5 with a career-high 5 RBIs. It included two home runs, one being the first inside-the-park home run in his career. Rosario finished the 2021 season batting .282/.321/.409 with 11 home runs, 57 RBIs, 77 runs and 13 stolen bases in 141 games. In 2022 he led the major leagues with nine triples, and had the lowest walk percentage among major league batters (3.7%), while batting .283/.312/.403 with 86 runs, 11 home runs, and 18 steals in 22 attempts. He led the major leagues in infield hits, with 35. Los Angeles Dodgers On July 26, 2023, the Guardians traded Rosario to the Los Angeles Dodgers for Noah Syndergaard and cash considerations. With the Dodgers, he played primarily second base, for the first time in the majors and was used as a platoon player against left handed pitchers with the Dodgers, and played in 48 games, hitting .256. International career On October 29, 2018, he was selected to play for the MLB All-Stars during the 2018 MLB Japan All-Star Series. References External links 1995 births Living people Baseball players from Santo Domingo Binghamton Mets players Brooklyn Cyclones players Cleveland Guardians players Cleveland Indians players Dominican Republic expatriate baseball players in the United States Kingsport Mets players Las Vegas 51s players Los Angeles Dodgers players Major League Baseball players from the Dominican Republic Major League Baseball shortstops New York Mets players Savannah Sand Gnats players St. Lucie Mets players
```python from unittest import TestCase import simplejson as json # from path_to_url JSON = r''' { "JSON Test Pattern pass3": { "The outermost value": "must be an object or array.", "In this test": "It is an object." } } ''' class TestPass3(TestCase): def test_parse(self): # test in/out equivalence and parsing res = json.loads(JSON) out = json.dumps(res) self.assertEqual(res, json.loads(out)) ```
```c * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * sell copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ #include "uv.h" #include "task.h" static int close_cb_called = 0; static int repeat_1_cb_called = 0; static int repeat_2_cb_called = 0; static int repeat_2_cb_allowed = 0; static uv_timer_t dummy, repeat_1, repeat_2; static uint64_t start_time; static void close_cb(uv_handle_t* handle) { ASSERT(handle != NULL); close_cb_called++; } static void repeat_1_cb(uv_timer_t* handle) { int r; ASSERT(handle == &repeat_1); ASSERT(uv_timer_get_repeat((uv_timer_t*)handle) == 50); fprintf(stderr, "repeat_1_cb called after %ld ms\n", (long int)(uv_now(uv_default_loop()) - start_time)); fflush(stderr); repeat_1_cb_called++; r = uv_timer_again(&repeat_2); ASSERT(r == 0); if (repeat_1_cb_called == 10) { uv_close((uv_handle_t*)handle, close_cb); /* We're not calling uv_timer_again on repeat_2 any more, so after this * timer_2_cb is expected. */ repeat_2_cb_allowed = 1; return; } } static void repeat_2_cb(uv_timer_t* handle) { ASSERT(handle == &repeat_2); ASSERT(repeat_2_cb_allowed); fprintf(stderr, "repeat_2_cb called after %ld ms\n", (long int)(uv_now(uv_default_loop()) - start_time)); fflush(stderr); repeat_2_cb_called++; if (uv_timer_get_repeat(&repeat_2) == 0) { ASSERT(0 == uv_is_active((uv_handle_t*) handle)); uv_close((uv_handle_t*)handle, close_cb); return; } fprintf(stderr, "uv_timer_get_repeat %ld ms\n", (long int)uv_timer_get_repeat(&repeat_2)); fflush(stderr); ASSERT(uv_timer_get_repeat(&repeat_2) == 100); /* This shouldn't take effect immediately. */ uv_timer_set_repeat(&repeat_2, 0); } TEST_IMPL(timer_again) { int r; start_time = uv_now(uv_default_loop()); ASSERT(0 < start_time); /* Verify that it is not possible to uv_timer_again a never-started timer. */ r = uv_timer_init(uv_default_loop(), &dummy); ASSERT(r == 0); r = uv_timer_again(&dummy); ASSERT(r == UV_EINVAL); uv_unref((uv_handle_t*)&dummy); /* Start timer repeat_1. */ r = uv_timer_init(uv_default_loop(), &repeat_1); ASSERT(r == 0); r = uv_timer_start(&repeat_1, repeat_1_cb, 50, 0); ASSERT(r == 0); ASSERT(uv_timer_get_repeat(&repeat_1) == 0); /* Actually make repeat_1 repeating. */ uv_timer_set_repeat(&repeat_1, 50); ASSERT(uv_timer_get_repeat(&repeat_1) == 50); /* * Start another repeating timer. It'll be again()ed by the repeat_1 so * it should not time out until repeat_1 stops. */ r = uv_timer_init(uv_default_loop(), &repeat_2); ASSERT(r == 0); r = uv_timer_start(&repeat_2, repeat_2_cb, 100, 100); ASSERT(r == 0); ASSERT(uv_timer_get_repeat(&repeat_2) == 100); uv_run(uv_default_loop(), UV_RUN_DEFAULT); ASSERT(repeat_1_cb_called == 10); ASSERT(repeat_2_cb_called == 2); ASSERT(close_cb_called == 2); fprintf(stderr, "Test took %ld ms (expected ~700 ms)\n", (long int)(uv_now(uv_default_loop()) - start_time)); fflush(stderr); MAKE_VALGRIND_HAPPY(); return 0; } ```
```objective-c /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #import "ZXRSSDataCharacter.h" @implementation ZXRSSDataCharacter - (id)initWithValue:(int)value checksumPortion:(int)checksumPortion { if (self = [super init]) { _value = value; _checksumPortion = checksumPortion; } return self; } - (NSString *)description { return [NSString stringWithFormat:@"%d(%d)", self.value, self.checksumPortion]; } - (BOOL)isEqual:(id)object { if (![object isKindOfClass:[ZXRSSDataCharacter class]]) { return NO; } ZXRSSDataCharacter *that = (ZXRSSDataCharacter *)object; return (self.value == that.value) && (self.checksumPortion == that.checksumPortion); } - (NSUInteger)hash { return self.value ^ self.checksumPortion; } @end ```
```python import pytest @pytest.mark.bashcomp(cmd="xdg-settings") class TestXdgSettings: @pytest.mark.complete("xdg-settings ") def test_1(self, completion): assert completion @pytest.mark.complete("xdg-settings --", require_cmd=True) def test_2(self, completion): assert completion @pytest.mark.complete("xdg-settings get ", require_cmd=True) def test_3(self, completion): assert completion ```
```javascript var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __param = (this && this.__param) || function (paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } }; import { Inject, Injectable, Optional } from '@angular/core'; import { HttpHeaders, HttpParams, HttpResponse, HttpXhrBackend, XhrFactory } from '@angular/common/http'; import { map } from 'rxjs/operators'; import { STATUS } from './http-status-codes'; import { InMemoryBackendConfig, InMemoryBackendConfigArgs, InMemoryDbService } from './interfaces'; import { BackendService } from './backend.service'; /** * For Angular `HttpClient` simulate the behavior of a RESTy web api * backed by the simple in-memory data store provided by the injected `InMemoryDbService`. * Conforms mostly to behavior described here: * path_to_url * * ### Usage * * Create an in-memory data store class that implements `InMemoryDbService`. * Call `config` static method with this service class and optional configuration object: * ``` * // other imports * import { HttpClientModule } from '@angular/common/http'; * import { HttpClientInMemoryWebApiModule } from 'angular-in-memory-web-api'; * * import { InMemHeroService, inMemConfig } from '../api/in-memory-hero.service'; * @NgModule({ * imports: [ * HttpModule, * HttpClientInMemoryWebApiModule.forRoot(InMemHeroService, inMemConfig), * ... * ], * ... * }) * export class AppModule { ... } * ``` */ var HttpClientBackendService = /** @class */ (function (_super) { __extends(HttpClientBackendService, _super); function HttpClientBackendService(inMemDbService, config, xhrFactory) { var _this = _super.call(this, inMemDbService, config) || this; _this.xhrFactory = xhrFactory; return _this; } HttpClientBackendService.prototype.handle = function (req) { try { return this.handleRequest(req); } catch (error) { var err = error.message || error; var resOptions_1 = this.createErrorResponseOptions(req.url, STATUS.INTERNAL_SERVER_ERROR, "" + err); return this.createResponse$(function () { return resOptions_1; }); } }; //// protected overrides ///// HttpClientBackendService.prototype.getJsonBody = function (req) { return req.body; }; HttpClientBackendService.prototype.getRequestMethod = function (req) { return (req.method || 'get').toLowerCase(); }; HttpClientBackendService.prototype.createHeaders = function (headers) { return new HttpHeaders(headers); }; HttpClientBackendService.prototype.createQueryMap = function (search) { var map = new Map(); if (search) { var params_1 = new HttpParams({ fromString: search }); params_1.keys().forEach(function (p) { return map.set(p, params_1.getAll(p)); }); } return map; }; HttpClientBackendService.prototype.createResponse$fromResponseOptions$ = function (resOptions$) { return resOptions$.pipe(map(function (opts) { return new HttpResponse(opts); })); }; HttpClientBackendService.prototype.createPassThruBackend = function () { try { return new HttpXhrBackend(this.xhrFactory); } catch (ex) { ex.message = 'Cannot create passThru404 backend; ' + (ex.message || ''); throw ex; } }; HttpClientBackendService = __decorate([ Injectable(), __param(1, Inject(InMemoryBackendConfig)), __param(1, Optional()), __metadata("design:paramtypes", [InMemoryDbService, InMemoryBackendConfigArgs, XhrFactory]) ], HttpClientBackendService); return HttpClientBackendService; }(BackendService)); export { HttpClientBackendService }; //# sourceMappingURL=http-client-backend.service.js.map ```
```objective-c // // TLGroup+ChatModel.m // TLChat // // Created by on 16/5/6. // #import "TLGroup+ChatModel.h" @implementation TLGroup (ChatModel) - (NSString *)chat_userID { return self.groupID; } - (NSString *)chat_username { return self.groupName; } - (NSString *)chat_avatarURL { return nil; } - (NSString *)chat_avatarPath { return self.groupAvatarPath; } - (NSInteger)chat_userType { return TLChatUserTypeGroup; } - (id)groupMemberByID:(NSString *)userID { return [self memberByUserID:userID]; } - (NSArray *)groupMembers { return self.users; } @end ```
Ogallala is a city in and the county seat of Keith County, Nebraska, United States. The population was 4,737 at the 2010 census. In the days of the Nebraska Territory, the city was a stop on the Pony Express and later along the transcontinental railroad. The Ogallala Formation that carries the Ogallala Aquifer was named after the city. History Ogallala first gained fame as a terminus for cattle drives that traveled from Texas to the Union Pacific railhead located there. These trails are known as the Western or Great Western trails. The Union Pacific Railroad reached Ogallala on May 24, 1867. The city itself was not laid out until 1875 and not incorporated until 1884 The town's name comes from the Oglala Sioux tribe. Geography According to the United States Census Bureau, the city has a total area of , of which is land and is water. Ogallala is in the US Mountain Time Zone (UTC−7/-6). Ogallala is close to Lake McConaughy, a large man-made lake and a state recreation area with sandy beaches, boating and swimming. The South Platte River runs through Ogallala. Climate Ogallala has a dry humid continental climate (Köppen Dfa), bordering on cold semi-arid with an annual average precipitation of . Winters are cold, while summers are hot and often stormy. Precipitation is greatest in the late spring and summer, with winter being the driest part of the year. Demographics 2010 census As of the census of 2010, there were 4,737 people, 2,100 households, and 1,298 families living in the city. The population density was . There were 2,397 housing units at an average density of . The racial makeup of the city was 94.6% White, 0.2% African American, 0.6% Native American, 0.4% Asian, 2.2% from other races, and 2.0% from two or more races. Hispanic or Latino of any race were 7.5% of the population. There were 2,100 households, of which 27.5% had children under the age of 18 living with them, 48.0% were married couples living together, 9.6% had a female householder with no husband present, 4.2% had a male householder with no wife present, and 38.2% were non-families. 34.1% of all households were made up of individuals, and 14.6% had someone living alone who was 65 years of age or older. The average household size was 2.23 and the average family size was 2.85. The median age in the city was 43.7 years. 23.6% of residents were under the age of 18; 6.8% were between the ages of 18 and 24; 21.4% were from 25 to 44; 28.3% were from 45 to 64; and 20.1% were 65 years of age or older. The gender makeup of the city was 48.8% male and 51.2% female. 2000 census As of the census of 2000, there were 4,930 people, 2,052 households, and 1,339 families living in the city. The population density was . There were 2,314 housing units at an average density of . The racial makeup of the city was 96.45% White, 0.02% African American, 0.87% Native American, 0.22% Asian, 1.68% from other races, and 0.75% from two or more races. Hispanic or Latino of any race were 4.79% of the population. There were 2,052 households, out of which 31.5% had children under the age of 18 living with them, 53.0% were married couples living together, 9.5% had a female householder with no husband present, and 34.7% were non-families. 30.7% of all households were made up of individuals, and 14.7% had someone living alone who was 65 years of age or older. The average household size was 2.35 and the average family size was 2.94. In the city, the population was spread out, with 26.5% under the age of 18, 6.7% from 18 to 24, 26.5% from 25 to 44, 21.9% from 45 to 64, and 18.4% who were 65 years of age or older. The median age was 39 years. For every 100 females, there were 89.0 males. For every 100 females age 18 and over, there were 85.0 males. As of 2000 the median income for a household in the city was $32,141, and the median income for a family was $39,688. Males had a median income of $27,436 versus $18,292 for females. The per capita income for the city was $17,674. About 5.0% of families and 7.8% of the population were below the poverty line, including 9.3% of those under age 18 and 9.1% of those age 65 or over. Education Public schools Ogallala is served by the Ogallala Public School District High School—Ogallala High School Elementary and Middle School—Prairie View School (grade PK-8) Private schools St. Paul's Lutheran School (PreK-5) St. Luke's Catholic School (PreK-5) Media Radio KOGA (AM) (930 AM) Adult Standards/MOR KOGA-FM (99.7 FM) Classic Rock KMCX (106.5 FM) Hot Country Newspaper Keith County News (bi-weekly) Point of interest The Ogallala post office contains an oil-on-canvas mural, titled Long Horns, painted in 1938 by Frank Mechau. Murals were produced from 1934 to 1943 in the United States through the Section of Painting and Sculpture, later called the Section of Fine Arts, of the Treasury Department. Transportation Intercity bus service to the city is provided by Burlington Trailways and Express Arrow. Within the city, Ogallala Public Transit provides dial-a-ride service. Notable people John Lanigan – longtime morning radio host at WMJI in Cleveland; National Radio Hall of Fame inductee Ken Schilz – Nebraska state senator Thomas Shanahan – United States federal judge References External links City of Ogallala Cities in Nebraska Cities in Keith County, Nebraska County seats in Nebraska Populated places established in 1875 Pony Express stations Boot Hill cemeteries 1875 establishments in Nebraska
```css Importer Sass Operators Strings in SassScript SassScript Number Functions SassScript String Operations ```
This is a list of all-time minor league affiliates for the Philadelphia Flyers of the National Hockey League (NHL). The Philadelphia Phantoms for 13 seasons (1996–97 to 2008–09) and the Hershey Bears for 12 seasons (1984–85 to 1995–96) are the only teams to serve as a Flyers affiliate for more than ten years. The Flyers are currently affiliated with the Lehigh Valley Phantoms of the American Hockey League (AHL) and the Reading Royals of the ECHL. Affiliates League champions Notes References General Specific minor league affiliates
Radik Failyevich Yusupov (; born 25 January 1993) is a Russian former football defender. Club career He made his debut in the Russian Football National League for FC Mordovia Saransk on 13 July 2013 in a game against FC Dynamo Saint Petersburg. References External links 1993 births Sportspeople from Saransk Living people Russian men's footballers Men's association football defenders FC Mordovia Saransk players FC Neftekhimik Nizhnekamsk players FC Volga Ulyanovsk players FC Tver players Russian First League players Russian Second League players
```python # Linear regression on iris dataset import superimport import numpy as np import matplotlib.pyplot as plt import os import seaborn as sns from sklearn.linear_model import LinearRegression from sklearn import datasets iris = datasets.load_iris() xidx = 2 ys = [1, 3] for yidx in ys: X = iris.data[:, xidx:xidx+1] # we only take the first feature Y = iris.data[:, yidx:yidx+1] linreg = LinearRegression() linreg.fit(X, Y) xs = np.arange(np.min(X), np.max(X), 0.1).reshape(-1,1) yhat = linreg.predict(xs) plt.plot(xs, yhat) sns.scatterplot(x=X[:,0], y=Y[:,0]) plt.xlabel(iris.feature_names[xidx]) plt.ylabel(iris.feature_names[yidx]) plt.xlim(np.min(X), np.max(X)) plt.ylim(np.min(Y), np.max(Y)) fname = "iris-linreg{}".format(yidx) pml.savefig(fname) plt.show() ```
```java package io.blueocean.ath.pages.blue; import com.google.inject.assistedinject.Assisted; import io.blueocean.ath.BaseUrl; import io.blueocean.ath.WaitUtil; import io.blueocean.ath.WebDriverMixin; import io.blueocean.ath.model.AbstractPipeline; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.ui.ExpectedConditions; import org.slf4j.LoggerFactory; import org.slf4j.Logger; import javax.inject.Inject; public class RunDetailsTestsPage implements WebDriverMixin { private Logger logger = LoggerFactory.getLogger(RunDetailsTestsPage.class); private WebDriver driver; private AbstractPipeline pipeline; @Inject @BaseUrl String base; @Inject WaitUtil wait; @Inject public RunDetailsTestsPage(WebDriver driver, @Assisted AbstractPipeline pipeline) { this.driver = driver; this.pipeline = pipeline; PageFactory.initElements(driver, this); } public void open(String pipeline, Integer runNumber) { driver.get(base+"/blue/organizations/jenkins/"+ pipeline + "/detail/master/" + runNumber +"/tests"); logger.info("Opened result page for " + pipeline); } public void checkUrl(int runNumber) { checkUrl(null, runNumber); } public void checkUrl(String branch, int runNumber) { wait.until(ExpectedConditions.urlContains(getUrl(branch, runNumber)), 30000); } public String getUrl(int runNumber) { return getUrl(null, runNumber); } public String getUrl(String branch, int runNumber) { if(pipeline.isMultiBranch()) { String tempBranch = branch == null ? "master" : branch; return pipeline.getUrl() + "/detail/" + tempBranch + "/" + runNumber +"/tests"; } return pipeline.getUrl() + "/detail/master/" + runNumber +"/tests"; } public RunDetailsTestsPage open(String branch, int runNumber) { driver.get(getUrl(branch, runNumber)); checkUrl(branch, runNumber); logger.info("Opened RunDetailsPipeline page for " + pipeline.getName()); return this; } public RunDetailsTestsPage open(int runNumber) { return open(null, runNumber); } public RunDetailsTestsPage checkResults(String type, int number) { // check for logs for freestyle job or for pipeline job wait.until(ExpectedConditions.numberOfElementsToBe(By.cssSelector("div.result-item."+type), number)); return this; } public WaitUtil getWaitUntil() { return wait; } } ```
```turing #!./perl BEGIN { chdir 't' if -d 't'; require './test.pl'; set_up_inc('../lib'); require Config; } use v5.36; use feature 'class'; no warnings 'experimental::class'; { class Test1 { method hello { return "hello, world"; } } my $obj = Test1->new; isa_ok($obj, "Test1", '$obj'); is($obj->hello, "hello, world", '$obj->hello'); } # Classes are still regular packages { class Test2 { my $ok = "OK"; sub NotAMethod { return $ok } } is(Test2::NotAMethod(), "OK", 'Class can contain regular subs'); } # Classes accept full package names { class Test3::Foo { method hello { return "This" } } is(Test3::Foo->new->hello, "This", 'Class supports fully-qualified package names'); } # Unit class { class Test4::A; method m { return "unit-A" } class Test4::B; method m { return "unit-B" } package main; ok(eq_array([Test4::A->new->m, Test4::B->new->m], ["unit-A", "unit-B"]), 'Unit class syntax works'); } # Class {BLOCK} syntax parses like package { my $result = ""; eval q{ $result .= "a(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; class Test5 1.23 { $result .= "b(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; } $result .= "c(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; } or die $@; is($result, "a(main/main)\nb(Test5/Test5)\nc(main/main)\n", 'class sets __PACKAGE__ correctly'); is($Test5::VERSION, 1.23, 'class NAME VERSION { BLOCK } sets $VERSION'); } # Unit class syntax parses like package { my $result = ""; eval q{ $result .= "a(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; class Test6 4.56; $result .= "b(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; package main; $result .= "c(" . __PACKAGE__ . "/" . eval("__PACKAGE__") . ")\n"; } or die $@; is($result, "a(main/main)\nb(Test6/Test6)\nc(main/main)\n", 'class sets __PACKAGE__ correctly'); is($Test6::VERSION, 4.56, 'class NAME VERSION; sets $VERSION'); } done_testing; ```
The Duchy of Reggio was one of the states that belonged to the Duchy of Modena and Reggio, ruled by the House of Este, in the north of Italy, in a territory now belonging to the Province of Reggio Emilia. The capital was Reggio. The perimeter of the duchy was from the Apennines to the river Po. The ancient borders were with the County of Novellara and Bagnolo (ruled by a branch of the House of Gonzaga), and the County of Guastalla, the Principality of Correggio, the Duchy of Modena and Garfagnana, all ruled by the dukes of Este. Other neighbour states were those of Lucca, Tuscany, the Duchy of Parma, and the Marquisate of Mantua. Duchy of Modena and Reggio Reggio Reggio, Duchy of · · History of Reggio Emilia
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ // Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 import ( corev1 "k8s.io/api/core/v1" ) // EphemeralContainerCommonApplyConfiguration represents an declarative configuration of the EphemeralContainerCommon type for use // with apply. type EphemeralContainerCommonApplyConfiguration struct { Name *string `json:"name,omitempty"` Image *string `json:"image,omitempty"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` WorkingDir *string `json:"workingDir,omitempty"` Ports []ContainerPortApplyConfiguration `json:"ports,omitempty"` EnvFrom []EnvFromSourceApplyConfiguration `json:"envFrom,omitempty"` Env []EnvVarApplyConfiguration `json:"env,omitempty"` Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` ResizePolicy []ContainerResizePolicyApplyConfiguration `json:"resizePolicy,omitempty"` VolumeMounts []VolumeMountApplyConfiguration `json:"volumeMounts,omitempty"` VolumeDevices []VolumeDeviceApplyConfiguration `json:"volumeDevices,omitempty"` LivenessProbe *ProbeApplyConfiguration `json:"livenessProbe,omitempty"` ReadinessProbe *ProbeApplyConfiguration `json:"readinessProbe,omitempty"` StartupProbe *ProbeApplyConfiguration `json:"startupProbe,omitempty"` Lifecycle *LifecycleApplyConfiguration `json:"lifecycle,omitempty"` TerminationMessagePath *string `json:"terminationMessagePath,omitempty"` TerminationMessagePolicy *corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"` ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"` SecurityContext *SecurityContextApplyConfiguration `json:"securityContext,omitempty"` Stdin *bool `json:"stdin,omitempty"` StdinOnce *bool `json:"stdinOnce,omitempty"` TTY *bool `json:"tty,omitempty"` } // EphemeralContainerCommonApplyConfiguration constructs an declarative configuration of the EphemeralContainerCommon type for use with // apply. func EphemeralContainerCommon() *EphemeralContainerCommonApplyConfiguration { return &EphemeralContainerCommonApplyConfiguration{} } // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Name field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithName(value string) *EphemeralContainerCommonApplyConfiguration { b.Name = &value return b } // WithImage sets the Image field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Image field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithImage(value string) *EphemeralContainerCommonApplyConfiguration { b.Image = &value return b } // WithCommand adds the given value to the Command field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Command field. func (b *EphemeralContainerCommonApplyConfiguration) WithCommand(values ...string) *EphemeralContainerCommonApplyConfiguration { for i := range values { b.Command = append(b.Command, values[i]) } return b } // WithArgs adds the given value to the Args field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Args field. func (b *EphemeralContainerCommonApplyConfiguration) WithArgs(values ...string) *EphemeralContainerCommonApplyConfiguration { for i := range values { b.Args = append(b.Args, values[i]) } return b } // WithWorkingDir sets the WorkingDir field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the WorkingDir field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithWorkingDir(value string) *EphemeralContainerCommonApplyConfiguration { b.WorkingDir = &value return b } // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Ports field. func (b *EphemeralContainerCommonApplyConfiguration) WithPorts(values ...*ContainerPortApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithPorts") } b.Ports = append(b.Ports, *values[i]) } return b } // WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the EnvFrom field. func (b *EphemeralContainerCommonApplyConfiguration) WithEnvFrom(values ...*EnvFromSourceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithEnvFrom") } b.EnvFrom = append(b.EnvFrom, *values[i]) } return b } // WithEnv adds the given value to the Env field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Env field. func (b *EphemeralContainerCommonApplyConfiguration) WithEnv(values ...*EnvVarApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithEnv") } b.Env = append(b.Env, *values[i]) } return b } // WithResources sets the Resources field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Resources field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithResources(value *ResourceRequirementsApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.Resources = value return b } // WithResizePolicy adds the given value to the ResizePolicy field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the ResizePolicy field. func (b *EphemeralContainerCommonApplyConfiguration) WithResizePolicy(values ...*ContainerResizePolicyApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithResizePolicy") } b.ResizePolicy = append(b.ResizePolicy, *values[i]) } return b } // WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the VolumeMounts field. func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeMounts(values ...*VolumeMountApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithVolumeMounts") } b.VolumeMounts = append(b.VolumeMounts, *values[i]) } return b } // WithVolumeDevices adds the given value to the VolumeDevices field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the VolumeDevices field. func (b *EphemeralContainerCommonApplyConfiguration) WithVolumeDevices(values ...*VolumeDeviceApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { for i := range values { if values[i] == nil { panic("nil value passed to WithVolumeDevices") } b.VolumeDevices = append(b.VolumeDevices, *values[i]) } return b } // WithLivenessProbe sets the LivenessProbe field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the LivenessProbe field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithLivenessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.LivenessProbe = value return b } // WithReadinessProbe sets the ReadinessProbe field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the ReadinessProbe field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithReadinessProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.ReadinessProbe = value return b } // WithStartupProbe sets the StartupProbe field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the StartupProbe field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithStartupProbe(value *ProbeApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.StartupProbe = value return b } // WithLifecycle sets the Lifecycle field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Lifecycle field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithLifecycle(value *LifecycleApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.Lifecycle = value return b } // WithTerminationMessagePath sets the TerminationMessagePath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the TerminationMessagePath field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePath(value string) *EphemeralContainerCommonApplyConfiguration { b.TerminationMessagePath = &value return b } // WithTerminationMessagePolicy sets the TerminationMessagePolicy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the TerminationMessagePolicy field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithTerminationMessagePolicy(value corev1.TerminationMessagePolicy) *EphemeralContainerCommonApplyConfiguration { b.TerminationMessagePolicy = &value return b } // WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the ImagePullPolicy field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *EphemeralContainerCommonApplyConfiguration { b.ImagePullPolicy = &value return b } // WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the SecurityContext field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithSecurityContext(value *SecurityContextApplyConfiguration) *EphemeralContainerCommonApplyConfiguration { b.SecurityContext = value return b } // WithStdin sets the Stdin field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Stdin field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithStdin(value bool) *EphemeralContainerCommonApplyConfiguration { b.Stdin = &value return b } // WithStdinOnce sets the StdinOnce field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the StdinOnce field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithStdinOnce(value bool) *EphemeralContainerCommonApplyConfiguration { b.StdinOnce = &value return b } // WithTTY sets the TTY field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the TTY field is set to the value of the last call. func (b *EphemeralContainerCommonApplyConfiguration) WithTTY(value bool) *EphemeralContainerCommonApplyConfiguration { b.TTY = &value return b } ```
The white-bellied canary (Crithagra dorsostriata) is a species of finch in the family Fringillidae. It is found in Ethiopia, Kenya, Somalia, South Sudan, Tanzania, and Uganda. Its natural habitat is dry savanna. The white-bellied canary was formerly placed in the genus Serinus but phylogenetic analysis using mitochondrial and nuclear DNA sequences found that the genus was polyphyletic. The genus was therefore split and a number of species including the white-bellied canary were moved to the resurrected genus Crithagra. References white-bellied canary Birds of East Africa white-bellied canary Taxonomy articles created by Polbot
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package ast import ( "sort" ) // Identifier represents a variable / parameter / field name. type Identifier string // Identifiers represents an Identifier slice. type Identifiers []Identifier // IdentifierSet represents an Identifier set. type IdentifierSet map[Identifier]struct{} // NewIdentifierSet creates a new IdentifierSet. func NewIdentifierSet(idents ...Identifier) IdentifierSet { set := make(IdentifierSet) for _, ident := range idents { set[ident] = struct{}{} } return set } // Add adds an Identifier to the set. func (set IdentifierSet) Add(ident Identifier) bool { if _, ok := set[ident]; ok { return false } set[ident] = struct{}{} return true } // AddIdentifiers adds a slice of identifiers to the set. func (set IdentifierSet) AddIdentifiers(idents Identifiers) { for _, ident := range idents { set.Add(ident) } } // Contains returns true if an Identifier is in the set. func (set IdentifierSet) Contains(ident Identifier) bool { _, ok := set[ident] return ok } // Remove removes an Identifier from the set. func (set IdentifierSet) Remove(ident Identifier) { delete(set, ident) } // ToSlice returns an Identifiers slice from the set. func (set IdentifierSet) ToSlice() Identifiers { idents := make(Identifiers, len(set)) i := 0 for ident := range set { idents[i] = ident i++ } return idents } // ToOrderedSlice returns the elements of the current set as an ordered slice. func (set IdentifierSet) ToOrderedSlice() []Identifier { idents := set.ToSlice() sort.Sort(identifierSorter(idents)) return idents } type identifierSorter []Identifier func (s identifierSorter) Len() int { return len(s) } func (s identifierSorter) Swap(i, j int) { s[i], s[j] = s[j], s[i] } func (s identifierSorter) Less(i, j int) bool { return s[i] < s[j] } // Clone returns a clone of the set. func (set IdentifierSet) Clone() IdentifierSet { newSet := make(IdentifierSet, len(set)) for k, v := range set { newSet[k] = v } return newSet } ```
Monitor is an unincorporated community in Monroe County, West Virginia, United States. Monitor is located on U.S. Route 219, northeast of Union. References Unincorporated communities in Monroe County, West Virginia Unincorporated communities in West Virginia
```javascript (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){const ReactCSV=require("../lib/index");window.ReactCSV={CSVLink:ReactCSV.CSVLink,CSVDownload:ReactCSV.CSVDownload}},{"../lib/index":5}],2:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();var _class,_temp;var _react=require("react");var _react2=_interopRequireDefault(_react);var _core=require("../core");var _metaProps=require("../metaProps");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var defaultProps={target:"_blank"};var CSVDownload=(_temp=_class=function(_React$Component){_inherits(CSVDownload,_React$Component);function CSVDownload(props){_classCallCheck(this,CSVDownload);var _this=_possibleConstructorReturn(this,(CSVDownload.__proto__||Object.getPrototypeOf(CSVDownload)).call(this,props));_this.state={};return _this}_createClass(CSVDownload,[{key:"buildURI",value:function buildURI(){return _core.buildURI.apply(undefined,arguments)}},{key:"componentDidMount",value:function componentDidMount(){var _props=this.props,data=_props.data,headers=_props.headers,separator=_props.separator,uFEFF=_props.uFEFF,target=_props.target,specs=_props.specs,replace=_props.replace;this.state.page=window.open(this.buildURI(data,headers,separator,uFEFF),target,specs,replace)}},{key:"getWindow",value:function getWindow(){return this.state.page}},{key:"render",value:function render(){return null}}]);return CSVDownload}(_react2.default.Component),_class.defaultProps=Object.assign(_metaProps.defaultProps,defaultProps),_class.propTypes=_metaProps.propTypes,_temp);exports.default=CSVDownload},{"../core":4,"../metaProps":6,react:44}],3:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target};var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();var _class,_temp;var _react=require("react");var _react2=_interopRequireDefault(_react);var _core=require("../core");var _metaProps=require("../metaProps");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _objectWithoutProperties(obj,keys){var target={};for(var i in obj){if(keys.indexOf(i)>=0)continue;if(!Object.prototype.hasOwnProperty.call(obj,i))continue;target[i]=obj[i]}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return call&&(typeof call==="object"||typeof call==="function")?call:self}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass)}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass}var CSVLink=(_temp=_class=function(_React$Component){_inherits(CSVLink,_React$Component);function CSVLink(props){_classCallCheck(this,CSVLink);var _this=_possibleConstructorReturn(this,(CSVLink.__proto__||Object.getPrototypeOf(CSVLink)).call(this,props));_this.buildURI=_this.buildURI.bind(_this);return _this}_createClass(CSVLink,[{key:"buildURI",value:function buildURI(){return _core.buildURI.apply(undefined,arguments)}},{key:"render",value:function render(){var _this2=this;var _props=this.props,data=_props.data,headers=_props.headers,separator=_props.separator,filename=_props.filename,uFEFF=_props.uFEFF,children=_props.children,rest=_objectWithoutProperties(_props,["data","headers","separator","filename","uFEFF","children"]);return _react2.default.createElement("a",_extends({download:filename},rest,{ref:function ref(link){return _this2.link=link},href:this.buildURI(data,headers,separator,uFEFF)}),children)}}]);return CSVLink}(_react2.default.Component),_class.defaultProps=_metaProps.defaultProps,_class.propTypes=_metaProps.propTypes,_temp);exports.default=CSVLink},{"../core":4,"../metaProps":6,react:44}],4:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}var isJsons=exports.isJsons=function isJsons(array){return Array.isArray(array)&&array.every(function(row){return(typeof row==="undefined"?"undefined":_typeof(row))==="object"&&!(row instanceof Array)})};var isArrays=exports.isArrays=function isArrays(array){return Array.isArray(array)&&array.every(function(row){return Array.isArray(row)})};var jsonsHeaders=exports.jsonsHeaders=function jsonsHeaders(array){return Array.from(array.map(function(json){return Object.keys(json)}).reduce(function(a,b){return new Set([].concat(_toConsumableArray(a),_toConsumableArray(b)))},[]))};var jsons2arrays=exports.jsons2arrays=function jsons2arrays(jsons,headers){headers=headers||jsonsHeaders(jsons);var data=jsons.map(function(object){return headers.map(function(header){return header in object?object[header]:""})});return[headers].concat(_toConsumableArray(data))};var joiner=exports.joiner=function joiner(data){var separator=arguments.length>1&&arguments[1]!==undefined?arguments[1]:",";return data.map(function(row,index){return row.map(function(element){return'"'+element+'"'}).join(separator)}).join("\n")};var arrays2csv=exports.arrays2csv=function arrays2csv(data,headers,separator){return joiner(headers?[headers].concat(_toConsumableArray(data)):data,separator)};var jsons2csv=exports.jsons2csv=function jsons2csv(data,headers,separator){return joiner(jsons2arrays(data,headers),separator)};var string2csv=exports.string2csv=function string2csv(data,headers,separator){return headers?headers.join(separator)+"\n"+data:data};var toCSV=exports.toCSV=function toCSV(data,headers,separator){if(isJsons(data))return jsons2csv(data,headers,separator);if(isArrays(data))return arrays2csv(data,headers,separator);if(typeof data==="string")return string2csv(data,headers,separator);throw new TypeError('Data should be a "String", "Array of arrays" OR "Array of objects" ')};var buildURI=exports.buildURI=function buildURI(data,headers,separator,uFEFF){return encodeURI("data:text/csv;charset=utf-8,"+(uFEFF?"\ufeff":"")+toCSV(data,headers,separator))}},{}],5:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.CSVLink=exports.CSVDownload=undefined;var _Download=require("./components/Download");var _Download2=_interopRequireDefault(_Download);var _Link=require("./components/Link");var _Link2=_interopRequireDefault(_Link);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var CSVDownload=exports.CSVDownload=_Download2.default;var CSVLink=exports.CSVLink=_Link2.default},{"./components/Download":2,"./components/Link":3}],6:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.PropsNotForwarded=exports.defaultProps=exports.propTypes=undefined;var _react=require("react");var _react2=_interopRequireDefault(_react);var _propTypes=require("prop-types");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var propTypes=exports.propTypes={data:(0,_propTypes.oneOfType)([_propTypes.string,_propTypes.array]).isRequired,headers:_propTypes.array,target:_propTypes.string,separator:_propTypes.string,filename:_propTypes.string,uFEFF:_propTypes.bool};var defaultProps=exports.defaultProps={separator:",",filename:"generatedBy_react-csv.csv",uFEFF:true};var PropsNotForwarded=exports.PropsNotForwarded=["data","headers"]},{"prop-types":18,react:44}],7:[function(require,module,exports){(function(process){"use strict";var _assign=require("object-assign");var emptyObject=require("fbjs/lib/emptyObject");var _invariant=require("fbjs/lib/invariant");if(process.env.NODE_ENV!=="production"){var warning=require("fbjs/lib/warning")}var MIXINS_KEY="mixins";function identity(fn){return fn}var ReactPropTypeLocationNames;if(process.env.NODE_ENV!=="production"){ReactPropTypeLocationNames={prop:"prop",context:"context",childContext:"child context"}}else{ReactPropTypeLocationNames={}}function factory(ReactComponent,isValidElement,ReactNoopUpdateQueue){var injectedMixins=[];var ReactClassInterface={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"};var RESERVED_SPEC_KEYS={displayName:function(Constructor,displayName){Constructor.displayName=displayName},mixins:function(Constructor,mixins){if(mixins){for(var i=0;i<mixins.length;i++){mixSpecIntoComponent(Constructor,mixins[i])}}},childContextTypes:function(Constructor,childContextTypes){if(process.env.NODE_ENV!=="production"){validateTypeDef(Constructor,childContextTypes,"childContext")}Constructor.childContextTypes=_assign({},Constructor.childContextTypes,childContextTypes)},contextTypes:function(Constructor,contextTypes){if(process.env.NODE_ENV!=="production"){validateTypeDef(Constructor,contextTypes,"context")}Constructor.contextTypes=_assign({},Constructor.contextTypes,contextTypes)},getDefaultProps:function(Constructor,getDefaultProps){if(Constructor.getDefaultProps){Constructor.getDefaultProps=createMergedResultFunction(Constructor.getDefaultProps,getDefaultProps)}else{Constructor.getDefaultProps=getDefaultProps}},propTypes:function(Constructor,propTypes){if(process.env.NODE_ENV!=="production"){validateTypeDef(Constructor,propTypes,"prop")}Constructor.propTypes=_assign({},Constructor.propTypes,propTypes)},statics:function(Constructor,statics){mixStaticSpecIntoComponent(Constructor,statics)},autobind:function(){}};function validateTypeDef(Constructor,typeDef,location){for(var propName in typeDef){if(typeDef.hasOwnProperty(propName)){if(process.env.NODE_ENV!=="production"){warning(typeof typeDef[propName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from "+"React.PropTypes.",Constructor.displayName||"ReactClass",ReactPropTypeLocationNames[location],propName)}}}}function validateMethodOverride(isAlreadyDefined,name){var specPolicy=ReactClassInterface.hasOwnProperty(name)?ReactClassInterface[name]:null;if(ReactClassMixin.hasOwnProperty(name)){_invariant(specPolicy==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override "+"`%s` from your class specification. Ensure that your method names "+"do not overlap with React methods.",name)}if(isAlreadyDefined){_invariant(specPolicy==="DEFINE_MANY"||specPolicy==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define "+"`%s` on your component more than once. This conflict may be due "+"to a mixin.",name)}}function mixSpecIntoComponent(Constructor,spec){if(!spec){if(process.env.NODE_ENV!=="production"){var typeofSpec=typeof spec;var isMixinValid=typeofSpec==="object"&&spec!==null;if(process.env.NODE_ENV!=="production"){warning(isMixinValid,"%s: You're attempting to include a mixin that is either null "+"or not an object. Check the mixins included by the component, "+"as well as any mixins they include themselves. "+"Expected object but got %s.",Constructor.displayName||"ReactClass",spec===null?null:typeofSpec)}}return}_invariant(typeof spec!=="function","ReactClass: You're attempting to "+"use a component class or function as a mixin. Instead, just use a "+"regular object.");_invariant(!isValidElement(spec),"ReactClass: You're attempting to "+"use a component as a mixin. Instead, just use a regular object.");var proto=Constructor.prototype;var autoBindPairs=proto.__reactAutoBindPairs;if(spec.hasOwnProperty(MIXINS_KEY)){RESERVED_SPEC_KEYS.mixins(Constructor,spec.mixins)}for(var name in spec){if(!spec.hasOwnProperty(name)){continue}if(name===MIXINS_KEY){continue}var property=spec[name];var isAlreadyDefined=proto.hasOwnProperty(name);validateMethodOverride(isAlreadyDefined,name);if(RESERVED_SPEC_KEYS.hasOwnProperty(name)){RESERVED_SPEC_KEYS[name](Constructor,property)}else{var isReactClassMethod=ReactClassInterface.hasOwnProperty(name);var isFunction=typeof property==="function";var shouldAutoBind=isFunction&&!isReactClassMethod&&!isAlreadyDefined&&spec.autobind!==false;if(shouldAutoBind){autoBindPairs.push(name,property);proto[name]=property}else{if(isAlreadyDefined){var specPolicy=ReactClassInterface[name];_invariant(isReactClassMethod&&(specPolicy==="DEFINE_MANY_MERGED"||specPolicy==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s "+"when mixing in component specs.",specPolicy,name);if(specPolicy==="DEFINE_MANY_MERGED"){proto[name]=createMergedResultFunction(proto[name],property)}else if(specPolicy==="DEFINE_MANY"){proto[name]=createChainedFunction(proto[name],property)}}else{proto[name]=property;if(process.env.NODE_ENV!=="production"){if(typeof property==="function"&&spec.displayName){proto[name].displayName=spec.displayName+"_"+name}}}}}}}function mixStaticSpecIntoComponent(Constructor,statics){if(!statics){return}for(var name in statics){var property=statics[name];if(!statics.hasOwnProperty(name)){continue}var isReserved=name in RESERVED_SPEC_KEYS;_invariant(!isReserved,"ReactClass: You are attempting to define a reserved "+'property, `%s`, that shouldn\'t be on the "statics" key. Define it '+"as an instance property instead; it will still be accessible on the "+"constructor.",name);var isInherited=name in Constructor;_invariant(!isInherited,"ReactClass: You are attempting to define "+"`%s` on your component more than once. This conflict may be "+"due to a mixin.",name);Constructor[name]=property}}function mergeIntoWithNoDuplicateKeys(one,two){_invariant(one&&two&&typeof one==="object"&&typeof two==="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var key in two){if(two.hasOwnProperty(key)){_invariant(one[key]===undefined,"mergeIntoWithNoDuplicateKeys(): "+"Tried to merge two objects with the same key: `%s`. This conflict "+"may be due to a mixin; in particular, this may be caused by two "+"getInitialState() or getDefaultProps() methods returning objects "+"with clashing keys.",key);one[key]=two[key]}}return one}function createMergedResultFunction(one,two){return function mergedResult(){var a=one.apply(this,arguments);var b=two.apply(this,arguments);if(a==null){return b}else if(b==null){return a}var c={};mergeIntoWithNoDuplicateKeys(c,a);mergeIntoWithNoDuplicateKeys(c,b);return c}}function createChainedFunction(one,two){return function chainedFunction(){one.apply(this,arguments);two.apply(this,arguments)}}function bindAutoBindMethod(component,method){var boundMethod=method.bind(component);if(process.env.NODE_ENV!=="production"){boundMethod.__reactBoundContext=component;boundMethod.__reactBoundMethod=method;boundMethod.__reactBoundArguments=null;var componentName=component.constructor.displayName;var _bind=boundMethod.bind;boundMethod.bind=function(newThis){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}if(newThis!==component&&newThis!==null){if(process.env.NODE_ENV!=="production"){warning(false,"bind(): React component methods may only be bound to the "+"component instance. See %s",componentName)}}else if(!args.length){if(process.env.NODE_ENV!=="production"){warning(false,"bind(): You are binding a component method to the component. "+"React does this for you automatically in a high-performance "+"way, so you can safely remove this call. See %s",componentName)}return boundMethod}var reboundMethod=_bind.apply(boundMethod,arguments);reboundMethod.__reactBoundContext=component;reboundMethod.__reactBoundMethod=method;reboundMethod.__reactBoundArguments=args;return reboundMethod}}return boundMethod}function bindAutoBindMethods(component){var pairs=component.__reactAutoBindPairs;for(var i=0;i<pairs.length;i+=2){var autoBindKey=pairs[i];var method=pairs[i+1];component[autoBindKey]=bindAutoBindMethod(component,method)}}var IsMountedPreMixin={componentDidMount:function(){this.__isMounted=true}};var IsMountedPostMixin={componentWillUnmount:function(){this.__isMounted=false}};var ReactClassMixin={replaceState:function(newState,callback){this.updater.enqueueReplaceState(this,newState,callback)},isMounted:function(){if(process.env.NODE_ENV!=="production"){warning(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up "+"subscriptions and pending requests in componentWillUnmount to "+"prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component");this.__didWarnIsMounted=true}return!!this.__isMounted}};var ReactClassComponent=function(){};_assign(ReactClassComponent.prototype,ReactComponent.prototype,ReactClassMixin);function createClass(spec){var Constructor=identity(function(props,context,updater){if(process.env.NODE_ENV!=="production"){warning(this instanceof Constructor,"Something is calling a React component directly. Use a factory or "+"JSX instead. See: path_to_url")}if(this.__reactAutoBindPairs.length){bindAutoBindMethods(this)}this.props=props;this.context=context;this.refs=emptyObject;this.updater=updater||ReactNoopUpdateQueue;this.state=null;var initialState=this.getInitialState?this.getInitialState():null;if(process.env.NODE_ENV!=="production"){if(initialState===undefined&&this.getInitialState._isMockFunction){initialState=null}}_invariant(typeof initialState==="object"&&!Array.isArray(initialState),"%s.getInitialState(): must return an object or null",Constructor.displayName||"ReactCompositeComponent");this.state=initialState});Constructor.prototype=new ReactClassComponent;Constructor.prototype.constructor=Constructor;Constructor.prototype.__reactAutoBindPairs=[];injectedMixins.forEach(mixSpecIntoComponent.bind(null,Constructor));mixSpecIntoComponent(Constructor,IsMountedPreMixin);mixSpecIntoComponent(Constructor,spec);mixSpecIntoComponent(Constructor,IsMountedPostMixin);if(Constructor.getDefaultProps){Constructor.defaultProps=Constructor.getDefaultProps()}if(process.env.NODE_ENV!=="production"){if(Constructor.getDefaultProps){Constructor.getDefaultProps.isReactClassApproved={}}if(Constructor.prototype.getInitialState){Constructor.prototype.getInitialState.isReactClassApproved={}}}_invariant(Constructor.prototype.render,"createClass(...): Class specification must implement a `render` method.");if(process.env.NODE_ENV!=="production"){warning(!Constructor.prototype.componentShouldUpdate,"%s has a method called "+"componentShouldUpdate(). Did you mean shouldComponentUpdate()? "+"The name is phrased as a question because the function is "+"expected to return a value.",spec.displayName||"A component");warning(!Constructor.prototype.componentWillRecieveProps,"%s has a method called "+"componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",spec.displayName||"A component")}for(var methodName in ReactClassInterface){if(!Constructor.prototype[methodName]){Constructor.prototype[methodName]=null}}return Constructor}return createClass}module.exports=factory}).call(this,require("_process"))},{_process:13,"fbjs/lib/emptyObject":9,"fbjs/lib/invariant":10,"fbjs/lib/warning":11,"object-assign":12}],8:[function(require,module,exports){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function emptyFunction(){};emptyFunction.thatReturns=makeEmptyFunction;emptyFunction.thatReturnsFalse=makeEmptyFunction(false);emptyFunction.thatReturnsTrue=makeEmptyFunction(true);emptyFunction.thatReturnsNull=makeEmptyFunction(null);emptyFunction.thatReturnsThis=function(){return this};emptyFunction.thatReturnsArgument=function(arg){return arg};module.exports=emptyFunction},{}],9:[function(require,module,exports){(function(process){"use strict";var emptyObject={};if(process.env.NODE_ENV!=="production"){Object.freeze(emptyObject)}module.exports=emptyObject}).call(this,require("_process"))},{_process:13}],10:[function(require,module,exports){(function(process){"use strict";var validateFormat=function validateFormat(format){};if(process.env.NODE_ENV!=="production"){validateFormat=function validateFormat(format){if(format===undefined){throw new Error("invariant requires an error message argument")}}}function invariant(condition,format,a,b,c,d,e,f){validateFormat(format);if(!condition){var error;if(format===undefined){error=new Error("Minified exception occurred; use the non-minified dev environment "+"for the full error message and additional helpful warnings.")}else{var args=[a,b,c,d,e,f];var argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}));error.name="Invariant Violation"}error.framesToPop=1;throw error}}module.exports=invariant}).call(this,require("_process"))},{_process:13}],11:[function(require,module,exports){(function(process){"use strict";var emptyFunction=require("./emptyFunction");var warning=emptyFunction;if(process.env.NODE_ENV!=="production"){var printWarning=function printWarning(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});if(typeof console!=="undefined"){console.error(message)}try{throw new Error(message)}catch(x){}};warning=function warning(condition,format){if(format===undefined){throw new Error("`warning(condition, format, ...args)` requires a warning "+"message argument")}if(format.indexOf("Failed Composite propType: ")===0){return}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(undefined,[format].concat(args))}}}module.exports=warning}).call(this,require("_process"))},{"./emptyFunction":8,_process:13}],12:[function(require,module,exports){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map(function(n){return test2[n]});if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter});if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from){if(hasOwnProperty.call(from,key)){to[key]=from[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from,symbols[i])){to[symbols[i]]=from[symbols[i]]}}}}return to}},{}],13:[function(require,module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},{}],14:[function(require,module,exports){(function(process){"use strict";if(process.env.NODE_ENV!=="production"){var invariant=require("fbjs/lib/invariant");var warning=require("fbjs/lib/warning");var ReactPropTypesSecret=require("./lib/ReactPropTypesSecret");var loggedTypeFailures={}}function checkPropTypes(typeSpecs,values,location,componentName,getStack){if(process.env.NODE_ENV!=="production"){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant(typeof typeSpecs[typeSpecName]==="function","%s: %s type `%s` is invalid; it must be a function, usually from "+"the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]);error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker "+"function must return `null` or an `Error` but returned a %s. "+"You may have forgotten to pass an argument to the type checker "+"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and "+"shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error);if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var stack=getStack?getStack():"";warning(false,"Failed %s type: %s%s",location,error.message,stack!=null?stack:"")}}}}}module.exports=checkPropTypes}).call(this,require("_process"))},{"./lib/ReactPropTypesSecret":19,_process:13,"fbjs/lib/invariant":10,"fbjs/lib/warning":11}],15:[function(require,module,exports){"use strict";var factory=require("./factoryWithTypeCheckers");module.exports=function(isValidElement){var throwOnDirectAccess=false;return factory(isValidElement,throwOnDirectAccess)}},{"./factoryWithTypeCheckers":17}],16:[function(require,module,exports){"use strict";var emptyFunction=require("fbjs/lib/emptyFunction");var invariant=require("fbjs/lib/invariant");var ReactPropTypesSecret=require("./lib/ReactPropTypesSecret");module.exports=function(){function shim(props,propName,componentName,location,propFullName,secret){if(secret===ReactPropTypesSecret){return}invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use PropTypes.checkPropTypes() to call them. "+"Read more at path_to_url")}shim.isRequired=shim;function getShim(){return shim}var ReactPropTypes={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim, oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};ReactPropTypes.checkPropTypes=emptyFunction;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}},{"./lib/ReactPropTypesSecret":19,"fbjs/lib/emptyFunction":8,"fbjs/lib/invariant":10}],17:[function(require,module,exports){(function(process){"use strict";var emptyFunction=require("fbjs/lib/emptyFunction");var invariant=require("fbjs/lib/invariant");var warning=require("fbjs/lib/warning");var assign=require("object-assign");var ReactPropTypesSecret=require("./lib/ReactPropTypesSecret");var checkPropTypes=require("./checkPropTypes");module.exports=function(isValidElement,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}var ANONYMOUS="<<anonymous>>";var ReactPropTypes={array:createPrimitiveTypeChecker("array"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x,y){if(x===y){return x!==0||1/x===1/y}else{return x!==x&&y!==y}}function PropTypeError(message){this.message=message;this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){if(process.env.NODE_ENV!=="production"){var manualPropTypeCallCache={};var manualPropTypeWarningCount=0}function checkType(isRequired,props,propName,componentName,location,propFullName,secret){componentName=componentName||ANONYMOUS;propFullName=propFullName||propName;if(secret!==ReactPropTypesSecret){if(throwOnDirectAccess){invariant(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use `PropTypes.checkPropTypes()` to call them. "+"Read more at path_to_url")}else if(process.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var cacheKey=componentName+":"+propName;if(!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3){warning(false,"You are manually calling a React.PropTypes validation "+"function for the `%s` prop on `%s`. This is deprecated "+"and will throw in the standalone `prop-types` package. "+"You may be seeing this warning due to a third-party PropTypes "+"library. See path_to_url "+"for details.",propFullName,componentName);manualPropTypeCallCache[cacheKey]=true;manualPropTypeWarningCount++}}}if(props[propName]==null){if(isRequired){if(props[propName]===null){return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`."))}return new PropTypeError("The "+location+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`."))}return null}else{return validate(props,propName,componentName,location,propFullName)}}var chainedCheckType=checkType.bind(null,false);chainedCheckType.isRequired=checkType.bind(null,true);return chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location,propFullName,secret){var propValue=props[propName];var propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."))}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunction.thatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.")}var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i=0;i<propValue.length;i++){var error=typeChecker(propValue,i,componentName,location,propFullName+"["+i+"]",ReactPropTypesSecret);if(error instanceof Error){return error}}return null}return createChainableTypeChecker(validate)}function createElementTypeChecker(){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];if(!isValidElement(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected a single ReactElement."))}return null}return createChainableTypeChecker(validate)}function createInstanceTypeChecker(expectedClass){function validate(props,propName,componentName,location,propFullName){if(!(props[propName]instanceof expectedClass)){var expectedClassName=expectedClass.name||ANONYMOUS;var actualClassName=getClassName(props[propName]);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+actualClassName+"` supplied to `"+componentName+"`, expected ")+("instance of `"+expectedClassName+"`."))}return null}return createChainableTypeChecker(validate)}function createEnumTypeChecker(expectedValues){if(!Array.isArray(expectedValues)){process.env.NODE_ENV!=="production"?warning(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];for(var i=0;i<expectedValues.length;i++){if(is(propValue,expectedValues[i])){return null}}var valuesString=JSON.stringify(expectedValues);return new PropTypeError("Invalid "+location+" `"+propFullName+"` of value `"+propValue+"` "+("supplied to `"+componentName+"`, expected one of "+valuesString+"."))}return createChainableTypeChecker(validate)}function createObjectOfTypeChecker(typeChecker){function validate(props,propName,componentName,location,propFullName){if(typeof typeChecker!=="function"){return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside objectOf.")}var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an object."))}for(var key in propValue){if(propValue.hasOwnProperty(key)){var error=typeChecker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error instanceof Error){return error}}}return null}return createChainableTypeChecker(validate)}function createUnionTypeChecker(arrayOfTypeCheckers){if(!Array.isArray(arrayOfTypeCheckers)){process.env.NODE_ENV!=="production"?warning(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return emptyFunction.thatReturnsNull}for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(typeof checker!=="function"){warning(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but "+"received %s at index %s.",getPostfixForTypeWarning(checker),i);return emptyFunction.thatReturnsNull}}function validate(props,propName,componentName,location,propFullName){for(var i=0;i<arrayOfTypeCheckers.length;i++){var checker=arrayOfTypeCheckers[i];if(checker(props,propName,componentName,location,propFullName,ReactPropTypesSecret)==null){return null}}return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){if(!isNode(props[propName])){return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return null}return createChainableTypeChecker(validate)}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}for(var key in shapeTypes){var checker=shapeTypes[key];if(!checker){continue}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error){return error}}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName];var propType=getPropType(propValue);if(propType!=="object"){return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."))}var allKeys=assign({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(!checker){return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`."+"\nBad object: "+JSON.stringify(props[propName],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(shapeTypes),null," "))}var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error){return error}}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return true;case"boolean":return!propValue;case"object":if(Array.isArray(propValue)){return propValue.every(isNode)}if(propValue===null||isValidElement(propValue)){return true}var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue);var step;if(iteratorFn!==propValue.entries){while(!(step=iterator.next()).done){if(!isNode(step.value)){return false}}}else{while(!(step=iterator.next()).done){var entry=step.value;if(entry){if(!isNode(entry[1])){return false}}}}}else{return false}return true;default:return false}}function isSymbol(propType,propValue){if(propType==="symbol"){return true}if(propValue["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&propValue instanceof Symbol){return true}return false}function getPropType(propValue){var propType=typeof propValue;if(Array.isArray(propValue)){return"array"}if(propValue instanceof RegExp){return"object"}if(isSymbol(propType,propValue)){return"symbol"}return propType}function getPreciseType(propValue){if(typeof propValue==="undefined"||propValue===null){return""+propValue}var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date){return"date"}else if(propValue instanceof RegExp){return"regexp"}}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){if(!propValue.constructor||!propValue.constructor.name){return ANONYMOUS}return propValue.constructor.name}ReactPropTypes.checkPropTypes=checkPropTypes;ReactPropTypes.PropTypes=ReactPropTypes;return ReactPropTypes}}).call(this,require("_process"))},{"./checkPropTypes":14,"./lib/ReactPropTypesSecret":19,_process:13,"fbjs/lib/emptyFunction":8,"fbjs/lib/invariant":10,"fbjs/lib/warning":11,"object-assign":12}],18:[function(require,module,exports){(function(process){if(process.env.NODE_ENV!=="production"){var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var isValidElement=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};var throwOnDirectAccess=true;module.exports=require("./factoryWithTypeCheckers")(isValidElement,throwOnDirectAccess)}else{module.exports=require("./factoryWithThrowingShims")()}}).call(this,require("_process"))},{"./factoryWithThrowingShims":16,"./factoryWithTypeCheckers":17,_process:13}],19:[function(require,module,exports){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},{}],20:[function(require,module,exports){"use strict";function escape(key){var escapeRegex=/[=:]/g;var escaperLookup={"=":"=0",":":"=2"};var escapedString=(""+key).replace(escapeRegex,function(match){return escaperLookup[match]});return"$"+escapedString}function unescape(key){var unescapeRegex=/(=0|=2)/g;var unescaperLookup={"=0":"=","=2":":"};var keySubstring=key[0]==="."&&key[1]==="$"?key.substring(2):key.substring(1);return(""+keySubstring).replace(unescapeRegex,function(match){return unescaperLookup[match]})}var KeyEscapeUtils={escape:escape,unescape:unescape};module.exports=KeyEscapeUtils},{}],21:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant");var invariant=require("fbjs/lib/invariant");var oneArgumentPooler=function(copyFieldsFrom){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,copyFieldsFrom);return instance}else{return new Klass(copyFieldsFrom)}};var twoArgumentPooler=function(a1,a2){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2);return instance}else{return new Klass(a1,a2)}};var threeArgumentPooler=function(a1,a2,a3){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2,a3);return instance}else{return new Klass(a1,a2,a3)}};var fourArgumentPooler=function(a1,a2,a3,a4){var Klass=this;if(Klass.instancePool.length){var instance=Klass.instancePool.pop();Klass.call(instance,a1,a2,a3,a4);return instance}else{return new Klass(a1,a2,a3,a4)}};var standardReleaser=function(instance){var Klass=this;!(instance instanceof Klass)?process.env.NODE_ENV!=="production"?invariant(false,"Trying to release an instance into a pool of a different type."):_prodInvariant("25"):void 0;instance.destructor();if(Klass.instancePool.length<Klass.poolSize){Klass.instancePool.push(instance)}};var DEFAULT_POOL_SIZE=10;var DEFAULT_POOLER=oneArgumentPooler;var addPoolingTo=function(CopyConstructor,pooler){var NewKlass=CopyConstructor;NewKlass.instancePool=[];NewKlass.getPooled=pooler||DEFAULT_POOLER;if(!NewKlass.poolSize){NewKlass.poolSize=DEFAULT_POOL_SIZE}NewKlass.release=standardReleaser;return NewKlass};var PooledClass={addPoolingTo:addPoolingTo,oneArgumentPooler:oneArgumentPooler,twoArgumentPooler:twoArgumentPooler,threeArgumentPooler:threeArgumentPooler,fourArgumentPooler:fourArgumentPooler};module.exports=PooledClass}).call(this,require("_process"))},{"./reactProdInvariant":42,_process:13,"fbjs/lib/invariant":10}],22:[function(require,module,exports){(function(process){"use strict";var _assign=require("object-assign");var ReactBaseClasses=require("./ReactBaseClasses");var ReactChildren=require("./ReactChildren");var ReactDOMFactories=require("./ReactDOMFactories");var ReactElement=require("./ReactElement");var ReactPropTypes=require("./ReactPropTypes");var ReactVersion=require("./ReactVersion");var createReactClass=require("./createClass");var onlyChild=require("./onlyChild");var createElement=ReactElement.createElement;var createFactory=ReactElement.createFactory;var cloneElement=ReactElement.cloneElement;if(process.env.NODE_ENV!=="production"){var lowPriorityWarning=require("./lowPriorityWarning");var canDefineProperty=require("./canDefineProperty");var ReactElementValidator=require("./ReactElementValidator");var didWarnPropTypesDeprecated=false;createElement=ReactElementValidator.createElement;createFactory=ReactElementValidator.createFactory;cloneElement=ReactElementValidator.cloneElement}var __spread=_assign;var createMixin=function(mixin){return mixin};if(process.env.NODE_ENV!=="production"){var warnedForSpread=false;var warnedForCreateMixin=false;__spread=function(){lowPriorityWarning(warnedForSpread,"React.__spread is deprecated and should not be used. Use "+"Object.assign directly or another helper function with similar "+"semantics. You may be seeing this warning due to your compiler. "+"See path_to_url for more details.");warnedForSpread=true;return _assign.apply(null,arguments)};createMixin=function(mixin){lowPriorityWarning(warnedForCreateMixin,"React.createMixin is deprecated and should not be used. "+"In React v16.0, it will be removed. "+"You can use this mixin directly instead. "+"See path_to_url for more info.");warnedForCreateMixin=true;return mixin}}var React={Children:{map:ReactChildren.map,forEach:ReactChildren.forEach,count:ReactChildren.count,toArray:ReactChildren.toArray,only:onlyChild},Component:ReactBaseClasses.Component,PureComponent:ReactBaseClasses.PureComponent,createElement:createElement,cloneElement:cloneElement,isValidElement:ReactElement.isValidElement,PropTypes:ReactPropTypes,createClass:createReactClass,createFactory:createFactory,createMixin:createMixin,DOM:ReactDOMFactories,version:ReactVersion,__spread:__spread};if(process.env.NODE_ENV!=="production"){var warnedForCreateClass=false;if(canDefineProperty){Object.defineProperty(React,"PropTypes",{get:function(){lowPriorityWarning(didWarnPropTypesDeprecated,"Accessing PropTypes via the main React package is deprecated,"+" and will be removed in React v16.0."+" Use the latest available v15.* prop-types package from npm instead."+" For info on usage, compatibility, migration and more, see "+"path_to_url");didWarnPropTypesDeprecated=true;return ReactPropTypes}});Object.defineProperty(React,"createClass",{get:function(){lowPriorityWarning(warnedForCreateClass,"Accessing createClass via the main React package is deprecated,"+" and will be removed in React v16.0."+" Use a plain JavaScript class instead. If you're not yet "+"ready to migrate, create-react-class v15.* is available "+"on npm as a temporary, drop-in replacement. "+"For more info see path_to_url");warnedForCreateClass=true;return createReactClass}})}React.DOM={};var warnedForFactories=false;Object.keys(ReactDOMFactories).forEach(function(factory){React.DOM[factory]=function(){if(!warnedForFactories){lowPriorityWarning(false,"Accessing factories like React.DOM.%s has been deprecated "+"and will be removed in v16.0+. Use the "+"react-dom-factories package instead. "+" Version 1.0 provides a drop-in replacement."+" For more info, see path_to_url",factory);warnedForFactories=true}return ReactDOMFactories[factory].apply(ReactDOMFactories,arguments)}})}module.exports=React}).call(this,require("_process"))},{"./ReactBaseClasses":23,"./ReactChildren":24,"./ReactDOMFactories":27,"./ReactElement":28,"./ReactElementValidator":30,"./ReactPropTypes":33,"./ReactVersion":35,"./canDefineProperty":36,"./createClass":38,"./lowPriorityWarning":40,"./onlyChild":41,_process:13,"object-assign":12}],23:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant"),_assign=require("object-assign");var ReactNoopUpdateQueue=require("./ReactNoopUpdateQueue");var canDefineProperty=require("./canDefineProperty");var emptyObject=require("fbjs/lib/emptyObject");var invariant=require("fbjs/lib/invariant");var lowPriorityWarning=require("./lowPriorityWarning");function ReactComponent(props,context,updater){this.props=props;this.context=context;this.refs=emptyObject;this.updater=updater||ReactNoopUpdateQueue}ReactComponent.prototype.isReactComponent={};ReactComponent.prototype.setState=function(partialState,callback){!(typeof partialState==="object"||typeof partialState==="function"||partialState==null)?process.env.NODE_ENV!=="production"?invariant(false,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):_prodInvariant("85"):void 0;this.updater.enqueueSetState(this,partialState);if(callback){this.updater.enqueueCallback(this,callback,"setState")}};ReactComponent.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this);if(callback){this.updater.enqueueCallback(this,callback,"forceUpdate")}};if(process.env.NODE_ENV!=="production"){var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in "+"componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see "+"path_to_url"]};var defineDeprecationWarning=function(methodName,info){if(canDefineProperty){Object.defineProperty(ReactComponent.prototype,methodName,{get:function(){lowPriorityWarning(false,"%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1]);return undefined}})}};for(var fnName in deprecatedAPIs){if(deprecatedAPIs.hasOwnProperty(fnName)){defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}}}function ReactPureComponent(props,context,updater){this.props=props;this.context=context;this.refs=emptyObject;this.updater=updater||ReactNoopUpdateQueue}function ComponentDummy(){}ComponentDummy.prototype=ReactComponent.prototype;ReactPureComponent.prototype=new ComponentDummy;ReactPureComponent.prototype.constructor=ReactPureComponent;_assign(ReactPureComponent.prototype,ReactComponent.prototype);ReactPureComponent.prototype.isPureReactComponent=true;module.exports={Component:ReactComponent,PureComponent:ReactPureComponent}}).call(this,require("_process"))},{"./ReactNoopUpdateQueue":31,"./canDefineProperty":36,"./lowPriorityWarning":40,"./reactProdInvariant":42,_process:13,"fbjs/lib/emptyObject":9,"fbjs/lib/invariant":10,"object-assign":12}],24:[function(require,module,exports){"use strict";var PooledClass=require("./PooledClass");var ReactElement=require("./ReactElement");var emptyFunction=require("fbjs/lib/emptyFunction");var traverseAllChildren=require("./traverseAllChildren");var twoArgumentPooler=PooledClass.twoArgumentPooler;var fourArgumentPooler=PooledClass.fourArgumentPooler;var userProvidedKeyEscapeRegex=/\/+/g;function escapeUserProvidedKey(text){return(""+text).replace(userProvidedKeyEscapeRegex,"$&/")}function ForEachBookKeeping(forEachFunction,forEachContext){this.func=forEachFunction;this.context=forEachContext;this.count=0}ForEachBookKeeping.prototype.destructor=function(){this.func=null;this.context=null;this.count=0};PooledClass.addPoolingTo(ForEachBookKeeping,twoArgumentPooler);function forEachSingleChild(bookKeeping,child,name){var func=bookKeeping.func,context=bookKeeping.context;func.call(context,child,bookKeeping.count++)}function forEachChildren(children,forEachFunc,forEachContext){if(children==null){return children}var traverseContext=ForEachBookKeeping.getPooled(forEachFunc,forEachContext);traverseAllChildren(children,forEachSingleChild,traverseContext);ForEachBookKeeping.release(traverseContext)}function MapBookKeeping(mapResult,keyPrefix,mapFunction,mapContext){this.result=mapResult;this.keyPrefix=keyPrefix;this.func=mapFunction;this.context=mapContext;this.count=0}MapBookKeeping.prototype.destructor=function(){this.result=null;this.keyPrefix=null;this.func=null;this.context=null;this.count=0};PooledClass.addPoolingTo(MapBookKeeping,fourArgumentPooler);function mapSingleChildIntoContext(bookKeeping,child,childKey){var result=bookKeeping.result,keyPrefix=bookKeeping.keyPrefix,func=bookKeeping.func,context=bookKeeping.context;var mappedChild=func.call(context,child,bookKeeping.count++);if(Array.isArray(mappedChild)){mapIntoWithKeyPrefixInternal(mappedChild,result,childKey,emptyFunction.thatReturnsArgument)}else if(mappedChild!=null){if(ReactElement.isValidElement(mappedChild)){mappedChild=ReactElement.cloneAndReplaceKey(mappedChild,keyPrefix+(mappedChild.key&&(!child||child.key!==mappedChild.key)?escapeUserProvidedKey(mappedChild.key)+"/":"")+childKey)}result.push(mappedChild)}}function mapIntoWithKeyPrefixInternal(children,array,prefix,func,context){var escapedPrefix="";if(prefix!=null){escapedPrefix=escapeUserProvidedKey(prefix)+"/"}var traverseContext=MapBookKeeping.getPooled(array,escapedPrefix,func,context);traverseAllChildren(children,mapSingleChildIntoContext,traverseContext);MapBookKeeping.release(traverseContext)}function mapChildren(children,func,context){if(children==null){return children}var result=[];mapIntoWithKeyPrefixInternal(children,result,null,func,context);return result}function forEachSingleChildDummy(traverseContext,child,name){return null}function countChildren(children,context){return traverseAllChildren(children,forEachSingleChildDummy,null)}function toArray(children){var result=[];mapIntoWithKeyPrefixInternal(children,result,null,emptyFunction.thatReturnsArgument);return result}var ReactChildren={forEach:forEachChildren,map:mapChildren,mapIntoWithKeyPrefixInternal:mapIntoWithKeyPrefixInternal,count:countChildren,toArray:toArray};module.exports=ReactChildren},{"./PooledClass":21,"./ReactElement":28,"./traverseAllChildren":43,"fbjs/lib/emptyFunction":8}],25:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant");var ReactCurrentOwner=require("./ReactCurrentOwner");var invariant=require("fbjs/lib/invariant");var warning=require("fbjs/lib/warning");function isNative(fn){var funcToString=Function.prototype.toString;var hasOwnProperty=Object.prototype.hasOwnProperty;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var source=funcToString.call(fn);return reIsNative.test(source)}catch(err){return false}}var canUseCollections=typeof Array.from==="function"&&typeof Map==="function"&&isNative(Map)&&Map.prototype!=null&&typeof Map.prototype.keys==="function"&&isNative(Map.prototype.keys)&&typeof Set==="function"&&isNative(Set)&&Set.prototype!=null&&typeof Set.prototype.keys==="function"&&isNative(Set.prototype.keys);var setItem;var getItem;var removeItem;var getItemIDs;var addRoot;var removeRoot;var getRootIDs;if(canUseCollections){var itemMap=new Map;var rootIDSet=new Set;setItem=function(id,item){itemMap.set(id,item)};getItem=function(id){return itemMap.get(id)};removeItem=function(id){itemMap["delete"](id)};getItemIDs=function(){return Array.from(itemMap.keys())};addRoot=function(id){rootIDSet.add(id)};removeRoot=function(id){rootIDSet["delete"](id)};getRootIDs=function(){return Array.from(rootIDSet.keys())}}else{var itemByKey={};var rootByKey={};var getKeyFromID=function(id){return"."+id};var getIDFromKey=function(key){return parseInt(key.substr(1),10)};setItem=function(id,item){var key=getKeyFromID(id);itemByKey[key]=item};getItem=function(id){var key=getKeyFromID(id);return itemByKey[key]};removeItem=function(id){var key=getKeyFromID(id);delete itemByKey[key]};getItemIDs=function(){return Object.keys(itemByKey).map(getIDFromKey)};addRoot=function(id){var key=getKeyFromID(id);rootByKey[key]=true};removeRoot=function(id){var key=getKeyFromID(id);delete rootByKey[key]};getRootIDs=function(){return Object.keys(rootByKey).map(getIDFromKey)}}var unmountedIDs=[];function purgeDeep(id){var item=getItem(id);if(item){var childIDs=item.childIDs;removeItem(id);childIDs.forEach(purgeDeep)}}function describeComponentFrame(name,source,ownerName){return"\n in "+(name||"Unknown")+(source?" (at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+")":ownerName?" (created by "+ownerName+")":"")}function getDisplayName(element){if(element==null){return"#empty"}else if(typeof element==="string"||typeof element==="number"){return"#text"}else if(typeof element.type==="string"){return element.type}else{return element.type.displayName||element.type.name||"Unknown"}}function describeID(id){var name=ReactComponentTreeHook.getDisplayName(id);var element=ReactComponentTreeHook.getElement(id);var ownerID=ReactComponentTreeHook.getOwnerID(id);var ownerName;if(ownerID){ownerName=ReactComponentTreeHook.getDisplayName(ownerID)}process.env.NODE_ENV!=="production"?warning(element,"ReactComponentTreeHook: Missing React element for debugID %s when "+"building stack",id):void 0;return describeComponentFrame(name,element&&element._source,ownerName)}var ReactComponentTreeHook={onSetChildren:function(id,nextChildIDs){var item=getItem(id);!item?process.env.NODE_ENV!=="production"?invariant(false,"Item must have been set"):_prodInvariant("144"):void 0;item.childIDs=nextChildIDs;for(var i=0;i<nextChildIDs.length;i++){var nextChildID=nextChildIDs[i];var nextChild=getItem(nextChildID);!nextChild?process.env.NODE_ENV!=="production"?invariant(false,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):_prodInvariant("140"):void 0;!(nextChild.childIDs!=null||typeof nextChild.element!=="object"||nextChild.element==null)?process.env.NODE_ENV!=="production"?invariant(false,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):_prodInvariant("141"):void 0;!nextChild.isMounted?process.env.NODE_ENV!=="production"?invariant(false,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):_prodInvariant("71"):void 0;if(nextChild.parentID==null){nextChild.parentID=id}!(nextChild.parentID===id)?process.env.NODE_ENV!=="production"?invariant(false,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",nextChildID,nextChild.parentID,id):_prodInvariant("142",nextChildID,nextChild.parentID,id):void 0}},onBeforeMountComponent:function(id,element,parentID){var item={element:element,parentID:parentID,text:null,childIDs:[],isMounted:false,updateCount:0};setItem(id,item)},onBeforeUpdateComponent:function(id,element){var item=getItem(id);if(!item||!item.isMounted){return}item.element=element},onMountComponent:function(id){var item=getItem(id);!item?process.env.NODE_ENV!=="production"?invariant(false,"Item must have been set"):_prodInvariant("144"):void 0;item.isMounted=true;var isRoot=item.parentID===0;if(isRoot){addRoot(id)}},onUpdateComponent:function(id){var item=getItem(id);if(!item||!item.isMounted){return}item.updateCount++},onUnmountComponent:function(id){var item=getItem(id);if(item){item.isMounted=false;var isRoot=item.parentID===0;if(isRoot){removeRoot(id)}}unmountedIDs.push(id)},purgeUnmountedComponents:function(){if(ReactComponentTreeHook._preventPurging){return}for(var i=0;i<unmountedIDs.length;i++){var id=unmountedIDs[i];purgeDeep(id)}unmountedIDs.length=0},isMounted:function(id){var item=getItem(id);return item?item.isMounted:false},getCurrentStackAddendum:function(topElement){var info="";if(topElement){var name=getDisplayName(topElement);var owner=topElement._owner;info+=describeComponentFrame(name,topElement._source,owner&&owner.getName())}var currentOwner=ReactCurrentOwner.current;var id=currentOwner&&currentOwner._debugID;info+=ReactComponentTreeHook.getStackAddendumByID(id);return info},getStackAddendumByID:function(id){var info="";while(id){info+=describeID(id);id=ReactComponentTreeHook.getParentID(id)}return info},getChildIDs:function(id){var item=getItem(id);return item?item.childIDs:[]},getDisplayName:function(id){ var element=ReactComponentTreeHook.getElement(id);if(!element){return null}return getDisplayName(element)},getElement:function(id){var item=getItem(id);return item?item.element:null},getOwnerID:function(id){var element=ReactComponentTreeHook.getElement(id);if(!element||!element._owner){return null}return element._owner._debugID},getParentID:function(id){var item=getItem(id);return item?item.parentID:null},getSource:function(id){var item=getItem(id);var element=item?item.element:null;var source=element!=null?element._source:null;return source},getText:function(id){var element=ReactComponentTreeHook.getElement(id);if(typeof element==="string"){return element}else if(typeof element==="number"){return""+element}else{return null}},getUpdateCount:function(id){var item=getItem(id);return item?item.updateCount:0},getRootIDs:getRootIDs,getRegisteredIDs:getItemIDs,pushNonStandardWarningStack:function(isCreatingElement,currentSource){if(typeof console.reactStack!=="function"){return}var stack=[];var currentOwner=ReactCurrentOwner.current;var id=currentOwner&&currentOwner._debugID;try{if(isCreatingElement){stack.push({name:id?ReactComponentTreeHook.getDisplayName(id):null,fileName:currentSource?currentSource.fileName:null,lineNumber:currentSource?currentSource.lineNumber:null})}while(id){var element=ReactComponentTreeHook.getElement(id);var parentID=ReactComponentTreeHook.getParentID(id);var ownerID=ReactComponentTreeHook.getOwnerID(id);var ownerName=ownerID?ReactComponentTreeHook.getDisplayName(ownerID):null;var source=element&&element._source;stack.push({name:ownerName,fileName:source?source.fileName:null,lineNumber:source?source.lineNumber:null});id=parentID}}catch(err){}console.reactStack(stack)},popNonStandardWarningStack:function(){if(typeof console.reactStackEnd!=="function"){return}console.reactStackEnd()}};module.exports=ReactComponentTreeHook}).call(this,require("_process"))},{"./ReactCurrentOwner":26,"./reactProdInvariant":42,_process:13,"fbjs/lib/invariant":10,"fbjs/lib/warning":11}],26:[function(require,module,exports){"use strict";var ReactCurrentOwner={current:null};module.exports=ReactCurrentOwner},{}],27:[function(require,module,exports){(function(process){"use strict";var ReactElement=require("./ReactElement");var createDOMFactory=ReactElement.createFactory;if(process.env.NODE_ENV!=="production"){var ReactElementValidator=require("./ReactElementValidator");createDOMFactory=ReactElementValidator.createFactory}var ReactDOMFactories={a:createDOMFactory("a"),abbr:createDOMFactory("abbr"),address:createDOMFactory("address"),area:createDOMFactory("area"),article:createDOMFactory("article"),aside:createDOMFactory("aside"),audio:createDOMFactory("audio"),b:createDOMFactory("b"),base:createDOMFactory("base"),bdi:createDOMFactory("bdi"),bdo:createDOMFactory("bdo"),big:createDOMFactory("big"),blockquote:createDOMFactory("blockquote"),body:createDOMFactory("body"),br:createDOMFactory("br"),button:createDOMFactory("button"),canvas:createDOMFactory("canvas"),caption:createDOMFactory("caption"),cite:createDOMFactory("cite"),code:createDOMFactory("code"),col:createDOMFactory("col"),colgroup:createDOMFactory("colgroup"),data:createDOMFactory("data"),datalist:createDOMFactory("datalist"),dd:createDOMFactory("dd"),del:createDOMFactory("del"),details:createDOMFactory("details"),dfn:createDOMFactory("dfn"),dialog:createDOMFactory("dialog"),div:createDOMFactory("div"),dl:createDOMFactory("dl"),dt:createDOMFactory("dt"),em:createDOMFactory("em"),embed:createDOMFactory("embed"),fieldset:createDOMFactory("fieldset"),figcaption:createDOMFactory("figcaption"),figure:createDOMFactory("figure"),footer:createDOMFactory("footer"),form:createDOMFactory("form"),h1:createDOMFactory("h1"),h2:createDOMFactory("h2"),h3:createDOMFactory("h3"),h4:createDOMFactory("h4"),h5:createDOMFactory("h5"),h6:createDOMFactory("h6"),head:createDOMFactory("head"),header:createDOMFactory("header"),hgroup:createDOMFactory("hgroup"),hr:createDOMFactory("hr"),html:createDOMFactory("html"),i:createDOMFactory("i"),iframe:createDOMFactory("iframe"),img:createDOMFactory("img"),input:createDOMFactory("input"),ins:createDOMFactory("ins"),kbd:createDOMFactory("kbd"),keygen:createDOMFactory("keygen"),label:createDOMFactory("label"),legend:createDOMFactory("legend"),li:createDOMFactory("li"),link:createDOMFactory("link"),main:createDOMFactory("main"),map:createDOMFactory("map"),mark:createDOMFactory("mark"),menu:createDOMFactory("menu"),menuitem:createDOMFactory("menuitem"),meta:createDOMFactory("meta"),meter:createDOMFactory("meter"),nav:createDOMFactory("nav"),noscript:createDOMFactory("noscript"),object:createDOMFactory("object"),ol:createDOMFactory("ol"),optgroup:createDOMFactory("optgroup"),option:createDOMFactory("option"),output:createDOMFactory("output"),p:createDOMFactory("p"),param:createDOMFactory("param"),picture:createDOMFactory("picture"),pre:createDOMFactory("pre"),progress:createDOMFactory("progress"),q:createDOMFactory("q"),rp:createDOMFactory("rp"),rt:createDOMFactory("rt"),ruby:createDOMFactory("ruby"),s:createDOMFactory("s"),samp:createDOMFactory("samp"),script:createDOMFactory("script"),section:createDOMFactory("section"),select:createDOMFactory("select"),small:createDOMFactory("small"),source:createDOMFactory("source"),span:createDOMFactory("span"),strong:createDOMFactory("strong"),style:createDOMFactory("style"),sub:createDOMFactory("sub"),summary:createDOMFactory("summary"),sup:createDOMFactory("sup"),table:createDOMFactory("table"),tbody:createDOMFactory("tbody"),td:createDOMFactory("td"),textarea:createDOMFactory("textarea"),tfoot:createDOMFactory("tfoot"),th:createDOMFactory("th"),thead:createDOMFactory("thead"),time:createDOMFactory("time"),title:createDOMFactory("title"),tr:createDOMFactory("tr"),track:createDOMFactory("track"),u:createDOMFactory("u"),ul:createDOMFactory("ul"),var:createDOMFactory("var"),video:createDOMFactory("video"),wbr:createDOMFactory("wbr"),circle:createDOMFactory("circle"),clipPath:createDOMFactory("clipPath"),defs:createDOMFactory("defs"),ellipse:createDOMFactory("ellipse"),g:createDOMFactory("g"),image:createDOMFactory("image"),line:createDOMFactory("line"),linearGradient:createDOMFactory("linearGradient"),mask:createDOMFactory("mask"),path:createDOMFactory("path"),pattern:createDOMFactory("pattern"),polygon:createDOMFactory("polygon"),polyline:createDOMFactory("polyline"),radialGradient:createDOMFactory("radialGradient"),rect:createDOMFactory("rect"),stop:createDOMFactory("stop"),svg:createDOMFactory("svg"),text:createDOMFactory("text"),tspan:createDOMFactory("tspan")};module.exports=ReactDOMFactories}).call(this,require("_process"))},{"./ReactElement":28,"./ReactElementValidator":30,_process:13}],28:[function(require,module,exports){(function(process){"use strict";var _assign=require("object-assign");var ReactCurrentOwner=require("./ReactCurrentOwner");var warning=require("fbjs/lib/warning");var canDefineProperty=require("./canDefineProperty");var hasOwnProperty=Object.prototype.hasOwnProperty;var REACT_ELEMENT_TYPE=require("./ReactElementSymbol");var RESERVED_PROPS={key:true,ref:true,__self:true,__source:true};var specialPropKeyWarningShown,specialPropRefWarningShown;function hasValidRef(config){if(process.env.NODE_ENV!=="production"){if(hasOwnProperty.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning){return false}}}return config.ref!==undefined}function hasValidKey(config){if(process.env.NODE_ENV!=="production"){if(hasOwnProperty.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning){return false}}}return config.key!==undefined}function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){if(!specialPropKeyWarningShown){specialPropKeyWarningShown=true;process.env.NODE_ENV!=="production"?warning(false,"%s: `key` is not a prop. Trying to access it will result "+"in `undefined` being returned. If you need to access the same "+"value within the child component, you should pass it as a different "+"prop. (path_to_url",displayName):void 0}};warnAboutAccessingKey.isReactWarning=true;Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:true})}function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){if(!specialPropRefWarningShown){specialPropRefWarningShown=true;process.env.NODE_ENV!=="production"?warning(false,"%s: `ref` is not a prop. Trying to access it will result "+"in `undefined` being returned. If you need to access the same "+"value within the child component, you should pass it as a different "+"prop. (path_to_url",displayName):void 0}};warnAboutAccessingRef.isReactWarning=true;Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:true})}var ReactElement=function(type,key,ref,self,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:ref,props:props,_owner:owner};if(process.env.NODE_ENV!=="production"){element._store={};if(canDefineProperty){Object.defineProperty(element._store,"validated",{configurable:false,enumerable:false,writable:true,value:false});Object.defineProperty(element,"_self",{configurable:false,enumerable:false,writable:false,value:self});Object.defineProperty(element,"_source",{configurable:false,enumerable:false,writable:false,value:source})}else{element._store.validated=false;element._self=self;element._source=source}if(Object.freeze){Object.freeze(element.props);Object.freeze(element)}}return element};ReactElement.createElement=function(type,config,children){var propName;var props={};var key=null;var ref=null;var self=null;var source=null;if(config!=null){if(hasValidRef(config)){ref=config.ref}if(hasValidKey(config)){key=""+config.key}self=config.__self===undefined?null:config.__self;source=config.__source===undefined?null:config.__source;for(propName in config){if(hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)){props[propName]=config[propName]}}}var childrenLength=arguments.length-2;if(childrenLength===1){props.children=children}else if(childrenLength>1){var childArray=Array(childrenLength);for(var i=0;i<childrenLength;i++){childArray[i]=arguments[i+2]}if(process.env.NODE_ENV!=="production"){if(Object.freeze){Object.freeze(childArray)}}props.children=childArray}if(type&&type.defaultProps){var defaultProps=type.defaultProps;for(propName in defaultProps){if(props[propName]===undefined){props[propName]=defaultProps[propName]}}}if(process.env.NODE_ENV!=="production"){if(key||ref){if(typeof props.$$typeof==="undefined"||props.$$typeof!==REACT_ELEMENT_TYPE){var displayName=typeof type==="function"?type.displayName||type.name||"Unknown":type;if(key){defineKeyPropWarningGetter(props,displayName)}if(ref){defineRefPropWarningGetter(props,displayName)}}}}return ReactElement(type,key,ref,self,source,ReactCurrentOwner.current,props)};ReactElement.createFactory=function(type){var factory=ReactElement.createElement.bind(null,type);factory.type=type;return factory};ReactElement.cloneAndReplaceKey=function(oldElement,newKey){var newElement=ReactElement(oldElement.type,newKey,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,oldElement.props);return newElement};ReactElement.cloneElement=function(element,config,children){var propName;var props=_assign({},element.props);var key=element.key;var ref=element.ref;var self=element._self;var source=element._source;var owner=element._owner;if(config!=null){if(hasValidRef(config)){ref=config.ref;owner=ReactCurrentOwner.current}if(hasValidKey(config)){key=""+config.key}var defaultProps;if(element.type&&element.type.defaultProps){defaultProps=element.type.defaultProps}for(propName in config){if(hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)){if(config[propName]===undefined&&defaultProps!==undefined){props[propName]=defaultProps[propName]}else{props[propName]=config[propName]}}}}var childrenLength=arguments.length-2;if(childrenLength===1){props.children=children}else if(childrenLength>1){var childArray=Array(childrenLength);for(var i=0;i<childrenLength;i++){childArray[i]=arguments[i+2]}props.children=childArray}return ReactElement(element.type,key,ref,self,source,owner,props)};ReactElement.isValidElement=function(object){return typeof object==="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE};module.exports=ReactElement}).call(this,require("_process"))},{"./ReactCurrentOwner":26,"./ReactElementSymbol":29,"./canDefineProperty":36,_process:13,"fbjs/lib/warning":11,"object-assign":12}],29:[function(require,module,exports){"use strict";var REACT_ELEMENT_TYPE=typeof Symbol==="function"&&Symbol["for"]&&Symbol["for"]("react.element")||60103;module.exports=REACT_ELEMENT_TYPE},{}],30:[function(require,module,exports){(function(process){"use strict";var ReactCurrentOwner=require("./ReactCurrentOwner");var ReactComponentTreeHook=require("./ReactComponentTreeHook");var ReactElement=require("./ReactElement");var checkReactTypeSpec=require("./checkReactTypeSpec");var canDefineProperty=require("./canDefineProperty");var getIteratorFn=require("./getIteratorFn");var warning=require("fbjs/lib/warning");var lowPriorityWarning=require("./lowPriorityWarning");function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=ReactCurrentOwner.current.getName();if(name){return" Check the render method of `"+name+"`."}}return""}function getSourceInfoErrorAddendum(elementProps){if(elementProps!==null&&elementProps!==undefined&&elementProps.__source!==undefined){var source=elementProps.__source;var fileName=source.fileName.replace(/^.*[\\\/]/,"");var lineNumber=source.lineNumber;return" Check your code at "+fileName+":"+lineNumber+"."}return""}var ownerHasKeyUseWarning={};function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName=typeof parentType==="string"?parentType:parentType.displayName||parentType.name;if(parentName){info=" Check the top-level render call using <"+parentName+">."}}return info}function validateExplicitKey(element,parentType){if(!element._store||element._store.validated||element.key!=null){return}element._store.validated=true;var memoizer=ownerHasKeyUseWarning.uniqueKey||(ownerHasKeyUseWarning.uniqueKey={});var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(memoizer[currentComponentErrorInfo]){return}memoizer[currentComponentErrorInfo]=true;var childOwner="";if(element&&element._owner&&element._owner!==ReactCurrentOwner.current){childOwner=" It was passed a child from "+element._owner.getName()+"."}process.env.NODE_ENV!=="production"?warning(false,'Each child in an array or iterator should have a unique "key" prop.'+"%s%s See path_to_url for more information.%s",currentComponentErrorInfo,childOwner,ReactComponentTreeHook.getCurrentStackAddendum(element)):void 0}function validateChildKeys(node,parentType){if(typeof node!=="object"){return}if(Array.isArray(node)){for(var i=0;i<node.length;i++){var child=node[i];if(ReactElement.isValidElement(child)){validateExplicitKey(child,parentType)}}}else if(ReactElement.isValidElement(node)){if(node._store){node._store.validated=true}}else if(node){var iteratorFn=getIteratorFn(node);if(iteratorFn){if(iteratorFn!==node.entries){var iterator=iteratorFn.call(node);var step;while(!(step=iterator.next()).done){if(ReactElement.isValidElement(step.value)){validateExplicitKey(step.value,parentType)}}}}}}function validatePropTypes(element){var componentClass=element.type;if(typeof componentClass!=="function"){return}var name=componentClass.displayName||componentClass.name;if(componentClass.propTypes){checkReactTypeSpec(componentClass.propTypes,element.props,"prop",name,element,null)}if(typeof componentClass.getDefaultProps==="function"){process.env.NODE_ENV!=="production"?warning(componentClass.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass "+"definitions. Use a static property named `defaultProps` instead."):void 0}}var ReactElementValidator={createElement:function(type,props,children){var validType=typeof type==="string"||typeof type==="function";if(!validType){if(typeof type!=="function"&&typeof type!=="string"){var info="";if(type===undefined||typeof type==="object"&&type!==null&&Object.keys(type).length===0){info+=" You likely forgot to export your component from the file "+"it's defined in."}var sourceInfo=getSourceInfoErrorAddendum(props);if(sourceInfo){info+=sourceInfo}else{info+=getDeclarationErrorAddendum()}info+=ReactComponentTreeHook.getCurrentStackAddendum();var currentSource=props!==null&&props!==undefined&&props.__source!==undefined?props.__source:null;ReactComponentTreeHook.pushNonStandardWarningStack(true,currentSource);process.env.NODE_ENV!=="production"?warning(false,"React.createElement: type is invalid -- expected a string (for "+"built-in components) or a class/function (for composite "+"components) but got: %s.%s",type==null?type:typeof type,info):void 0;ReactComponentTreeHook.popNonStandardWarningStack()}}var element=ReactElement.createElement.apply(this,arguments);if(element==null){return element}if(validType){for(var i=2;i<arguments.length;i++){validateChildKeys(arguments[i],type)}}validatePropTypes(element);return element},createFactory:function(type){var validatedFactory=ReactElementValidator.createElement.bind(null,type);validatedFactory.type=type;if(process.env.NODE_ENV!=="production"){if(canDefineProperty){Object.defineProperty(validatedFactory,"type",{enumerable:false,get:function(){lowPriorityWarning(false,"Factory.type is deprecated. Access the class directly "+"before passing it to createFactory.");Object.defineProperty(this,"type",{value:type});return type}})}}return validatedFactory},cloneElement:function(element,props,children){var newElement=ReactElement.cloneElement.apply(this,arguments);for(var i=2;i<arguments.length;i++){validateChildKeys(arguments[i],newElement.type)}validatePropTypes(newElement);return newElement}};module.exports=ReactElementValidator}).call(this,require("_process"))},{"./ReactComponentTreeHook":25,"./ReactCurrentOwner":26,"./ReactElement":28,"./canDefineProperty":36,"./checkReactTypeSpec":37,"./getIteratorFn":39,"./lowPriorityWarning":40,_process:13,"fbjs/lib/warning":11}],31:[function(require,module,exports){(function(process){"use strict";var warning=require("fbjs/lib/warning");function warnNoop(publicInstance,callerName){if(process.env.NODE_ENV!=="production"){var constructor=publicInstance.constructor;process.env.NODE_ENV!=="production"?warning(false,"%s(...): Can only update a mounted or mounting component. "+"This usually means you called %s() on an unmounted component. "+"This is a no-op. Please check the code for the %s component.",callerName,callerName,constructor&&(constructor.displayName||constructor.name)||"ReactClass"):void 0}}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return false},enqueueCallback:function(publicInstance,callback){},enqueueForceUpdate:function(publicInstance){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState){warnNoop(publicInstance,"setState")}};module.exports=ReactNoopUpdateQueue}).call(this,require("_process"))},{_process:13,"fbjs/lib/warning":11}],32:[function(require,module,exports){(function(process){"use strict";var ReactPropTypeLocationNames={};if(process.env.NODE_ENV!=="production"){ReactPropTypeLocationNames={prop:"prop",context:"context",childContext:"child context"}}module.exports=ReactPropTypeLocationNames}).call(this,require("_process"))},{_process:13}],33:[function(require,module,exports){"use strict";var _require=require("./ReactElement"),isValidElement=_require.isValidElement;var factory=require("prop-types/factory");module.exports=factory(isValidElement)},{"./ReactElement":28,"prop-types/factory":15}],34:[function(require,module,exports){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},{}],35:[function(require,module,exports){"use strict";module.exports="15.6.2"},{}],36:[function(require,module,exports){(function(process){"use strict";var canDefineProperty=false;if(process.env.NODE_ENV!=="production"){try{Object.defineProperty({},"x",{get:function(){}});canDefineProperty=true}catch(x){}}module.exports=canDefineProperty}).call(this,require("_process"))},{_process:13}],37:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant");var ReactPropTypeLocationNames=require("./ReactPropTypeLocationNames");var ReactPropTypesSecret=require("./ReactPropTypesSecret");var invariant=require("fbjs/lib/invariant");var warning=require("fbjs/lib/warning");var ReactComponentTreeHook;if(typeof process!=="undefined"&&process.env&&process.env.NODE_ENV==="test"){ReactComponentTreeHook=require("./ReactComponentTreeHook")}var loggedTypeFailures={};function checkReactTypeSpec(typeSpecs,values,location,componentName,element,debugID){for(var typeSpecName in typeSpecs){if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{!(typeof typeSpecs[typeSpecName]==="function")?process.env.NODE_ENV!=="production"?invariant(false,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",componentName||"React class",ReactPropTypeLocationNames[location],typeSpecName):_prodInvariant("84",componentName||"React class",ReactPropTypeLocationNames[location],typeSpecName):void 0;error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}process.env.NODE_ENV!=="production"?warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker "+"function must return `null` or an `Error` but returned a %s. "+"You may have forgotten to pass an argument to the type checker "+"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and "+"shape all require an argument).",componentName||"React class",ReactPropTypeLocationNames[location],typeSpecName,typeof error):void 0;if(error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=true;var componentStackInfo="";if(process.env.NODE_ENV!=="production"){if(!ReactComponentTreeHook){ReactComponentTreeHook=require("./ReactComponentTreeHook")}if(debugID!==null){componentStackInfo=ReactComponentTreeHook.getStackAddendumByID(debugID)}else if(element!==null){componentStackInfo=ReactComponentTreeHook.getCurrentStackAddendum(element)}}process.env.NODE_ENV!=="production"?warning(false,"Failed %s type: %s%s",location,error.message,componentStackInfo):void 0}}}}module.exports=checkReactTypeSpec}).call(this,require("_process"))},{"./ReactComponentTreeHook":25,"./ReactPropTypeLocationNames":32,"./ReactPropTypesSecret":34,"./reactProdInvariant":42,_process:13,"fbjs/lib/invariant":10,"fbjs/lib/warning":11}],38:[function(require,module,exports){"use strict";var _require=require("./ReactBaseClasses"),Component=_require.Component;var _require2=require("./ReactElement"),isValidElement=_require2.isValidElement;var ReactNoopUpdateQueue=require("./ReactNoopUpdateQueue");var factory=require("create-react-class/factory");module.exports=factory(Component,isValidElement,ReactNoopUpdateQueue)},{"./ReactBaseClasses":23,"./ReactElement":28,"./ReactNoopUpdateQueue":31,"create-react-class/factory":7}],39:[function(require,module,exports){"use strict";var ITERATOR_SYMBOL=typeof Symbol==="function"&&Symbol.iterator;var FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn==="function"){return iteratorFn}}module.exports=getIteratorFn},{}],40:[function(require,module,exports){(function(process){"use strict";var lowPriorityWarning=function(){};if(process.env.NODE_ENV!=="production"){var printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key]}var argIndex=0;var message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});if(typeof console!=="undefined"){console.warn(message)}try{throw new Error(message)}catch(x){}};lowPriorityWarning=function(condition,format){if(format===undefined){throw new Error("`warning(condition, format, ...args)` requires a warning "+"message argument")}if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++){args[_key2-2]=arguments[_key2]}printWarning.apply(undefined,[format].concat(args))}}}module.exports=lowPriorityWarning}).call(this,require("_process"))},{_process:13}],41:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant");var ReactElement=require("./ReactElement");var invariant=require("fbjs/lib/invariant");function onlyChild(children){!ReactElement.isValidElement(children)?process.env.NODE_ENV!=="production"?invariant(false,"React.Children.only expected to receive a single React element child."):_prodInvariant("143"):void 0;return children}module.exports=onlyChild}).call(this,require("_process"))},{"./ReactElement":28,"./reactProdInvariant":42,_process:13,"fbjs/lib/invariant":10}],42:[function(require,module,exports){"use strict";function reactProdInvariant(code){var argCount=arguments.length-1;var message="Minified React error #"+code+"; visit "+"path_to_url"+code;for(var argIdx=0;argIdx<argCount;argIdx++){message+="&args[]="+encodeURIComponent(arguments[argIdx+1])}message+=" for the full message or use the non-minified dev environment"+" for full errors and additional helpful warnings.";var error=new Error(message);error.name="Invariant Violation";error.framesToPop=1;throw error}module.exports=reactProdInvariant},{}],43:[function(require,module,exports){(function(process){"use strict";var _prodInvariant=require("./reactProdInvariant");var ReactCurrentOwner=require("./ReactCurrentOwner");var REACT_ELEMENT_TYPE=require("./ReactElementSymbol");var getIteratorFn=require("./getIteratorFn");var invariant=require("fbjs/lib/invariant");var KeyEscapeUtils=require("./KeyEscapeUtils");var warning=require("fbjs/lib/warning");var SEPARATOR=".";var SUBSEPARATOR=":";var didWarnAboutMaps=false;function getComponentKey(component,index){if(component&&typeof component==="object"&&component.key!=null){return KeyEscapeUtils.escape(component.key)}return index.toString(36)}function traverseAllChildrenImpl(children,nameSoFar,callback,traverseContext){var type=typeof children;if(type==="undefined"||type==="boolean"){children=null}if(children===null||type==="string"||type==="number"||type==="object"&&children.$$typeof===REACT_ELEMENT_TYPE){callback(traverseContext,children,nameSoFar===""?SEPARATOR+getComponentKey(children,0):nameSoFar);return 1}var child;var nextName;var subtreeCount=0;var nextNamePrefix=nameSoFar===""?SEPARATOR:nameSoFar+SUBSEPARATOR;if(Array.isArray(children)){for(var i=0;i<children.length;i++){child=children[i];nextName=nextNamePrefix+getComponentKey(child,i);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext)}}else{var iteratorFn=getIteratorFn(children);if(iteratorFn){var iterator=iteratorFn.call(children);var step;if(iteratorFn!==children.entries){var ii=0;while(!(step=iterator.next()).done){child=step.value;nextName=nextNamePrefix+getComponentKey(child,ii++);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext)}}else{if(process.env.NODE_ENV!=="production"){var mapsAsChildrenAddendum="";if(ReactCurrentOwner.current){var mapsAsChildrenOwnerName=ReactCurrentOwner.current.getName();if(mapsAsChildrenOwnerName){mapsAsChildrenAddendum=" Check the render method of `"+mapsAsChildrenOwnerName+"`."}}process.env.NODE_ENV!=="production"?warning(didWarnAboutMaps,"Using Maps as children is not yet fully supported. It is an "+"experimental feature that might be removed. Convert it to a "+"sequence / iterable of keyed ReactElements instead.%s",mapsAsChildrenAddendum):void 0;didWarnAboutMaps=true}while(!(step=iterator.next()).done){var entry=step.value;if(entry){child=entry[1];nextName=nextNamePrefix+KeyEscapeUtils.escape(entry[0])+SUBSEPARATOR+getComponentKey(child,0);subtreeCount+=traverseAllChildrenImpl(child,nextName,callback,traverseContext)}}}}else if(type==="object"){var addendum="";if(process.env.NODE_ENV!=="production"){addendum=" If you meant to render a collection of children, use an array "+"instead or wrap the object using createFragment(object) from the "+"React add-ons.";if(children._isReactElement){addendum=" It looks like you're using an element created by a different "+"version of React. Make sure to use only one copy of React."}if(ReactCurrentOwner.current){var name=ReactCurrentOwner.current.getName();if(name){addendum+=" Check the render method of `"+name+"`."}}}var childrenString=String(children);!false?process.env.NODE_ENV!=="production"?invariant(false,"Objects are not valid as a React child (found: %s).%s",childrenString==="[object Object]"?"object with keys {"+Object.keys(children).join(", ")+"}":childrenString,addendum):_prodInvariant("31",childrenString==="[object Object]"?"object with keys {"+Object.keys(children).join(", ")+"}":childrenString,addendum):void 0}}return subtreeCount}function traverseAllChildren(children,callback,traverseContext){if(children==null){return 0}return traverseAllChildrenImpl(children,"",callback,traverseContext)}module.exports=traverseAllChildren}).call(this,require("_process"))},{"./KeyEscapeUtils":20,"./ReactCurrentOwner":26,"./ReactElementSymbol":29,"./getIteratorFn":39,"./reactProdInvariant":42,_process:13,"fbjs/lib/invariant":10,"fbjs/lib/warning":11}],44:[function(require,module,exports){"use strict";module.exports=require("./lib/React")},{"./lib/React":22}]},{},[1]); ```
```xml import { MemberEntity, RepositoryEntity } from '../../model'; import { members } from './mockData'; const baseURL = 'path_to_url const userURL = 'path_to_url const repoURL = 'path_to_url let mockMembers = members; const fetchMembers = (): Promise<MemberEntity[]> => { return Promise.resolve(mockMembers); }; const fetchMembersAsync = (): Promise<MemberEntity[]> => { const membersURL = `${baseURL}/members`; return fetch(membersURL) .then((response) => (response.json())) .then(mapToMembers); }; const mapToMembers = (githubMembers: any[]): MemberEntity[] => { return githubMembers.map(mapToMember); }; const mapToRepositories = (githubRepositories: any[]): RepositoryEntity[] => { return githubRepositories.map(mapToRepository); }; const mapToRepository = (githubRepository: any):RepositoryEntity => { return{ id: githubRepository.id, name: githubRepository.name, description: githubRepository.description } } const mapToMember = (githubMember): MemberEntity => { return { id: githubMember.id, login: githubMember.login, avatar_url: githubMember.avatar_url, }; }; const saveMember = (member: MemberEntity): Promise<boolean> => { const index = mockMembers.findIndex(m => m.id === member.id); index >= 0 ? updateMember(member, index) : insertMember(member); return Promise.resolve(true); }; const updateMember = (member: MemberEntity, index: number) => { mockMembers = [ ...mockMembers.slice(0, index), member, ...mockMembers.slice(index + 1), ]; }; const insertMember = (member: MemberEntity) => { member.id = mockMembers.length; mockMembers = [ ...mockMembers, member, ]; }; const fetchMemberById = (id: number): Promise<MemberEntity> => { const member = mockMembers.find(m => m.id === id); return Promise.resolve(member); } const fetchMemberByIdAsync = (id: number): Promise<MemberEntity> => { const membersURL = `${userURL}/${id}`; return fetch(membersURL) .then((response) => (response.json())) .then(mapToMember); } const fetchRepositoriesAsync = (): Promise<RepositoryEntity[]> => { const repositoryURL = `${repoURL}`; return fetch (repositoryURL) .then((response) => (response.json())) .then(mapToRepositories); } export const memberAPI = { fetchMembers, fetchMembersAsync, saveMember, fetchMemberById, fetchMemberByIdAsync, fetchRepositoriesAsync, }; ```
Marilyn Yalom (March 10, 1932 – November 20, 2019) was a feminist author and historian. She was a senior scholar at the Clayman Institute for Gender Research at Stanford University, and a professor of French. She served as the institute's director from 1984 to 1985. Prior to teaching at Stanford, Yalom taught at the University of Hawaiʻi at Mānoa and California State University Hayward (now known as California State University, East Bay). Life and work Yalom received her BA in French from Wellesley College in 1954, her MA in French and German from Harvard University in 1956, and her PhD in Comparative Literature from Johns Hopkins University in 1963. Marilyn Yalom's scholarly publications include Blood Sisters (1993), A History of the Breast (1997), A History of the Wife (2001), Birth of the Chess Queen (2004), The American Resting Place (2008) with photos by Reid Yalom, and How the French Invented Love (2012). Her books have been translated into 20 languages. In addition to her text, The American Resting Place contains a portfolio of 64 black and white art photos taken by her son Reid Yalom. Marilyn Yalom was presented with a Certificate of Recognition from the California State Assembly "honoring extraordinary leadership in the literary arts and continued commitment to ensuring the quality of reading" via the book The American Resting Place: Four Hundred Years of History, "thereby benefiting the people of the City and County of San Francisco and the State of California." Her book, How the French Invented Love, was short-listed for the Phi Beta Kappa Gauss literary award and for the American Library in Paris book award, in 2013. Yalom was decorated by the French government as an Officer des Palmes Academiques in 1991, and she received an Alumnae Achievement Award from Wellesley College in 2013. She was married to the psychiatrist and author Irvin Yalom. She died on November 20, 2019, from multiple myeloma, a form of cancer that affects the bone marrow. Awards and honors 2013 American Library in Paris Book Award, shortlisted for How the French Invented Love Works Maternity, Mortality, and the Literature of Madness (1985). Blood Sisters: The French Revolution in Women's Memory (1993). A History of the Breast (1997). A History of the Wife (2001). Birth of the Chess Queen (2004). The American Resting Place: Four Hundred Years of History (2008). How the French Invented Love (2012). The Social Sex: A History of Female Friendship (2015). Compelled to Witness: Women's Memoirs of the French Revolution (2015). The Amorous Heart: An Unconventional History of Love (2018). A Matter of Death and Life with her husband (2021). References External links Oral History with Marilyn Yalom, Stanford Historical Society Oral History Program, 1987. 1932 births 2019 deaths 20th-century American historians 20th-century American women writers 21st-century American historians 21st-century American women writers Feminist historians Writers from Chicago Writers from the San Francisco Bay Area American feminist writers Stanford University faculty Wellesley College alumni Deaths from multiple myeloma American women historians Historians from Illinois University of Hawaiʻi faculty California State University, East Bay faculty Johns Hopkins University alumni Harvard Graduate School of Arts and Sciences alumni
The 2010 AFC Challenge Cup was the third edition of the tournament which was held from 16–27 February 2010 in Sri Lanka. India, the defending champions, fielded their under-23 team for this tournament in preparation for the 2010 Asian Games later that year. The champions, North Korea, qualified for the 2011 Asian Cup. Qualification The finals saw three automatic qualifiers joined by five teams from the qualification phase. Qualification consisted of two sections. A playoff between the 19th and 20th ranked entrants (Mongolia and Macau) Four qualification groups for four teams. Each group winner advanced to the finals, along with the best-ranked runner-up. Because of the withdrawal of Afghanistan the ranking of second-placed teams was excluded results of any matches against fourth-placed sides. Qualifiers Qualifiers for the final tournament were: (Automatic Qualifier) (Automatic Qualifier) (Automatic Qualifier) (Winner Qualification Group A) (Winner Qualification Group B) (Winner Qualification Group C) (Winner Qualification Group D) (Best Runner-up) The draw for the final tournament was held on 30 November 2009 at the Galadari Hotel in Colombo, Sri Lanka. Venues Match officials The following referees were chosen for the 2010 AFC Challenge Cup. Squads Group stage All times are Sri Lanka Time (SLT) – UTC+5:30 Tie-breaking criteria Where two or more teams end the group stage with the same number of points, their ranking is determined by the following criteria: points earned in the matches between the teams concerned; goal difference in the matches between the teams concerned; number of goals scored in the group matches between the teams concerned; goal difference in all group matches; number of goals scored in all group matches; kicks from the penalty mark (if only two teams are level and they are both on the field of play); fewer yellow and red cards received in the group matches; drawing of lots by the organising committee. Group A Group B Knockout stage Semi-finals Third place match Final Winner Awards Goalscorers 4 goals Ryang Yong-gi 3 goals Choe Chol-man 2 goals Pai Soe Choe Myong-ho Pak Song-chol Fatkhullo Fatkhuloev Numonjon Hakimov Yusuf Rabiev Ibrahim Rabimov Mämmedaly Garadanow 1 goal Enamul Hoque Mohamed Zahid Hossain Atiqur Rahman Meshu Denzil Franco Ildar Amirov Anton Zemlianuhin Kyaw Thiha Myo Min Tun Tun Tun Win Yan Paing Kim Seong-yong Pak Kwang-ryong Ri Chol-myong Philip Dalpethado Chathura Gunarathna Shafraz Kaiz S. Sanjeev Arslanmyrat Amanow Begli Nurmyradow Berdi Şamyradow Didargylyç Urazow Notes References External links AFC Challenge Cup 2010 at The-AFC.com 2010 2010 in Asian football 2010 2009–10 in Sri Lankan football 2009–10 in Indian football 2010 in Tajikistani football 2010 in Burmese football 2010 in Bangladeshi football 2010 in North Korean football 2010 in Kyrgyzstani football 2010 in Turkmenistani football February 2010 sports events in Asia
```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> </body> </html> ```
Steven A. Denning (born September 14, 1948) is an American businessman and philanthropist. He is Chairman Emeritus of global growth equity firm General Atlantic. Denning has been with General Atlantic since its founding in 1980, leading the firm as CEO from 1995 to 2006 when he assumed the role of chairman. He helped build General Atlantic with a singular vision of supporting entrepreneurs as they work to grow their businesses. Career and education Denning co-founded growth equity firm General Atlantic in 1980 as the firm's second investment professional. He served as CEO from 1995 to 2007 when he was appointed chairman. In 2021 he became Chairman Emeritus, succeeded as chairman by current General Atlantic CEO, Bill Ford. In addition to his roles as founding partner, CEO, and chairman at General Atlantic, Denning also served as a member of the firm's executive, capital, investment, and portfolio committees, and sat on the boards of numerous portfolio companies during his career. He is currently an advisory member of the board of Starr Companies. Prior to joining General Atlantic, Denning worked at McKinsey & Company and served for six-years in the United States Navy. Denning earned his M.B.A. from the Stanford Graduate School of Business, his M.S. from the Naval Postgraduate School in Monterey, California, and a B.S. from the Georgia Institute of Technology on a Navy ROTC scholarship. Philanthropy and public positions Denning is active at Stanford, serving on the university's Board of Trustees from 2004 to 2017, including as its chair from 2012 to 2017. He also served as co-chair of The Stanford Challenge. He chaired the board's Task Force on Globalization, which later became the Special Committee on Globalization. He served as chair of the Endowment Strategic Review Committee and as chair of the Presidential Advisory Committee on New York. He continues to serve on a variety of advisory boards and councils at Stanford; he is vice chair of the Human-Centered Artificial Intelligence advisory council, chair of the president's global advisory council and the Natural Capital advisory council. He is a member of the advisory council of the Freeman Spogli Institute, the Knight-Hennessy Scholar Program advisory board and the Stanford Distinguished Careers Institute advisory council. He has given numerous talks at the university. Denning is involved in other higher education philanthropies as a member of the board of directors of College Advising Corps; he was a trustee of the Georgia Tech Foundation and was a member of the advisory board of Tsinghua School of Economics and Management. He also served on the board of visitors of Columbia College. He supports several environmental and conservationist groups; he is a member of the National Park Foundation board and the Columbia Climate board of advisors, where he also serves on the executive committee. He is an honorary trustee of the American Museum of Natural History. He was co-chair of the board of directors of the Nature Conservancy and was a trustee of the National Parks Conservation Society. Denning is also active in international relations and U.S. public policy. He is a life member of the Council on Foreign Relations and is vice chair of the board of trustees of the Carnegie Endowment for International Peace. He is also on the boards of the Markle Foundation and Blue Meridian Partners and is on the board of trustees of the Bridgespan Group. He is an honorary trustee of the Brookings Institution. Denning is also a member of the Board of Governors for the Partnership for Public Service. He was a member of the boards of the Connecticut Science Center and Cancer Research Institute, and a member of the advisory council of the McKinsey Investment Office. Awards and recognition Denning was awarded an honorary degree from Georgia Tech in 2019, when he also gave the university's commencement address. Stanford awarded him the 2018 Ernest C. Arbuckle Award. He was named to GrowthCap's Top 10 Pioneers of Growth Equity in 2014 for his work with General Atlantic and was awarded the Stanford Business School's Excellence in Leadership Award in 2007. Personal life Denning is married to Roberta Bowman Denning and has two children, Robert and Carrie. His son, Robert Steven Denning, graduated from Columbia University and Stanford Graduate School of Business and is the founder of sunglasses brand Westward Leaning. His daughter, Carrie Denning Jackson, received her BA, MA, and MBA from Stanford University and is a director at Sidewalk Labs. References American chief executives American philanthropists Stanford Graduate School of Business alumni Georgia Tech alumni 1948 births Living people
is a passenger railway station located in Seya-ku, Yokohama, Japan, operated by the private railway operator Sagami Railway (Sotetsu). Lines Mitsukyō Station is served by the Sagami Railway Main Line and lies 13.6 kilometers from the starting point of the line at Yokohama Station. Station layout The station consists of two opposed side platforms serving two tracks. The station building is elevated, and located above the platforms and tracks. Platforms History Mitsukyō Station was opened on May 12, 1926 as a station of the Jinchū Railway, the predecessor to the current Sagami Railway Main Line. The current station building was completed in October 1986. Passenger statistics In fiscal 2019, the station was used by an average of 57,806 passengers daily. The passenger figures for previous years are as shown below. Surrounding area St. Marianna University Hospital Kanagawa Prefectural Seya High School Kanagawa Prefectural Mitsusakai School for the Disabled Seya Ward General Government Building Seya Ward Office See also List of railway stations in Japan References External links Official home page Railway stations in Kanagawa Prefecture Railway stations in Japan opened in 1926 Railway stations in Yokohama
```javascript import { stripLineComment, minifyRaw, minifyCooked, compressSymbols, } from '../../src/minify' import { makePlaceholder } from '../../src/css/placeholderUtils' describe('minify utils', () => { describe('stripLineComment', () => { it('splits a line by potential comment starts and joins until one is an actual comment', () => { expect(stripLineComment('abc def//ghi//jkl')).toBe('abc def') }) it('ignores comment markers that are inside strings', () => { expect(stripLineComment('abc def"//"ghi\'//\'jkl//the end')).toBe( 'abc def"//"ghi\'//\'jkl' ) expect(stripLineComment('abc def"//"')).toBe('abc def"//"') }) it('ignores comment markers that are inside parantheses', () => { expect(stripLineComment('bla (//) bla//the end')).toBe('bla (//) bla') }) it('ignores even unescaped URLs', () => { expect(stripLineComment('path_to_url comment//')).toBe( 'path_to_url ) }) }) describe('minify(Raw|Cooked)', () => { it('Removes multi-line comments', () => { const input = 'this is a/* ignore me please */test' const expected = 'this is a test' // NOTE: They're replaced with newlines, and newlines are joined const [actual] = minifyRaw(input) expect(actual).toBe(expected) expect(actual).toBe(minifyCooked(input)[0]) }) it('Joins all lines of code', () => { const input = 'this\nis\na/* ignore me \n please */\ntest' const expected = 'this is a test' const [actual] = minifyRaw(input) expect(actual).toBe(expected) expect(actual).toBe(minifyCooked(input)[0]) }) it('Removes line comments filling an entire line', () => { const input = 'line one\n// remove this comment\nline two' const expected = 'line one line two' const [actual] = minifyRaw(input) expect(actual).toBe(expected) expect(actual).toBe(minifyCooked(input)[0]) }) it('Removes line comments at the end of lines of code', () => { const input = 'valid line with // a comment\nout comments' const expected = 'valid line with out comments' const [actual] = minifyRaw(input) expect(actual).toBe(expected) expect(actual).toBe(minifyCooked(input)[0]) }) it('Preserves multi-line comments starting with /*!', () => { const input = 'this is a /*! dont ignore me please */ test/* but you can ignore me */' const expected = 'this is a /*! dont ignore me please */ test' const [actual] = minifyRaw(input) expect(actual).toBe(expected) expect(actual).toBe(minifyCooked(input)[0]) }) it('Returns the indices of removed placeholders (expressions)', () => { const placeholder1 = makePlaceholder(0) const placeholder2 = makePlaceholder(1) const input = `this is some\ninput with ${placeholder1} and // ignored ${placeholder2}` const expected = `this is some input with ${placeholder1} and ` const [actual, indices] = minifyRaw(input) expect(actual).toBe(expected) expect(indices).toEqual([1]) expect(minifyCooked(input)).toEqual([actual, [1]]) }) }) describe('minifyRaw', () => { it('works with raw escape codes', () => { const input = 'this\\nis\\na/* ignore me \\n please */\\ntest' const expected = 'this is a test' const [actual] = minifyRaw(input) expect(actual).toBe(expected) }) }) describe('minifyCooked', () => { it('works with raw escape codes', () => { const input = 'this\\nis\\na/* ignore me \\n please */\\ntest' const expected = 'this\\nis\\na \\ntest' const [actual] = minifyCooked(input) expect(actual).toBe(expected) }) }) describe('compressSymbols', () => { it('removes spaces around symbols', () => { // The whitespace preceding the colon is removed here as part of the // trailing whitespace on the semi-colon. Contrast to the "preserves" // test below. const input = '; : { } , ; ' const expected = ';:{},;' expect(compressSymbols(input)).toBe(expected) }) it('ignores symbols inside strings', () => { const input = '; " : " \' : \' ;' const expected = ';" : " \' : \';' expect(compressSymbols(input)).toBe(expected) }) it('preserves whitespace preceding colons', () => { const input = '& :last-child { color: blue; }' const expected = '& :last-child{color:blue;}' expect(compressSymbols(input)).toBe(expected) }) }) }) ```
```smalltalk using System; using System.Diagnostics; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Xamarin.Forms.Core.UITests; #endif namespace Xamarin.Forms.Controls.Issues { #if UITEST [Category(UITestCategories.Shape)] #endif [Preserve(AllMembers = true)] [Issue(IssueTracker.Github, 11969, "[Bug] Disabling Swipe view not handling tap gesture events on the content in iOS of Xamarin Forms", PlatformAffected.iOS)] public partial class Issue11969 : TestContentPage { const string SwipeViewId = "SwipeViewId"; const string SwipeButtonId = "SwipeButtonId"; const string Failed = "SwipeView Button not tapped"; const string Success = "SUCCESS"; public Issue11969() { #if APP InitializeComponent(); #endif } protected override void Init() { } #if APP void OnCollectionViewSelectionChanged(object sender, SelectionChangedEventArgs e) { Debug.WriteLine("CollectionView SelectionChanged"); } void OnSwipeViewSwipeStarted(object sender, SwipeStartedEventArgs e) { Debug.WriteLine("SwipeView SwipeStarted"); } void OnSwipeViewSwipeEnded(object sender, SwipeEndedEventArgs e) { Debug.WriteLine("SwipeView SwipeEnded"); } void OnButtonClicked(object sender, EventArgs e) { Debug.WriteLine("Button Clicked"); TestLabel.Text = Success; DisplayAlert("Issue 11969", "Button Clicked", "Ok"); } #endif #if UITEST && __IOS__ [Test] [Category(UITestCategories.SwipeView)] public void SwipeDisableChildButtonTest() { RunningApp.WaitForElement(q => q.Marked(Failed)); RunningApp.WaitForElement(SwipeViewId); RunningApp.Tap("SwipeViewCheckBoxId"); RunningApp.Tap("SwipeViewContentCheckBoxId"); RunningApp.Tap(SwipeButtonId); RunningApp.WaitForElement(q => q.Marked(Success)); RunningApp.Tap("Ok"); } #endif } } ```
RTK could refer to: Radio Television of Kosovo, public service broadcaster in Kosovo Real-time kinematic, a technique for precision satellite navigation Receptor tyrosine kinase, high-affinity cell surface receptors Right-To-Know RTK1, RTK2, RTK3, Remembering the Kanji, books teaching Japanese Kanji Rentech, Inc., NYSE symbol
```java Updating interfaces by using `default` methods Using bounded type parameters in generic methods Detect or prevent integer overflow Limit Accessibility of `Fields` Supply `toString()` in all classes ```
```python # -*- encoding:utf-8 -*- from __future__ import print_function import seaborn as sns import numpy as np from sklearn import metrics import warnings import ast # noinspection PyUnresolvedReferences import abu_local_env import abupy from abupy import ml from abupy import AbuMetricsBase, EStoreAbu, abu from abupy import ABuMarketDrawing from abupy import AbuFactorBuyBreak from abupy import AbuFactorAtrNStop from abupy import AbuFactorPreAtrNStop from abupy import AbuFactorCloseAtrNStop from abupy import EMarketTargetType, EMarketDataFetchMode from abupy import AbuUmpMainDeg from abupy import AbuUmpMainJump from abupy import AbuUmpMainPrice from abupy import AbuUmpMainWave # None stock_pickers = None # buy_factors = [{'xd': 60, 'class': AbuFactorBuyBreak}, {'xd': 42, 'class': AbuFactorBuyBreak}] # sell_factors = [ {'stop_loss_n': 1.0, 'stop_win_n': 3.0, 'class': AbuFactorAtrNStop}, {'class': AbuFactorPreAtrNStop, 'pre_atr_n': 1.5}, {'class': AbuFactorCloseAtrNStop, 'close_atr_n': 1.5} ] warnings.filterwarnings('ignore') sns.set_context(rc={'figure.figsize': (14, 7)}) """ 11 -ABU abugithubpath_to_url (star) abuipython notebookpath_to_url * A * abu20-23 * abu20AA """ def load_abu_result_tuple(): abupy.env.g_market_target = EMarketTargetType.E_MARKET_TARGET_CN abupy.env.g_data_fetch_mode = EMarketDataFetchMode.E_DATA_FETCH_FORCE_LOCAL abu_result_tuple_train = abu.load_abu_result_tuple(n_folds=5, store_type=EStoreAbu.E_STORE_CUSTOM_NAME, custom_name='train_cn') abu_result_tuple_test = abu.load_abu_result_tuple(n_folds=5, store_type=EStoreAbu.E_STORE_CUSTOM_NAME, custom_name='test_cn') metrics_train = AbuMetricsBase(*abu_result_tuple_train) metrics_train.fit_metrics() metrics_test = AbuMetricsBase(*abu_result_tuple_test) metrics_test.fit_metrics() return abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test def sample_110(): abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() metrics_train.plot_returns_cmp(only_show_returns=True) metrics_test.plot_returns_cmp(only_show_returns=True) def sample_111(): """ 11.1 ABU 16 UMP :return: """ abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() orders_pd_train = abu_result_tuple_train.orders_pd # 20 # rank plot_simple = orders_pd_train[orders_pd_train.profit_cg < 0][:20] # save=True~/abu/data/save_png/ ABuMarketDrawing.plot_candle_from_order(plot_simple, save=True) """ 11.2 ABU 15 """ def sample_112(): """ 11.2.1 , 11.2.2 :return: """ abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() orders_pd_train = abu_result_tuple_train.orders_pd # orders_pd ump_deg = AbuUmpMainDeg(orders_pd_train) # dfump_main_make_xydf11-1 print('ump_deg.fiter.df.head():\n', ump_deg.fiter.df.head()) # 10cpu _ = ump_deg.fit(brust_min=False) print('ump_deg.cprs:\n', ump_deg.cprs) max_failed_cluster = ump_deg.cprs.loc[ump_deg.cprs.lrs.argmax()] print('{0}, {1:.2f}%, {2}, {3:.2f}%'.format( ump_deg.cprs.lrs.argmax(), max_failed_cluster.lrs * 100, max_failed_cluster.lcs, max_failed_cluster.lms * 100)) cpt = int(ump_deg.cprs.lrs.argmax().split('_')[0]) print('cpt:\n', cpt) ump_deg.show_parse_rt(ump_deg.rts[cpt]) max_failed_cluster_orders = ump_deg.nts[ump_deg.cprs.lrs.argmax()] print('max_failed_cluster_orders:\n', max_failed_cluster_orders) ml.show_orders_hist(max_failed_cluster_orders, ['buy_deg_ang21', 'buy_deg_ang42', 'buy_deg_ang60', 'buy_deg_ang252']) print('deg_ang60{0:.2f}'.format( max_failed_cluster_orders.buy_deg_ang60.mean())) print('deg_ang21{0:.2f}'.format( max_failed_cluster_orders.buy_deg_ang21.mean())) print('deg_ang42{0:.2f}'.format( max_failed_cluster_orders.buy_deg_ang42.mean())) print('deg_ang252{0:.2f}'.format( max_failed_cluster_orders.buy_deg_ang252.mean())) ml.show_orders_hist(orders_pd_train, ['buy_deg_ang21', 'buy_deg_ang42', 'buy_deg_ang60', 'buy_deg_ang252']) print('deg_ang60{0:.2f}'.format( orders_pd_train.buy_deg_ang60.mean())) print('deg_ang21{0:.2f}'.format( orders_pd_train.buy_deg_ang21.mean())) print('deg_ang42{0:.2f}'.format( orders_pd_train.buy_deg_ang42.mean())) print('deg_ang252{0:.2f}'.format( orders_pd_train.buy_deg_ang252.mean())) """ 11.2.2 """ brust_min = ump_deg.brust_min() print('brust_min:', brust_min) llps = ump_deg.cprs[(ump_deg.cprs['lps'] <= brust_min[0]) & (ump_deg.cprs['lms'] <= brust_min[1]) & ( ump_deg.cprs['lrs'] >= brust_min[2])] print('llps:\n', llps) print(ump_deg.choose_cprs_component(llps)) ump_deg.dump_clf(llps) """ 11.2.3 """ def sample_1123(): """ 11.2.3 :return: """ abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() orders_pd_train = abu_result_tuple_train.orders_pd ump_jump = AbuUmpMainJump.ump_main_clf_dump(orders_pd_train, save_order=False) print(ump_jump.fiter.df.head()) print('{0}'.format(ump_jump.cprs.lrs.argmax())) # max_failed_cluster_orders = ump_jump.nts[ump_jump.cprs.lrs.argmax()] # 11-6 print('max_failed_cluster_orders:\n', max_failed_cluster_orders) ml.show_orders_hist(max_failed_cluster_orders, feature_columns=['buy_diff_up_days', 'buy_jump_up_power', 'buy_diff_down_days', 'buy_jump_down_power']) print('jump_up_power{0:.2f} {1:.2f}'.format( max_failed_cluster_orders.buy_jump_up_power.mean(), max_failed_cluster_orders.buy_diff_up_days.mean())) print('jump_down_power{0:.2f}, {1:.2f}'.format( max_failed_cluster_orders.buy_jump_down_power.mean(), max_failed_cluster_orders.buy_diff_down_days.mean())) print('jump_up_power{0:.2f}{1:.2f}'.format( orders_pd_train.buy_jump_up_power.mean(), orders_pd_train.buy_diff_up_days.mean())) print('jump_down_power{0:.2f}, {1:.2f}'.format( orders_pd_train.buy_jump_down_power.mean(), orders_pd_train.buy_diff_down_days.mean())) """ 11.2.4 """ def sample_1124(): """ 11.2.4 :return: """ abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() orders_pd_train = abu_result_tuple_train.orders_pd ump_price = AbuUmpMainPrice.ump_main_clf_dump(orders_pd_train, save_order=False) print('ump_price.fiter.df.head():\n', ump_price.fiter.df.head()) print('{0}'.format(ump_price.cprs.lrs.argmax())) # max_failed_cluster_orders = ump_price.nts[ump_price.cprs.lrs.argmax()] # 11-8 print('max_failed_cluster_orders:\n', max_failed_cluster_orders) """ 11.2.5 """ def sample_1125(): """ 11.2.5 :return: """ abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() orders_pd_train = abu_result_tuple_train.orders_pd # ~/abu/data/save_png/ ump_wave = AbuUmpMainWave.ump_main_clf_dump(orders_pd_train, save_order=True) print('ump_wave.fiter.df.head():\n', ump_wave.fiter.df.head()) print('{0}'.format(ump_wave.cprs.lrs.argmax())) # max_failed_cluster_orders = ump_wave.nts[ump_wave.cprs.lrs.argmax()] # 11-10 print('max_failed_cluster_orders:\n', max_failed_cluster_orders) ml.show_orders_hist(max_failed_cluster_orders, feature_columns=['buy_wave_score1', 'buy_wave_score3']) print('wave_score1{0:.2f}'.format( max_failed_cluster_orders.buy_wave_score1.mean())) print('wave_score3{0:.2f}'.format( max_failed_cluster_orders.buy_wave_score3.mean())) ml.show_orders_hist(orders_pd_train, feature_columns=['buy_wave_score1', 'buy_wave_score1']) print('wave_score1{0:.2f}'.format( orders_pd_train.buy_wave_score1.mean())) print('wave_score3{0:.2f}'.format( orders_pd_train.buy_wave_score1.mean())) """ 11.2.6 ABU 21 AUMP """ def sample_1126(): """ 11.2.6 :return: """ """ """ ump_deg = AbuUmpMainDeg(predict=True) ump_jump = AbuUmpMainJump(predict=True) ump_price = AbuUmpMainPrice(predict=True) ump_wave = AbuUmpMainWave(predict=True) def apply_ml_features_ump(order, predicter, need_hit_cnt): if not isinstance(order.ml_features, dict): # pandas dictstr ml_features = ast.literal_eval(order.ml_features) else: ml_features = order.ml_features return predicter.predict_kwargs(need_hit_cnt=need_hit_cnt, **ml_features) abu_result_tuple_train, abu_result_tuple_test, metrics_train, metrics_test = load_abu_result_tuple() # order_has_result order_has_result = abu_result_tuple_test.orders_pd[abu_result_tuple_test.orders_pd.result != 0] # order_has_result['ump_deg'] = order_has_result.apply(apply_ml_features_ump, axis=1, args=(ump_deg, 2,)) # order_has_result['ump_jump'] = order_has_result.apply(apply_ml_features_ump, axis=1, args=(ump_jump, 2,)) # order_has_result['ump_wave'] = order_has_result.apply(apply_ml_features_ump, axis=1, args=(ump_wave, 2,)) # order_has_result['ump_price'] = order_has_result.apply(apply_ml_features_ump, axis=1, args=(ump_price, 2,)) block_pd = order_has_result.filter(regex='^ump_*') block_pd['sum_bk'] = block_pd.sum(axis=1) block_pd['result'] = order_has_result['result'] block_pd = block_pd[block_pd.sum_bk > 0] print('{:.2f}%'.format( block_pd[block_pd.result == -1].result.count() / block_pd.result.count() * 100)) print('block_pd.tail():\n', block_pd.tail()) def sub_ump_show(block_name): sub_block_pd = block_pd[(block_pd[block_name] == 1)] # 1->1 1->0 # noinspection PyTypeChecker sub_block_pd.result = np.where(sub_block_pd.result == -1, 1, 0) return metrics.accuracy_score(sub_block_pd[block_name], sub_block_pd.result) print('{:.2f}%'.format(sub_ump_show('ump_deg') * 100)) print('{:.2f}%'.format(sub_ump_show('ump_jump') * 100)) print('{:.2f}%'.format(sub_ump_show('ump_wave') * 100)) print('{:.2f}%'.format(sub_ump_show('ump_price') * 100)) """ 11.2.7 abu ABU 21 AUMP """ """ 11.3.1 ABU 17 UMP21 AUMP 11.3.2 ABU 17 UMP21 AUMP 11.3.3 ABU 17 UMP21 AUMP 11.3.4 ABU 17 UMP21 AUMP 11.3.5 ABU 21 AUMP 11.3.6 abu ABU 21 AUMP """ if __name__ == "__main__": sample_111() # sample_112() # sample_1123() # sample_1124() # sample_1125() # sample_1126() ```
Dinodnavirus is a genus of viruses that infect dinoflagellates. This genus belongs to the clade of nucleocytoplasmic large DNA viruses. The only species in the genus is Heterocapsa circularisquama DNA virus 01. Name The order name, Dinodnavirales, is a combination of Dino, from host dinoflagellate and dna, from its DNA genome. Virology The virus has an icosahedral capsid ~200 nanometers in diameter. The genome is a single molecule of double stranded DNA of a ~356-kilobases. It infects the dinoflagellate Heterocapsa circularisquama. During replication virions emerge from a specific cytoplasm compartment – the 'viroplasm' – which is created by the virus. Taxonomy The sole species was originally thought to belong to the family Phycodnaviridae. DNA studies have shown that the genus belongs in the family Asfarviridae. References Nucleocytoplasmic large DNA viruses Virus genera
The Institute of Medical Illustrators (IMI) was established in 1968 in the UK, to set and maintain standards for the medical illustration profession. It is notable for introducing the first Diploma in Medical Illustration in the United Kingdom. Medical illustrators work in the field of healthcare science and create resources for patient care, education and teaching. IMI brings together the disciplines of clinical photography, medical art, illustration, graphic design and video within healthcare, both in the UK and internationally. The Institute of Medical Illustrators offers professional accreditation for those with a relevant qualification in clinical photography, medical illustration, photography, graphic design or illustration. IMI members can also join the register for the Accreditation of Medical Illustration Practitioners (CAMIP), essential for those working in close contact with patients. References External links Institute of Medical Illustrators Sport & Medical Sciences 1968 establishments in the United Kingdom Illustration Medical photography and illustration Medical and health organisations based in the United Kingdom
Elisaveta Konsulova-Vazova (; 4 December 1881 – 29 August 1965) was one of the first women to become a professional artist in Bulgaria. She is also credited with being the first Bulgarian woman to paint a nude figure at the State School of Painting and the first woman to host a solo exhibition in Bulgaria. Having studied abroad, she became a noted art critic, publishing articles focused on Bulgarian culture and women's participation in the arts. Early life Elisaveta Konsulova was born on 4 December 1881 Plovdiv, in Eastern Rumelia of to Anna (née Hadjiyenova) and Georgi Konsulov. Her father was a merchant from Levski had in his early life been exiled to İzmir for political activities the 1860s, and supported the liberation of Bulgaria. After the establishment of the Principality of Bulgaria, he became a member of the Parliament. Her mother came from a well-to-do family of Tulcea. Konsulova was one of six children, including Nicholas, who would become governor of Gorna Dzhumaya; Stefan, who became a scientist; Elisaveta; Nedialka; Mara; and Karanfilais. When Konsulova was ten years old, her family moved to Sofia, where her father became the director of a distillery. Encouraged by her father, in 1897, Konsulova entered the State School of Painting, studying with Jaroslav Věšín. There were only two girls in her classes and they were often ridiculed. While the men studied anatomy on live models, the women are allowed only to sketch muscles and bones from modestly draped, plaster sculptures. Konsulova rebelled against the discriminatory teaching methods and went to the headmaster, Ivan Murvichka to complain. She insisted that women be allowed to draw from nature, just as the men were. In a time when women artists were not seen as capable, or allowed to exhibit their art with men, she convinced Murvichka to allow women the same training as men. She became the first woman at the school to both sketch nude models and paint nude portraits. During her schooling, she was introduced to a young lieutenant Boris Vazov (bg), younger brother of Ivan Vazov, who she would have a secret relationship with for eight years. Her parents disapproved of his lack of status and they had to exchange letters through a classmate. Konsulova graduated in 1902 and though she wanted to continue her studies abroad, she was unable to do so due to her father's death and the need for her to provide financial support for the family. Career Konsulova began giving private painting lessons to students, like Bistra Vinarova, soon after her graduation. In the meantime, Boris had been sent to study in Paris and completed his doctorate in law. When he returned to Bulgaria, Konsulova's mother finally gave consent for their marriage. In 1906, the couple married and built a house on a plot of land given the couple by Boris' great-uncle. Konsulova-Vazova, having kept her maiden name, continued to paint in the studio built for her in their house at 11 August Street. Most of her works were portraits and still lifes done in the Impressionist style and quite a few of the portraits were of her brother-in-law, Ivan. She opened a girls' painting school on the top floor of the house, and in spite of having two daughters, Elka (born 1907) and Sabina (born 1909), known as Binka (bg), Konsulova-Vazova still dreamed of continuing her studies. At the encouragement of her mother-in-law, Saba Vazova, in 1909, Konsulova-Vazova and her two daughters moved to Munich to attend classes at the Munich Academy of Fine Arts in the women's department. Boris remained in Sofia, and Konsulova-Vazova enrolled in classes under the tutelage of professor Henryk Knir. Her two most noted pieces from this time were Ladies in White and Portrait in White. After graduating from her courses, Konsulova-Vazova returned to Sofia and gave birth to her third daughter, Ana in 1911. Continuing her work, she created many portraits during this time. Most of them were painted outdoors and she worked in a variety of media, including oils, pastels and watercolors. She was also well known for her realistic flower paintings and still lifes. In 1911, she participated in an exhibition in Prague "Bulgarian Woman" and presented works she had created over the previous four years. In 1912, she exhibited in the show of the "Lada" Union of South Slavic Artists with her piece Ladies in White. During the First Balkan War, Konsulova-Vazova became a Red Cross volunteer, nursing cholera patients in Lozengrad and Yambol after the First Battle of Çatalca. She was awarded the Grand Cross in recognition for her Red Cross work after the war and returned to her painting. In 1919 in a Sofia event, she became the first professional woman artist in Bulgaria to hold a solo exhibit. Selling all of the works from the show, she was inspired to found a "Native Art" company in which she gave lessons on plein air painting. Some of her most noted works from this period were portraits of cultural figures, including: Portrait of the Writer Stoyan Mihaylovski (1918), Portrait of Dobri Hristov (1919), Portrait of a Boy (1920), Portrait of Ivan Vazov (1920), Portrait of (1925), among others. The 1920s ushered in a decade of artistic expansion in Bulgaria and intellectuals flourished. Konsulova-Vazova and came into their own during the period as noted Impressionists. At the beginning of the decade, she spent another extended period studying in Germany between 1920 and 1922. Konsulova-Vazova began publishing articles evaluating trends in contemporary art, finding most of the avant-garde movements like Abstract, Cubism, Dadism, to be confused and expressed that they represented a "hatred for the values of the past". In 1923, the family moved to a two-story house on Han Krum Street in Sofia and Boris began working in politics. Konsulova-Vazova was one of the founders of the "Slavia Beseda" Native Art Association, which included Karamihaylova, Konstantin Shtarkelov, , and others. The Association hosted evenings where participants shared tea, told folk tales, sang folk tunes, and created traditional handicrafts. This gave them the idea of creating a Bulgarian puppet theater, transforming the European art form into a national cultural staple. Up to that time, the only open air theater popular in Bulgaria was the Turkish folkloric theater art of , which combined farcical improvisation and various props in their plays. The group incorporated some of the Turkish traditions in their Bulgarian theater, with women sewing the native costumes and architect Atanas Donkov, carving the puppets. In 1927, Boris was appointed as the Bulgarian Plenipotentiary Minister, and the family relocated to Prague, where they would live for the next six years. Konsulova-Vazova participated in a variety of cultural projects, such as the Czechoslovak-Bulgarian Reciprocity Association, created the first boarding house for Bulgarian students in Prague, was the only Bulgarian to participate in the 1929 Congress of the International Union of Puppet Actors and that same year, presented a paper on Bulgarian traditional costumes at the International Congress of Folk Arts held in Prague. In 1930, she participated in the Bulgarian Folk Art Exhibition at the National Technical Museum. Upon her return to Sofia in 1934, Konsulova-Vazova began writing for Beseda (Debate), a women's cultural magazine published until 1940, which focused on evaluating women's place in society, their role in family, and the role of women artists. Within the pages of the magazine, she translated articles from English, French and German to expound on issues of the day. She wrote about women's political involvement, innovations in hygiene and nutrition, parenting, equal access to education, and critical evaluations of art and culture. Included in the journal were critical analysis and reproductions of each exhibition held by the Bulgarian Association of Women Artists and some foreign exhibitions, including the Association of Czech Artists of Sofia). In 1934 and again in 1935, Konsulova-Vazova showed artworks in Sofia exhibits and in 1937 was awarded the medal "For encouragement to Humanity" in the second degree. The following year she co-organized the Commonwealth Artisan-crafts Exhibition held in May and then in the summer went to Prague to organize an exhibit on Bulgarian art for the National Ethnographic Museum. She continued publishing Beseda, but also published translations of short stories and critiques in other journals and newspapers, including: Artist magazine, Day, Mir (bg), Slovo, and Zora (bg), among others. She translated works by authors such as Marie von Ebner-Eschenbach, Knut Hamsen, Jerome K. Jerome, Sinclair Lewis, Axel Munthe, Richard Muther, Theodor Storm, and many others. In 1939, Konsulova-Vazova founded the company, Bulgarian Home ( which operated until 1945. The purpose of the company was to train women in successful home management, including teaching budgeting, sanitation, and home maintenance. After the Bulgarian coup d'état of 1944, all artistic associations in the country were suspended and many intellectuals and artists left the country. Though Boris had served six terms in the National Assembly, his pension was terminated. Konsulova-Vazova turned to translating fairy tales to support them. In 1948, she joined the Union of Bulgarian Artists. Though mostly living a quiet existence in this period, in 1956, she held a jubilee exhibition of her works. Death and legacy Konsulova-Vazova died on 29 August 1965 in Sofia, which at that time was in the People's Republic of Bulgaria. Numerous posthumous exhibitions of her work have been shown throughout the world in places as far flung as Paris, Prague, São Paulo, and Warsaw. In 2004, she was a featured artist at the Bulgarian National Art Gallery. References Citations Bibliography 1881 births 1965 deaths Artists from Plovdiv Bulgarian women's rights activists 19th-century Bulgarian writers 19th-century women writers 19th-century women artists 20th-century women artists 20th-century Bulgarian women writers
```c++ #pragma once #include <QtNodes/NodeDelegateModel> #include <QtCore/QObject> #include <iostream> #include "DecimalData.hpp" using QtNodes::NodeData; using QtNodes::NodeDataType; using QtNodes::NodeDelegateModel; using QtNodes::PortIndex; using QtNodes::PortType; class QLabel; /// The model dictates the number of inputs and outputs for the Node. /// In this example it has no logic. class NumberDisplayDataModel : public NodeDelegateModel { Q_OBJECT public: NumberDisplayDataModel(); ~NumberDisplayDataModel() = default; public: QString caption() const override { return QStringLiteral("Result"); } bool captionVisible() const override { return false; } QString name() const override { return QStringLiteral("Result"); } public: unsigned int nPorts(PortType portType) const override; NodeDataType dataType(PortType portType, PortIndex portIndex) const override; std::shared_ptr<NodeData> outData(PortIndex port) override; void setInData(std::shared_ptr<NodeData> data, PortIndex portIndex) override; QWidget *embeddedWidget() override; double number() const; private: std::shared_ptr<DecimalData> _numberData; QLabel *_label; }; ```
Simon Snow is the name of: Simon Snow (writer), New Zealand writer Simon Snow (MP) (1600–1667), English politician
The year 1965 in science and technology involved some significant events, listed below. Astronomy and space exploration February 20 – Ranger 8 crashes into the Moon after a successful mission of photographing possible landing sites for the Apollo program astronauts. March 23 – NASA launches Gemini 3, the United States' first two-person space flight (crew: Gus Grissom and John Young). August 21 – NASA launches Gemini 5 (Gordon Cooper, Pete Conrad) on the first 1-week space flight, as well as the first test of fuel cells for electrical power on such a mission. November 16 – Venera program: The Soviet Union launches the Venera 3 space probe from Baikonur, Kazakhstan toward Venus. (On March 1, 1966, it becomes the first spacecraft to reach the surface of another planet). November 26 – At the Hammaguira launch facility in the Sahara Desert, France launches a Diamant-A rocket with its first satellite, Astérix-1 on board, becoming the third country to enter space. Discovery of NML Cygni, a red hypergiant and the largest star known, at about 1,650 times the Sun's radius. Biology February 4 – Trofim Lysenko is removed from his post as director of the Institute of Genetics at the Academy of Sciences in the Soviet Union and Lysenkoist theories subjected to criticism as pseudoscience. Emile Zuckerkandl and Linus Pauling name their concept of the molecular clock. The Parma wallaby, thought for around 70 years to be extinct, is rediscovered on Kawau Island (near Auckland). W. Keble Martin publishes The Concise British Flora in Colour. The "brain-eating amoeba" Naegleria fowleri is detected for the first time. Chemistry Kevlar high-strength para-aramid synthetic fiber is developed by Stephanie Kwolek at DuPont. Wang Yinglai and colleagues perform the first successful synthesis of insulin. Peter Hirsch, Archibald Howie, Robin Nicholson, D. W. Pashley and Michael Whelan publish Electron Microscopy of Thin Crystals. Climatology November 5 – US president Lyndon Johnson’s science advisory committee sends him a report entitled Restoring the Quality of Our Environment, the introduction to which states: "Pollutants have altered on a global scale the carbon dioxide content of the air and the lead concentrations in ocean waters and human populations." Computer science January 14 – CDC 6600 supercomputer delivered to CERN in Geneva. March 22 – Digital Equipment Corporation launch the 12-bit PDP-8, the first successful commercial minicomputer, which will sell more than 50,000 systems, the most of any computer up to this date. April 19 – Gordon Moore describes the exponential growth trend in computing power which will become known as Moore's law. History of science and technology Ralph Lapp publishes The New Priesthood: The Scientific Elite and the Uses of Power in the United States. Thomas Telford's Conwy Suspension Bridge in north Wales (1822–26), superseded as a vehicle crossing, is placed in the care of Britain's National Trust for Places of Historic Interest or Natural Beauty. Mathematics James Ax and Simon B. Kochen make the first proof of the Ax–Kochen theorem. James Cooley and John Tukey publish the general version of the Fast Fourier transform which becomes known as the Cooley–Tukey FFT algorithm and significant in digital signal processing. Lotfi Zadeh develops fuzzy logic. Physics January – Mathematician Roger Penrose publishes a key paper on gravitational collapse and space-time singularities. Physiology and medicine English paediatrician Harry Angelman first describes Angelman syndrome. English neurologist Victor Dubowitz first describes Dubowitz syndrome. Frank Pantridge installs the first portable defibrillator, in a Belfast ambulance. Psychology Konrad Lorenz publishes Evolution and Modification of Behavior. Technology January – Bryan Whitby and S. C. Cummins file a United Kingdom patent application for mobile ice cream producing equipment with the soft serve units powered off the ice cream van's drive mechanism (rather than a separate generator), which becomes a global standard. March 4 – Patent for the lava lamp filed. July 20 – Owen Finlay Maclaren files a UK patent application for the modern collapsible baby buggy. Awards Nobel Prizes Physics – Sin-Itiro Tomonaga, Julian Schwinger, Richard P. Feynman Chemistry – Robert Burns Woodward Medicine – François Jacob, André Lwoff, Jacques Monod Order of Merit: Dorothy Hodgkin Births March 3 – Tedros Adhanom, Ethiopian public health authority. March 7 – Ottoline Leyser, English plant biologist and science administrator. June 4 – Adi Utarini, Indonesian public health researcher. June 5 – Michael E. Brown, American astronomer. June 16 – Andrea M. Ghez, American astronomer, winner of the Nobel Prize in Physics in 2020. June 21 – Yang Liwei, Chinese astronaut. October 11 – Juan Ignacio Cirac Sasturain, Spanish physicist. Deaths March 30 – Philip Showalter Hench (born 1896), American physician, winner of the Nobel Prize in Physiology or Medicine in 1950. July 9 – Louis Harold Gray (born 1905), English physicist, inventor of the field of radiobiology. August 28 – Giulio Racah (born 1909), Israeli physicist. September 4 – Albert Schweitzer (born 1875), Alsatian medical missionary. September 20 – Arthur Holmes (born 1890), English geologist. October 12 – Paul Hermann Müller (born 1899), Swiss chemist, winner of the Nobel Prize in Physiology or Medicine in 1948. November 11 – Ronald Hatton (born 1886), English pomologist. December 11 – George Constantinescu (born 1881), Romanian-born engineer. References 20th century in science 1960s in science
```php <?php /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Authors: * - Samsung Electronics Co., Ltd. akhilesh.k@samsung.com */ return array_replace_recursive(require __DIR__.'/en.php', [ 'formats' => [ 'L' => 'DD/MM/YYYY', ], 'months' => ['Janueri', 'Februeri', 'Mas', 'Epril', 'Me', 'Jun', 'Julai', 'Ogas', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'], 'months_short' => ['Jan', 'Feb', 'Mas', 'Epr', 'Me', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Des'], 'weekdays' => ['Sande', 'Mande', 'Tunde', 'Trinde', 'Fonde', 'Fraide', 'Sarere'], 'weekdays_short' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'], 'weekdays_min' => ['San', 'Man', 'Tun', 'Tri', 'Fon', 'Fra', 'Sar'], 'day_of_first_week_of_year' => 1, 'meridiem' => ['biknait', 'apinun'], 'year' => 'yia :count', 'y' => 'yia :count', 'a_year' => 'yia :count', 'month' => ':count mun', 'm' => ':count mun', 'a_month' => ':count mun', 'week' => ':count wik', 'w' => ':count wik', 'a_week' => ':count wik', 'day' => ':count de', 'd' => ':count de', 'a_day' => ':count de', 'hour' => ':count aua', 'h' => ':count aua', 'a_hour' => ':count aua', 'minute' => ':count minit', 'min' => ':count minit', 'a_minute' => ':count minit', 'second' => ':count namba tu', 's' => ':count namba tu', 'a_second' => ':count namba tu', ]); ```
Johannes "Joe" Modise (23 May 192926 November 2001) was a South African political figure. He helped to found uMkhonto we Sizwe, the military wing of the African National Congress, and was its longest serving Commander in Chief, deputised at different points in time by Joe Slovo and Chris Hani. Modise headed MK for a 25-year period, from 1965 to 1990. He served as South Africa's first black Minister of Defence from 1994 to 1999 and led the formation of the post-independence defence force. As a PUTCO bus driver from Sophiatown, Gauteng, he became interested in the struggle against apartheid at an early age. He at first chose only non-violent means, being arrested with Nelson Mandela and 154 others and tried for treason. All were acquitted. In the 1960s, the South African government were using increasingly violent means to suppress anti-Apartheid activists, and Modise became a guerrilla fighter. He organized resistance groups and trained many other guerrilla fighters. Modise became Commander in Chief of Umkhonto we Sizwe ("MK") following the Rivonia Trial during which other MK high command members such as Nelson Mandela, Govan Mbeki, Walter Sisulu, Dennis Goldberg, Ahmed Kathrada, Raymond Mhlaba, Andrew Mlangeni and Elias Motsoaledi's were sentenced to life imprisonment. By 1990, Modise and other representatives of the African National Congress met with the white government. When Mandela was elected president in 1994, he chose Modise as his Defense Minister. Modise was charged with integrating the many sections of guerrilla fighters into the new South African National Defence Force (SANDF). Early life and education An African of Tswana descent, Modise or Joe (or JM), as he is known to family, friends and comrades, was born in Doornfontein, Johannesburg, on 23 May 1929. He was the only child of Miriam and Ezekiel Modise. Modise completed his Junior Certificate at the Fred Clark Memorial School in Nance Field. He had to leave school in order to work and contribute to his family's income. His parents impressed the importance of education on the young Modise and, consequently, he obtained his matric certificate through private study. His first job was as a driver for various companies. Contrary to apartheid regime-led claims and conspiracy theories; Modise was never a member of the Alexandra Township gang, the Spoilers. Instead he spent his time away from work (as a PUTCO bus driver) working for the African National Congress Youth League (ANCYL). Modise joined the ANCYL in about 1947 in Newclare and became one of the organisation's organisers. When the Strijdom government declared Sophiatown a White area the residents who were threatened by the demolition of their homes and political organisations, such as the African National Congress (ANC), organised themselves in the Western Areas Protest Committee. Modise was very involved in the one-day work stoppage in 1955. His political activities as an organiser against the Sophiatown removals led to his first arrest in 1954. He was also actively involved in the political campaigns against the introduction of Bantu Education in 1953. Career Freedom Charter Movement and the founding of Umkhonto we Sizwe (MK) Modise was one of the 156 people whom the South African state identified as leading figures in the Freedom Charter movement. They were charged with treason. The government claimed that they were working systematically towards the overthrow of the South African state. Modise was amongst the 73 trialists against whom charges were dropped. By 1960 many of the acts of resistance were directed against the implementation of the Pass Laws. On 21 March 1960 the Pan Africanist Congress of Azania (PAC) organised an anti-pass campaign. The ANC and the PAC were banned in the wake of the brutal crushing of the campaign by the South African police. Modise was part of the group that included his long-time friend Nelson Mandela, Wilton Mkwayi, Ronnie Kasrils, Govan Mbeki, Walter Sisulu, Denis Goldberg, Ahmed Kathrada, Raymond Mhlaba, Andrew Mlangeni, Elias Motsoaledi and others who founded Umkhonto we Sizwe (MK). After warning the South African government in June 1961 of its intent to resist further acts of terror if the government did not take steps toward constitutional reform and increase political rights, MK launched its first attacks against government installations in Johannesburg, Port Elizabeth and Durban on 16 December 1961. In January 1962, Nelson Mandela left South Africa for military training while most of the other MK members continued underground activities inside the country with meeting being held at Liliesleaf Farm in Rivonia. As soon as ties with other countries had been established, Modise played a key role in recruiting people for Umkhonto we Sizwe (MK) and arranging for them to leave the country for military training. As of 1962 he was instructed to leave his job as a driver to work as an organiser for MK on a full-time basis. On 11 July 1963, 19 ANC and MK leaders, including Arthur Goldreich and Walter Sisulu, were arrested at Liliesleaf Farm, Rivonia. Modise and other key leaders such as Oliver Tambo, Moses Kotane were not at the farm at the time of the arrests. The Rivonia trail, resulted in MK high command members Nelson Mandela, Govan Mbeki, Walter Sisulu, Dennis Goldberg, Ahmed Kathrada, Raymond Mhlaba, Andrew Mlangeni and Elias Motsoaledi's being sentenced to life imprisonment. The charge sheet at the trial lists 193 acts of sabotage. Wilton Mkwayi, head of MK at the time, escaped during trial. Building of Umkhonto we Sizwe (MK), the people's army When the Soviets opened an embassy in Dar es Salaam, Tanzania, in 1962, more direct links between the Soviets and the ANC were cemented. The embassy, formally through the Soviet Afro-Asian Solidarity Committee, invited Oliver Tambo in December 1962 to visit the Soviet Union for a period of rest. Tambo went to the country in March 1963, accompanied by Moses Kotane and they presented an overview of events in South Africa, and met with the Communist Party of the Soviet Union (CPSU). On 5 April 1963 Tambo and Kotane had talks with Ponomarev, which was the beginning of a long relationship between the men and during the meeting, parties set out radical plans for the overthrow of the apartheid regime, using armed and political struggle. Tambo also motivated the urgent need to train ANC cadres in the Soviet Union. Tambo's request for military training was approved by the Soviet government, and in Summer of 1963, two groups of 20 cadres arrived in Moscow to begin studies at the Northern Training Centre. The first group arrived in November 1963, and they were joined by a larger group that included Modise (who had taken name the guerrilla name Thabo More) and Moses Mabhida, who was recalled from the World Federation of Trade Unions (WFTU) headquarters in Prague. The recruits underwent training in guerrilla warfare, military strategy and tactics, topography, drilling and the use of firearms. Because the number of recruits had increased significantly, training was moved to a larger facility in the city of Odesa in the Ukraine. Between 1963 and 1965, 328 cadres were trained at Odesa including Chris Hani who arrived in 1964. Other leaders of the ANC and SACP also underwent aspects of military training, including Moses Kotane, Duma Nokwe, Joe Slovo and Ambrose Makiwane. Following his training, MK's executive determined that Modise should undergo further military training in order to lead its military personnel. He was also charged with the additional responsibility of the procurement of arms. Modise's training took him to the former Soviet Union, the former Czechoslovakia, Cuba and Vietnam. In 1964 he returned to Tanzania, from where he was involved in the re-organisation of MK and its training programmes and began a lifelong commitment to the struggle in which he established MK bases in Tanzania, Angola and Zambia. Training in the Soviet Union, especially for MK's staff officers continued in the USSR and Tambo and Modise led another delegation to the USSR in August 1965 with the aim of expanding these programmes. Commander in Chief of Umkhonto we Sizwe (MK) Modise was appointed Commander in Chief of Umkhonto we Sizwe (MK) in 1965. In the same year, he was also appointed to the National Executive Committee of the ANC, an explicitly political office. Between 1965 and 1990, he led every tactical and strategic action by the MK including the acts of sabotage, bombings and landmine campaigns. Between 1965 and 1996 the leadership group moved to Morogoro, which became ANC HQ, with MK becoming the ANC's military wing. In 1967, OR Tambo became Acting President, after the death of Chief Albert Luthuli. The ANC's secretary-general was Duma Nokwe, Moses Kotane filled the post of treasurer, and modise was commander in chief of MK. The primary task before them was the reorganisation of the ANC's severely disrupted structures. As Commander in Chief of MK, Modise together with Dumiso Dabengwa of Zimbabwe People's Revolutionary Army (ZAPU, ZIPRA) led the Wankie Sipolilo Campaign. The "Luthuli Detachment" comprising ANC and ZAPU guerrillas crossed the Zambezi river into the then Rhodesia and engaged joint Smith-Vorster troops during the infamous battles. Under Modise's command, the troops who included Chris Hani (Commissar), Mavuso Msimang (MK Co-Chief of Communications), Lennox Lagu, Peter Mfene, Douglas Wana, Mbijana, the late Victor Dlamini, Castro, Mashigo (the ANC Chief Representative to Lusaka), Paul Sithole, Desmond, Wilson Msweli, Shooter Makasi, Eric Nduna, Basil February, James April fought raging battles with the enemy which until late 1968. Tambo and James Chikerema, the head of ZAPU in exile, directed the campaign at the political level, while Modise (MK Commander in Chief), Akim Ndlovu (ZIPRA commander), Archie Sibeko (Zola Zembe, MK Chief of Operations), Dumiso Dabengwa (ZAPU chief of intelligence), Mjojo (General Tshali, MK Chief of Staff), Walter Mavuso (Mavuso Msimang, MK Chief of Communications) and Chris Hani (MK Commissar) assumed responsibility at the military level for personnel, reconnaissance, intelligence and logistics. The latter involved the acquisition of ammunition and food supplies for the mission, as well as the means to transport them. Intelligence was left to ZAPU, due to their knowledge of the terrain and its people. ZAPU also undertook to conduct an awareness campaign in the area of the proposed operation so as to ensure a good reception for the MK guerillas by local residents. Other ZIPRA cadres who were involved included John Dube and Moffat Hadebe (ZIPRA commanders) as well as Phelekezela Mphoko (former vice-president of Zimbabwe). Morogoro conference In 1969 Chris Hani authored the 'Hani Memorandum' which was strongly critical of the direction of the armed struggle. At the Morogoro Conference later that year, the ANC formed the Revolutionary Council which was chaired by OR Tambo. This was a move intended to reinforce the supremacy of political leadership also ensure that the task of mass mobilisation and underground organisation received the necessary emphasis - to reinforce the links between the armed struggle the mass base and the underground structures of the ANC. During the conference, Tambo resigned but was unanimously re-elected as deputy president of the ANC. There was also a decision to have new, reduced NEC and Duma Nokwe lost his position as secretary-general to Alfred Nzo and was also removed from the NEC. Modise received a massive vote of confidence and retained his post and title as Head of MK, although OR Tambo as ANC president then took on the title of Commander in Chief. The military headquarters was dissolved, and Modise was elevated to membership of the newly constituted Revolutionary Council. Separate regional headquarters, also called staff commands, for Zambia and Tanzania were established under their own chiefs of staff. The other major decision of the conference was to open membership of the ANC in exile to people of all races. This went some way towards resolving the anomaly that while membership of MK had been open to people of all races, the ANC had not taken that step. It also facilitated the political integration of MK into the ANC and brought MK back under the ANC's control – the apparent independence of MK and the lack of political control over it had been one of the main complaints of Hani and his fellow signatories. The conference did not, however, go so far as to allow non-African membership of the ANC's national executive committee. As a compromise solution, a Revolutionary Council with open and non-racial membership was established as a nominal sub-committee of the NEC. In the long run the Morogoro Conference probably strengthened the ANC in exile. Chris Hani himself said that ‘after Morogoro we never looked back’. He said that the ‘Strategy and Tactics' document that emerged from the conference became 'the lodestar of the movement' and that, with the establishment of the Revolutionary Council there was a shift in emphasis away from international solidarity and towards 'building [the] ANC inside South Africa’. Between 1970 and 1975 MK reconsolidated its underground structures. Among others, Chris Hani returned to South Africa. Escalation of MK activity within South Africa On 25 June 1975, the People's Republic of Mozambique was created after a protracted 10-year battle by FRELIMO troops against the Portuguese colonialists in which MK troops participated. On 11 November 1975 the People's Republic of Angola was born and within months, after the defeat of the invading South African army by the Angolan people's armed forces, MK was invited to train its cadres on Angolan soil. Between 1975 and 1976, early MK commanders who were active in the early 1961-64 sabotage campaign were released from Robben Island. Among them are Joe Gqabi, Indres Naidoo, Ismael Ebrahim and Andrew Masondo who re-assimilated into MK under Modise's leadership. Between 1976 and 1978, MK under Modise dramatically increased in operations inside South Africa, including sabotage of railway lines, attacks on police stations and so on. MK operations temporary went through a hiatus in 1982 after Modise and Cassius Make were captured and jailed in Botswana after they were caught with an assortment of arms. In the process, MK's plans were seized and therefore an order was given to suspend any planned actions. In 1983, the Revolutionary Council was disbanded as the ANC's main operational organ and was replaced by a Politico-Military Council (PMC). The PMC, like the old RC, was to be chaired by ANC president Oliver Tambo, deputised by secretary general Alfred Nzo. Like the RC, it had two main operational arms, one political and one military. On the political side, the PMC hierarchy consisted of a political committee chaired by Joe Jele, with Mac Maharaj as secretary. The newly created military headquarters was commanded by Modise (Commander in Chief), deputised by Chris Hani, who was also MK political commissar. Third in the military hierarchy was Joe Slovo, who was Chief of Staff. The ANC's security and intelligence organ, Nat, headed by Mzwai Piliso, was also represented on the PMC MK, under Modise and Hani's command participated in the 1983 bombing of Church Street, in Pretoria near the South African Air Force Headquarters, resulting in 19 deaths and 217 injuries. During the next 10 years, the people's army conducted a series of bombings the country including the 1985 Amanzimtoti bombing on the Natal South Coast where five civilians were killed and 40 were injured. The attack was conducted by MK cadre, Andrew Sibusiso Zondo who detonated an explosive in a rubbish bin at a shopping centre shortly before Christmas. In a submission to the Truth and Reconciliation Commission (TRC), the ANC stated that Zondo's act, though "understandable" as a response to a recent South African Defence Force raid in Lesotho, was not in line with ANC policy. Zondo was subsequently executed. In the 1986 Durban beach-front bombing, a bomb was detonated in a bar, killing three civilians and injuring 69. Robert McBride received the death penalty for this bombing which became known as the "Magoo's Bar bombing". The subsequent Truth and Reconciliation Committee called the bombing a "gross violation of human rights". McBride received amnesty and became a senior police officer. Other attacks carried out by MK include the 1987 attacks on courts in Johannesburg, Newcastle, a bank in Roodepoort (1988), Ellis Park rugby stadium (car bomb) and several others which resulted in multiple casualties. Modise continued to expand MK's capabilities by training younger promising guerrillas as executive officers and in 1985, after the ANC's Kabwe conference, General Siphiwe Nyanda went to Moscow with a group including Charles Nqakula and Nosiviwe Mapisa Nqakula to study military combat work. By 1986 there was an intake of 60 South Africans every year. By the latter half of the decade, Modise was asking the Soviets to train MK cadres for taking up positions in a regular army – by now negotiations were envisaged and a political settlement was beginning to be seen as a real possibility. In 1986 ANC members began a three-year course for motorised infantry officers in Perevalnoye, and the next year many were to embark on five-year courses to become helicopter and jet pilots, flight engineers or naval officers. Preparations for a post-apartheid South Africa In 1987, Modise as head of MK requested the assistance of the Cubans at meetings in Lusaka and Harare. These relations were maintained throughout the 1980s. Further talk included the Russians and discussions were held regarding the shape of the expected political settlement in South Africa. The ANC delegation, led by Oliver Tambo, included Modise, Joe Slovo, Alfred Nzo, and Thabo Mbeki. The Cubans were represented by Jorge Risquet, and the Soviets by Anatoly Dobrynin, who had become the replacement for Boris Ponomarey. In May 1990 under Modise's orders, Chris Hani, then Chief of Staff of MK (and Joe Modise's deputy), asked the Cubans to help train officers for the post-apartheid army. Suspension of the armed struggle In an exclusive interview with "The Herald", on Wednesday, 14 March 1990, the ANC military commander, Modise, stated that the organisation could consider the suspension of the armed struggle but not the laying down of arms, to facilitate negotiations. Upon the release of Nelson Mandela, and the subsequent unbanning of the liberation movements, Modise was one of the advance group of ANC leaders who were tasked with entering into discussions with the National Party (South Africa) government at Groote Schuur. This meeting resulted in the formulation of a document, the Groote Schuur Minute, which prepared the way for the return of exiles and a negotiated an end to the apartheid system. The building of the new South Africa Defence Force (SADF) During 1993 Modise was instrumental in negotiating the integration of officials of the South African Defence Force (SADF) and those of the liberation armies. Apart from this task Modise served on the defence sub-council of the Transitional Executive Council from December 1993 to April 1994. After the first democratic elections in April 1994 President Nelson Mandela appointed him as South Africa's Minister of Defence where together with his comrades General Siphiwe Nyanda (Defence Chief from 1998) and Ronnie Kasrils (deputy minister of defence) gallantly led the integration of the liberation armies and former colonial forces into a new, professional defence force. In the new South Africa, Modise also founded the Umkhonto we Sizwe Veterans Association and was elected "Life President". Modise's professional contribution to overthrowing apartheid and to establish a new democracy has been recognised. On 22 November 2001 President Thabo Mbeki awarded Modise the country's highest civilian honour, the Order of the Star of South Africa (non-Military), Class 1: Grand Cross (Gold). In addition, numerous roads and human settlements have been named after him. Corruption At the Sereti Commission of inquiry, Gavin Woods made accusations that Joe Modise had benefited from the South African Arms deal. However, upon cross-examination, he failed to provide any evidence of any such benefits. Joe Modise's family has consistently supported all investigations into the arms deal and have challenged anyone to come forward with evidence of any money or any benefits that flowed to Joe Modise or any of his family members. In fact, to date, no investigation or court of law has found any evidence of wrong-doing against Joe Modise, even though there have been numerous allegations levelled against him, and his peers, fellow South African liberation icons and cabinet members at the time, Nelson Mandela, Thabo Mbeki as well as the ANC. Death In 2001, Modise died of cancer in Pretoria at the age of 72. He was buried at Westpark Cemetery in Johannesburg, South Africa. He is survived by his two wives Eva Modise and Jackie Sedibe, a former MK chief of communications and first SANDF female general who led the transformation agenda of the post-apartheid defence force; and his five daughters. She was one of MK's first female recruits the only living recipient of the Order of Mendi for Bravery (nine other recipients were posthumous) which South African President Jacob Zuma presented to other members of MK's Luthuli detachment on 29 April 2016. Legacy On 6 December 2003, Mandela said the following about Modise: Awards and decorations Notes References External links Joe Modise, 72, Fighter Against Apartheid, New York Times 1929 births 2001 deaths Politicians from Johannesburg South African Sotho people African National Congress politicians Defence ministers of South Africa People acquitted of treason Deaths from cancer in South Africa Burials at Westpark Cemetery UMkhonto we Sizwe personnel
"I Can't Tell a Waltz from a Tango" is a popular song, written by Al Hoffman and Dick Manning and published in 1954. The best-known version in the United States was recorded by Patti Page; the best-known version in the United Kingdom by Alma Cogan, both of which were recorded in 1954. The Pee Wee King Orchestra recorded the song, reviewed as a "right smooth job" in the same month as the Patti Page's charting of the song. The Page recording was released by Mercury Records as catalog number 70458, with the B-side "The Mama Doll Song." It entered the Billboard chart on October 16, 1954 at number 30, the only week it charted there. In Australia, "I Can't Tell a Waltz from a Tango" afforded Page a number 14 hit. The recording by Alma Cogan was released in 1954 by HMV as a 78rpm recording (catalog number B10786) and a 45rpm recording (catalog number 7M 271). It reached number 6 on the UK Singles Chart. The B-side was "Christmas Cards". The song was often used in the BBC comedy radio programme, The Goon Show, by Ray Ellington and his quartet. References 1954 songs Songs written by Al Hoffman Songs written by Dick Manning Songs about classical music Songs about dancing
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var bench = require( '@stdlib/bench' ); var rnorm = require( '@stdlib/random/base/normal' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; var pkg = require( './../package.json' ).name; var incrgrubbs = require( './../lib' ); // MAIN // bench( pkg, function benchmark( b ) { var f; var i; b.tic(); for ( i = 0; i < b.iterations; i++ ) { f = incrgrubbs(); if ( typeof f !== 'function' ) { b.fail( 'should return a function' ); } } b.toc(); if ( typeof f !== 'function' ) { b.fail( 'should return a function' ); } b.pass( 'benchmark finished' ); b.end(); }); bench( pkg+'::options', function benchmark( b ) { var opts; var f; var i; opts = { 'alpha': 0.01, 'alternative': 'two-sided', 'init': 0 }; b.tic(); for ( i = 0; i < b.iterations; i++ ) { opts.init = i; f = incrgrubbs( opts ); if ( typeof f !== 'function' ) { b.fail( 'should return a function' ); } } b.toc(); if ( typeof f !== 'function' ) { b.fail( 'should return a function' ); } b.pass( 'benchmark finished' ); b.end(); }); bench( pkg+'::accumulator', function benchmark( b ) { var acc; var t; var i; acc = incrgrubbs(); b.tic(); for ( i = 0; i < b.iterations; i++ ) { t = acc( rnorm( 10.0, 5.0 ) ); if ( t && typeof t.rejected !== 'boolean' ) { b.fail( 'should be a boolean' ); } } b.toc(); if ( t && !isBoolean( t.rejected ) ) { b.fail( 'should be a boolean' ); } b.pass( 'benchmark finished' ); b.end(); }); ```
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef LayoutThemeWin_h #define LayoutThemeWin_h #include "core/layout/LayoutThemeDefault.h" namespace blink { class LayoutThemeWin final : public LayoutThemeDefault { public: static PassRefPtr<LayoutTheme> create(); }; } // namespace blink #endif // LayoutThemeWin_h ```
```javascript Interaction with the user Warn user if **Back** button is pressed Vibration API High Resolution Time API FileReader.readAsText() ```
Antonio Contri (before 1701September 10, 1731) was an Italian painter of the Baroque period, mainly active in Ferrara. Biography Born in Ferrara to a prominent family of lawyers, As a young man in search of a career, he traveled from Rome to Paris in 1701. In Paris, he came under the patronage of a nobleman by the name of Bernardino Macchi of Cremona, and traveled with him to Cremona where he met the landscape painter Francesco Bassi. More important than his painting, he is claimed by Luigi Lanzi to have discovered the method to transferring wood paintings to canvas. His son Francesco Contri was also a painter. References Painters from Ferrara 17th-century Italian painters Italian male painters 18th-century Italian painters Italian Baroque painters Year of birth unknown 1731 deaths 18th-century Italian male artists
```python from itertools import product from numpy.testing import (assert_, assert_allclose, assert_equal, assert_no_warnings, suppress_warnings) import pytest from pytest import raises as assert_raises import numpy as np from scipy.optimize._numdiff import group_columns from scipy.integrate import solve_ivp, RK23, RK45, DOP853, Radau, BDF, LSODA from scipy.integrate import OdeSolution from scipy.integrate._ivp.common import num_jac from scipy.integrate._ivp.base import ConstantDenseOutput from scipy.sparse import coo_matrix, csc_matrix def fun_zero(t, y): return np.zeros_like(y) def fun_linear(t, y): return np.array([-y[0] - 5 * y[1], y[0] + y[1]]) def jac_linear(): return np.array([[-1, -5], [1, 1]]) def sol_linear(t): return np.vstack((-5 * np.sin(2 * t), 2 * np.cos(2 * t) + np.sin(2 * t))) def fun_rational(t, y): return np.array([y[1] / t, y[1] * (y[0] + 2 * y[1] - 1) / (t * (y[0] - 1))]) def fun_rational_vectorized(t, y): return np.vstack((y[1] / t, y[1] * (y[0] + 2 * y[1] - 1) / (t * (y[0] - 1)))) def jac_rational(t, y): return np.array([ [0, 1 / t], [-2 * y[1] ** 2 / (t * (y[0] - 1) ** 2), (y[0] + 4 * y[1] - 1) / (t * (y[0] - 1))] ]) def jac_rational_sparse(t, y): return csc_matrix([ [0, 1 / t], [-2 * y[1] ** 2 / (t * (y[0] - 1) ** 2), (y[0] + 4 * y[1] - 1) / (t * (y[0] - 1))] ]) def sol_rational(t): return np.asarray((t / (t + 10), 10 * t / (t + 10) ** 2)) def fun_medazko(t, y): n = y.shape[0] // 2 k = 100 c = 4 phi = 2 if t <= 5 else 0 y = np.hstack((phi, 0, y, y[-2])) d = 1 / n j = np.arange(n) + 1 alpha = 2 * (j * d - 1) ** 3 / c ** 2 beta = (j * d - 1) ** 4 / c ** 2 j_2_p1 = 2 * j + 2 j_2_m3 = 2 * j - 2 j_2_m1 = 2 * j j_2 = 2 * j + 1 f = np.empty(2 * n) f[::2] = (alpha * (y[j_2_p1] - y[j_2_m3]) / (2 * d) + beta * (y[j_2_m3] - 2 * y[j_2_m1] + y[j_2_p1]) / d ** 2 - k * y[j_2_m1] * y[j_2]) f[1::2] = -k * y[j_2] * y[j_2_m1] return f def medazko_sparsity(n): cols = [] rows = [] i = np.arange(n) * 2 cols.append(i[1:]) rows.append(i[1:] - 2) cols.append(i) rows.append(i) cols.append(i) rows.append(i + 1) cols.append(i[:-1]) rows.append(i[:-1] + 2) i = np.arange(n) * 2 + 1 cols.append(i) rows.append(i) cols.append(i) rows.append(i - 1) cols = np.hstack(cols) rows = np.hstack(rows) return coo_matrix((np.ones_like(cols), (cols, rows))) def fun_complex(t, y): return -y def jac_complex(t, y): return -np.eye(y.shape[0]) def jac_complex_sparse(t, y): return csc_matrix(jac_complex(t, y)) def sol_complex(t): y = (0.5 + 1j) * np.exp(-t) return y.reshape((1, -1)) def compute_error(y, y_true, rtol, atol): e = (y - y_true) / (atol + rtol * np.abs(y_true)) return np.linalg.norm(e, axis=0) / np.sqrt(e.shape[0]) def test_integration(): rtol = 1e-3 atol = 1e-6 y0 = [1/3, 2/9] for vectorized, method, t_span, jac in product( [False, True], ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA'], [[5, 9], [5, 1]], [None, jac_rational, jac_rational_sparse]): if vectorized: fun = fun_rational_vectorized else: fun = fun_rational with suppress_warnings() as sup: sup.filter(UserWarning, "The following arguments have no effect for a chosen " "solver: `jac`") res = solve_ivp(fun, t_span, y0, rtol=rtol, atol=atol, method=method, dense_output=True, jac=jac, vectorized=vectorized) assert_equal(res.t[0], t_span[0]) assert_(res.t_events is None) assert_(res.y_events is None) assert_(res.success) assert_equal(res.status, 0) if method == 'DOP853': # DOP853 spends more functions evaluation because it doesn't # have enough time to develop big enough step size. assert_(res.nfev < 50) else: assert_(res.nfev < 40) if method in ['RK23', 'RK45', 'DOP853', 'LSODA']: assert_equal(res.njev, 0) assert_equal(res.nlu, 0) else: assert_(0 < res.njev < 3) assert_(0 < res.nlu < 10) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) tc = np.linspace(*t_span) yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert_(np.all(e < 5)) tc = (t_span[0] + t_span[-1]) / 2 yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert_(np.all(e < 5)) # LSODA for some reasons doesn't pass the polynomial through the # previous points exactly after the order change. It might be some # bug in LSOSA implementation or maybe we missing something. if method != 'LSODA': assert_allclose(res.sol(res.t), res.y, rtol=1e-15, atol=1e-15) def test_integration_complex(): rtol = 1e-3 atol = 1e-6 y0 = [0.5 + 1j] t_span = [0, 1] tc = np.linspace(t_span[0], t_span[1]) for method, jac in product(['RK23', 'RK45', 'DOP853', 'BDF'], [None, jac_complex, jac_complex_sparse]): with suppress_warnings() as sup: sup.filter(UserWarning, "The following arguments have no effect for a chosen " "solver: `jac`") res = solve_ivp(fun_complex, t_span, y0, method=method, dense_output=True, rtol=rtol, atol=atol, jac=jac) assert_equal(res.t[0], t_span[0]) assert_(res.t_events is None) assert_(res.y_events is None) assert_(res.success) assert_equal(res.status, 0) if method == 'DOP853': assert res.nfev < 35 else: assert res.nfev < 25 if method == 'BDF': assert_equal(res.njev, 1) assert res.nlu < 6 else: assert res.njev == 0 assert res.nlu == 0 y_true = sol_complex(res.t) e = compute_error(res.y, y_true, rtol, atol) assert np.all(e < 5) yc_true = sol_complex(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert np.all(e < 5) def test_integration_sparse_difference(): n = 200 t_span = [0, 20] y0 = np.zeros(2 * n) y0[1::2] = 1 sparsity = medazko_sparsity(n) for method in ['BDF', 'Radau']: res = solve_ivp(fun_medazko, t_span, y0, method=method, jac_sparsity=sparsity) assert_equal(res.t[0], t_span[0]) assert_(res.t_events is None) assert_(res.y_events is None) assert_(res.success) assert_equal(res.status, 0) assert_allclose(res.y[78, -1], 0.233994e-3, rtol=1e-2) assert_allclose(res.y[79, -1], 0, atol=1e-3) assert_allclose(res.y[148, -1], 0.359561e-3, rtol=1e-2) assert_allclose(res.y[149, -1], 0, atol=1e-3) assert_allclose(res.y[198, -1], 0.117374129e-3, rtol=1e-2) assert_allclose(res.y[199, -1], 0.6190807e-5, atol=1e-3) assert_allclose(res.y[238, -1], 0, atol=1e-3) assert_allclose(res.y[239, -1], 0.9999997, rtol=1e-2) def test_integration_const_jac(): rtol = 1e-3 atol = 1e-6 y0 = [0, 2] t_span = [0, 2] J = jac_linear() J_sparse = csc_matrix(J) for method, jac in product(['Radau', 'BDF'], [J, J_sparse]): res = solve_ivp(fun_linear, t_span, y0, rtol=rtol, atol=atol, method=method, dense_output=True, jac=jac) assert_equal(res.t[0], t_span[0]) assert_(res.t_events is None) assert_(res.y_events is None) assert_(res.success) assert_equal(res.status, 0) assert_(res.nfev < 100) assert_equal(res.njev, 0) assert_(0 < res.nlu < 15) y_true = sol_linear(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 10)) tc = np.linspace(*t_span) yc_true = sol_linear(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert_(np.all(e < 15)) assert_allclose(res.sol(res.t), res.y, rtol=1e-14, atol=1e-14) @pytest.mark.slow @pytest.mark.parametrize('method', ['Radau', 'BDF', 'LSODA']) def test_integration_stiff(method): rtol = 1e-6 atol = 1e-6 y0 = [1e4, 0, 0] tspan = [0, 1e8] def fun_robertson(t, state): x, y, z = state return [ -0.04 * x + 1e4 * y * z, 0.04 * x - 1e4 * y * z - 3e7 * y * y, 3e7 * y * y, ] res = solve_ivp(fun_robertson, tspan, y0, rtol=rtol, atol=atol, method=method) # If the stiff mode is not activated correctly, these numbers will be much bigger assert res.nfev < 5000 assert res.njev < 200 def test_events(): def event_rational_1(t, y): return y[0] - y[1] ** 0.7 def event_rational_2(t, y): return y[1] ** 0.6 - y[0] def event_rational_3(t, y): return t - 7.4 event_rational_3.terminal = True for method in ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']: res = solve_ivp(fun_rational, [5, 8], [1/3, 2/9], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 1) assert_equal(res.t_events[1].size, 1) assert_(5.3 < res.t_events[0][0] < 5.7) assert_(7.3 < res.t_events[1][0] < 7.7) assert_equal(res.y_events[0].shape, (1, 2)) assert_equal(res.y_events[1].shape, (1, 2)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) assert np.isclose( event_rational_2(res.t_events[1][0], res.y_events[1][0]), 0) event_rational_1.direction = 1 event_rational_2.direction = 1 res = solve_ivp(fun_rational, [5, 8], [1 / 3, 2 / 9], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 1) assert_equal(res.t_events[1].size, 0) assert_(5.3 < res.t_events[0][0] < 5.7) assert_equal(res.y_events[0].shape, (1, 2)) assert_equal(res.y_events[1].shape, (0,)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) event_rational_1.direction = -1 event_rational_2.direction = -1 res = solve_ivp(fun_rational, [5, 8], [1 / 3, 2 / 9], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 0) assert_equal(res.t_events[1].size, 1) assert_(7.3 < res.t_events[1][0] < 7.7) assert_equal(res.y_events[0].shape, (0,)) assert_equal(res.y_events[1].shape, (1, 2)) assert np.isclose( event_rational_2(res.t_events[1][0], res.y_events[1][0]), 0) event_rational_1.direction = 0 event_rational_2.direction = 0 res = solve_ivp(fun_rational, [5, 8], [1 / 3, 2 / 9], method=method, events=(event_rational_1, event_rational_2, event_rational_3), dense_output=True) assert_equal(res.status, 1) assert_equal(res.t_events[0].size, 1) assert_equal(res.t_events[1].size, 0) assert_equal(res.t_events[2].size, 1) assert_(5.3 < res.t_events[0][0] < 5.7) assert_(7.3 < res.t_events[2][0] < 7.5) assert_equal(res.y_events[0].shape, (1, 2)) assert_equal(res.y_events[1].shape, (0,)) assert_equal(res.y_events[2].shape, (1, 2)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) assert np.isclose( event_rational_3(res.t_events[2][0], res.y_events[2][0]), 0) res = solve_ivp(fun_rational, [5, 8], [1 / 3, 2 / 9], method=method, events=event_rational_1, dense_output=True) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 1) assert_(5.3 < res.t_events[0][0] < 5.7) assert_equal(res.y_events[0].shape, (1, 2)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) # Also test that termination by event doesn't break interpolants. tc = np.linspace(res.t[0], res.t[-1]) yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, 1e-3, 1e-6) assert_(np.all(e < 5)) # Test that the y_event matches solution assert np.allclose(sol_rational(res.t_events[0][0]), res.y_events[0][0], rtol=1e-3, atol=1e-6) # Test in backward direction. event_rational_1.direction = 0 event_rational_2.direction = 0 for method in ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']: res = solve_ivp(fun_rational, [8, 5], [4/9, 20/81], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 1) assert_equal(res.t_events[1].size, 1) assert_(5.3 < res.t_events[0][0] < 5.7) assert_(7.3 < res.t_events[1][0] < 7.7) assert_equal(res.y_events[0].shape, (1, 2)) assert_equal(res.y_events[1].shape, (1, 2)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) assert np.isclose( event_rational_2(res.t_events[1][0], res.y_events[1][0]), 0) event_rational_1.direction = -1 event_rational_2.direction = -1 res = solve_ivp(fun_rational, [8, 5], [4/9, 20/81], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 1) assert_equal(res.t_events[1].size, 0) assert_(5.3 < res.t_events[0][0] < 5.7) assert_equal(res.y_events[0].shape, (1, 2)) assert_equal(res.y_events[1].shape, (0,)) assert np.isclose( event_rational_1(res.t_events[0][0], res.y_events[0][0]), 0) event_rational_1.direction = 1 event_rational_2.direction = 1 res = solve_ivp(fun_rational, [8, 5], [4/9, 20/81], method=method, events=(event_rational_1, event_rational_2)) assert_equal(res.status, 0) assert_equal(res.t_events[0].size, 0) assert_equal(res.t_events[1].size, 1) assert_(7.3 < res.t_events[1][0] < 7.7) assert_equal(res.y_events[0].shape, (0,)) assert_equal(res.y_events[1].shape, (1, 2)) assert np.isclose( event_rational_2(res.t_events[1][0], res.y_events[1][0]), 0) event_rational_1.direction = 0 event_rational_2.direction = 0 res = solve_ivp(fun_rational, [8, 5], [4/9, 20/81], method=method, events=(event_rational_1, event_rational_2, event_rational_3), dense_output=True) assert_equal(res.status, 1) assert_equal(res.t_events[0].size, 0) assert_equal(res.t_events[1].size, 1) assert_equal(res.t_events[2].size, 1) assert_(7.3 < res.t_events[1][0] < 7.7) assert_(7.3 < res.t_events[2][0] < 7.5) assert_equal(res.y_events[0].shape, (0,)) assert_equal(res.y_events[1].shape, (1, 2)) assert_equal(res.y_events[2].shape, (1, 2)) assert np.isclose( event_rational_2(res.t_events[1][0], res.y_events[1][0]), 0) assert np.isclose( event_rational_3(res.t_events[2][0], res.y_events[2][0]), 0) # Also test that termination by event doesn't break interpolants. tc = np.linspace(res.t[-1], res.t[0]) yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, 1e-3, 1e-6) assert_(np.all(e < 5)) assert np.allclose(sol_rational(res.t_events[1][0]), res.y_events[1][0], rtol=1e-3, atol=1e-6) assert np.allclose(sol_rational(res.t_events[2][0]), res.y_events[2][0], rtol=1e-3, atol=1e-6) def test_max_step(): rtol = 1e-3 atol = 1e-6 y0 = [1/3, 2/9] for method in [RK23, RK45, DOP853, Radau, BDF, LSODA]: for t_span in ([5, 9], [5, 1]): res = solve_ivp(fun_rational, t_span, y0, rtol=rtol, max_step=0.5, atol=atol, method=method, dense_output=True) assert_equal(res.t[0], t_span[0]) assert_equal(res.t[-1], t_span[-1]) assert_(np.all(np.abs(np.diff(res.t)) <= 0.5 + 1e-15)) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) tc = np.linspace(*t_span) yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert_(np.all(e < 5)) # See comment in test_integration. if method is not LSODA: assert_allclose(res.sol(res.t), res.y, rtol=1e-15, atol=1e-15) assert_raises(ValueError, method, fun_rational, t_span[0], y0, t_span[1], max_step=-1) if method is not LSODA: solver = method(fun_rational, t_span[0], y0, t_span[1], rtol=rtol, atol=atol, max_step=1e-20) message = solver.step() assert_equal(solver.status, 'failed') assert_("step size is less" in message) assert_raises(RuntimeError, solver.step) def test_first_step(): rtol = 1e-3 atol = 1e-6 y0 = [1/3, 2/9] first_step = 0.1 for method in [RK23, RK45, DOP853, Radau, BDF, LSODA]: for t_span in ([5, 9], [5, 1]): res = solve_ivp(fun_rational, t_span, y0, rtol=rtol, max_step=0.5, atol=atol, method=method, dense_output=True, first_step=first_step) assert_equal(res.t[0], t_span[0]) assert_equal(res.t[-1], t_span[-1]) assert_allclose(first_step, np.abs(res.t[1] - 5)) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) tc = np.linspace(*t_span) yc_true = sol_rational(tc) yc = res.sol(tc) e = compute_error(yc, yc_true, rtol, atol) assert_(np.all(e < 5)) # See comment in test_integration. if method is not LSODA: assert_allclose(res.sol(res.t), res.y, rtol=1e-15, atol=1e-15) assert_raises(ValueError, method, fun_rational, t_span[0], y0, t_span[1], first_step=-1) assert_raises(ValueError, method, fun_rational, t_span[0], y0, t_span[1], first_step=5) def test_t_eval(): rtol = 1e-3 atol = 1e-6 y0 = [1/3, 2/9] for t_span in ([5, 9], [5, 1]): t_eval = np.linspace(t_span[0], t_span[1], 10) res = solve_ivp(fun_rational, t_span, y0, rtol=rtol, atol=atol, t_eval=t_eval) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) t_eval = [5, 5.01, 7, 8, 8.01, 9] res = solve_ivp(fun_rational, [5, 9], y0, rtol=rtol, atol=atol, t_eval=t_eval) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) t_eval = [5, 4.99, 3, 1.5, 1.1, 1.01, 1] res = solve_ivp(fun_rational, [5, 1], y0, rtol=rtol, atol=atol, t_eval=t_eval) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) t_eval = [5.01, 7, 8, 8.01] res = solve_ivp(fun_rational, [5, 9], y0, rtol=rtol, atol=atol, t_eval=t_eval) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) t_eval = [4.99, 3, 1.5, 1.1, 1.01] res = solve_ivp(fun_rational, [5, 1], y0, rtol=rtol, atol=atol, t_eval=t_eval) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) t_eval = [4, 6] assert_raises(ValueError, solve_ivp, fun_rational, [5, 9], y0, rtol=rtol, atol=atol, t_eval=t_eval) def test_t_eval_dense_output(): rtol = 1e-3 atol = 1e-6 y0 = [1/3, 2/9] t_span = [5, 9] t_eval = np.linspace(t_span[0], t_span[1], 10) res = solve_ivp(fun_rational, t_span, y0, rtol=rtol, atol=atol, t_eval=t_eval) res_d = solve_ivp(fun_rational, t_span, y0, rtol=rtol, atol=atol, t_eval=t_eval, dense_output=True) assert_equal(res.t, t_eval) assert_(res.t_events is None) assert_(res.success) assert_equal(res.status, 0) assert_equal(res.t, res_d.t) assert_equal(res.y, res_d.y) assert_(res_d.t_events is None) assert_(res_d.success) assert_equal(res_d.status, 0) # if t and y are equal only test values for one case y_true = sol_rational(res.t) e = compute_error(res.y, y_true, rtol, atol) assert_(np.all(e < 5)) def test_no_integration(): for method in ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']: sol = solve_ivp(lambda t, y: -y, [4, 4], [2, 3], method=method, dense_output=True) assert_equal(sol.sol(4), [2, 3]) assert_equal(sol.sol([4, 5, 6]), [[2, 2, 2], [3, 3, 3]]) def test_no_integration_class(): for method in [RK23, RK45, DOP853, Radau, BDF, LSODA]: solver = method(lambda t, y: -y, 0.0, [10.0, 0.0], 0.0) solver.step() assert_equal(solver.status, 'finished') sol = solver.dense_output() assert_equal(sol(0.0), [10.0, 0.0]) assert_equal(sol([0, 1, 2]), [[10, 10, 10], [0, 0, 0]]) solver = method(lambda t, y: -y, 0.0, [], np.inf) solver.step() assert_equal(solver.status, 'finished') sol = solver.dense_output() assert_equal(sol(100.0), []) assert_equal(sol([0, 1, 2]), np.empty((0, 3))) def test_empty(): def fun(t, y): return np.zeros((0,)) y0 = np.zeros((0,)) for method in ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']: sol = assert_no_warnings(solve_ivp, fun, [0, 10], y0, method=method, dense_output=True) assert_equal(sol.sol(10), np.zeros((0,))) assert_equal(sol.sol([1, 2, 3]), np.zeros((0, 3))) for method in ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']: sol = assert_no_warnings(solve_ivp, fun, [0, np.inf], y0, method=method, dense_output=True) assert_equal(sol.sol(10), np.zeros((0,))) assert_equal(sol.sol([1, 2, 3]), np.zeros((0, 3))) def test_ConstantDenseOutput(): sol = ConstantDenseOutput(0, 1, np.array([1, 2])) assert_allclose(sol(1.5), [1, 2]) assert_allclose(sol([1, 1.5, 2]), [[1, 1, 1], [2, 2, 2]]) sol = ConstantDenseOutput(0, 1, np.array([])) assert_allclose(sol(1.5), np.empty(0)) assert_allclose(sol([1, 1.5, 2]), np.empty((0, 3))) def test_classes(): y0 = [1 / 3, 2 / 9] for cls in [RK23, RK45, DOP853, Radau, BDF, LSODA]: solver = cls(fun_rational, 5, y0, np.inf) assert_equal(solver.n, 2) assert_equal(solver.status, 'running') assert_equal(solver.t_bound, np.inf) assert_equal(solver.direction, 1) assert_equal(solver.t, 5) assert_equal(solver.y, y0) assert_(solver.step_size is None) if cls is not LSODA: assert_(solver.nfev > 0) assert_(solver.njev >= 0) assert_equal(solver.nlu, 0) else: assert_equal(solver.nfev, 0) assert_equal(solver.njev, 0) assert_equal(solver.nlu, 0) assert_raises(RuntimeError, solver.dense_output) message = solver.step() assert_equal(solver.status, 'running') assert_equal(message, None) assert_equal(solver.n, 2) assert_equal(solver.t_bound, np.inf) assert_equal(solver.direction, 1) assert_(solver.t > 5) assert_(not np.all(np.equal(solver.y, y0))) assert_(solver.step_size > 0) assert_(solver.nfev > 0) assert_(solver.njev >= 0) assert_(solver.nlu >= 0) sol = solver.dense_output() assert_allclose(sol(5), y0, rtol=1e-15, atol=0) def test_OdeSolution(): ts = np.array([0, 2, 5], dtype=float) s1 = ConstantDenseOutput(ts[0], ts[1], np.array([-1])) s2 = ConstantDenseOutput(ts[1], ts[2], np.array([1])) sol = OdeSolution(ts, [s1, s2]) assert_equal(sol(-1), [-1]) assert_equal(sol(1), [-1]) assert_equal(sol(2), [-1]) assert_equal(sol(3), [1]) assert_equal(sol(5), [1]) assert_equal(sol(6), [1]) assert_equal(sol([0, 6, -2, 1.5, 4.5, 2.5, 5, 5.5, 2]), np.array([[-1, 1, -1, -1, 1, 1, 1, 1, -1]])) ts = np.array([10, 4, -3]) s1 = ConstantDenseOutput(ts[0], ts[1], np.array([-1])) s2 = ConstantDenseOutput(ts[1], ts[2], np.array([1])) sol = OdeSolution(ts, [s1, s2]) assert_equal(sol(11), [-1]) assert_equal(sol(10), [-1]) assert_equal(sol(5), [-1]) assert_equal(sol(4), [-1]) assert_equal(sol(0), [1]) assert_equal(sol(-3), [1]) assert_equal(sol(-4), [1]) assert_equal(sol([12, -5, 10, -3, 6, 1, 4]), np.array([[-1, 1, -1, 1, -1, 1, -1]])) ts = np.array([1, 1]) s = ConstantDenseOutput(1, 1, np.array([10])) sol = OdeSolution(ts, [s]) assert_equal(sol(0), [10]) assert_equal(sol(1), [10]) assert_equal(sol(2), [10]) assert_equal(sol([2, 1, 0]), np.array([[10, 10, 10]])) def test_num_jac(): def fun(t, y): return np.vstack([ -0.04 * y[0] + 1e4 * y[1] * y[2], 0.04 * y[0] - 1e4 * y[1] * y[2] - 3e7 * y[1] ** 2, 3e7 * y[1] ** 2 ]) def jac(t, y): return np.array([ [-0.04, 1e4 * y[2], 1e4 * y[1]], [0.04, -1e4 * y[2] - 6e7 * y[1], -1e4 * y[1]], [0, 6e7 * y[1], 0] ]) t = 1 y = np.array([1, 0, 0]) J_true = jac(t, y) threshold = 1e-5 f = fun(t, y).ravel() J_num, factor = num_jac(fun, t, y, f, threshold, None) assert_allclose(J_num, J_true, rtol=1e-5, atol=1e-5) J_num, factor = num_jac(fun, t, y, f, threshold, factor) assert_allclose(J_num, J_true, rtol=1e-5, atol=1e-5) def test_num_jac_sparse(): def fun(t, y): e = y[1:]**3 - y[:-1]**2 z = np.zeros(y.shape[1]) return np.vstack((z, 3 * e)) + np.vstack((2 * e, z)) def structure(n): A = np.zeros((n, n), dtype=int) A[0, 0] = 1 A[0, 1] = 1 for i in range(1, n - 1): A[i, i - 1: i + 2] = 1 A[-1, -1] = 1 A[-1, -2] = 1 return A np.random.seed(0) n = 20 y = np.random.randn(n) A = structure(n) groups = group_columns(A) f = fun(0, y[:, None]).ravel() # Compare dense and sparse results, assuming that dense implementation # is correct (as it is straightforward). J_num_sparse, factor_sparse = num_jac(fun, 0, y.ravel(), f, 1e-8, None, sparsity=(A, groups)) J_num_dense, factor_dense = num_jac(fun, 0, y.ravel(), f, 1e-8, None) assert_allclose(J_num_dense, J_num_sparse.toarray(), rtol=1e-12, atol=1e-14) assert_allclose(factor_dense, factor_sparse, rtol=1e-12, atol=1e-14) # Take small factors to trigger their recomputing inside. factor = np.random.uniform(0, 1e-12, size=n) J_num_sparse, factor_sparse = num_jac(fun, 0, y.ravel(), f, 1e-8, factor, sparsity=(A, groups)) J_num_dense, factor_dense = num_jac(fun, 0, y.ravel(), f, 1e-8, factor) assert_allclose(J_num_dense, J_num_sparse.toarray(), rtol=1e-12, atol=1e-14) assert_allclose(factor_dense, factor_sparse, rtol=1e-12, atol=1e-14) def test_args(): # sys3 is actually two decoupled systems. (x, y) form a # linear oscillator, while z is a nonlinear first order # system with equilibria at z=0 and z=1. If k > 0, z=1 # is stable and z=0 is unstable. def sys3(t, w, omega, k, zfinal): x, y, z = w return [-omega*y, omega*x, k*z*(1 - z)] def sys3_jac(t, w, omega, k, zfinal): x, y, z = w J = np.array([[0, -omega, 0], [omega, 0, 0], [0, 0, k*(1 - 2*z)]]) return J def sys3_x0decreasing(t, w, omega, k, zfinal): x, y, z = w return x def sys3_y0increasing(t, w, omega, k, zfinal): x, y, z = w return y def sys3_zfinal(t, w, omega, k, zfinal): x, y, z = w return z - zfinal # Set the event flags for the event functions. sys3_x0decreasing.direction = -1 sys3_y0increasing.direction = 1 sys3_zfinal.terminal = True omega = 2 k = 4 tfinal = 5 zfinal = 0.99 # Find z0 such that when z(0) = z0, z(tfinal) = zfinal. # The condition z(tfinal) = zfinal is the terminal event. z0 = np.exp(-k*tfinal)/((1 - zfinal)/zfinal + np.exp(-k*tfinal)) w0 = [0, -1, z0] # Provide the jac argument and use the Radau method to ensure that the use # of the Jacobian function is exercised. # If event handling is working, the solution will stop at tfinal, not tend. tend = 2*tfinal sol = solve_ivp(sys3, [0, tend], w0, events=[sys3_x0decreasing, sys3_y0increasing, sys3_zfinal], dense_output=True, args=(omega, k, zfinal), method='Radau', jac=sys3_jac, rtol=1e-10, atol=1e-13) # Check that we got the expected events at the expected times. x0events_t = sol.t_events[0] y0events_t = sol.t_events[1] zfinalevents_t = sol.t_events[2] assert_allclose(x0events_t, [0.5*np.pi, 1.5*np.pi]) assert_allclose(y0events_t, [0.25*np.pi, 1.25*np.pi]) assert_allclose(zfinalevents_t, [tfinal]) # Check that the solution agrees with the known exact solution. t = np.linspace(0, zfinalevents_t[0], 250) w = sol.sol(t) assert_allclose(w[0], np.sin(omega*t), rtol=1e-9, atol=1e-12) assert_allclose(w[1], -np.cos(omega*t), rtol=1e-9, atol=1e-12) assert_allclose(w[2], 1/(((1 - z0)/z0)*np.exp(-k*t) + 1), rtol=1e-9, atol=1e-12) # Check that the state variables have the expected values at the events. x0events = sol.sol(x0events_t) y0events = sol.sol(y0events_t) zfinalevents = sol.sol(zfinalevents_t) assert_allclose(x0events[0], np.zeros_like(x0events[0]), atol=5e-14) assert_allclose(x0events[1], np.ones_like(x0events[1])) assert_allclose(y0events[0], np.ones_like(y0events[0])) assert_allclose(y0events[1], np.zeros_like(y0events[1]), atol=5e-14) assert_allclose(zfinalevents[2], [zfinal]) @pytest.mark.parametrize('method', ['RK23', 'RK45', 'DOP853', 'Radau', 'BDF', 'LSODA']) def test_integration_zero_rhs(method): result = solve_ivp(fun_zero, [0, 10], np.ones(3), method=method) assert_(result.success) assert_equal(result.status, 0) assert_allclose(result.y, 1.0, rtol=1e-15) ```
A kuisi (or kuizi) is a Native Colombian fipple (or duct) flute made from a hollowed cactus stem, with a beeswax and charcoal powder mixture for the head, with a thin quill made from the feather of a large bird for the mouthpiece. Seagull, turkey and eagle feathers are among the feathers commonly used. Kuisi bunsi and kuisi sigi There are male and female versions of the kuisi (or gaita, the Spanish for pipe). The female kuisi bunsi (also rendered kuisi abundjí in Spanish) is also commonly known as a gaita hembra in Spanish, and has 5 holes; the male kuisi sigi (or kuisi azigí) is called a gaita macho in Spanish and has two holes. Players often use wax to close fingerholes and alter the sound of the flute, blocking one or other tone hole on the kuisi sigi, and on the kuisi bunzi either the upper or lower fingerhole so that only four holes are in use at any one time. The change of wax from one fingerhole to another alters the fundamental tone and series of overtones that can be produced. A photograph of the paired flutes of the Cuna Indians of Panama shows that their hembra has only four fingerholes. Construction Modern Kuisis are between 70 and 80 centimetres long, a length traditionally defined by the arm length of the luthier. Kogi built kuisis are reported to be up to two feet, or 60 centimetres, long. and constructed from cane (carrizo) by the flautist himself (never a woman). The length being measured as 3 times the span between extended thumb and little finger plus the span between extended thumb and index finger. The holes are then located with a distance between them measured by the width of two fingers plus half the width of the thumb. They are constructed from a cactus (Selenicereus grandiflorus) which is bored and whose thorns are cut. The center is removed, first moistening and then boring with an iron stick. The cactus stem is thicker at one of its ends, this will go upside and coupled with the bee wax head which carries the feather mouth piece. Though the instrument is slightly conic on the outside, its perforation is cylindrical. The kuisi bunsi has five tone holes, but only four of them are used when performing: the lower tone hole is rarely used, but when used, the upper tone hole is closed with wax. The lower tone hole of the kuisi sigi is rarely used. The instrument's head, called a fotuto in Spanish, is made with bee wax mixed with charcoal powder to prevent the wax melting in high temperatures, which also gives the head it a characteristic black color. The mouth piece, a quill made from a large bird feather, is encrusted in this bee wax-charcoal head, with an angle and a distance to the edge of the air column which varies from instrument to instrument. Since construction is not serial, the only instrument which matches the tuning of a particular kuisi bunsi (female) is the kuisi sigi (male) constructed to accompany it. Their lengths correspond and the position of the two tone holes of the kuisi sigi matches the position of the lower tone holes of the kuisi bunsi. Origins and traditional use The earliest known use of kuisis is among Koguis and Ika of Sierra Nevada de Santa Marta. Similar flutes are also played in matched pairs by the Kuna (people) (or Cuna) who live around the Darien Gulf in both Colombia and Panama. The male and female kuisi are traditionally played as a pair in counterpoint to one another; the kuisi sigi usually marking the beat and the kuisi bunsi playing the melody. They are usually accompanied by drums and the maraca. The player of the kuisi sigi often holds that in one hand and a maraca in the other, playing both simultaneously. Modern use in Colombian music In lower slopes of the Sierra Nevada de Santa Marta, for example the Spanish-speaking village of Atánquez, similar flutes are called carrizos from the name of the cane from which they are made, and the ensemble is thus named conjunto de carrizos. This conjunto accompanies the dance chicote, a circle dance in which men and women alternate, placing their arms on each other's shoulders. On the coastal plain, for example the town of San Jacinto, Bolívar, an ensemble known as the conjunto de gaitas commonly provides the music for the cumbia, porro, and other folk styles such as vallenato. This ensemble consists of two duct flutes (gaitas), a maraca, and two hand-beaten drums of African descent. A Colombian historian writing in 1865 (Joaquín Posada Gutiérrez, Memorias histórico-politicas, Bogotá: Imprenta Nacional, 1929) has been cited (by Aquiles Escalante, El negro en Colombia, Monograflas sociologicas no. 18, Bogota: Universidad Nacional de Colombia, 1964, 149.) on the fusion of Native American, African and European instruments and music cultures: ...in the early part of the nineteenth century there were great festivities in honor of the patron saint of Cartagena, which at that time was the principal city of the region. At this festival the inhabitants of some wealth and position danced in a pavilion to the accompaniment of a regimental band. Those of the lower classes participated in one of two dances held in the open air. The dancers in one were blacks and pardos (individuals of mixed racial inheritance) and in the second Indians. The blacks and pardos participated in a circle dance of couples, much like the popular cumbia of this century. The dance of the Indians, on the other hand, was a closed circle in which men and women alternated and joined hands, a dance similar to the closed circle of the chicote as danced in Atánquez. The dance of the blacks was accompanied by two or three hand-beaten drums and a chorus of women who clapped. The dance of the Indians was accompanied by gaitas. By 1865 these two castes had lost their mutual antagonism and combined to dance what was then known as the mapalé. Players of gaitas and players of drums joined together to accompany this dance. This merging was apparently the origin of the conjunto de gaitas. Notable contemporary Colombian performers playing kuisi flutes (or gaitas) include Los Gaiteros de San Jacinto. Emigrant Colombian groups in North American and Europe also perform with kuisis. The New York-based La Cumbiamba eNeYé perform with gaitas constructed by band member Martín Vejarano with mouthpieces made from the feathers of Canada geese sourced in a park in the Bronx. Spanish based Lumbalú, researching and updating of the different traditional coastal Colombian rhythms under the direction of kuisi bunsi player Hernando Muñoz Sánchez, mixing both traditional kuisis with modern instruments and musical styles. Modern use in world music French archaic flautist Pierre Hamon, of the Alla Francesca ensemble, has also performed on the kuisi bunsi in Ritual1, Ritual 2 and Omaggio Kogui on the Hypnos album (2009). See also Glossary of Colombian music References Fipple flutes Colombian musical instruments Indigenous South American musical instruments
```javascript var foo: true ```
```xml <?xml version="1.0" encoding="utf-8"?> <!-- ~ ~ ~ path_to_url ~ ~ Unless required by applicable law or agreed to in writing, software ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --> <resources xmlns:tools="path_to_url" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <string name="mtrl_exceed_max_badge_number_content_description" tools:ignore="PluralsCandidate">Vairk nek %1$djauni paziojumi</string> <string name="mtrl_badge_numberless_content_description">Jauns paziojums</string> <plurals name="mtrl_badge_content_description"> <item quantity="zero">%djaunu paziojumu</item> <item quantity="one">%djauns paziojums</item> <item quantity="other">%djauni paziojumi</item> </plurals> </resources> ```
William E. West Sr. (1922–2014) was an American painter. Born in Pittsburgh, Pennsylvania in 1922, West moved to Buffalo, New York in 1927. His art career spanned for about 70 years. Life and Family In his early life West was encouraged by his mother to pursue his artistic interests. He was the youngest of seven siblings, born in 1922. A year after his birth he was adopted by his Aunt and later they moved to Buffalo in 1926. He spent the majority of his life living in the East Side of Buffalo. When he returned from World War II in 1946, he attended art school and worked under many well-known artists including Charles E. Burtchfield and Robert Blair. The schools he attended during his studies were the Albright Art School and after that the Art Institute of Buffalo. He had two other jobs as a community organizer and a postal worker as well as his budding art career. West also had four children and a wife named Geraldine Summers. Artwork The subject matter of his art ranged from many different things including buildings under construction and demolished buildings, to a series inspired by the women in his life who were dressmakers. The most notable of his art were his landscapes that serve as tributes to the architectural past of the city of Buffalo. West never considered himself to be a professional artist, he simply did it because he loved to paint. In an interview he said,"...art continued to be something I pursued without an ambition to be a commercial artist or wanting to make money off of it. I just wanted to paint." Death West died in 2014 of congestive heart failure. Many buildings and an art gallery have his work in their permanent collection, one of these places being the Burchfield Penney Art Center. References "William E. West Sr." William E. West Sr. Artists Burchfield Penney Art Center. N.p., n.d. Web. December 5, 2016. <https://www.burchfieldpenney.org/artists/artist:william-e-west-sr/>.* "A Community Tribute: The Art of William E. West, Sr." El Museo – Buffalo, NY. N.p., August 7, 2016. Web. December 5, 2016. <http://www.elmuseobuffalo.org/exhibitions/a-community-tribute-the-art-of-william-e-west-sr/>. http://www.facebook.com/TheBuffaloNews. "William West, Painter, Postal Worker and Community Activist – The Buffalo News." The Buffalo News. N.p., April 15, 2014. Web. December 13, 2016. <http://buffalonews.com/2014/04/15/william-west-painter-postal-worker-and-community-activist/>. 2014 deaths 1922 births 20th-century American painters Painters from Pittsburgh Artists from Buffalo, New York American military personnel of World War II
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\Dialogflow; class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow extends \Google\Collection { protected $collection_key = 'cells'; protected $cellsType = GoogleCloudDialogflowV2beta1IntentMessageTableCardCell::class; protected $cellsDataType = 'array'; /** * @var bool */ public $dividerAfter; /** * @param GoogleCloudDialogflowV2beta1IntentMessageTableCardCell[] */ public function setCells($cells) { $this->cells = $cells; } /** * @return GoogleCloudDialogflowV2beta1IntentMessageTableCardCell[] */ public function getCells() { return $this->cells; } /** * @param bool */ public function setDividerAfter($dividerAfter) { $this->dividerAfter = $dividerAfter; } /** * @return bool */ public function getDividerAfter() { return $this->dividerAfter; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2beta1IntentMessageTableCardRow::class, your_sha256_hashageTableCardRow'); ```
Darlington railway station is on the East Coast Main Line in the United Kingdom, serving the town of Darlington, County Durham. It is north of . It is situated between to the south and to the north. Its three-letter station code is DAR. The station is well served, since it is an important stop for main line services, with trains being operated by London North Eastern Railway, CrossCountry and TransPennine Express, and it is the interchange for Northern services to Bishop Auckland, and Saltburn. Darlington is the location of the first commercial steam railway: the Stockton and Darlington Railway. The station building is a Grade II* listed Victorian structure and winner of the "Large Station of the Year" award in 2005. History The first railway to pass through the area now occupied by the station was built by the Stockton and Darlington Railway, who opened their mineral branch from Albert Hill Junction on their main line to Croft-on-Tees on 27 October 1829. This branch line was subsequently purchased by the Great North of England Railway a decade later to incorporate into their new main line from York which reached the town on 30 March 1841. A separate company, the Newcastle & Darlington Junction Railway continued the new main line northwards towards Ferryhill and Newcastle, opening its route three years later on 19 June 1844. This crossed the S&D at Parkgate Junction by means of a flat crossing which would in future years become something of an operational headache for the North Eastern Railway and LNER. The original Bank Top station where the two routes met was a modest affair, which was rebuilt in 1860 to accommodate the expanding levels of traffic on the main line. By the mid-1880s even this replacement structure was deemed inadequate and so the NER embarked on a major upgrade to facilities in the area. This included an ornate new station with an impressive three-span overall roof on the Bank Top site, new sidings and goods lines alongside it and a new connecting line from the south end of the station (Polam Junction) to meet the original S&D line towards Middlesbrough at Oak Tree Junction near . These improvements were completed on 1 July 1887, when the old route west of Oak Tree closed to passengers (although it remained in use for freight until 1967). The new station, with its broad island platform was designed by T. E. Harrison, chief engineer, and William Bell, the architect of the North Eastern Railway. It cost £81,000 () to construct. It soon became a busy interchange on the main East Coast route, thanks to its rail links to Richmond (opened in 1846), and (1862/5) and the Tees Valley Line to (1842) and (1861). The lines to Penrith (closed in 1962), Barnard Castle (1964) and Richmond (1969) have now gone (along with the bays at the northern end of the station, now used for car parking), but the main line (electrified in 1991) and the Tees Valley route remain busy. It is also still possible to travel to Catterick Garrison and Richmond from here, by means of the Arriva North East-operated X26 and X27 buses (which have through National Rail ticketing arrangements). The same company also operated the Sky Express bus service to Durham Tees Valley Airport from the station, but this was withdrawn in January 2009 due to declining demand. Station masters Thomas Waldie: 1840–1866 Robert Wood: 1867–1873 Richard Thompson: 1874–1878 James Bell: 1878–1900 Thomas William Smith: 1900–1902 (afterwards station master at Sunderland) G. H. Stephenson: 1902 George W. T. Laidler: 1902 - 1907 J. Pattinson: 1907 Matthew William Seymour: 1907–1912 (formerly station master at Bishop Auckland, afterwards station master at Boroughbridge) T. Pearce: 1912–1920 Irving Richard Beeby MBE: 1920–1931 Edwin Weavers: 1932–1941 (formerly station master at Middlesbrough) Thomas Allen: 1942–1949 (formerly station master at Sunderland) W. Lake: 1950 W. H. Campbell: 1950–1952 (afterwards station master at Newcastle) W. J. Thomas: 1952–1956 George Renton: 1956 N. Darby: 1963–???? T. Hutchinson: 1965 S. F. Potts: 1965–???? Accidents and incidents On 16 November 1910, an express freight train overran signals and was involved in a rear-end collision with another freight train. On 27 June 1928, a parcels train and an excursion train were involved in a head-on collision. 25 people were killed and 45 were injured. On 11 December 1968, a Newcastle to Kings Cross express train was derailed at the south end of the station after passing a signal at danger. No-one was hurt. On 16 February 1977, an express passenger train hauled by Class 55 locomotive 55 008 collided with an empty stock train after failing to stop at Darlington. The guard of the express was slightly injured. The cause of the accident was that the brakes on the carriages had become isolated whilst the train was moving in a freak event. The train had struck an object on the track, which had caused a traction motor cover to come lose. This struck the handle of the brake isolating cock, closing it and thus separating the brakes between the locomotive and train. Following the collision, the train was diverted onto the Tees Valley line, where it was brought to a halt by the operation of the communication cord in one of the carriages. On 3 October 2009, a unit, operated by Northern Rail, hit the rear end of a departing National Express East Coast service. Three passengers from the Northern Rail train were taken to hospital with minor injuries. Facilities The station is fully staffed; the ticket office is open throughout the week (06:00–20:00/21:00 weekdays, 06:30–19:45 Saturdays, 07:45–20:00 Sundays). There is a waiting room and a first class Lounge on the platform, with the lounge open between 06:00 and 20:00 each day (except Sundays, when it opens at 08:00). Self-service ticket machines are also provided for use outside the opening hours for the booking office and for collecting pre-paid tickets. Various retail outlets are located in the main buildings, including a coffee shop, grocers and newsagents. Vending machines, toilets, a photo booth, payphone and cash machines are also provided. Train running information is offered via digital CIS displays, announcements and timetable posters. Step-free access to all platforms is via ramps from the subway linking the platforms with the main entrance and car park. Services Darlington is well served by trains on the East Coast Main Line, with regular trains southbound to via and northbound to and operated by London North Eastern Railway. Two trains per hour run south to London and north to Newcastle for much of the day with hourly services to Edinburgh Waverley. There are also several daily services to and also daily direct services to (two) and (one). Due to the introduction of the new ECML timetable on 22 May 2011, LNER only now provide one daily direct service each way between London King's Cross and which calls at Darlington. The northbound service to Glasgow departs Darlington at 18:09 and the southbound service from Glasgow arrives into Darlington at 10:00. CrossCountry services between Edinburgh, Newcastle and , and beyond to ( and and to , , and ) also call here twice each hour. Certain CrossCountry trains extend beyond Edinburgh to Glasgow Central, Dundee or Aberdeen. TransPennine Express run two trains per hour in each direction. Northbound; one service runs to Newcastle with a second extending to Edinburgh Waverley. Southbound; one service runs to via York, , , and with the second running to via the Ordsall Chord. There is also one train early morning service to via . Northern run their Tees Valley line trains twice hourly to , Redcar's stations and (hourly on Sundays), whilst the branch has a service every hour (including Sundays). The company also operates two Sundays-only direct trains to/from and . Platforms Darlington railway station has five main platforms: Platform 1: This is the main southbound platform, with, in order of frequency, London North Eastern Railway services to York and London King's Cross, CrossCountry services to Reading and Southampton or Birmingham and Plymouth, via York and Leeds, TransPennine Express services to Manchester Piccadilly and Manchester Airport or Liverpool Lime Street, via York and Leeds, and Northern services to Saltburn via Middlesbrough, from Bishop Auckland. Platforms 2 and 3: These platforms are south-facing bays used exclusively by Northern services terminating at Darlington from Saltburn and Middlesbrough. Platform 2 is used most frequently. TransPennine Express trains also terminate in Platforms 2 & 3 when there are delays in order to allow them to run their southbound services back on time. Platform 4: This is the main northbound platform, with, in order of frequency, London North Eastern Railway services to Newcastle, Edinburgh and Glasgow, CrossCountry services to Newcastle, Edinburgh and Glasgow, TransPennine Express services to Newcastle and Northern services to Bishop Auckland. Platform 4a: This is a southern extension of platform four catering for trains waiting at Darlington such that they can be bypassed by trains stopping at platform 4. It is the only platform that is not under the station roof. It is used predominantly by Northern services for Bishop Auckland. Since the introduction of Class 802, TransPennine Express will use Platform 4a if they need to terminate early whilst using one of these trains due to Platform 2 & 3 not being electrified. Future Six platforms As part of the Tees Valley Metro, two new platforms were to be built on the eastern edge of the main station. There were to be a total of four trains per hour, to and Saltburn via the Tees Valley Line, and trains would not have to cross the East Coast Main Line when the new platforms would have been built. The Tees Valley Metro project was cancelled with some parts of the project ultimately followed through in other projects. With new high speed rail project in the UK, High Speed 2, is planned to run through Darlington once Phase 2b is complete and will run on the existing East Coast Main Line from York and Newcastle. Darlington Station will have two new platforms built for the HS2 trains on the Main Line, as the station is built just off the ECML to allow for freight services to pass through. HS2 Phase 2b is scheduled to start running in late 2033. References Sources Body, G. (1988), PSL Field Guides – Railways of the Eastern Region Volume 2, Patrick Stephens Ltd, Wellingborough, External links Railway stations in the Borough of Darlington Grade II* listed buildings in County Durham Grade II* listed railway stations Former North Eastern Railway (UK) stations Railway stations in Great Britain opened in 1841 Railway stations in Great Britain closed in 1887 Railway stations in Great Britain opened in 1887 Railway stations served by CrossCountry Northern franchise railway stations Railway stations served by TransPennine Express Railway stations served by London North Eastern Railway William Bell railway stations Buildings and structures in Darlington DfT Category B stations
```c++ /** * @author Deon Nicholas (dnicholas@fb.com) */ #include "stringappend2.h" #include <memory> #include <string> #include <assert.h> #include "rocksdb/slice.h" #include "rocksdb/merge_operator.h" #include "utilities/merge_operators.h" namespace rocksdb { // Constructor: also specify the delimiter character. StringAppendTESTOperator::StringAppendTESTOperator(char delim_char) : delim_(delim_char) { } // Implementation for the merge operation (concatenates two strings) bool StringAppendTESTOperator::FullMergeV2( const MergeOperationInput& merge_in, MergeOperationOutput* merge_out) const { // Clear the *new_value for writing. merge_out->new_value.clear(); if (merge_in.existing_value == nullptr && merge_in.operand_list.size() == 1) { // Only one operand merge_out->existing_operand = merge_in.operand_list.back(); return true; } // Compute the space needed for the final result. size_t numBytes = 0; for (auto it = merge_in.operand_list.begin(); it != merge_in.operand_list.end(); ++it) { numBytes += it->size() + 1; // Plus 1 for the delimiter } // Only print the delimiter after the first entry has been printed bool printDelim = false; // Prepend the *existing_value if one exists. if (merge_in.existing_value) { merge_out->new_value.reserve(numBytes + merge_in.existing_value->size()); merge_out->new_value.append(merge_in.existing_value->data(), merge_in.existing_value->size()); printDelim = true; } else if (numBytes) { merge_out->new_value.reserve( numBytes - 1); // Minus 1 since we have one less delimiter } // Concatenate the sequence of strings (and add a delimiter between each) for (auto it = merge_in.operand_list.begin(); it != merge_in.operand_list.end(); ++it) { if (printDelim) { merge_out->new_value.append(1, delim_); } merge_out->new_value.append(it->data(), it->size()); printDelim = true; } return true; } bool StringAppendTESTOperator::PartialMergeMulti( const Slice& /*key*/, const std::deque<Slice>& /*operand_list*/, std::string* /*new_value*/, Logger* /*logger*/) const { return false; } // A version of PartialMerge that actually performs "partial merging". // Use this to simulate the exact behaviour of the StringAppendOperator. bool StringAppendTESTOperator::_AssocPartialMergeMulti( const Slice& /*key*/, const std::deque<Slice>& operand_list, std::string* new_value, Logger* /*logger*/) const { // Clear the *new_value for writing assert(new_value); new_value->clear(); assert(operand_list.size() >= 2); // Generic append // Determine and reserve correct size for *new_value. size_t size = 0; for (const auto& operand : operand_list) { size += operand.size(); } size += operand_list.size() - 1; // Delimiters new_value->reserve(size); // Apply concatenation new_value->assign(operand_list.front().data(), operand_list.front().size()); for (std::deque<Slice>::const_iterator it = operand_list.begin() + 1; it != operand_list.end(); ++it) { new_value->append(1, delim_); new_value->append(it->data(), it->size()); } return true; } const char* StringAppendTESTOperator::Name() const { return "StringAppendTESTOperator"; } std::shared_ptr<MergeOperator> MergeOperators::CreateStringAppendTESTOperator() { return std::make_shared<StringAppendTESTOperator>(','); } } // namespace rocksdb ```
```c++ File: decode_fuzzer.cc 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 the Xiph.org Foundation 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 FOUNDATION 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. */ /* This based on decode_fuzzer.cc used with Vorbis. path_to_url */ #include <stdio.h> #include <string.h> #include <cstdint> #include "ivorbisfile.h" #define INPUT_LIMIT 16384 struct vorbis_data { const uint8_t *current; const uint8_t *data; size_t size; }; size_t read_func(void *ptr, size_t size1, size_t size2, void *datasource) { vorbis_data* vd = (vorbis_data *)(datasource); size_t len = size1 * size2; if (vd->current + len > vd->data + vd->size) { len = vd->data + vd->size - vd->current; } memcpy(ptr, vd->current, len); vd->current += len; return len; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { ov_callbacks memory_callbacks = {0}; memory_callbacks.read_func = read_func; vorbis_data data_st; data_st.size = Size > INPUT_LIMIT ? INPUT_LIMIT : Size; data_st.current = Data; data_st.data = Data; OggVorbis_File vf; int result = ov_open_callbacks(&data_st, &vf, NULL, 0, memory_callbacks); if (result < 0) { return 0; } int current_section = 0; char pcm[4096]; long read_result; while (true) { read_result = ov_read(&vf, pcm, sizeof(pcm), &current_section); if (read_result <= 0 && read_result != OV_HOLE) { break; } } ov_clear(&vf); return 0; } ```
Love Conquers All is a 2006 movie by Malaysian director Tan Chui Mui. Synopsis Ping (Coral Ong Li Whei) has come from Penang in the north to Kuala Lumpur to work with her aunt. There she meets John, a young man who keeps trying to approach her. Ping feels increasingly attracted to John, and although she has a boyfriend in Penang she is drawn more and more into his world. Ping loses herself in her love and does all she can to keep John. Cast Coral Ong Li Whei (Ping) Stephan Chua Jyh Shyan (John) Leing Jiun Jiun (Mei) Ho Chi Lai (Hong Jie) Release history Awards It has won several awards such as: The Swiss Oikocredit award at Fribourg Tiger award at Rotterdam International Film Festival New Currents Award at Pusan International Film Festival References External links Da Huang Pictures Love Conquers All DVD Variety.com - Russell Edwards Kakiseni - Benjamin McKay Review: Monsterblog.com.my Review: Suanie.net Review: A Nutshell Review 2006 films 2000s Mandarin-language films 2006 romantic drama films Chinese-language Malaysian films Malaysian romantic drama films Films produced by Amir Muhammad Da Huang Pictures films Films directed by Tan Chui Mui Malaysian independent films 2006 independent films Films with screenplays by Tan Chui Mui
```swift ////////////////////////////////////////////////////////////////////////////////// // // B L I N K // // // This file is part of Blink. // // Blink is free software: you can redistribute it and/or modify // (at your option) any later version. // // Blink is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // along with Blink. If not, see <path_to_url // // In addition, Blink is also subject to certain additional terms under // GNU GPL version 3 section 7. // // You should have received a copy of these additional terms immediately // which accompanied the Blink Source Code. If not, see // <path_to_url // //////////////////////////////////////////////////////////////////////////////// import XCTest import CryptoKit @testable import SSH extension Digest { var bytes: [UInt8] { Array(makeIterator()) } var data: Data { Data(bytes) } var hexStr: String { bytes.map { String(format: "%02X", $0) }.joined() } } // Test different PKCS types? Just to make sure we are using the // right functions the right way? class AgentTests: XCTestCase { // Test the Signatures happen properly with RSA Keys, as those may include special algorithms func testAgentAuthenticationWithRSAKey() throws { let agent = SSHAgent() let key = try SSHKey(fromFileBlob: Credentials.privateKey.data(using: .utf8)!) agent.loadKey(key, aka: "testKey") let config = SSHClientConfig(user: Credentials.publicKeyAuthentication.user, port: Credentials.port, authMethods: [AuthAgent(agent)], agent: agent) var completion: Any? = nil let connection = SSHClient.dial(Credentials.publicKeyAuthentication.host, with: config) .lastOutput( test: self, receiveCompletion: { completion = $0 }) assertCompletionFinished(completion) XCTAssertNotNil(connection) } // Curve keys have another headers during construction. We test here that we are still doing it properly. func testAgentAuthenticationWithCurveKey() throws { let agent = SSHAgent() let key = try SSHKey(fromFileBlob: Credentials.curvePrivateKey.data(using: .utf8)!) agent.loadKey(key, aka: "test") let config = SSHClientConfig(user: Credentials.publicKeyAuthentication.user, port: Credentials.port, authMethods: [AuthAgent(agent)], agent: agent) var completion: Any? = nil let connection = SSHClient.dial(Credentials.publicKeyAuthentication.host, with: config) .lastOutput( test: self, receiveCompletion: { completion = $0 }) assertCompletionFinished(completion) XCTAssertNotNil(connection) } // path_to_url func testAgentAuthenticationWithCertificate() throws { let agent = SSHAgent() let bundle = Bundle(for: type(of: self)) let privPath = bundle.path(forResource: "user_key", ofType: nil) let pubPath = bundle.path(forResource: "user_key-cert", ofType: "pub") let key = try SSHKey(fromFile: privPath!, withPublicFileCert: pubPath!) agent.loadKey(key, aka: "certTest") let config = SSHClientConfig(user: Credentials.publicKeyAuthentication.user, port: Credentials.port, authMethods: [AuthAgent(agent)], agent: agent) var completion: Any? = nil let connection = SSHClient.dial(Credentials.publicKeyAuthentication.host, with: config) .lastOutput( test: self, receiveCompletion: { completion = $0 }) assertCompletionFinished(completion) XCTAssertNotNil(connection) } func testAgentForwarding() throws { // Do a second session to itself by using the forwarded agent. let cmd = "ssh -o StrictHostKeyChecking=no localhost -- echo hola" let agent = SSHAgent() let key = try SSHKey(fromFileBlob: Credentials.privateKey.data(using: .utf8)!) agent.loadKey(key, aka: "testKey") let config = SSHClientConfig(user: Credentials.publicKeyAuthentication.user, port: Credentials.port, authMethods: [AuthAgent(agent)], agent: agent) var completion: Any? = nil let read = SSHClient.dial(Credentials.publicKeyAuthentication.host, with: config) .flatMap { $0.requestExec(command: cmd, withAgentForwarding: true) } .flatMap { $0.read(max: SSIZE_MAX) } .exactOneOutput( test: self, timeout: 15, receiveCompletion: { completion = $0 }) assertCompletionFinished(completion) guard let data: DispatchData = read else { XCTFail() return } let output = String(bytes: data, encoding: .utf8) XCTAssertTrue(output == "hola\n") } } ```
Jean de la Roque (1661 – December 8, 1745) was a French traveller and journalist born in Marseille. He was the son of Pierre de la Roque, a merchant who his remembered for introducing coffee to Marseille in 1644, and the brother of Antoine de la Roque (1672-1744), a noted journalist with whom he collaborated with on the magazine Mercure de France. Jean de la Roque was the author of Voyage en Syrie et au mont Liban (1722), a book written about his experiences in the Levant, which he first visited in 1689. Here he describes the customs of the various regional tribes, and provides information on the ruins at Baalbek. In 1708-10 and 1711-13 he participated on two expeditions to the Arabian peninsula, and afterwards published his Arabian experiences in a work called Voyage dans l’Arabie heureuse (1716). In this treatise he gives a highly descriptive and detailed account of coffee plantations and the coffee trade in Yemen. References This article is based on a translation of an article from the French Wikipedia. The British-Yemeni Society Essay on La Roque's "Voyage de l’Arabie Heureuse" French explorers French journalists 1661 births 1745 deaths Writers from Marseille French male non-fiction writers
```dart /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import '../../controllers/playground_controller.dart'; import '../../enums/unread_entry.dart'; import '../unread/builder.dart'; import 'output_tab.dart'; import 'result_filter_button.dart'; class ResultTab extends StatelessWidget { const ResultTab({ required this.playgroundController, }); final PlaygroundController playgroundController; @override Widget build(BuildContext context) { return UnreadBuilder( controller: playgroundController.codeRunner.unreadController, unreadKey: UnreadEntryEnum.result, builder: (context, isUnread) => OutputTab( isUnread: isUnread, title: 'widgets.output.result'.tr(), trailing: ResultFilterButton( playgroundController: playgroundController, ), ), ); } } ```
```ocaml open Ctypes module Bindings(F:Cstubs.FOREIGN) = struct open F module Hacl_Streaming_Types_applied = (Hacl_Streaming_Types_bindings.Bindings)(Hacl_Streaming_Types_stubs) open Hacl_Streaming_Types_applied let hacl_Hash_SHA2_sha256_init = foreign "Hacl_Hash_SHA2_sha256_init" ((ptr uint32_t) @-> (returning void)) let hacl_Hash_SHA2_sha256_update_nblocks = foreign "Hacl_Hash_SHA2_sha256_update_nblocks" (uint32_t @-> (ocaml_bytes @-> ((ptr uint32_t) @-> (returning void)))) let hacl_Hash_SHA2_sha256_update_last = foreign "Hacl_Hash_SHA2_sha256_update_last" (uint64_t @-> (uint32_t @-> (ocaml_bytes @-> ((ptr uint32_t) @-> (returning void))))) let hacl_Hash_SHA2_sha256_finish = foreign "Hacl_Hash_SHA2_sha256_finish" ((ptr uint32_t) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_sha224_init = foreign "Hacl_Hash_SHA2_sha224_init" ((ptr uint32_t) @-> (returning void)) let hacl_Hash_SHA2_sha224_update_last = foreign "Hacl_Hash_SHA2_sha224_update_last" (uint64_t @-> (uint32_t @-> (ocaml_bytes @-> ((ptr uint32_t) @-> (returning void))))) let hacl_Hash_SHA2_sha224_finish = foreign "Hacl_Hash_SHA2_sha224_finish" ((ptr uint32_t) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_sha512_init = foreign "Hacl_Hash_SHA2_sha512_init" ((ptr uint64_t) @-> (returning void)) let hacl_Hash_SHA2_sha512_update_nblocks = foreign "Hacl_Hash_SHA2_sha512_update_nblocks" (uint32_t @-> (ocaml_bytes @-> ((ptr uint64_t) @-> (returning void)))) let hacl_Hash_SHA2_sha512_finish = foreign "Hacl_Hash_SHA2_sha512_finish" ((ptr uint64_t) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_sha384_init = foreign "Hacl_Hash_SHA2_sha384_init" ((ptr uint64_t) @-> (returning void)) let hacl_Hash_SHA2_sha384_update_nblocks = foreign "Hacl_Hash_SHA2_sha384_update_nblocks" (uint32_t @-> (ocaml_bytes @-> ((ptr uint64_t) @-> (returning void)))) let hacl_Hash_SHA2_sha384_finish = foreign "Hacl_Hash_SHA2_sha384_finish" ((ptr uint64_t) @-> (ocaml_bytes @-> (returning void))) type hacl_Hash_SHA2_state_t_224 = hacl_Streaming_MD_state_32 let hacl_Hash_SHA2_state_t_224 = typedef hacl_Streaming_MD_state_32 "Hacl_Hash_SHA2_state_t_224" type hacl_Hash_SHA2_state_t_256 = hacl_Streaming_MD_state_32 let hacl_Hash_SHA2_state_t_256 = typedef hacl_Streaming_MD_state_32 "Hacl_Hash_SHA2_state_t_256" type hacl_Hash_SHA2_state_t_384 = hacl_Streaming_MD_state_64 let hacl_Hash_SHA2_state_t_384 = typedef hacl_Streaming_MD_state_64 "Hacl_Hash_SHA2_state_t_384" type hacl_Hash_SHA2_state_t_512 = hacl_Streaming_MD_state_64 let hacl_Hash_SHA2_state_t_512 = typedef hacl_Streaming_MD_state_64 "Hacl_Hash_SHA2_state_t_512" let hacl_Hash_SHA2_malloc_256 = foreign "Hacl_Hash_SHA2_malloc_256" (void @-> (returning (ptr hacl_Streaming_MD_state_32))) let hacl_Hash_SHA2_copy_256 = foreign "Hacl_Hash_SHA2_copy_256" ((ptr hacl_Streaming_MD_state_32) @-> (returning (ptr hacl_Streaming_MD_state_32))) let hacl_Hash_SHA2_reset_256 = foreign "Hacl_Hash_SHA2_reset_256" ((ptr hacl_Streaming_MD_state_32) @-> (returning void)) let hacl_Hash_SHA2_update_256 = foreign "Hacl_Hash_SHA2_update_256" ((ptr hacl_Streaming_MD_state_32) @-> (ocaml_bytes @-> (uint32_t @-> (returning hacl_Streaming_Types_error_code)))) let hacl_Hash_SHA2_digest_256 = foreign "Hacl_Hash_SHA2_digest_256" ((ptr hacl_Streaming_MD_state_32) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_free_256 = foreign "Hacl_Hash_SHA2_free_256" ((ptr hacl_Streaming_MD_state_32) @-> (returning void)) let hacl_Hash_SHA2_hash_256 = foreign "Hacl_Hash_SHA2_hash_256" (ocaml_bytes @-> (ocaml_bytes @-> (uint32_t @-> (returning void)))) let hacl_Hash_SHA2_malloc_224 = foreign "Hacl_Hash_SHA2_malloc_224" (void @-> (returning (ptr hacl_Streaming_MD_state_32))) let hacl_Hash_SHA2_reset_224 = foreign "Hacl_Hash_SHA2_reset_224" ((ptr hacl_Streaming_MD_state_32) @-> (returning void)) let hacl_Hash_SHA2_update_224 = foreign "Hacl_Hash_SHA2_update_224" ((ptr hacl_Streaming_MD_state_32) @-> (ocaml_bytes @-> (uint32_t @-> (returning hacl_Streaming_Types_error_code)))) let hacl_Hash_SHA2_digest_224 = foreign "Hacl_Hash_SHA2_digest_224" ((ptr hacl_Streaming_MD_state_32) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_free_224 = foreign "Hacl_Hash_SHA2_free_224" ((ptr hacl_Streaming_MD_state_32) @-> (returning void)) let hacl_Hash_SHA2_hash_224 = foreign "Hacl_Hash_SHA2_hash_224" (ocaml_bytes @-> (ocaml_bytes @-> (uint32_t @-> (returning void)))) let hacl_Hash_SHA2_malloc_512 = foreign "Hacl_Hash_SHA2_malloc_512" (void @-> (returning (ptr hacl_Streaming_MD_state_64))) let hacl_Hash_SHA2_copy_512 = foreign "Hacl_Hash_SHA2_copy_512" ((ptr hacl_Streaming_MD_state_64) @-> (returning (ptr hacl_Streaming_MD_state_64))) let hacl_Hash_SHA2_reset_512 = foreign "Hacl_Hash_SHA2_reset_512" ((ptr hacl_Streaming_MD_state_64) @-> (returning void)) let hacl_Hash_SHA2_update_512 = foreign "Hacl_Hash_SHA2_update_512" ((ptr hacl_Streaming_MD_state_64) @-> (ocaml_bytes @-> (uint32_t @-> (returning hacl_Streaming_Types_error_code)))) let hacl_Hash_SHA2_digest_512 = foreign "Hacl_Hash_SHA2_digest_512" ((ptr hacl_Streaming_MD_state_64) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_free_512 = foreign "Hacl_Hash_SHA2_free_512" ((ptr hacl_Streaming_MD_state_64) @-> (returning void)) let hacl_Hash_SHA2_hash_512 = foreign "Hacl_Hash_SHA2_hash_512" (ocaml_bytes @-> (ocaml_bytes @-> (uint32_t @-> (returning void)))) let hacl_Hash_SHA2_malloc_384 = foreign "Hacl_Hash_SHA2_malloc_384" (void @-> (returning (ptr hacl_Streaming_MD_state_64))) let hacl_Hash_SHA2_reset_384 = foreign "Hacl_Hash_SHA2_reset_384" ((ptr hacl_Streaming_MD_state_64) @-> (returning void)) let hacl_Hash_SHA2_update_384 = foreign "Hacl_Hash_SHA2_update_384" ((ptr hacl_Streaming_MD_state_64) @-> (ocaml_bytes @-> (uint32_t @-> (returning hacl_Streaming_Types_error_code)))) let hacl_Hash_SHA2_digest_384 = foreign "Hacl_Hash_SHA2_digest_384" ((ptr hacl_Streaming_MD_state_64) @-> (ocaml_bytes @-> (returning void))) let hacl_Hash_SHA2_free_384 = foreign "Hacl_Hash_SHA2_free_384" ((ptr hacl_Streaming_MD_state_64) @-> (returning void)) let hacl_Hash_SHA2_hash_384 = foreign "Hacl_Hash_SHA2_hash_384" (ocaml_bytes @-> (ocaml_bytes @-> (uint32_t @-> (returning void)))) end ```
Krypton-85 (85Kr) is a radioisotope of krypton. Krypton-85 has a half-life of 10.756 years and a maximum decay energy of 687 keV. It decays into stable rubidium-85. Its most common decay (99.57%) is by beta particle emission with maximum energy of 687 keV and an average energy of 251 keV. The second most common decay (0.43%) is by beta particle emission (maximum energy of 173 keV) followed by gamma ray emission (energy of 514 keV). Other decay modes have very small probabilities and emit less energetic gamma rays. Krypton-85 is mostly synthetic, though it is produced naturally in trace quantities by cosmic ray spallation. In terms of radiotoxicity, 440 Bq of 85Kr is equivalent to 1 Bq of radon-222, without considering the rest of the radon decay chain. Presence in Earth atmosphere Natural production Krypton-85 is produced in small quantities by the interaction of cosmic rays with stable krypton-84 in the atmosphere. Natural sources maintain an equilibrium inventory of about 0.09 PBq in the atmosphere. Anthropogenic production As of 2009 the total amount in the atmosphere is estimated at 5500 PBq due to anthropogenic sources. At the end of the year 2000, it was estimated to be 4800 PBq, and in 1973, an estimated 1961 PBq (53 megacuries). The most important of these human sources is nuclear fuel reprocessing, as krypton-85 is one of the seven common medium-lived fission products. Nuclear fission produces about three atoms of krypton-85 for every 1000 fissions (i.e., it has a fission yield of 0.3%). Most or all of this krypton-85 is retained in the spent nuclear fuel rods; spent fuel on discharge from a reactor contains between 0.13–1.8 PBq/Mg of krypton-85. Some of this spent fuel is reprocessed. Current nuclear reprocessing releases the gaseous 85Kr into the atmosphere when the spent fuel is dissolved. It would be possible in principle to capture and store this krypton gas as nuclear waste or for use. The cumulative global amount of krypton-85 released from reprocessing activity has been estimated as 10,600 PBq as of 2000. The global inventory noted above is smaller than this amount due to radioactive decay; a smaller fraction is dissolved into the deep oceans. Other man-made sources are small contributors to the total. Atmospheric nuclear weapons tests released an estimated 111–185 PBq. The 1979 accident at the Three Mile Island nuclear power plant released about . The Chernobyl accident released about 35 PBq, and the Fukushima Daiichi accident released an estimated 44–84 PBq. The average atmospheric concentration of krypton-85 was approximately 0.6 Bq/m3 in 1976, and has increased to approximately 1.3 Bq/m3 as of 2005. These are approximate global average values; concentrations are higher locally around nuclear reprocessing facilities, and are generally higher in the northern hemisphere than in the southern hemisphere. For wide-area atmospheric monitoring, krypton-85 is the best indicator for clandestine plutonium separations. Krypton-85 releases increase the electrical conductivity of atmospheric air. Meteorological effects are expected to be stronger closer to the source of the emissions. Uses in industry Krypton-85 is used in arc discharge lamps commonly used in the entertainment industry for large HMI film lights as well as high-intensity discharge lamps. The presence of krypton-85 in discharge tube of the lamps can make the lamps easy to ignite. Early experimental krypton-85 lighting developments included a railroad signal light designed in 1957 and an illuminated highway sign erected in Arizona in 1969. A 60 μCi (2.22 MBq) capsule of krypton-85 was used by the random number server HotBits (an allusion to the radioactive element being a quantum mechanical source of entropy), but was replaced with a 5 μCi (185 kBq) Cs-137 source in 1998. Krypton-85 is also used to inspect aircraft components for small defects. Krypton-85 is allowed to penetrate small cracks, and then its presence is detected by autoradiography. The method is called "krypton gas penetrant imaging". The gas penetrates smaller openings than the liquids used in dye penetrant inspection and fluorescent penetrant inspection. Krypton-85 was used in cold-cathode voltage regulator electron tubes, such as the type 5651. Krypton-85 is also used for Industrial Process Control mainly for thickness and density measurements as an alternative to Sr-90 or Cs-137. Krypton-85 is also used as a charge neutralizer in aerosol sampling systems. References Fission products Krypton-085
Lacthosa (incorporated as Lácteos de Honduras S.A.) is a Honduran producer of food and beverage products, focusing on dairy and fruit juices. It leads the country in dairy production. History Lacthosa was established by Honduran entrepreneur Schucry Kafie in 1992. The company constructed a plant in San Pedro Sula, Honduras, in March 1992. In the mid-1990s, the company positioned its "Sula" brand for sales in Guatemala and El Salvador, and in September 2001, Lacthosa entered the U.S. market after receiving an export permit from the U.S. Food and Drug Administration. A 1998 report from the Office of the First Lady of Honduras noted Lacthosa had donated thirty-thousand glasses worth of milk to Honduran schools that year to insure that students received adequate nutrition. In October 2014, Lacthosa began selling cream butter in the Dominican Republic, and in January 2015, the company invested $15 million to expand juice production and enable the export of its products to a greater number of international markets. , the company has five processing plants in Honduras, producing 140 million liters of milk in 50 municipalities in 14 departments, constituting the largest milk-producing enterprise in the country. Lacthosa sells over 250 products, including a variety of milk, malt, cream, cheeses, fruit juices, nectars, ice cream, yogurt, and purified water, distributed throughout Central America. Juice products include varieties of orange juice, apple juice, pineapple juice, guava, tamarind, and peach, pear, and apple nectars. The company has over 3,000 permanent employees, as well as 2,600 suppliers of fresh milk and 2,000 citrus farmers, generating 60,000 indirect farm and services jobs. In March 2017, Lacthosa was awarded the Orquídea Empresarial (Entrepreneurial Orchid Award) from the Honduran government for bringing Honduran products to international markets. Countries to which the company exports its products include El Salvador, Guatemala, the Dominican Republic, and the United States (primarily to Florida and Texas). Lacthosa markets products under several brands, including Sula, Delta, Ceteco, La Pradera, Gaymont's, Chilly Willy and Fristy. Exports, primarily under the "Sula" brand name, account for seventy percent of their export of dairy products and their derivatives from Honduras. Brands Sula Sula, founded in San Pedro Sula, in the Sula Valley of Honduras in 1960, as part of a UNICEF project, and acquired by Lacthosa in March 1992, is a subsidiary of Lacthosa which is the primary producer of fruit juices and nectars for Lacthosa, and the brand name under which these products are sold. The Sula brand has been described as "the flagship brand" of the company, and is the primary brand name under which exports to other countries in Central America, and to the United States, are sold. On October 19, 2016, Sula joined with other companies and organizations from various areas of Honduras in becoming incorporated with Marca País Honduras, which allows Sula to bear the stamp of the Honduras Brand as part of a national initiative to promote investment, exports, tourism, and national pride. Ceteco Ceteco is a Lacthosa subsidiary that is its producer of dairy products, particularly powdered milk, and the brand name under which these products are sold. In September 2016, Ceteco launched a "Viaja como los Superhéroes Ceteco" ("Travel as the Super Heroes Ceteco") promotion, offering superhero themed prizes to consumers. Ceteco engages in regional charitable activities through which "130,000 food rations have been distributed in recent years in public schools throughout Honduras." Other brands Other brands under which Lacthosa products are sold include Delta (for a range of products), La Pradera (artisanal dairy products), Gaymont's (yogurt mixed with fruit or jelly), Chilly Willy, and Fristy (a vitamin-C enriched orange drink). Charitable activities For many years, Lacthosa has provided milk for families. In 2015, the Honduran Foundation for Corporate Responsibility awarded Lacthosa its annual recognition for most socially responsible enterprise. In May 2017, Lacthosa signed a cooperation agreement with the Zamorano Pan-American Agricultural School to allow groups of agricultural students to compete in efforts to develop new cheese, milk and yogurt products, with the winning team to receive funding to attend the International Food Technologists Fair in Las Vegas, Nevada. In October 2016, Lacthosa won its seventh consecutive FUNDAHRSE seal from the Honduran Foundation for Corporate Social Responsibility, the only dairy company in Central America to receive this award seven consecutive times. References Food and drink companies of Honduras Food and drink companies established in 1992 1992 establishments in Honduras
Warn That Man! is a 1941 comedy thriller play by the British writer Vernon Sylvaine. A comedy-thriller, its plot concerns an attempt to kidnap wartime Prime Minister Winston Churchill from an English country house. Having debuted at the New Theatre, Oxford, it then ran for 352 performances at the Garrick Theatre in the West End between December 1941 and September 1942. Amongst its cast were Gordon Harker, Veronica Rose, Basil Radford, Ethel Coleridge and Judy Kelly. Adaptation In 1943 it was turned into a film directed by Lawrence Huntington and made at Welwyn Studios. Gordon Harker reprised his role from the play while Raymond Lovell and Jean Kent also starred. References Bibliography Wearing, J.P. The London Stage 1940-1949: A Calendar of Productions, Performers, and Personnel. Rowman & Littlefield, 2014. 1941 plays British plays adapted into films Plays by Vernon Sylvaine Plays set in London Comedy plays West End plays
Reda Jaadi (born 14 February 1995) is a Belgium-born Moroccan footballer who plays as a midfielder for the Moroccan club IR Tanger. International career Reda Jaadi played two games for Belgium U17 at the 2012 European Under-17 Championship qualifiers. Jaadi eventually switched allegiance and played one game for Morocco, appearing in a 5–2 victory against Uganda at the 2020 African Nations Championship, a tournament which was eventually won by Morocco. Personal life Jaadi was born in Brussels, Belgium on 14 February 1995 and is Moroccan by descent. Reda is the brother of the Moroccan youth international, Nabil Jaadi. Honours Club Wydad AC CAF Champions League: 2021–22 Botola: 2021–22 International Morocco African Nations Championship: 2020 References External links 1995 births Living people Belgian sportspeople of Moroccan descent Belgian men's footballers Belgium men's youth international footballers Moroccan men's footballers Morocco men's international footballers Men's association football midfielders Belgian Pro League players Standard Liège players K.F.C. Dessel Sport players C.S. Visé players K.V. Mechelen players Royal Antwerp F.C. players Liga I players FC Dinamo București players Fath Union Sport players Botola players Belgian expatriate men's footballers Belgian expatriate sportspeople in Romania Expatriate men's footballers in Romania 2020 African Nations Championship players Footballers from Brussels Morocco men's A' international footballers Moroccan expatriate men's footballers Moroccan expatriate sportspeople in Romania
Cereus jamacaru, known as mandacaru or cardeiro, is a cactus native to central and eastern Brazil. It often grows up to high. Description The plants have wooded stem succulent trees that reach about 9 m (up to 15 m) in height with segmented stems and form large crowns. The trunks reach a diameter of 45 cm with 4 to 6 slightly wavy notches and more in old age. The segmented twigs have four to six ribs 8 to 20 cm long and 5 to 7 radials 1.5 cm long, sometimes up to ten ribs due to ribs that have been pushed in with age. The ribs, which are initially about 3.5 cm high, become higher with advancing age. Yellow to brown areoles stand on them at a distance of 2 to 4 cm. These carry about 15 to 20 yellowish to brownish spines, which are divided into 7 to 9 radial spines and 6 to 13 central spines. It is not uncommon for the total number of thorns to be reached over the course of many years. The thorns that form later are particularly tough and up to 10 cm long. The flowers are white open at night, and about long, with green and white outside the petals with a brown outer edge. The outer bracts are brownish to light green, the inner ones are white. The flower buds usually appear in the middle of spring and each flower lasts only for a night. They blossom at dusk and wither by the morning. After fertilization, the fruits are egg- to pear-shaped, about 6 cm in diameter and 12 cm long. These turn carmine to coral red when ripe and tear open lengthwise. Its fruit has a very strong violet color. The pulp is white with tiny black seeds, about 3 mm in size, and it is considered very tasty. Taxonomy Cereus jamacaru was first described by Augustin Pyrame de Candolle and published in Prodromus Systematis Naturalis Regni Vegetabilis 3: 467. 1828. Nomenclatural synonyms are Cactus jamacaru (DC.) Kostel. (1835) and Piptanthocereus jamacaru (DC.) Riccob. (1909) In the IUCN Red List of Threatened Species the species is listed as "Least Concern (LC)". Subspecies There are two recognized subspecies: Distribution It is endemic to Alagoas, Bahia, Ceará, Goiás, Maranhão, Minas Gerais, Paraíba, Pernambuco, Piauí and Rio Grande do Norte in Brazil. It is a very common species in the Caatinga habitats. Many birds feed on the fruit, like the "gralha-cancã" and the "periquito-da-caatinga" from Brazilian caatinga. Uses A thorn-less kind is used for animal feed. The most common kind is very thorny but is also used for animal feed, after burning or cutting off the thorns. Mandacaru is highly drought-resistant. The mandacaru is featured on the flag of the city of Petrolina in the state of Pernambuco. References External links jamacaru Flora of Brazil
Hero Ibrahim Ahmed (born 12 June 1948) is the former First Lady of Iraq from 2005 to 2014 and the widow of the Late President of Iraq, Jalal Talabani. Early life She was born on 12 June 1948 to an active political family that was struggling against Kurdish oppression in Iraq. Her father, Ibrahim Ahmad was imprisoned at Abu Graib in the 1950s which motivated her to follow politics. Her family was exiled to Kirkuk in 1954 and placed under house arrest until their return to Silemani in 1953. Upon returning her father was wounded in an assassination attempt. Her family moved to Baghdad in 1958, where Hero pursued an education. She couldn't finish her education because of a military coup in Iraq which forced her family to flee to Iran, where she again resumed her education. In 1972 she graduated from Al-Mustansiriya University, Baghdad in Psychology, and gave birth to her eldest son Bafil. Career She is active in the media and is the founder of one of the major Kurdish TV Channel - Kurdsat TV. She is a member and the de facto leader of the Patriotic Union of Kurdistan politburo after being elected in the PUK 3rd congress in June 2010. She actively promotes art and culture and has been instrumental in supporting the younger generation artists. Being a musician herself, Hero has supported several music projects, both for fund raising and for the media, and is committed to continuing her support in the future. Hero is also a women's right activist promoting music and art. She used the Kurdsat TV channel to launch multiple women awareness projects. Hero is currently the director of Kurdistan Save the Children (KSC) a charity organisation that aims to provide food, shelter and education for thousands of displaced orphans. She recognised that at that time a grassroots Kurdish organization was very much needed, as the involvement of local staff would ensure a better understanding of people's needs. On 4 May 2008, while travelling to a cultural festival in Baghdad's National Theatre, a bomb exploded near her motorcade. Four of her bodyguards were injured, however Hero was not. It was unclear if Hero was the target of the bombing. This occurred on the same day as four U.S. marines were killed in Anbar Province by a roadside bomb. She is the sister of Shanaz Ibrahim Ahmed, wife of Iraqi President Abdul Latif Rashid. References 1948 births Living people First ladies of Iraq Iraqi Kurdistani politicians Patriotic Union of Kurdistan politicians Al-Mustansiriya University alumni 21st-century Kurdish women politicians
```javascript CKEDITOR.plugins.setLang("autoembed","ku",{embeddingInProgress:" ...",embeddingFailed:" ."}); ```
Jingili may refer to: Jingili people, an ethnic group of Australia Jingili language, an Australian language Jingili, Northern Territory, a suburb of Darwin, Australia Electoral division of Jingili, a former Australian electoral division In the West African language of Gulimancema, it translates as “altar”. Language and nationality disambiguation pages
```graphql """ Autogenerated return type of CreateDeployment """ type Query @preview(toggledBy: "flash-preview") { """ True if the default branch has been auto-merged into the deployment ref. """ autoMerged: Boolean """ A unique identifier for the client performing the mutation. """ clientMutationId: String } """ Marks an element of a GraphQL schema as only available via a preview header """ directive @preview( """ The identifier of the API preview that toggles this field. """ toggledBy: String! ) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION ```
The Kingdom of Saguenay () was a mythical kingdom that French-Breton maritime explorer Jacques Cartier tried to reach in 1535, supposedly located inland of present-day Quebec, Canada. The indigenous people had told Cartier about a rich kingdom and Cartier was given two ships by the French government to explore countries beyond Newfoundland. In 1542 Cartier founded the Charlesbourg-Royal settlement and his crew initially thought they had found large amounts of diamonds and gold in the area. The treasures were shipped back to France, but turned out to be quartz crystals and iron pyrites. Historic evaluation In 1986 the American historian Samuel Eliot Morison wrote about the search for the Kingdom of Saguenay by explorers in the time period between 1538 and 1543, during which France regarded the search as a means to an end. France had paid for Cartier's third voyage so as to rebalance power in the nation's favour. After all, England had profited from the discoveries of John Cabot while Spain acquired wealth from mines in Mexico and Peru. In 1997 the Canadian historian Daniel Francis reached the conclusion that Cartier "believed in the fanciful kingdom of Saguenay, rich in gold and diamonds, some of whose inhabitants knew how to fly." Other explorers held similar beliefs about the North of present-day Canada, including Martin Frobisher and Samuel Hearne. See also Norumbega El Dorado Blond Eskimos References Culture of Quebec Mythological kingdoms, empires, and countries Canadian mythology 16th century in Canada First Nations history in Quebec History of Saguenay, Quebec Iroquois mythology
Parinari klugii is a species of tree in the family Chrysobalanaceae. It is native to South America. References klugii Trees of Peru Trees of Brazil Trees of Bolivia Trees of Colombia Trees of Ecuador
Chrome Rats Vs. Basement Rutz is the debut studio album by Chromatics, released in 2003 on the Gold Standard Laboratories record label. Track listing Personnel Hannah Blilie: Drums, percussion, vocals Johnny Jewel: Percussion, producer Adam Miller: Bass, percussion, vocals Michelle Nolan: Bass, guitar, vocals Devin Welch: Bass, guitar, synthesizer References 2003 debut albums Chromatics (band) albums Gold Standard Laboratories albums
Scrupulous Anonymous is a Roman Catholic monthly newsletter and website published by Liguori Publications. It is a ministry of the Redemptorists, and the Redemptorist Congregation, founded by Saint Alphonsus Liguori. The monthly newsletter is written primarily for individuals who need help in dealing with scrupulosity. Alphonsus Liguori, a Doctor of the Church suffered from "scruples" and feelings of religious guilt in his own life, and developed techniques for helping people with the same condition. Ignatius Loyola, founder of the Jesuits, also struggled with scrupulosity. The newsletter features a main article and a section dedicated to answering questions submitted by readers. Many people, at one time or another, struggle with faith issues about sin, guilt, punishment, and hell. But a small few, particularly Catholics, so fear offending God—or fear never being forgiven by God—that they are unable to participate in daily life without experiencing severe doubt and anxiety. Rather than experiencing faith as a source of peace, their faith causes them to dwell on or second guess every decision they make. Psychologist William Van Ornum reported a survey of one thousand subscribers to Scrupulous Anonymous and documented their feelings of anguish and suffering. In his book The Doubting Disease Joseph Ciarrocchi stated that: "I have found the newsletter a useful adjunct to therapy for religious persons". Based on a half-century of questions and answers published in the Scrupulous Anonymous newsletter, the book Understanding Scrupulosity: Questions and Encouragement addresses concerns related to sin, thoughts, dreams, fantasies, and sexuality, as well as confession, self-worth, prayer, and God's grace. Sources Catholic newspapers
```yaml # Do not edit. Data is from res/country/metadata and path_to_url additionalStreetsignLanguages: [ru] atmOperators: [Swedbank, SEB, Luminor | LHV, LHV | Luminor, LHV, Luminor, LHV;Luminor, LHV; Luminor, brand=Swedbank, Nordea, brand=LHV, Sampo/Nordea, LHV/Luminor, LHV / Luminor, Euronet] chargingStationOperators: [Enefit Volt, ABB, Eesti Energia AS, Eleport, Elmo, Enefit VOLT, Enefit, ELMO, Alexela, ABB AS, eleport, Ionity, Elelevi] clothesContainerOperators: [Riidepunkt, Tallinna Jtmekeskus, TJT] defaultSpeedLimitHasUrbanOrRural: true exclusiveCycleLaneStyle: white hasAdvisoryCycleLane: false hasAdvisorySpeedLimitSign: true hasBicycleBoulevard: true hasDailyAlternateSideParkingSign: true hasLivingStreet: true hasSlowZone: true livingStreetSignStyle: vienna mobileCountryCode: 248 noParkingLineStyle: dashed yellow noStoppingLineStyle: yellow officialLanguages: [et] orchardProduces: [strawberry, apple, raspberry, plum, tomato] parcelLockerBrand: [Omniva, DPD Pickup Station, DPD, Venipak, Smartpost Itella, DHL, UPS, DPD Pickup] postboxesHaveCollectionTimes: true slowZoneLabelPosition: top slowZoneLabelText: ALA ```
```emacs lisp (ert-deftest vector-tests-make () (let ((v (make-vector 10 "asdfghjklqwertyuiopzxcvbnm"))) (should (= 10 (length v))))) ```
```smalltalk using System; #if NET using MatrixFloat4x4 = global::CoreGraphics.NMatrix4; #else using MatrixFloat4x4 = global::OpenTK.NMatrix4; #endif #nullable enable namespace ModelIO { public partial class MDLTransform { #if !NET // Inlined from the MDLTransformComponent protocol. public static MatrixFloat4x4 CreateGlobalTransform4x4 (MDLObject obj, double atTime) { return MatrixFloat4x4.Transpose ((MatrixFloat4x4) CreateGlobalTransform (obj, atTime)); } #endif } } ```
The Georgia Railroad strike of 1909, also known as the Georgia race strike, was a labor strike that involved white firemen working for the Georgia Railroad that lasted from May 17 to May 29. White firemen, organized under the Brotherhood of Locomotive Firemen and Enginemen (B of LF&E), resented the hiring of African American firemen by the railroad and accompanying policies regarding seniority. The labor dispute ended in Federal mediation under the terms of the Erdman Act, with the mediators deciding in favor of the railroad on all major issues. Background In Fall 1902, the Georgia Railroad began hiring African Americans as firemen for some of their longer routes. They were hired at considerably lower wages than white firemen, and their hiring increased during the depression of 1907. By April 1909, African Americans made up about 42% of the total firemen working for the railroad. The average pay for a white firemen was $1.75 per day, while African American firemen were paid $1.25 per day. Furthermore, the railroad allowed full seniority rights to the African American firemen, but denied them the opportunity to be promoted to the position of railroad engineer. The effect of this was that many of the African American workers accumulated more seniority than their white firemen counterparts, allowing them the choice of more profitable runs. By early 1909, tensions began to rise among the white firemen of the Georgia Railroad, many of whom were members of the Brotherhood of Locomotive Firemen and Enginemen (B of LF&E), an all-white labor union. In April, Eugene A. Ball, the union's vice president, visited Georgia and urged the railroad to change its policies. A critical development occurred on April 10, as ten white firemen had been fired by the Atlanta Terminal Company and replaced by African American workers at lower wages. Ball mistakenly believed that the general manager of Georgia Railroad was also a board member of the Atlanta Terminal Company, and as such believed the firings constituted a significant enough event to warrant further action. On May 13 and 14, Ball oversaw near unanimous voting in favor of a labor strike. Course of the strike On May 17, eighty firemen, all white members of the brotherhood, went on strike against the Georgia Railroad. As part of the strikers' demands, they called for the ten white workers to be rehired by the Atlanta Terminal Company and for the railroad to cease its replacement of white workers with African Americans. The Georgia Railroad was open about its policy of hiring African Americans for lower wages and attacked the union for attempting to remove African Americans from employment on railroads. Early on, the railroad attempted to attack Ball as an instigating outsider, highlighting the fact that he was Canadian. Ball responded that he was both a Canadian and a white man who stood "for a white man's country". Attempting to break the strike, the railroad ran freight trains fired entirely by black workers, many of whom faced violence from mobs along the line. Shortly after the outbreak of the strike, Ball published an open letter in The Atlanta Constitution attacking Georgia Railroad's policies. Several days later, on May 19, mobs in Dearing and Thomson, both near Augusta, stopped Georgia Railroad trains and attacked the black firemen on board. The following days saw mob activity in other places through the state, including in Covington and Lithonia. Georgia Railroad asked Governor M. Hoke Smith for militia protection, but Smith, who sympathized with the strikers, refused. Smith also feared that his political opponent Thomas E. Watson would exploit any perceived intervention on the behalf of African Americans. With the governor unwilling to help, Georgia Railroad sent telegrams to Federal officials Charles P. Neill and Martin Augustine Knapp asking them to serve as mediators under the terms of the Erdman Act, which had been passed several years earlier as a response to the Pullman Strike, another railroad strike. However, following the mob activity, on May 22 the governor sent John C. Hart, the Attorney General of Georgia to meet with railroad officials and review the situation. Hart recommended that both sides seek arbitration, though initially there were disagreements between the railroad and union on how this should be done. The Georgia Railroad turned down the offer to have the arbitration be done locally, most likely due to mistrust of Governor Smith, and the union rejected the proposal from Neill and Knapp to have Federal arbitration, calling the dispute "purely local". Meanwhile, mob activity increased as trains were now being detained in Union Point and Georgia Railroad began to bring in white strikebreakers from outside the state. On May 23, following attacks on two engineers, the engineers of the Georgia Railroad left their post. The following day, Neill announced he would be coming to Atlanta to work on a settlement between the two parties, though the union was quick to dismiss this as "outside interference". According to The New York Times, which had been covering the incident, President William Howard Taft was considering the use of Federal troops to address the situation, but ultimately decided against that, as he felt it would hurt the Republican Party's image in the Southern United States. On May 27, Ball, fearful of further Federal involvement in the strike, allowed for two mail trains to run between Augusta and Atlanta daily, which started the following day. That same day, Knapp joined Neill in Atlanta. On May 29, the strike was called off as the two parties entered into discussions. Mediation Following Knapp's arrival, the railroad and union came to an agreement that the ten white firemen whose firings had triggered the strike would be rehired, but the railroad rejected the union's proposal to fire all African American firemen. Additionally, the railroad and the brotherhood agreed to allow a team of three mediators to resolve the remaining issues under the terms of the Erdman Act. The three men selected as arbitrators were Thomas W. Hardwick (the union's pick), Hilary A. Herbert (the railroad's pick), and University of Georgia chancellor David Crenshaw Barrow Jr. (Hardwick and Herbert's pick). On June 21, the three mediators began to hear testimony. On June 26, the arbitrators released their decision, wherein they decided against the union on every major point. However, the arbitrators did rule that the railroad would be required to pay African American and white firemen the same wage. Hardwick had been a dissenting vote on several of the issues, and he opposed allowing the railroad to employ African Americans, but supported the requirement for equal pay. The decision, while unpopular among Ball and other union officials, was not appealed. Aftermath and legacy In an article published concurrently to the strike, African American newspaper the Atlanta Independent, noted that the strike was "nothing less than a cowardly subterfuge … for the purpose of oppressing black working men because they are black." Furthermore, Benjamin Davis, editor of the Independent and father of civil rights activist Benjamin J. Davis Jr., called the strike an act of "coercion and violence" against African American workers. American historian Darlene Clark Hine said the strike was the most widely covered labor and race-related incident prior to the East St. Louis riots of 1917. The arbitration's decisions were popularly received by many in the African American community, especially the ruling of equal pay for both whites and African Americans. While there were initially concerns that this ruling would result in whites being selected over African Americans, railroads retained African American firemen at pre-strike levels. Many saw the decision as a vindication of Booker T. Washington's ideas of racial progress through economic development. Washington personally thanked Herbert for the decision, which he said would have a far-reaching positive impact on the African American community. However, Hubert Harrison would cite the strike in his arguments against Booker T. Washington. According to Harvey, the strike highlighted the issue of industrial training for African Americans in the absence of political rights, as, according to Harrison, "any training which makes black men more efficient will bring them into keener competition with white men. … Their jobs will be taken away." References Bibliography 1909 in Georgia (U.S. state) 1909 in rail transport African-American history of Georgia (U.S. state) Labor disputes in Georgia (U.S. state) Racially motivated violence against African Americans Rail transportation labor disputes in the United States 1900s strikes in the United States
Creative Differences is a studio album by American hip hop group Living Legends. It was released in 2004. The album cover is a reference to The Brady Bunch. It peaked at number 28 on the Billboard Independent Albums chart. Critical reception Stewart Mason of AllMusic gave the album 4 stars out of 5, saying, "early De La Soul's pop-culture giggles, Digital Underground's playful rudeness, A Tribe Called Quest's cross-cultural fearlessness, Public Enemy's sonic fingerprints and the no-rules aesthetic of the Wu-Tang Clan are all touched upon at different points in this sprawling masterwork." Track listing Charts References External links 2004 albums Living Legends albums Albums produced by Eligh
```css Block element characteristics Use `box-sizing` to define an element's `width` and `height` properties Hide the scrollbar in webkit browser Default to a transparent `border-color` before adding a border to on `:hover` state elements Adjacent sibling selector ```
Muhammed Badamosi (born 27 December 1998) is a Gambian professional footballer who plays as a centre-forward for Saudi Pro League club Al-Hazem on loan from Serbian club Čukarički and the Gambia national team. Early career Born in Bundung, The Gambia, Badamosi started his playing career at home town club Jolakunda in 2013. While at Jolakunda, he drew the attention of many GFA League First Division clubs. Despite still been a kid, the top clubs were eager to sign him as they saw a brighter future in him. Club career Real de Banjul After a season with Jolakunda in the Nawettan League, it was GFA League First Division giant, Real de Banjul that won the race to sign the newest talent in Gambian football. He began his Real de Banjul in 2015 as he aimed to become the new star in the GFA League First Division. However, he didn't realized his dream as he had to cut his Real de Banjul career short to move to the Senegal Premier League. He made less than 15 appearances for Real de Banjul and score two goals before departing the club in 2016. Olympique de Ngor After spending less than a full season with Real de Banjul, Badamosi moved to Senegal Premier League club, Olympique de Ngor on a season loan from Real de Banjul. He may not have had the opportunity to get the goals rolling at the back of the net in the GFA League First Division, but he made use of his time in Senegal as he became one of the best finishers in Senegalese football. Just in his first year, he registered seven goals in thirteen appearances as he became the target of several top clubs. FUS Rabat After a season with Olympique de Ngor, Badamosi would go on to be the target of many clubs in Senegal and other top African countries. Following negotiations with several to top clubs, he made a permanent switch to Morocco Botola club, FUS Rabat. He joined the club on a four-year deal. He made his debut against Raja Casablanca on September 26, 2017 in the Moroccan Throne Cup match which played to a goalless draw. He scored his first Botola goal in FUS Rabat 2–0 win of Racing de Casablanca on 28 October 2017. Kortrijk On 5 October 2020, he signed a four-year contract with Kortrijk in Belgium. Due to visa delays, he did not arrive to Belgium until three weeks later. Loan to Čukarički In the summer of 2022, Badamosi joined Čukarički in Serbia on loan with an option to buy. Al-Hazem On 25 August 2023, Badamosi joined Saudi Pro League club Al-Hazem on a one-year loan from Čukarički. International career Youth After some brilliant performances in the GFA League First Division, Badamosi was invited by Gambia U-20 coach, Omar Sise in 2016 to attend a trial for the Gambia U-20 ahead of a crucial match against the Guinea U-20 national team in the 2017 Africa U-20 Cup of Nations qualifiers. Out of the 35 players invited, he made the final list of players for the match against Guinea. His Gambia U-20 debut ended not in the best way as Gambia lost to Guinea 2–1 in Conakry to exit the 2017 Africa U-20 Cup of Nations qualifiers. Senior Less than a year after joining FUS Rabat, he was given a call-up to the Gambia national senior team for a friendly match against Morocco. He played in the 2021 Africa Cup of Nations, his national team's first continental tournament, where they made a sensational quarter-final. References External links 1998 births People from Serekunda Living people Gambian men's footballers The Gambia men's under-20 international footballers The Gambia men's international footballers Men's association football forwards Real de Banjul FC players Olympique de Ngor players Fath Union Sport players K.V. Kortrijk players FK Čukarički players Al-Hazem F.C. players Botola players Belgian Pro League players Serbian SuperLiga players Saudi Pro League players 2021 Africa Cup of Nations players Gambian expatriate men's footballers Expatriate men's footballers in Senegal Gambian expatriate sportspeople in Senegal Expatriate men's footballers in Morocco Gambian expatriate sportspeople in Morocco Expatriate men's footballers in Belgium Gambian expatriate sportspeople in Belgium Expatriate men's footballers in Serbia Gambian expatriate sportspeople in Serbia Expatriate men's footballers in Saudi Arabia Gambian expatriate sportspeople in Saudi Arabia
```rust // # DateTime field example // // This example shows how the DateTime field can be used use tantivy::collector::TopDocs; use tantivy::query::QueryParser; use tantivy::schema::{DateOptions, Document, Schema, Value, INDEXED, STORED, STRING}; use tantivy::{Index, IndexWriter, TantivyDocument}; fn main() -> tantivy::Result<()> { // # Defining the schema let mut schema_builder = Schema::builder(); let opts = DateOptions::from(INDEXED) .set_stored() .set_fast() .set_precision(tantivy::schema::DateTimePrecision::Seconds); // Add `occurred_at` date field type let occurred_at = schema_builder.add_date_field("occurred_at", opts); let event_type = schema_builder.add_text_field("event", STRING | STORED); let schema = schema_builder.build(); // # Indexing documents let index = Index::create_in_ram(schema.clone()); let mut index_writer: IndexWriter = index.writer(50_000_000)?; // The dates are passed as string in the RFC3339 format let doc = TantivyDocument::parse_json( &schema, r#"{ "occurred_at": "2022-06-22T12:53:50.53Z", "event": "pull-request" }"#, )?; index_writer.add_document(doc)?; let doc = TantivyDocument::parse_json( &schema, r#"{ "occurred_at": "2022-06-22T13:00:00.22Z", "event": "comment" }"#, )?; index_writer.add_document(doc)?; index_writer.commit()?; let reader = index.reader()?; let searcher = reader.searcher(); // # Search let query_parser = QueryParser::for_index(&index, vec![event_type]); { // Simple exact search on the date let query = query_parser.parse_query("occurred_at:\"2022-06-22T12:53:50.53Z\"")?; let count_docs = searcher.search(&*query, &TopDocs::with_limit(5))?; assert_eq!(count_docs.len(), 1); } { // Range query on the date field let query = query_parser .parse_query(r#"occurred_at:[2022-06-22T12:58:00Z TO 2022-06-23T00:00:00Z}"#)?; let count_docs = searcher.search(&*query, &TopDocs::with_limit(4))?; assert_eq!(count_docs.len(), 1); for (_score, doc_address) in count_docs { let retrieved_doc = searcher.doc::<TantivyDocument>(doc_address)?; assert!(retrieved_doc .get_first(occurred_at) .unwrap() .as_value() .as_datetime() .is_some(),); assert_eq!( retrieved_doc.to_json(&schema), r#"{"event":["comment"],"occurred_at":["2022-06-22T13:00:00.22Z"]}"# ); } } Ok(()) } ```
The Embassy of Indonesia, Oslo (; ) is the diplomatic mission of the Republic of Indonesia to the Kingdom of Norway. The embassy is also accredited to Iceland. Diplomatic relations between Indonesia and Norway started in 1951, while diplomatic relations and the embassy's accreditation to Iceland started in 1983. Indonesia has had a diplomatic mission in Oslo since 1950. However, the mission was closed in September 1960. Between 1960 and 1966, the Indonesian embassy in Copenhagen, Denmark was accredited to Norway. Between 1966 and 1970, the Indonesian embassy in Stockholm, Sweden was accredited to Norway. Then between 1975 and 1981, the embassy in Copenhagen was again accredited to Norway. In 1981, the Indonesian government reopened its diplomatic mission in Oslo at the level of an embassy. The chancery is located at Fritzners Gate 12, 0244 Oslo. It is located in an area of Oslo called Gimle Hill and is set between the American Lutheran Church and the Czech embassy. The building used by the embassy was built in 1902 and was designed by Bernhard Steckmest. Prior to this location, the embassy was located at Gange-Rolvs Gate 5, which is now the Afghanistan embassy. The current ambassador is Todung Mulya Lubis who was appointed by President Joko Widodo on 20 February 2018. See also List of diplomatic missions of Indonesia References Oslo Indonesia Buildings and structures in Oslo Indonesia–Norway relations
Renato Ardovino (29 November 1978) is an Italian television presenter and cake designer. Biography Ardovino was born in Capaccio. He collaborates with numerous cooking magazines. Television from 2012 - Torte in corso con Renato, Real Time from 2014 - My Cake Design, Real Time from 2020 - Il Dolce Mondo di Renato, Food Network Books Torte in corso con Renato, Milano, Rizzoli Editore, 2013. Il Cake Design, Malvarosa Editore, 2016 See also Real Time (Italy) References External links Real time Living people 1968 births Italian television presenters
Pentecostal School () is an Anglo-Chinese secondary school founded by the Kowloon Pentecostal Church in Hong Kong in 1973. The school first started off as a non-profit making private school and then became fully subsidized in 1982. The school logo is a flying pigeon symbolizing the Holy Spirit, and with the school motto "Love, Faith and Hope" beneath it. Location Pentecostal School is located at 14 Perth Street in Ho Man Tin, Kowloon, Hong Kong. It consists of two main buildings, one hall, one sheltered sports area beneath the hall, two basketball courts and a badminton court. Education Pentecostal School is divided into seven forms, with students aged from 13 to 18. From Forms one to three, students are taught the compulsory subjects of Chinese, English, Mathematics and general science. Forms four and forms five prepare students for the Hong Kong Certificate of Education Examination (HKCEE). Upon qualifying for the A-Level examinations, students gain another two years of studies. Junior The Junior stage consists of Forms one to three. The classes are labelled A to E. Classes are arranged such that class A contains the most capable students (determined from an entry test or final results of previous year), decreasing with ability to class E. There are approximately 40 students in one class. Chinese, English, Mathematics and general science are compulsory. Senior The Senior stage consists of Forms four to five. Students are separated into three streams: Science, Art or Commerce. Classification depends on the student's academic performance and interests. Classes E and D concentrate on the sciences; class E offers Computing but class D does not. Classes C and B concentrate on the arts; class C has Economics, which class B does not. Lastly, class A offers Commerce. Chinese, English and Mathematics are compulsory. a)Sciences Additional Mathematics, Physics, Chemistry, Biology and Computer Science. b)Arts Chinese Literature, Chinese History, English Literature c)Commerce Accounting, Economics Forms six to seven Extracurricular activities There are many interest and activities groups formed by students, including basketball, astronomy, English, and Chinese. External links http://ps.hkcampus.net/1school/index.html Evangelical schools in Hong Kong Ho Man Tin
María Morena is a 1951 Spanish drama film directed by José María Forqué and Pedro Lazaga. It was entered into the 1952 Cannes Film Festival. Cast Paquita Rico - María Morena José María Mompín - Fernando (as José Mª Mompin) Rafael Luis Calvo - Cristóbal Félix de Pomés - Juan Montoya Alfonso Muñoz - Don Chirle Consuelo de Nieva - María Pastora Purita Alonso Julio Riscal - Relámpago Francisco Rabal - El Sevillano Luis Induni - Romero Carlos Ronda - Sargento Modesto Cid - Primer anciano en taberna References External links 1951 films 1950s Spanish-language films 1951 drama films Films directed by José María Forqué Films directed by Pedro Lazaga Spanish drama films 1950s Spanish films
Pancharaaksharam (), also known as Pancharaksharam is a 2019 Indian Tamil-language supernatural thriller film written and directed by Balaji Vairamuthu in his directorial debut. The film stars Santhosh Prathap, Gokul Anand, Ashwin Jerome, Madhu Shalini and Sana Althaf. The film was produced by Vairamuthu under the production banner Paradox Productions. The film is branded as India's first psychological supernatural adventure thriller film. Plot Pancharaaksharam opens with an animated prelude set in the 11th century Chola period. A saint who is well versed in many languages writes a book called Pancharaaksharam. The book is a combination of many books from different languages and the experiences of the saint himself. It travels from person to person and eventually goes to a king who seems interested in the predictions in the book and follows it closely. The last time the king reads the book, it says that he will be killed in a war and the predictions come true. His kingdom falls and the book is said to be an accursed book that predicts the reader's future and is kept hidden and is eventually lost from history. The story moves to the present day. Five random strangers - Dishyanth, Sameera, Dharna, Jeevika and Aidhan, all from different walks of life, meet at a concert. They become friends immediately and go on a trip together. On their trip, Sameera suggests a game using a book in the library, which turns out to be the cursed book from many centuries earlier. Each of them takes their turns to read out a prediction for themselves in the form of riddles, and are skeptical about it and brush it off as a joke initially. But the predictions mentioned for each of them happens in reality - Sameera faces a terrifying supernatural occurrence in her house, Dishyanth who is a traveller, gets attacked by dacoits on his travel, Aidhan is seriously injured by electrocution from his guitar, Dharna has an accident during a professional car race. Jeevika, who is a do-gooder by nature, faces a serial killer who kidnaps and tortures her and shows her the dark and twisted realities of the dark web. Everyone except Jeevika recovers from their respective mishaps, but they fail to locate Jeevika who is kept at an undisclosed location. The friends follow certain clues they remember reading in the book and try to figure it out. After a lot of twists and turns, the clues finally lead them to the area where Jeevika is held hostage along with few other women. The friends fight the serial killer together and subdue him and manage to free Jeevika and the other women successfully. They throw the cursed book away in order to avoid future problems, just in case. In the end, as Sameera peacefully relaxes thinking about the harrowing experiences they faced recently, she comes across a blue bird and remembers a forgotten piece of riddle she had read earlier from the book. It says that she will see a blue bird following which an impending doom and a horrible disaster will strike again. The movie ends as she looks in horror. Cast Soundtrack The music for the film was scored by K. S. Sundaramurthy. The first single of the film "Theerathae", which was sung by Sid Sriram was released on 23 December 2018 and received positive reviews from the audience. "Theerathe" - Sid Sriram "Destiny" - Rajan Chellaiah, Cliffy "Iravukkum" - Vijay Yesudas, Arunraja Kamaraj Release and reception Panchaksharam was released on 27 Dec 2019 alongside five other films. Santhosh Prathap, lead actor of this film had another release Naan Avalai Sandhitha Pothu on the same day. Behindwoods wrote "Overall, despite the flaws in writing, Pancharaaksharam emerges as a completely inventive and interesting thriller that excels at world building". Indian Express wrote "If only the blemishes had been ironed out, the screenplay had been tighter, and the film's focus had been narrower, Pancharaaksharam would have turned out to be a terrific end to a relatively unsurprising year in Tamil cinema." The Times of India wrote "Pancharaaksharam is the kind of film that surprises by simply by being an engaging watch. Director Balaji Vairamuthu sets up the story with quick character introductions and gets into the plot." References 2019 films 2010s Tamil-language films 2010s supernatural thriller films Indian supernatural thriller films 2019 thriller films