text
stringlengths 1
22.8M
|
|---|
Chaudhary Charan Singh (23 December 1902 – 29 May 1987) was an Indian politician and served as the 5th prime minister of India between 28 July 1979 and 14 January 1980. Historians and people alike frequently refer to him as the Champion of India's peasants.
Early life
Charan Singh was born on 23 December 1902 in a rural peasant family of the Tewatia Jat clan of village Noorpur, United Provinces of Agra and Oudh. Charan Singh entered politics as part of the Indian Independence Movement motivated by Mahatma Gandhi. He was active from 1931 in the Ghaziabad District Arya Samaj as well as the Meerut District Indian National Congress for which he was jailed twice by the British. Before independence, as a member of Legislative Assembly of the United Provinces elected in 1937, he took a deep interest in the laws that were detrimental to the village economy and he slowly built his ideological and practical stand against the exploitation of tillers of the land by landlords.
Between 1952 and 1967, he was one of "three principal leaders in Congress state politics." He became particularly notable in Uttar Pradesh from the 1950s for drafting and ensuring the passage of what were then the most revolutionary land reform laws in any state in India under the tutelage of the then Chief Minister Govind Ballabh Pant; first as Parliamentary Secretary and then as Revenue Minister responsible for Land Reforms. He became visible on the national stage from 1959 when he publicly opposed the unquestioned leader and Prime Minister Jawaharlal Nehru's socialistic and collectivist land policies in the Nagpur Congress Session. Though his position in the faction-ridden Uttar Pradesh Congress was weakened, this was a point when the middle peasant communities across castes in North India began looking up to him as their spokesperson and later as their unquestioned leader. Singh stood for tight government spending, enforced consequences for corrupt officers, and advocated a "firm hand in dealing with the demands of government employees for increased wages and dearness allowances." It is also worth noting that within the factional Uttar Pradesh Congress, his ability to articulate his clear policies and values made him stand out from his colleagues. Following this period, Charan Singh defected from the Congress on 1 April 1967, joined the opposition party, and became the first non-Congress chief minister of UP. This was a period when non-Congress governments were a strong force in India from 1967 to 1971.
As leader of the Bharatiya Lok Dal, a major constituent of the Janata coalition, he was disappointed in his ambition to become Prime Minister in 1977 by Jayaprakash Narayan's choice of Morarji Desai.
During 1977 Lok Sabha Elections, the fragmented opposition united a few months before the elections under the Janata Party banner, for which Chaudhary Charan Singh had been struggling almost single-handedly since 1974. It was because of the efforts of Raj Narain that he became Prime Minister in the year 1979 though Raj Narain was Chairman of Janata Party-Secular and assured Charan Singh of elevating him as Prime Minister, the way he helped him to become Chief Minister in the year 1967 in Uttar Pradesh. However, he resigned after just 24 weeks in office when Indira Gandhi's Congress Party withdrew support to the government. Charan Singh said he resigned because he was not ready to be blackmailed into withdrawing Indira Gandhi's emergency-related court cases. Fresh elections were held six months later. Charan Singh continued to lead the Lok Dal in opposition until his death in 1987.
Early years – pre-Independence India
Charan Singh's ancestor was a prominent leader of the Indian Rebellion of 1857, Raja Nahar Singh of Ballabhgarh (in present-day Haryana). Nahar Singh was sent to the gallows in Chandni Chowk, Delhi. In order to escape the oppression from the British Government following their defeat, the Maharaja's followers, including Charan Singh's grandfather moved eastward to district Bulandshaher in Uttar Pradesh.
Charan Singh was born on 23 December 1902 in the village of Noorpur in the Meerut district in the Rohilkhand region of the North-Western part of the United Provinces of Agra and Oudh in British India (present-day in Bijnor district, Uttar Pradesh, India) into a rural peasant Hindu Jat family of the Teotia clan. He was a good student, and received a Master of Arts (MA) degree in 1925 and a law degree in 1926 from Agra University. He started practice as a civil lawyer at Ghaziabad in 1928.
In February 1937 he was elected from the constituency of Chhaprauli (Baghpat) to the Legislative Assembly of the United Provinces at the age of 34. In 1938 he introduced an Agricultural Produce Market Bill in the Assembly which was published in the issues of The Hindustan Times of Delhi dated 31 March 1938. The Bill was intended to safeguard the interests of the farmers against the rapacity of traders. The Bill was adopted by most of the States in India, Punjab being the first state to do so in 1940.
Charan Singh followed Mahatma Gandhi in non-violent struggle for independence from the British Government, and was imprisoned several times. In 1930, he was sent to jail for 12 years by the British for contravention of the salt laws. He was jailed again for one year in November 1940 for individual Satyagraha movement. In August 1942 he was jailed again by the British under DIR and released in November 1943.
Independent India
Charan Singh opposed Jawaharlal Nehru on his Soviet-style economic reforms. Charan Singh was of the opinion that cooperative farms would not succeed in India. Being a son of a farmer, Charan Singh opined that the right of ownership was important to the farmer in remaining a cultivator. He wanted to preserve and stabilize a system of peasant proprietorship. Charan Singh's political career suffered due to his open criticism of Nehru's economic policy.
Charan Singh left the Congress party in 1967, and formed his own political party, Bharatiya Kranti Dal. With the help and support of Raj Narain and Ram Manohar Lohia, he became Chief Minister of Uttar Pradesh in 1967, and later in 1970. In 1975, he was jailed again, but this time by then Indian Prime Minister Indira Gandhi, daughter of his former rival Nehru. She had declared the state of emergency and jailed all her political opponents. In the 1977 general elections, the Indian populace voted her out, and the opposition party, of which Chaudhary Charan Singh was a senior leader came into power. He served as Deputy Prime Minister, Home Minister and Finance minister in the Janata government headed by Morarji Desai.
First term as Chief Minister of Uttar Pradesh (1967 – 1968)
Charan Singh for the first time, became Chief Minister of Uttar Pradesh on 3 April 1967 with the help of Samyukta Vidhayak Dal coalition. Samyukta Vidhayak Dal was formed after failure of negotiations between Charan Singh and Chandra Bhanu Gupta on the composition of Gupta's ministry. Singh wanted some of his allies like Jai Ram Varma and Udit Narain Sharma to be included in the cabinet and removal of some of the men from the cabinet. As a result of failure of negotiations, Charan Singh with his 16 MLAs defected from Congress.
Samyukta Vidhayak Dal was coalition formed with the help of non-Congress parties like Bharatiya Jana Sangh, Samyukta Socialist Party, Communist Party of India, Swatantra Party, Praja Socialist Party, Republican Party of India, Communist Party of India (Marxist). Within months of his government formation disputes started to arise in SVD coalition. Samyukta Socialist Party, one of the constituent of this coalition, demanded to completely abolish the land revenue or at least abolish on uneconomic lands but Charan Singh refused to accept this demand as he was worried about the revenue generation and resources. Praja Socialist Party, another constituent in this coalition, demanded for the release of government employees held in preventive detention for their strikes but this demand also Singh refused to accept.
The disputes between Charan Singh and Samyukta Socialist Party became public when SSP decided to launch an agitation of Angrezi Hatao (get rid to English) and during this movement two of its ministers courted arrest. SSP withdrew from coalition on 5 January 1968. On 17 February 1968, Charan Singh submitted his resignation to the governor Bezawada Gopala Reddy and on 25 February 1968, President's rule was imposed on Uttar Pradesh.
Second term as Chief Minister of Uttar Pradesh (1970)
After the split in Congress party, Chandra Bhanu Gupta resigned as Chief Minister on 10 February 1970. On 18 February 1970, Charan Singh became Chief Minister of Uttar Pradesh for the second time with the help of Indira Gandhi's Congress (R). After three Rajya Sabha members of Bharatiya Kranti Dal voted against the decision of Indira Gandhi to eliminate the Privy Purse, Kamalapati Tripathi announced the withdrawal of the support of Congress (R) for the Singh's government. Charan Singh demanded the resignation of 14 Congress (R) minister but they refused to resign. On 27 September 1970, governor Bezawada Gopala Reddy accepted the resignation of ministers but also asked Charan Singh to resign.
On 1 October 1970, President's rule was imposed on Uttar Pradesh by V. V. Giri from Kiev, who was on tour there. Just two weeks later with the recalling of the Uttar Pradesh assembly, Tribhuvan Narain Singh was elected the leader of the house and became Chief Minister of Uttar Pradesh with the support of Congress (O), Bharatiya Jana Sangh, Swatantra Party and Samyukta Socialist Party.
Minister of Home Affairs (1977 – 1978)
Charan Singh became Cabinet minister in Morarji Desai government and took the office as Minister of Home Affairs on 24 March 1977. As a Home Minister, Charan Singh took the decision to dissolve all the state assemblies which were under Congress rule. He argued that these assemblies no longer represent the will of the electorate of their respective states. Charan Singh wrote the letter to nine Chief Ministers to advise their governors to dissolve their state assemblies. Chief Minister of these states went to Supreme Court against this dissolution but the dismissals were validated by Supreme Court.
On 3 October 1977, Charan Singh got Indira Gandhi arrested from her 12 Willingdon Crescent residence. The charges against her were that during 1977 election, she misused her position to get jeeps for election campaigns and another charge was related to contract between the ONGC and the French oil company CFP. But the magistrate before whom she appeared, released her stating that there was no evidence to back up the arrest. By botching up the arrest, Singh prepared his resignation letter but Morarji Desai did not accept it.
On 1 July 1978, Charan Singh resigned from the cabinet of Morarji Desai because of growing differences between them over trial of Indira Gandhi. In December 1978, Singh wanted to undo Janata Party and wanted coalition government in place of Janata Party government. On 24 January 1979, Singh returned into cabinet and held two portfolios of Deputy Prime Minister and Minister of Finance.
Prime Ministership
When the Janata Party won the Lok Sabha elections in 1977, its MPs authorized the elder guiding lights of the movement, Jayaprakash Narayan and Acharya Kripalani to choose candidate for the post of Prime Minister. Morarji Desai was chosen and he named Singh Home Minister. Singh was asked to resign in June 1978 following disagreements with Desai, but was brought back to the cabinet as Deputy Prime Minister in January 1979. In 1979, the Janata government began to unravel over the issue of the dual loyalties of some members to Janata and the Rashtriya Swayamsevak Sangh (RSS)—the Hindu nationalist, paramilitary organisation. Singh, who as the Union home minister during the previous year had ordered the Gandhi's' arrests, took advantage of this and started courting Indira Gandhi's Congress (I) party. After a significant exodus from the Janata party to Singh's faction, Morarji Desai resigned as prime minister in July 1979. Singh was appointed prime minister, by President Reddy, after Gandhi and Sanjay Gandhi promised Singh that Congress (I) would support his government from outside on certain conditions. Singh was sworn in as Prime Minister on 28 July 1979, with outside support from Indira Gandhi's Congress (I) party and with Yeshwantrao Chavan of the Congress (Socialist) party as his Deputy Prime Minister. Indira's conditions included dropping all charges against her and Sanjay. Since Singh refused to drop them, Congress withdrew its support just before Singh was to confirm his majority in the Lok Sabha. He resigned as prime minister on 20 August 1979, after just 23 days in office, becoming the only Prime Minister never to obtain the confidence of Parliament. Singh then advised President Neelam Sanjiva Reddy to dissolve the Lok Sabha. Janata Party leader Jagjivan Ram challenged that advice and sought time to cobble support, but the Lok Sabha was dissolved, and Charan Singh continued as caretaker Prime Minister until January 1980.
Later years
On 26 September 1979, he formed Lok Dal by merging Janata Party (Secular), Socialist Party and Orissa Janata Party. He was elected president of Lok Dal and Raj Narain was elected as its working president. In August 1982, a major split occurred in Lok Dal, with one faction of Charan Singh and another consisted of Karpoori Thakur, Madhu Limaye, Biju Patnaik, Devi Lal, George Fernandes and Kumbha Ram Arya.
On 21 October 1984, Charan Singh founded a new party Dalit Mazdoor Kisan Party, by merging Lok Dal, Democratic Socialist Party of Hemwati Nandan Bahuguna, Rashtriya Congress of Ratubhai Adani and some leaders of Janata Party like Devi Lal. Later it changed its name back to the Lok Dal.
Personal life
Charan Singh had six children with wife Gayatri Devi (1905-2002). Gayatri Devi was elected an MLA from Iglas in 1969, from Gokul in 1974, then elected to Lok Sabha from Kairana in 1980, and lost Lok Sabha election from Mathura in 1984. His son Ajit Singh was the president of a political party Rashtriya Lok Dal and a former Union Minister and a many times Member of Parliament. Ajit Singh's son Jayant Chaudhary was elected to 15th Lok Sabha from Mathura, which he lost to Hema Malini in the election of 2014.
Singh suffered a stroke on 29 November 1985. He could not completely recover from the condition despite being treated the following March at a hospital in the US. At 11:35 p.m. (IST) on 28 May 1987 doctors were called for to his residence in New Delhi, after his respiration was found "unsteady". Efforts to revive him failed and was declared dead at 2:35 a.m. (IST) the following morning after a "cardiovascular collapse".
Legacy
He was the chief architect of land reforms in U.P.; he took a leading part in formulation and finalization of the Dept. Redemption Bill 1939, which brought great relief to rural debtors. It was also at his initiative that the salaries and other privileges enjoyed by Ministers in U.P. were drastically reduced. As Chief Minister he was instrumental in bringing about the Land Holding Act 1960 which was aimed at lowering the ceiling on land holdings to make it uniform throughout the State.
Since his death, many who knew Singh have ensured his life and work are remembered positively. These perceptions enforce the notion that he was of a "higher category of leaders" in the areas of "intellect, personal integrity, and . . . coherence of his economic and social thought." His association with causes dear to farming communities in India caused his memorial in New Delhi to be named Kisan Ghat (in Hindi, Kisan is the word for farmer and Ghat is word for river bank). His birthday on 23 December is celebrated as Kisan Diwas in India. A commemorative postage stamp was issued by the government of India on the third death anniversary (29 May 1990) of Charan Singh.
The Amausi Airport in Lucknow, Uttar Pradesh was renamed Chaudhary Charan Singh International Airport after him, and the University of Meerut in Uttar Pradesh, India, was also named Chaudhary Charan Singh University in his honour.
In popular culture
Kisan Kranti Ke Praneta - Ch. Charan Singh is a 1996 short documentary film directed by Ashok Vazirani and produced by the Films Division of India which covers the life and achievements of the prime minister including his contributions to the Indian agriculture sector. Charan Singh has also been portrayed by Anwar Fatehan in the 2013 television series Pradhanmantri (), which covers the tenures of Indian PMs, by Sundaram in the 2019 film NTR: Mahanayakudu which is based on the life of Indian actor-politician N. T. Rama Rao., and by Govind Namdeo in the 2021 film Main Mulayam Singh Yadav which charts the life of former Uttar Pradesh CM Mulayam Singh Yadav.
Books
Agrarian Revolution in Uttar Pradesh (1957)
Joint Farming X-rayed (1959)
India's Economic Policy – The Gandhian Blueprint (1978)
Economic Nightmare of India: Its Cause and Cure (1981)
Abolition of Zamindari (1947)
Whither Co-operative Farming (1956)
Prevention of Division of Holdings Below a Certain Minimum
India’s Poverty and It’s Solution (1964)
Land Reforms in UP and the Kulaks (1986)
See also
Bharatiya Kisan Union
References
Further reading
External links
Public archives on Charan Singh
Charan Singh - Jaat Wiki
Chaudhary Charan Singh History
|-
|-
|-
|-
|-
|-
1902 births
1987 deaths
Indian Hindus
Jat
Charan Singh administration
Chief Ministers of Uttar Pradesh
Indian National Congress politicians
Bharatiya Lok Dal politicians
Janata Party politicians
India MPs 1977–1979
India MPs 1980–1984
India MPs 1984–1989
People from Hapur district
Uttar Pradesh MLAs 1967–1969
Lok Sabha members from Uttar Pradesh
Indians imprisoned during the Emergency (India)
Leaders of the Opposition in the Uttar Pradesh Legislative Assembly
People from Baghpat
Dr. Bhimrao Ambedkar University alumni
Farmers' rights activists
Prime Ministers of India
Indian Deputy Prime Ministers
Ministers of Internal Affairs of India
Finance Ministers of India
Ministers for Corporate Affairs
20th-century prime ministers of India
|
```elixir
defmodule Wallaby.Integration.Browser.ImportFeatureTest do
use Wallaby.Integration.SessionCase, async: true
import Wallaby.Feature
feature "works", %{session: session} do
session
|> visit("/page_1.html")
|> find(Query.css("body > h1"), fn el ->
assert Element.text(el) == "Page 1"
end)
end
end
```
|
Isabelle Demongeot and Elna Reinach were the defending champions but only Reinach competed that year with Andrea Strnadová.
Reinach and Strnadová lost in the semifinals to Jenny Byrne and Julie Richardson.
Patricia Hy and Mercedes Paz won in the final 6–4, 7–6(7–3) against Byrne and Richardson.
Seeds
Champion seeds are indicated in bold text while text in italics indicates the round in which those seeds were eliminated.
Inés Gorrochategui / Caroline Vis (semifinals)
Elna Reinach / Andrea Strnadová (semifinals)
Jenny Byrne / Julie Richardson (final)
Patricia Hy / Mercedes Paz (champions)
Draw
External links
ITF tournament edition details
WTA tournament draws
WTA Auckland Open
1994 WTA Tour
|
```c++
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
//
//
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//#include "behaviac/common/base.h"
//#include "behaviac/common/workspace.h"
//#include "behaviac/common/file/filemanager.h"
//#include "behaviac/agent/agent.h"
//
//namespace behaviac{
// class BehaviacSystem{
// private:
// static BehaviacSystem* _instance;
// static behaviac::Workspace::EFileFormat ms_fileFormat;
// static bool ms_bInit ;
// protected:
// static CFileManager* ms_fileSystem ;
// static Workspace* ms_workspace ;
//
//
// public:
// BehaviacSystem()
// {
// ms_fileFormat = behaviac::Workspace::EFileFormat::EFF_xml;
// ms_bInit = false;
// ms_fileSystem = NULL;
// ms_workspace = NULL;
// }
// static BehaviacSystem* GetInstance()
// {
// if (_instance == NULL)
// {
// _instance = new BehaviacSystem();
// }
//
// return _instance;
// }
// bool Init()
// {
// if (ms_fileSystem == NULL)
// {
// ms_fileSystem = BEHAVIAC_NEW CFileManager();
// }
//
// bool bInit = false;
// if (ms_workspace == NULL)
// {
// ms_workspace = new Workspace();
// ms_fileFormat = behaviac::Workspace::GetInstance()->GetFileFormat();
// bInit = true;
// }
//
// if (behaviac::Workspace::GetInstance()->GetFileFormat() != ms_fileFormat)
// {
// ms_fileFormat = behaviac::Workspace::GetInstance()->GetFileFormat();
// bInit = true;
// }
//
// //only init it when the file format changed at the init is slow
// if (bInit)
// {
// if (ms_bInit)
// {
// behaviac::Workspace::GetInstance()->UnLoadAll();
//
// behaviac::Socket::ShutdownConnection();
//
// behaviac::LogManager::GetInstance()->DestroyInstance();
// }
//
// ms_bInit = true;
// //< write log file
// behaviac::Config::SetLogging(true);
// //behaviac::Config.IsSocketing = false;
//
// //register names
//
// behaviac::Agent::RegisterInstanceName<Agent>();
//
// behaviac::Workspace::GetInstance()->Init();
// LogManager::GetInstance()->Log("Behaviac meta data export over.");
//
// bool isBlockSocket = false;
// behaviac::Socket::SetupConnection(isBlockSocket);
// behaviac::Agent::SetIdMask(0xffffffff);
// }
//
// return true;
// }
// void Uninit()
// {
// //do nothing here as it will be uninit just before reinit
// }
// };
//}
```
|
Abd al-Was’i bin Yahya bin Hussein al-Wasa’i al-Yamani (Arabic:عبد الواسع الواسعي)(May 1878 – January 1960) (Jumada al-Ula 1295 – Rajab 1379) was a Muslim scholar, Zaidi jurist and Yemeni Islamic historian. He was born and raised in Sana'a. He received his knowledge there, then left for Mecca and took from its scholars. He made many trips, visiting most countries of the Islamic world, such as India, Iraq, Egypt, the Levant, and others. He was in Damascus when the First General War and the Battle of Damascus broke out, and he lived there for five years. Then he returned to his homeland and went on to teach at the Sana'a Mosque and at the Scientific School. He contributed to the publication of many Yemeni books and the definition of Yemen and its heritage, and he has many books, the most famous of which is "The History of Yemen, which is called The Reflection of Concerns and Sadness in Accidents and History of Yemen." Interested in the hadith and science of the calendar and Islamic history of Yemen. He died in his hometown at the age of 82.
Biography
He is Abd al-Was’i bin Yahya Hussein bin Abdullah bin Nasser bin Jaber al-Wasi al-San’ani. He was born in the city of Sana’a, the center of the Sana’a district, and the capital of the Ottoman state of Yemen, in Jumada Al-Awwal 1295/May 1878, and he was raised there. He took in jurisprudence, morphology, grammar, and hadith on its sheikhs, and they are many, including: Muhammad bin Ali Zayed, Ahmed bin Muhammad Al-Siyaghi, Abdul Razzaq bin Mohsen Al-Raqihi, Muhammad bin Muhammad Jagman, Muhammad bin Abdul Malik Al-Ansi, Ahmed bin Ali Al-Tayeb, Ahmed bin Ali Al-Sharafi, And Ismail Al-Rimi, Muhammad bin Ahmed Hamid, Muhammad bin Yahya Al-Akwa, and in the science of times Ali bin Hussein Al-Maghribi, and Al-Hussain bin Ali Al-Omari, and it was approved by them.
He left for Mecca as a pilgrim in the year 1329 AH and was taken from its scholars, including: Ahmed Khatib bin Abdul Malik Al-Shafi’i and authorized him a general permit, Muhammad bin Suleiman bin Habib Allah the Royal, Abdul Hamid bin Muhammad bin Ali Quds, and Al-Hussein bin Muhammad bin Hussein Al-Habashi Al-Alawi. Then he went to the Levant in the year 1330 AH and in the city of Aleppo he took it from Ahmad Al-Zarqani and in Damascus from Badr Al-Din. He has other commentaries that he mentioned with detailing his readings on them and the years of their death, "Al-Durr Al-Jami’ Al-Farid."
He made tours in Islamic countries and frequently visited Egypt and the Hejaz. When he was in Damascus, the First General War broke out, and he lived there for five years. He returned to his homeland and was issued to teach at the Sana’a Mosque, and at the Scientific School or the College of Dar Al Uloom, then his guardian. He had famous speeches, and he owned a large library of manuscripts and publications that he brought with him during his travels.
Many of the people of Sana’a and Dhamar took from him, including: Al-Safi Al-Garafi, Hussein bin Yahya Al-Wase’i, his son Ahmed, Abdullah bin Ahmed Al-Wazir, Nasser bin Hussein Al-Durra, Ahmed bin Muhammad Zubara, Ahmed bin Ali Al-Kahlani, Muhammad bin Abdullah Al-Omari, and others. And it was narrated from him on the authority of a group, including: Muhammad Zahid Al-Kawthari, Ahmed bin Al-Siddiq Al-Ghamari, Ahmed Abdullah, and Abdullah bin Muhammad Ghazi Al-Makki.
He died in the month of Rajab 1379 AH in Sana'a, the Mutawakkilite Kingdom of Yemen, at the age of eighty-four AH.
Interests
He was interested in the Islamic history of Yemen, and he investigated some religious texts, including: the collection of Imam Zaid bin Ali, and the Ali bin Musa Al-Ridha newspaper. And "Explanation of Flowers" as well as Al-Mukhtasar by Imam Al-Mahdi Ahmed bin Yahya, "Shams Al-Akhbar" in hadith, and "Kinz Al-Rashad" in asceticism.
Personal life
His son is the jurist Judge Ahmed, born in 1326/1908 and died in 1405 AH/1985AD. And he has grandchildren.
References
1878 births
1960 deaths
|
Synchronicity: An Acausal Connecting Principle, by Carl Gustav Jung, is a book published by Princeton University Press in 1960. It was extracted from Structure & Dynamics of the Psyche, which is volume 8 in The Collected Works of C. G. Jung. The book was also published in 1985 by Routledge.
Summary
Jung sees synchronicity as a meaningful coincidence in time, a psychic factor which is independent of space and time. This revolutionary concept of synchronicity both challenges and complements the physicist's classical view of causality. It also forces a basic reconsideration of the meaning of chance, probability, coincidence and the singular events in our lives.
Jung was intrigued from early in his career with coincidences, especially those surprising juxtapositions that scientific rationality could not adequately explain. He discussed these ideas with Albert Einstein before World War I, but first used the term synchronicity in a 1930 lecture, in reference to the unusual psychological insights generated from consulting the I Ching. A long correspondence and friendship with the Nobel Prize-winning physicist Wolfgang Pauli inspired a final, mature statement of Jung's thinking on synchronicity, originally published in 1952 and reproduced in this book. Together with a wealth of historical and contemporary material, this essay describes an astrological experiment Jung conducted to test his theory. Synchronicity reveals the full extent of Jung's research into a wide range of psychic phenomena.
Editions
Jung, C. G. 1973. Synchronicity: An Acausal Connecting Principle. Princeton, NJ: Princeton University Press. .
Jung, C. G. 1985. Synchronicity: An Acausal Connecting Principle. London: Routledge. .
References
1960 non-fiction books
Works by Carl Jung
Analytical psychology
Princeton University Press books
|
```smalltalk
/*****************************************************************************
*
* ReoGrid - .NET Spreadsheet Control
*
* path_to_url
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
* PURPOSE.
*
* Author: Jingwood <jingwood at unvell.com>
*
*
****************************************************************************/
#if ANDROID
using Android.Graphics;
using Android.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using unvell.ReoGrid.Graphics;
using unvell.ReoGrid.Interaction;
namespace unvell.ReoGrid
{
partial class ReoGridCell
{
internal Typeface renderFont;
}
}
namespace unvell.ReoGrid.Rendering
{
partial class PlatformUtility
{
internal static float GetDPI()
{
DisplayMetrics metrics = new DisplayMetrics();
//getResources().getDisplayMetrics();
return metrics.Xdpi;
}
internal static bool IsKeyDown(KeyCode key)
{
// TODO
return false;
}
}
partial class StaticResources
{
internal static readonly SolidColor SystemColor_Window = SolidColor.White;
internal static readonly SolidColor SystemColor_WindowText = SolidColor.Black;
internal static readonly SolidColor SystemColor_Highlight = SolidColor.SkyBlue;
internal static readonly SolidColor SystemColor_Control = SolidColor.Silver;
internal static readonly SolidColor SystemColor_ControlDark = SolidColor.Gray;
}
}
#endif // ANDROID
```
|
```c++
/* Delegate for a QListWidget that can draw a second icon
* at the right side of the item
*
* Initial author: Floris Bos
* Maintained by Raspberry Pi
*
* See LICENSE.txt for license details
*
*/
#include "twoiconsdelegate.h"
#include <QPainter>
#include <QStyleOptionViewItem>
#include <QModelIndex>
TwoIconsDelegate::TwoIconsDelegate(QObject *parent) :
QStyledItemDelegate(parent)
{
}
void TwoIconsDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
QStyledItemDelegate::paint(painter, option, index);
QVariant v = index.data(SecondIconRole);
if (!v.isNull() && v.canConvert<QIcon>())
{
QIcon icon = v.value<QIcon>();
QSize size = icon.availableSizes().first();
painter->drawPixmap(option.rect.right()-size.width(), option.rect.top(), icon.pixmap(size));
}
}
```
|
```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\DLP;
class GooglePrivacyDlpV2StatisticalTable extends \Google\Collection
{
protected $collection_key = 'quasiIds';
protected $quasiIdsType = GooglePrivacyDlpV2QuasiIdentifierField::class;
protected $quasiIdsDataType = 'array';
protected $relativeFrequencyType = GooglePrivacyDlpV2FieldId::class;
protected $relativeFrequencyDataType = '';
protected $tableType = GooglePrivacyDlpV2BigQueryTable::class;
protected $tableDataType = '';
/**
* @param GooglePrivacyDlpV2QuasiIdentifierField[]
*/
public function setQuasiIds($quasiIds)
{
$this->quasiIds = $quasiIds;
}
/**
* @return GooglePrivacyDlpV2QuasiIdentifierField[]
*/
public function getQuasiIds()
{
return $this->quasiIds;
}
/**
* @param GooglePrivacyDlpV2FieldId
*/
public function setRelativeFrequency(GooglePrivacyDlpV2FieldId $relativeFrequency)
{
$this->relativeFrequency = $relativeFrequency;
}
/**
* @return GooglePrivacyDlpV2FieldId
*/
public function getRelativeFrequency()
{
return $this->relativeFrequency;
}
/**
* @param GooglePrivacyDlpV2BigQueryTable
*/
public function setTable(GooglePrivacyDlpV2BigQueryTable $table)
{
$this->table = $table;
}
/**
* @return GooglePrivacyDlpV2BigQueryTable
*/
public function getTable()
{
return $this->table;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePrivacyDlpV2StatisticalTable::class, 'Google_Service_DLP_GooglePrivacyDlpV2StatisticalTable');
```
|
Lyces tamara is a moth of the family Notodontidae first described by Hering in 1925. It is found in southern Mexico and Guatemala.
External links
Species page at Tree of Life Web Project
Notodontidae
Moths described in 1925
|
```kotlin
package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.ActiveByDefault
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.rules.isConstant
import io.gitlab.arturbosch.detekt.rules.isOverride
import org.jetbrains.kotlin.KtNodeTypes
import org.jetbrains.kotlin.lexer.KtSingleValueToken
import org.jetbrains.kotlin.lexer.KtTokens
import org.jetbrains.kotlin.psi.KtBinaryExpression
import org.jetbrains.kotlin.psi.KtExpression
import org.jetbrains.kotlin.psi.KtFile
import org.jetbrains.kotlin.psi.KtObjectDeclaration
import org.jetbrains.kotlin.psi.KtParenthesizedExpression
import org.jetbrains.kotlin.psi.KtProperty
import org.jetbrains.kotlin.psi.KtStringTemplateExpression
import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject
/**
* This rule identifies and reports properties (`val`) that may be `const val` instead.
* Using `const val` can lead to better performance of the resulting bytecode as well as better interoperability with
* Java.
*
* <noncompliant>
* val myConstant = "abc"
* </noncompliant>
*
* <compliant>
* const val MY_CONSTANT = "abc"
* </compliant>
*/
@ActiveByDefault(since = "1.2.0")
class MayBeConstant(config: Config) : Rule(
config,
"Usage of `vals` that can be `const val` detected."
) {
private val binaryTokens = hashSetOf<KtSingleValueToken>(
KtTokens.PLUS,
KtTokens.MINUS,
KtTokens.MUL,
KtTokens.DIV,
KtTokens.PERC
)
private val topLevelConstants = HashSet<String?>()
private val companionObjectConstants = HashSet<String?>()
private val KtProperty.isActual
get() = hasModifier(KtTokens.ACTUAL_KEYWORD)
override fun visitKtFile(file: KtFile) {
topLevelConstants.clear()
val topLevelProperties = file.declarations
.filterIsInstance<KtProperty>()
.filter { it.isTopLevel && it.isConstant() }
.mapNotNull { it.name }
topLevelConstants.addAll(topLevelProperties)
super.visitKtFile(file)
}
override fun visitObjectDeclaration(declaration: KtObjectDeclaration) {
if (declaration.isObjectLiteral()) { // local vals can't be const
return
}
val constProperties = declaration.declarations
.filterIsInstance<KtProperty>()
.filter { it.isConstant() }
.mapNotNull { it.name }
companionObjectConstants.addAll(constProperties)
super.visitObjectDeclaration(declaration)
companionObjectConstants.removeAll(constProperties.toSet())
}
override fun visitProperty(property: KtProperty) {
super.visitProperty(property)
if (property.canBeConst()) {
report(
CodeSmell(
Entity.atName(property),
"${property.nameAsSafeName} can be a `const val`."
)
)
}
}
private fun KtProperty.canBeConst(): Boolean {
if (cannotBeConstant() || isInObject() || isJvmField()) {
return false
}
return this.initializer?.isConstantExpression() == true
}
private fun KtProperty.isJvmField(): Boolean {
val isJvmField = annotationEntries.any { it.text == "@JvmField" }
return annotationEntries.isNotEmpty() && !isJvmField
}
private fun KtProperty.cannotBeConstant(): Boolean =
isLocal ||
isVar ||
isActual ||
getter != null ||
isConstant() ||
isOverride()
private fun KtProperty.isInObject() =
!isTopLevel && containingClassOrObject !is KtObjectDeclaration
private fun KtExpression.isConstantExpression(): Boolean =
this is KtStringTemplateExpression &&
!hasInterpolation() ||
node.elementType == KtNodeTypes.BOOLEAN_CONSTANT ||
node.elementType == KtNodeTypes.INTEGER_CONSTANT ||
node.elementType == KtNodeTypes.CHARACTER_CONSTANT ||
node.elementType == KtNodeTypes.FLOAT_CONSTANT ||
topLevelConstants.contains(text) ||
companionObjectConstants.contains(text) ||
isBinaryExpression(this) ||
isParenthesizedExpression(this)
private fun isParenthesizedExpression(expression: KtExpression) =
(expression as? KtParenthesizedExpression)?.expression?.isConstantExpression() == true
private fun isBinaryExpression(expression: KtExpression): Boolean =
expression is KtBinaryExpression &&
expression.node.elementType == KtNodeTypes.BINARY_EXPRESSION &&
binaryTokens.contains(expression.operationToken) &&
expression.left?.isConstantExpression() == true &&
expression.right?.isConstantExpression() == true
}
```
|
Nelson Dock is a dock on the River Mersey, England, and part of the Port of Liverpool. It is situated in the northern dock system in Vauxhall, connected to Bramley-Moore Dock to the north and Salisbury Dock to the south.
History
The dock was designed by Jesse Hartley and opened in 1848.
In 2007, the Peel Group, owners of the Mersey Docks and Harbour Company, unveiled the £5.5 billion 'Liverpool Waters' regeneration programme. Nelson Dock is encompassed in the site.
References
Sources
Further reading
External links
Nelson Dock aerial photo
Grade II listed buildings in Liverpool
Liverpool docks
|
```swift
import NIOCore
public enum BodyStreamResult: Sendable {
/// A normal data chunk.
/// There will be 0 or more of these.
case buffer(ByteBuffer)
/// Indicates an error.
/// There will be 0 or 1 of these. 0 if the stream closes cleanly.
case error(Error)
/// Indicates the stream has completed.
/// There will be 0 or 1 of these. 0 if the stream errors.
case end
}
extension BodyStreamResult: CustomStringConvertible {
public var description: String {
switch self {
case .buffer(let buffer):
return "buffer(\(buffer.readableBytes) bytes)"
case .error(let error):
return "error(\(error))"
case .end:
return "end"
}
}
}
extension BodyStreamResult: CustomDebugStringConvertible {
public var debugDescription: String {
switch self {
case .buffer(let buffer):
let value = String(decoding: buffer.readableBytesView, as: UTF8.self)
return "buffer(\(value))"
case .error(let error):
return "error(\(error))"
case .end:
return "end"
}
}
}
/// A type that represents the writable handle of a streamed ``Response`` body.
public protocol BodyStreamWriter: Sendable {
/// The eventloop upon which writes must be sent
var eventLoop: EventLoop { get }
/// Writes an event to a streaming HTTP body. If the `result` is `.end` or `.error`, the stream ends.
func write(_ result: BodyStreamResult, promise: EventLoopPromise<Void>?)
}
extension BodyStreamWriter {
public func write(_ result: BodyStreamResult) -> EventLoopFuture<Void> {
// We need to ensure we're on the event loop here for write as there's
// no guarantee that users will be on the event loop
if self.eventLoop.inEventLoop {
return write0(result)
} else {
return self.eventLoop.flatSubmit {
self.write0(result)
}
}
}
private func write0(_ result: BodyStreamResult) -> EventLoopFuture<Void> {
let promise = self.eventLoop.makePromise(of: Void.self)
self.write(result, promise: promise)
return promise.futureResult
}
}
/// A type that represents the writable handle of a streamed ``Response`` body
public protocol AsyncBodyStreamWriter: Sendable {
/// Writes an event to a streaming HTTP body. If the `result` is `.end` or `.error`, the stream ends.
func write(_ result: BodyStreamResult) async throws
/// Writes a `ByteBuffer` to the stream. Provides a default implementation that calls itself using `BodyStreamResult`
func writeBuffer(_ buffer: ByteBuffer) async throws
}
extension AsyncBodyStreamWriter {
/// Writes the buffer wrapped in a ``BodyStreamResult`` to `self`
public func writeBuffer(_ buffer: ByteBuffer) async throws {
try await write(.buffer(buffer))
}
}
```
|
Maria Balaba (born 1 May 1988) is a Latvian figure skater. She is the 2004–2005 Latvian national champion. Balaba was born in Riga, and is coached by Galina Efremenko.
Competitive highlights
J = Junior level; QR = Qualifying Round
External links
Latvian female single skaters
1988 births
Living people
20th-century Latvian women
|
James Sterling Clark (October 7, 1921 – June 6, 2000) of Eufaula, Barbour County, Alabama, served as the mayor of the City of Eufaula from 1976 to 1978, and served four consecutive terms in the Senate of Alabama from 1959 to 1975. He served as the chair of the Senate Rules Committee for 12 of those 16 years. Clark was initially elected to the Alabama House of Representatives in 1983, representing Barbour and Russell Counties, during which he served as the chair of the House Rules Committee, and subsequently was reelected by the residents of his district for three additional terms, 1986 to 1990, 1990 to 1994, and 1994 to 1998.
Clark was entrusted by the members of the House with the Office of Speaker in 1987, 1991, and an unprecedented third term in 1995. Clark died in June 2000.
References
Sources
Resolution of the Alabama House of Representatives, 1999, HJR2, By Representative Newton (D), RFD, Rd 1 12-JAN-1999
2000 deaths
People from Eufaula, Alabama
Mayors of places in Alabama
Members of the Alabama House of Representatives
Alabama state senators
1921 births
Speakers of the Alabama House of Representatives
20th-century American politicians
|
```xml
/* eslint react/no-array-index-key: "off" */
import { Components } from 'botframework-webchat-component';
import PropTypes from 'prop-types';
import React, { FC } from 'react';
import type { DirectLineAnimationCard } from 'botframework-webchat-core';
import CommonCard from './CommonCard';
import useStyleSet from '../../hooks/useStyleSet';
const { ImageContent, VideoContent } = Components;
type AnimationCardContentProps = {
actionPerformedClassName?: string;
content: DirectLineAnimationCard;
disabled?: boolean;
};
const AnimationCardContent: FC<AnimationCardContentProps> = ({ actionPerformedClassName, content, disabled }) => {
const { media = [] } = content;
const [{ animationCardAttachment: animationCardAttachmentStyleSet }] = useStyleSet();
return (
<div className={animationCardAttachmentStyleSet}>
<ul className="media-list">
{media.map(({ profile = '', url }, index) => (
<li key={index}>
{/\.gif$/iu.test(url) ? <ImageContent alt={profile} src={url} /> : <VideoContent alt={profile} src={url} />}
</li>
))}
</ul>
<CommonCard actionPerformedClassName={actionPerformedClassName} content={content} disabled={disabled} />
</div>
);
};
AnimationCardContent.defaultProps = {
actionPerformedClassName: '',
disabled: undefined
};
AnimationCardContent.propTypes = {
actionPerformedClassName: PropTypes.string,
// PropTypes cannot fully capture TypeScript types.
// @ts-ignore
content: PropTypes.shape({
media: PropTypes.arrayOf(
PropTypes.shape({
profile: PropTypes.string,
url: PropTypes.string.isRequired
})
).isRequired
}).isRequired,
disabled: PropTypes.bool
};
export default AnimationCardContent;
```
|
Masu Bhurgri is a Union council of Hyderabad Taluka (rural) in the Sindh province of Pakistan.
References
Populated places in Hyderabad District, Pakistan
Union councils of Sindh
|
PathCheck Foundation is a volunteer-led nonprofit organization founded in February 2020 at MIT that develops COVID-19 apps for digital contact tracing. The organization consists of over 1000 volunteers. In addition, various companies donate employee time to the foundation. The organization was previously known as COVID Safe Paths (and before MIT Safe Paths) but was renamed PathCheck Foundation on June 28, 2020.
The original technology for the PathCheck app was based on the MIT Private Kit: Safe Paths app created by Ramesh Raskar with Sandy Pentland, Kent Larson, Steve Penrod, and Kevin Esvelt. The founding team included Abhishek Singh, Kristen Vilcans, Alina Clough, Francesco Maria Bendetti, Kaushal Jain, Khahlil Louisy, Sienna Leis, Greg Nadeau, Rachel Barbar, and John Werner.
On July 8, 2020, Ramesh Raskar, chairman of PathCheck Foundation, addressed the United States House of Representatives Committee on Financial Services Task
Force on Artificial Intelligence during their hearing on "Exposure Notification and Contact Tracing: How AI Helps Localities
Reopen Safely and Researchers Find a Cure", describing the use of contact tracing technologies used by PathCheck. He also spoke about PathCheck's surveillance and privacy methods at the Wall Street Journal Tech Health event.
Apps developed by PathCheck have been adopted by the governments of Minnesota, Hawaii, Guam, Puerto Rico, Teton County, Wyoming (home of Yellowstone National Park), and Cyprus.
References
501(c)(3) organizations
Software associated with the COVID-19 pandemic
|
```objective-c
//===- ARCRegisterInfo.h - ARC Register Information Impl --------*- C++ -*-===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
//
// This file contains the ARC implementation of the MRegisterInfo class.
//
//===your_sha256_hash------===//
#ifndef LLVM_LIB_TARGET_ARC_ARCREGISTERINFO_H
#define LLVM_LIB_TARGET_ARC_ARCREGISTERINFO_H
#include "llvm/CodeGen/TargetRegisterInfo.h"
#define GET_REGINFO_HEADER
#include "ARCGenRegisterInfo.inc"
namespace llvm {
class TargetInstrInfo;
class ARCSubtarget;
struct ARCRegisterInfo : public ARCGenRegisterInfo {
const ARCSubtarget &ST;
public:
ARCRegisterInfo(const ARCSubtarget &);
/// Code Generation virtual methods...
const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
BitVector getReservedRegs(const MachineFunction &MF) const override;
bool requiresRegisterScavenging(const MachineFunction &MF) const override;
bool useFPForScavengingIndex(const MachineFunction &MF) const override;
bool eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj,
unsigned FIOperandNum,
RegScavenger *RS = nullptr) const override;
const uint32_t *getCallPreservedMask(const MachineFunction &MF,
CallingConv::ID CC) const override;
// Debug information queries.
Register getFrameRegister(const MachineFunction &MF) const override;
//! Return whether to emit frame moves
static bool needsFrameMoves(const MachineFunction &MF);
};
} // end namespace llvm
#endif // LLVM_LIB_TARGET_ARC_ARCREGISTERINFO_H
```
|
FC Vagharshapat (), is a defunct Armenian football club from the town of Vagharshapat (Etchmiadzin), Armavir Province.
History
The club was founded in 2003 as FC Vagharshapat, and participated in the Armenian First League. The team achieved 2nd place in the league during its first season, but was unable to achieve promotion to the premier league. The following two season the club finished in 4th and 8th place respectively. In year 2006 it was unable to find a sponsor and disbanded.
League record
References
External links
Vagarshapat at www.weltfussballarchiv.com
RSSSF Armenia (and subpages per year)
Defunct football clubs in Armenia
Association football clubs established in 1967
Association football clubs disestablished in 2005
1967 establishments in Armenia
2005 disestablishments in Armenia
Vagharshapat
|
```objective-c
/*your_sha256_hash---------
*
* nodeCtescan.h
*
*
*
*
* src/include/executor/nodeCtescan.h
*
*your_sha256_hash---------
*/
#ifndef NODECTESCAN_H
#define NODECTESCAN_H
#include "nodes/execnodes.h"
extern CteScanState *ExecInitCteScan(CteScan *node, EState *estate, int eflags);
extern void ExecEndCteScan(CteScanState *node);
extern void ExecReScanCteScan(CteScanState *node);
#endif /* NODECTESCAN_H */
```
|
```python
# =============================================================================
#
#
# 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.
# =============================================================================
"""Public API of periodic_resample."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
```
|
```objective-c
// 2024 and later: Unicode, Inc. and others.
#include "unicode/utypes.h"
#ifndef U_HIDE_DEPRECATED_API
#ifndef MESSAGEFORMAT_CHECKER_H
#define MESSAGEFORMAT_CHECKER_H
#if U_SHOW_CPLUSPLUS_API
#if !UCONFIG_NO_FORMATTING
#if !UCONFIG_NO_MF2
#include "unicode/messageformat2_data_model.h"
#include "messageformat2_errors.h"
U_NAMESPACE_BEGIN
namespace message2 {
using namespace data_model;
// Used for checking missing selector annotation errors
// and duplicate declaration errors (specifically for
// implicit declarations)
class TypeEnvironment : public UMemory {
public:
// MessageFormat has a simple type system;
// variables are in-scope and annotated; in-scope and unannotated;
// or free (a free variable has no explicit declaration in the scope
// of its use.)
enum Type {
Annotated,
Unannotated,
FreeVariable
};
void extend(const VariableName&, Type, UErrorCode& status);
Type get(const VariableName&) const;
bool known(const VariableName&) const;
TypeEnvironment(UErrorCode& status);
virtual ~TypeEnvironment();
private:
// Stores variables known to be annotated.
LocalPointer<UVector> annotated; // Vector of `VariableName`s
// Stores variables that are in-scope but unannotated.
LocalPointer<UVector> unannotated; // Vector of `VariableName`s
// Stores free variables that are used in the RHS of a declaration
LocalPointer<UVector> freeVars; // Vector of `VariableNames`; tracks free variables
// This can't just be "variables that don't appear in
// `annotated` or `unannotated`", as a use introduces
// an explicit declaration
}; // class TypeEnvironment
// Checks a data model for semantic errors
// (Errors are defined in path_to_url )
class Checker {
public:
void check(UErrorCode&);
Checker(const MFDataModel& m, StaticErrors& e) : dataModel(m), errors(e) {}
private:
void requireAnnotated(const TypeEnvironment&, const Expression&, UErrorCode&);
void addFreeVars(TypeEnvironment& t, const Operand&, UErrorCode&);
void addFreeVars(TypeEnvironment& t, const Operator&, UErrorCode&);
void addFreeVars(TypeEnvironment& t, const OptionMap&, UErrorCode&);
void addFreeVars(TypeEnvironment& t, const Expression&, UErrorCode&);
void checkDeclarations(TypeEnvironment&, UErrorCode&);
void checkSelectors(const TypeEnvironment&, UErrorCode&);
void checkVariants(UErrorCode&);
void check(const OptionMap&);
void check(const Operand&);
void check(const Expression&);
void check(const Pattern&);
const MFDataModel& dataModel;
StaticErrors& errors;
}; // class Checker
} // namespace message2
U_NAMESPACE_END
#endif /* #if !UCONFIG_NO_MF2 */
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif /* U_SHOW_CPLUSPLUS_API */
#endif // MESSAGEFORMAT_CHECKER_H
#endif // U_HIDE_DEPRECATED_API
// eof
```
|
```xml
<?xml version="1.0" encoding="utf-8"?>
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<ScrollView xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:title="@string/password_entry_editor_title" >
<TextView
android:id="@+id/password_entry_editor_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/password_entry_editor_url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium" />
<!-- Spacer to move the buttons to the bottom -->
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"
android:minHeight="5dp" />
<!-- Top border for the buttons -->
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?android:attr/dividerHorizontal" />
<!-- Save/Cancel/Delete buttons -->
<LinearLayout
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="?android:attr/dividerVertical"
android:dividerPadding="0dp"
android:orientation="horizontal"
android:showDividers="middle">
<Button
android:id="@+id/password_entry_editor_cancel"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:focusable="true"
android:text="@string/cancel" />
<Button
android:id="@+id/password_entry_editor_delete"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:focusable="true"
android:text="@string/delete" />
</LinearLayout>
</LinearLayout>
</ScrollView>
```
|
```python
#
#
# 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.
# ==============================================================================
"""Contains model definitions for versions of the Oxford VGG network.
These model definitions were introduced in the following technical report:
Very Deep Convolutional Networks For Large-Scale Image Recognition
Karen Simonyan and Andrew Zisserman
arXiv technical report, 2015
PDF: path_to_url
ILSVRC 2014 Slides: path_to_url~karen/pdf/ILSVRC_2014.pdf
CC-BY-4.0
More information can be obtained from the VGG website:
www.robots.ox.ac.uk/~vgg/research/very_deep/
Usage:
with slim.arg_scope(vgg.vgg_arg_scope()):
outputs, end_points = vgg.vgg_a(inputs)
with slim.arg_scope(vgg.vgg_arg_scope()):
outputs, end_points = vgg.vgg_16(inputs)
@@vgg_a
@@vgg_16
@@vgg_19
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
slim = tf.contrib.slim
def vgg_arg_scope(weight_decay=0.0005):
"""Defines the VGG arg scope.
Args:
weight_decay: The l2 regularization coefficient.
Returns:
An arg_scope.
"""
with slim.arg_scope([slim.conv2d, slim.fully_connected],
activation_fn=tf.nn.relu,
weights_regularizer=slim.l2_regularizer(weight_decay),
biases_initializer=tf.zeros_initializer()):
with slim.arg_scope([slim.conv2d], padding='SAME') as arg_sc:
return arg_sc
def vgg_a(inputs,
num_classes=1000,
is_training=True,
dropout_keep_prob=0.5,
spatial_squeeze=True,
scope='vgg_a',
fc_conv_padding='VALID',
global_pool=False):
"""Oxford Net VGG 11-Layers version A Example.
Note: All the fully_connected layers have been transformed to conv2d layers.
To use in classification mode, resize input to 224x224.
Args:
inputs: a tensor of size [batch_size, height, width, channels].
num_classes: number of predicted classes. If 0 or None, the logits layer is
omitted and the input features to the logits layer are returned instead.
is_training: whether or not the model is being trained.
dropout_keep_prob: the probability that activations are kept in the dropout
layers during training.
spatial_squeeze: whether or not should squeeze the spatial dimensions of the
outputs. Useful to remove unnecessary dimensions for classification.
scope: Optional scope for the variables.
fc_conv_padding: the type of padding to use for the fully connected layer
that is implemented as a convolutional layer. Use 'SAME' padding if you
are applying the network in a fully convolutional manner and want to
get a prediction map downsampled by a factor of 32 as an output.
Otherwise, the output prediction map will be (input / 32) - 6 in case of
'VALID' padding.
global_pool: Optional boolean flag. If True, the input to the classification
layer is avgpooled to size 1x1, for any input size. (This is not part
of the original VGG architecture.)
Returns:
net: the output of the logits layer (if num_classes is a non-zero integer),
or the input to the logits layer (if num_classes is 0 or None).
end_points: a dict of tensors with intermediate activations.
"""
with tf.variable_scope(scope, 'vgg_a', [inputs]) as sc:
end_points_collection = sc.original_name_scope + '_end_points'
# Collect outputs for conv2d, fully_connected and max_pool2d.
with slim.arg_scope([slim.conv2d, slim.max_pool2d],
outputs_collections=end_points_collection):
net = slim.repeat(inputs, 1, slim.conv2d, 64, [3, 3], scope='conv1')
net = slim.max_pool2d(net, [2, 2], scope='pool1')
net = slim.repeat(net, 1, slim.conv2d, 128, [3, 3], scope='conv2')
net = slim.max_pool2d(net, [2, 2], scope='pool2')
net = slim.repeat(net, 2, slim.conv2d, 256, [3, 3], scope='conv3')
net = slim.max_pool2d(net, [2, 2], scope='pool3')
net = slim.repeat(net, 2, slim.conv2d, 512, [3, 3], scope='conv4')
net = slim.max_pool2d(net, [2, 2], scope='pool4')
net = slim.repeat(net, 2, slim.conv2d, 512, [3, 3], scope='conv5')
net = slim.max_pool2d(net, [2, 2], scope='pool5')
# Use conv2d instead of fully_connected layers.
net = slim.conv2d(net, 4096, [7, 7], padding=fc_conv_padding, scope='fc6')
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout6')
net = slim.conv2d(net, 4096, [1, 1], scope='fc7')
# Convert end_points_collection into a end_point dict.
end_points = slim.utils.convert_collection_to_dict(end_points_collection)
if global_pool:
net = tf.reduce_mean(net, [1, 2], keep_dims=True, name='global_pool')
end_points['global_pool'] = net
if num_classes:
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout7')
net = slim.conv2d(net, num_classes, [1, 1],
activation_fn=None,
normalizer_fn=None,
scope='fc8')
if spatial_squeeze:
net = tf.squeeze(net, [1, 2], name='fc8/squeezed')
end_points[sc.name + '/fc8'] = net
return net, end_points
vgg_a.default_image_size = 224
def vgg_16(inputs,
num_classes=1000,
is_training=True,
dropout_keep_prob=0.5,
spatial_squeeze=True,
scope='vgg_16',
fc_conv_padding='VALID',
global_pool=False):
"""Oxford Net VGG 16-Layers version D Example.
Note: All the fully_connected layers have been transformed to conv2d layers.
To use in classification mode, resize input to 224x224.
Args:
inputs: a tensor of size [batch_size, height, width, channels].
num_classes: number of predicted classes. If 0 or None, the logits layer is
omitted and the input features to the logits layer are returned instead.
is_training: whether or not the model is being trained.
dropout_keep_prob: the probability that activations are kept in the dropout
layers during training.
spatial_squeeze: whether or not should squeeze the spatial dimensions of the
outputs. Useful to remove unnecessary dimensions for classification.
scope: Optional scope for the variables.
fc_conv_padding: the type of padding to use for the fully connected layer
that is implemented as a convolutional layer. Use 'SAME' padding if you
are applying the network in a fully convolutional manner and want to
get a prediction map downsampled by a factor of 32 as an output.
Otherwise, the output prediction map will be (input / 32) - 6 in case of
'VALID' padding.
global_pool: Optional boolean flag. If True, the input to the classification
layer is avgpooled to size 1x1, for any input size. (This is not part
of the original VGG architecture.)
Returns:
net: the output of the logits layer (if num_classes is a non-zero integer),
or the input to the logits layer (if num_classes is 0 or None).
end_points: a dict of tensors with intermediate activations.
"""
with tf.variable_scope(scope, 'vgg_16', [inputs]) as sc:
end_points_collection = sc.original_name_scope + '_end_points'
# Collect outputs for conv2d, fully_connected and max_pool2d.
with slim.arg_scope([slim.conv2d, slim.fully_connected, slim.max_pool2d],
outputs_collections=end_points_collection):
net = slim.repeat(inputs, 2, slim.conv2d, 64, [3, 3], scope='conv1')
net = slim.max_pool2d(net, [2, 2], scope='pool1')
net = slim.repeat(net, 2, slim.conv2d, 128, [3, 3], scope='conv2')
net = slim.max_pool2d(net, [2, 2], scope='pool2')
net = slim.repeat(net, 3, slim.conv2d, 256, [3, 3], scope='conv3')
net = slim.max_pool2d(net, [2, 2], scope='pool3')
net = slim.repeat(net, 3, slim.conv2d, 512, [3, 3], scope='conv4')
net = slim.max_pool2d(net, [2, 2], scope='pool4')
net = slim.repeat(net, 3, slim.conv2d, 512, [3, 3], scope='conv5')
net = slim.max_pool2d(net, [2, 2], scope='pool5')
# Use conv2d instead of fully_connected layers.
net = slim.conv2d(net, 4096, [7, 7], padding=fc_conv_padding, scope='fc6')
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout6')
net = slim.conv2d(net, 4096, [1, 1], scope='fc7')
# Convert end_points_collection into a end_point dict.
end_points = slim.utils.convert_collection_to_dict(end_points_collection)
if global_pool:
net = tf.reduce_mean(net, [1, 2], keep_dims=True, name='global_pool')
end_points['global_pool'] = net
if num_classes:
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout7')
net = slim.conv2d(net, num_classes, [1, 1],
activation_fn=None,
normalizer_fn=None,
scope='fc8')
if spatial_squeeze:
net = tf.squeeze(net, [1, 2], name='fc8/squeezed')
end_points[sc.name + '/fc8'] = net
return net, end_points
vgg_16.default_image_size = 224
def vgg_19(inputs,
num_classes=1000,
is_training=True,
dropout_keep_prob=0.5,
spatial_squeeze=True,
scope='vgg_19',
fc_conv_padding='VALID',
global_pool=False):
"""Oxford Net VGG 19-Layers version E Example.
Note: All the fully_connected layers have been transformed to conv2d layers.
To use in classification mode, resize input to 224x224.
Args:
inputs: a tensor of size [batch_size, height, width, channels].
num_classes: number of predicted classes. If 0 or None, the logits layer is
omitted and the input features to the logits layer are returned instead.
is_training: whether or not the model is being trained.
dropout_keep_prob: the probability that activations are kept in the dropout
layers during training.
spatial_squeeze: whether or not should squeeze the spatial dimensions of the
outputs. Useful to remove unnecessary dimensions for classification.
scope: Optional scope for the variables.
fc_conv_padding: the type of padding to use for the fully connected layer
that is implemented as a convolutional layer. Use 'SAME' padding if you
are applying the network in a fully convolutional manner and want to
get a prediction map downsampled by a factor of 32 as an output.
Otherwise, the output prediction map will be (input / 32) - 6 in case of
'VALID' padding.
global_pool: Optional boolean flag. If True, the input to the classification
layer is avgpooled to size 1x1, for any input size. (This is not part
of the original VGG architecture.)
Returns:
net: the output of the logits layer (if num_classes is a non-zero integer),
or the non-dropped-out input to the logits layer (if num_classes is 0 or
None).
end_points: a dict of tensors with intermediate activations.
"""
with tf.variable_scope(scope, 'vgg_19', [inputs]) as sc:
end_points_collection = sc.original_name_scope + '_end_points'
# Collect outputs for conv2d, fully_connected and max_pool2d.
with slim.arg_scope([slim.conv2d, slim.fully_connected, slim.max_pool2d],
outputs_collections=end_points_collection):
net = slim.repeat(inputs, 2, slim.conv2d, 64, [3, 3], scope='conv1')
net = slim.max_pool2d(net, [2, 2], scope='pool1')
net = slim.repeat(net, 2, slim.conv2d, 128, [3, 3], scope='conv2')
net = slim.max_pool2d(net, [2, 2], scope='pool2')
net = slim.repeat(net, 4, slim.conv2d, 256, [3, 3], scope='conv3')
net = slim.max_pool2d(net, [2, 2], scope='pool3')
net = slim.repeat(net, 4, slim.conv2d, 512, [3, 3], scope='conv4')
net = slim.max_pool2d(net, [2, 2], scope='pool4')
net = slim.repeat(net, 4, slim.conv2d, 512, [3, 3], scope='conv5')
net = slim.max_pool2d(net, [2, 2], scope='pool5')
# Use conv2d instead of fully_connected layers.
net = slim.conv2d(net, 4096, [7, 7], padding=fc_conv_padding, scope='fc6')
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout6')
net = slim.conv2d(net, 4096, [1, 1], scope='fc7')
# Convert end_points_collection into a end_point dict.
end_points = slim.utils.convert_collection_to_dict(end_points_collection)
if global_pool:
net = tf.reduce_mean(net, [1, 2], keep_dims=True, name='global_pool')
end_points['global_pool'] = net
if num_classes:
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout7')
net = slim.conv2d(net, num_classes, [1, 1],
activation_fn=None,
normalizer_fn=None,
scope='fc8')
if spatial_squeeze:
net = tf.squeeze(net, [1, 2], name='fc8/squeezed')
end_points[sc.name + '/fc8'] = net
return net, end_points
vgg_19.default_image_size = 224
# Alias
vgg_d = vgg_16
vgg_e = vgg_19
```
|
Maja Komorowska-Tyszkiewicz (born 23 December 1937) is a Polish film actress. She has appeared in over 35 films since 1970.
Selected filmography
Family Life (1971)
A Woman's Decision (1975)
Budapest Tales (1976)
Spiral (1978)
The Maids of Wilko (1979)
A Year of the Quiet Sun (1984)
Decalogue I (1988)
Inventory (1989)
A Tale of Adam Mickiewicz's 'Forefathers' Eve' (1989)
At Full Gallop (1996)
Katyń (2007)
Honours and awards
Gold Cross of Merit (1975)
Grand Cross of the Order of Polonia Restituta (for outstanding contribution to national culture, for achievements in artistic creativity and teaching activities, 2011; Commander's Cross, 2004; Knight's Cross, 2000)
Silver Medal of Merit for National Defence (2002)
Gold Medal for Merit to Culture Gloria Artis - Award of the Minister of Culture and National Heritage in the theatre (2008)
External links
1937 births
Living people
Polish film actresses
Actresses from Warsaw
Grand Crosses of the Order of Polonia Restituta
Recipients of the Gold Cross of Merit (Poland)
Recipients of the Gold Medal for Merit to Culture – Gloria Artis
Polish twins
20th-century Polish actresses
21st-century Polish actresses
Maja
|
Double Bullseye may mean:
Double Bullseye, or Inner Bullseye (target)
Double Bull in Darts
Double Bullseye, a pricing game in The Price Is Right
See also
Bullseye (disambiguation)
Fresnel lens
|
```shell
How to unmodify a modified file
Pushing tags to a server
Limiting log output by time
Search by commit message keyword
Perform a dry run
```
|
```java
/*
*
*/
package io.debezium.outbox.reactive.quarkus.it;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
/**
* This entity class is merely a placeholder to address two concerns:
* <ul>
* <li>If no target/classes directory is created, the quarkus maven plugin fails.</li>
* <li>If no annotated entity mapping is found, the EntityManager dependency is excluded leading to an unsatisfied dependency exception.</li>
* </ul>
*
* @author Chris Cranford
*/
@Entity
public class TestEntity {
@Id
@GeneratedValue
private Integer id;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
}
```
|
```xml
import fs from 'fs';
import { deobfuscateItem } from '@proton/pass/lib/items/item.obfuscation';
import type { ItemExtraField, ItemImportIntent } from '@proton/pass/types';
import type { ImportPayload } from '../types';
import { readBitwardenData } from './bitwarden.reader';
describe('Import bitwarden json', () => {
let sourceFiles = [`${__dirname}/mocks/bitwarden.json`, `${__dirname}/mocks/bitwarden-b2b.json`];
let payloads: Record<string, ImportPayload> = {};
beforeAll(async () => {
for (let sourceFile of sourceFiles) {
const data = await fs.promises.readFile(sourceFile, 'utf-8');
payloads[sourceFile] = await readBitwardenData({ data, importUsername: true });
}
});
it('should throw on encrypted json payload', () => {
expect(() =>
readBitwardenData({ data: JSON.stringify({ encrypted: true, items: [] }), importUsername: true })
).toThrow();
});
it('should throw on corrupted files', () => {
expect(() => readBitwardenData({ data: 'not-a-json-body', importUsername: true })).toThrow();
expect(() => readBitwardenData({ data: JSON.stringify({ encrypted: false }), importUsername: true })).toThrow();
expect(() =>
readBitwardenData({ data: JSON.stringify({ encrypted: false, items: '[]' }), importUsername: true })
).toThrow();
});
it('should correctly parse items', () => {
const [source] = sourceFiles;
const { vaults } = payloads[source];
const [primary, secondary] = vaults;
expect(vaults.length).toEqual(2);
expect(primary.items.length).toEqual(5);
expect(primary.name).not.toBeUndefined();
expect(secondary.items.length).toEqual(2);
expect(secondary.name).toEqual('custom folder');
/* Login */
const loginItem1 = deobfuscateItem(primary.items[0] as any) as unknown as ItemImportIntent<'login'>;
const allowedApp = loginItem1.platformSpecific?.android?.allowedApps[0];
expect(loginItem1.type).toBe('login');
expect(loginItem1.metadata.name).toBe('LoginItemMultipleWebsites');
expect(loginItem1.metadata.note).toBe('login note');
expect(loginItem1.content.itemEmail).toBe('');
expect(loginItem1.content.itemUsername).toBe('username');
expect(loginItem1.content.password).toBe('password');
expect(loginItem1.content.urls[0]).toBe('path_to_url
expect(loginItem1.content.urls[1]).toBe('path_to_url
expect(loginItem1.content.totpUri).toBe(
'otpauth://totp/test?issuer=proton&secret=PROTON333&algorithm=SHA1&digits=6&period=30'
);
const loginItem1ExtraField1 = loginItem1.extraFields[0] as ItemExtraField<'text'>;
expect(loginItem1ExtraField1.fieldName).toBe('Text 1');
expect(loginItem1ExtraField1.data.content).toBe('Text 1 content');
const loginItem1ExtraField2 = loginItem1.extraFields[1] as ItemExtraField<'hidden'>;
expect(loginItem1ExtraField2.fieldName).toBe('Hidden 1');
expect(loginItem1ExtraField2.data.content).toBe('Hidden 1 content');
expect(allowedApp?.packageName).toEqual('ch.protonmail.android');
expect(allowedApp?.hashes).toContain('ch.protonmail.android');
/* Note */
const noteItem = deobfuscateItem(primary.items[1] as any) as unknown as ItemImportIntent<'note'>;
expect(noteItem.type).toBe('note');
expect(noteItem.metadata.name).toBe('NoteItem');
expect(noteItem.metadata.note).toBe('note content');
expect(noteItem.content).toStrictEqual({});
/* Login empty */
const loginItem2 = deobfuscateItem(primary.items[2] as any) as unknown as ItemImportIntent<'login'>;
expect(loginItem2.type).toBe('login');
expect(loginItem2.metadata.name).toBe('LoginItemEmptyFields');
expect(loginItem2.metadata.note).toBe('login note');
expect(loginItem2.content.itemEmail).toStrictEqual('');
expect(loginItem2.content.itemUsername).toStrictEqual('');
expect(loginItem2.content.password).toStrictEqual('');
expect(loginItem2.content.urls).toStrictEqual([]);
expect(loginItem2.content.totpUri).toStrictEqual('');
/* Login broken url */
const loginItem3 = deobfuscateItem(primary.items[3] as any) as unknown as ItemImportIntent<'login'>;
expect(loginItem3.type).toBe('login');
expect(loginItem3.metadata.name).toBe('LoginItemBrokenUrl');
expect(loginItem3.metadata.note).toBe('');
expect(loginItem3.content.itemEmail).toStrictEqual('');
expect(loginItem3.content.itemUsername).toStrictEqual('');
expect(loginItem3.content.password).toStrictEqual('');
expect(loginItem3.content.urls).toStrictEqual([]);
expect(loginItem3.content.totpUri).toStrictEqual('');
/* Credit Card */
const ccItem1 = deobfuscateItem(primary.items[4] as any) as unknown as ItemImportIntent<'creditCard'>;
expect(ccItem1.type).toBe('creditCard');
expect(ccItem1.metadata.name).toBe('Credit Card Y');
expect(ccItem1.metadata.note).toBe('Credit Card Y AMEX note');
expect(ccItem1.content.cardholderName).toBe('A B');
expect(ccItem1.content.number).toBe('374242424242424');
expect(ccItem1.content.verificationNumber).toBe('123');
expect(ccItem1.content.expirationDate).toBe('012025');
});
it('correctly keeps a reference to ignored items', () => {
const [source] = sourceFiles;
const payload = payloads[source];
expect(payload.ignored).not.toEqual([]);
expect(payload.ignored[0]).toEqual('[Identification] IdentityItem');
});
it('correctly parses b2b exports', () => {
const [, source] = sourceFiles;
const payload = payloads[source];
const { vaults } = payload;
const [primary, secondary] = vaults;
expect(vaults.length).toBe(2);
expect(primary.name).toBe('Collection 2');
expect(secondary.name).toBe('collection 1');
});
});
```
|
```html
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxConvexMeshCookingType Struct Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxConvexMeshCookingType Struct Reference<br>
<small>
[<a class="el" href="group__cooking.html">Cooking</a>]</small>
</h1><!-- doxytag: class="PxConvexMeshCookingType" -->Enumeration for convex mesh cooking algorithms.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxCooking_8h-source.html">PxCooking.h</a>></code>
<p>
<p>
<a href="structPxConvexMeshCookingType-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c115">Enum</a> { <br>
<a class="el" href="structPxConvexMeshCookingType.html#your_sha256_hash>PX_DEPRECATED</a> = 0,
<br>
<a class="el" href="structPxConvexMeshCookingType.html#your_sha256_hash>eQUICKHULL</a>
<br>
}</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Enumeration for convex mesh cooking algorithms. <hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="5a2ae723aca74c185675cd7ba2c9c115"></a><!-- doxytag: member="PxConvexMeshCookingType::Enum" ref="5a2ae723aca74c185675cd7ba2c9c115" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="structPxConvexMeshCookingType.html#5a2ae723aca74c185675cd7ba2c9c115">PxConvexMeshCookingType::Enum</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name=your_sha256_hash></a><!-- doxytag: member="PX_DEPRECATED" ref=your_sha256_hash args="" -->PX_DEPRECATED</em> </td><td>
Legacy incremental algorithm using the inflation skinWidth parameter.
<p>
The algorithm produces a hull with inflated planes. The hull's vertices are not the input vertices; new vertices are created from the inflated plane's intersections.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This algorithm is less stable and produces worse results than eQUICK_HULL; it is recommended to use the eQUICKHULL algorithm.<p>
This legacy algorithm will be removed in future releases. </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name=your_sha256_hash></a><!-- doxytag: member="eQUICKHULL" ref=your_sha256_hash args="" -->eQUICKHULL</em> </td><td>
The Quickhull algorithm constructs the hull from the given input points. The resulting hull will only contain a subset of the input points. </td></tr>
</table>
</dl>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxCooking_8h-source.html">PxCooking.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
</body>
</html>
```
|
Buster Bronco is the official mascot of Boise State University.
Buster Bronco, is a person in a brown bronco costume with a large head and an open mouth. Buster Bronco wears #0.
The idea to have a Bronco as a mascot originated in 1932 by Boise State Junior College Students.Buster Becomes A Bronco is a children's book based on Buster Bronco that was published in 2008.
Buster Bronco was ranked third on the Sports Illustrated Power Mascot Rankings in 2007. Buster was also a candidate for the Capitol One Mascot of the Year for the 2008–2009 season.
See also
Buster Bronco is also the name of the mascot of Western Michigan University.
The Denver Broncos' mascot is a live horse.
References
Mountain West Conference mascots
Boise State Broncos
Fictional horses
|
Snatch Creek is a stream in the U.S. state of South Dakota.
Some say the creek received its name from an incident when a person was "snatched" out of the swollen creek, while others believe Indian women "snatched" out fish from the creek during low water.
See also
List of rivers of South Dakota
References
Rivers of Bon Homme County, South Dakota
Rivers of South Dakota
|
```css
.vertical-align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.vertical-align-cancel {
top: 0px;
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
}
.preserve-3d {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.transition-100 {
transition: all 0.1s ease-out;
-webkit-transition: all 0.1s ease-out;
-moz-transition: all 0.1s ease-out;
}
.transition-300 {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.transition-700 {
transition: all 0.7s ease-out;
-webkit-transition: all 0.7s ease-out;
-moz-transition: all 0.7s ease-out;
}
.overlay:before {
background-color: #333333;
opacity: 0.5;
position: absolute;
content: '';
width: 100%;
height: 100%;
z-index: 1;
top: 0px;
}
.overlay .container {
position: relative;
z-index: 2;
}
.go-right {
right: 0px;
}
.go-left {
left: 0px;
}
img {
max-width: 100%;
}
.main-container {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.loader {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 99;
background: #fff;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
opacity: 1;
}
.strip-holder {
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
left: 50%;
margin-left: -50px;
position: relative;
}
.strip-1,
.strip-2,
.strip-3 {
width: 20px;
height: 20px;
background: #ffda00;
position: relative;
-webkit-animation: stripMove 2s ease infinite alternate;
animation: stripMove 2s ease infinite alternate;
-moz-animation: stripMove 2s ease infinite alternate;
}
.strip-2 {
-webkit-animation-duration: 2.1s;
animation-duration: 2.1s;
background-color: #ffe966;
}
.strip-3 {
-webkit-animation-duration: 2.2s;
animation-duration: 2.2s;
background-color: #fff8cc;
}
@-webkit-keyframes stripMove {
0% {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
}
50% {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
transform: scale(4, 1);
-webkit-transform: scale(4, 1);
-moz-transform: scale(4, 1);
}
100% {
transform: translate3d(-50px, 0px, 0px);
-webkit-transform: translate3d(-50px, 0px, 0px);
-moz-transform: translate3d(-50px, 0px, 0px);
}
}
@-moz-keyframes stripMove {
0% {
transform: translate3d(-50px, 0px, 0px);
-webkit-transform: translate3d(-50px, 0px, 0px);
-moz-transform: translate3d(-50px, 0px, 0px);
}
50% {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
transform: scale(4, 1);
-webkit-transform: scale(4, 1);
-moz-transform: scale(4, 1);
}
100% {
transform: translate3d(50px, 0px, 0px);
-webkit-transform: translate3d(50px, 0px, 0px);
-moz-transform: translate3d(50px, 0px, 0px);
}
}
@keyframes stripMove {
0% {
transform: translate3d(-50px, 0px, 0px);
-webkit-transform: translate3d(-50px, 0px, 0px);
-moz-transform: translate3d(-50px, 0px, 0px);
}
50% {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
transform: scale(4, 1);
-webkit-transform: scale(4, 1);
-moz-transform: scale(4, 1);
}
100% {
transform: translate3d(50px, 0px, 0px);
-webkit-transform: translate3d(50px, 0px, 0px);
-moz-transform: translate3d(50px, 0px, 0px);
}
}
.main-container {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
opacity: 0;
}
nav {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
opacity: 0;
}
.show-content {
opacity: 1 !important;
}
.hide-loader {
opacity: 0 !important;
}
.background-dark {
background-color: #333333 !important;
}
.color-heading {
color: #333333;
}
.text-white {
color: #fff;
}
body {
font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
color: #777777;
font-size: 14px;
line-height: 24px;
background: #333333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
margin: 0px;
color: #333333;
}
h1 {
font-size: 30px;
line-height: 36px;
margin-bottom: 42px;
}
h3 {
font-size: 20px;
line-height: 28px;
}
.large-h1 {
font-size: 42px;
line-height: 48px;
font-weight: 300;
}
p {
font-size: 14px;
line-height: 24px;
}
p:last-child {
margin-bottom: 0px;
}
p.lead {
font-size: 16px;
line-height: 30px;
font-weight: 400;
}
span.lead {
font-weight: 400;
}
.uppercase {
text-transform: uppercase;
letter-spacing: 1px;
display: inline-block;
margin-right: -1px;
}
strong {
font-weight: 600;
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
}
@media all and (max-width: 767px) {
h1 {
font-size: 24px;
line-height: 28px;
margin-bottom: 36px;
}
h2 {
font-size: 20px;
line-height: 26px;
}
.large-h1 {
font-size: 24px;
line-height: 28px;
}
p {
font-size: 13px;
line-height: 22px;
}
p.lead {
font-size: 15px;
line-height: 26px;
}
}
section {
padding: 72px 0px;
background: #fff;
}
.duplicatable-content {
padding-bottom: 36px;
}
a:hover {
text-decoration: none;
}
h1 a,
span a,
p a,
.text-link a {
font-weight: 600;
color: #fff;
display: inline-block;
border-bottom: 4px solid #fff;
padding-bottom: 6px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
span a,
p a,
.text-link a {
padding-bottom: 4px;
border-bottom: 3px solid #fff;
}
span a:hover {
color: #fff;
}
p a,
.text-link a {
color: #ffda00 !important;
border-color: #ffda00;
padding-bottom: 2px;
}
p a,
.text-link a:hover {
color: #333333;
}
.btn {
min-width: 180px;
border-radius: 25px;
background: #ffda00;
text-align: center;
padding: 13px 0px 14px 0px;
color: #fff;
font-size: 15px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
font-weight: 600;
line-height: 1;
}
.btn:hover {
color: #fff;
background: #e6c400;
}
.btn-hollow {
background: none;
border: 2px solid #ffda00;
color: #ffda00;
}
.btn-hollow:hover {
background: #ffda00;
}
.btn-white {
background: #fff;
color: #ffda00;
}
.btn-white:hover {
background: #fff;
color: #ccae00;
}
.btn-hollow.btn-white {
background: none;
border-color: #fff;
color: #fff;
}
.btn-hollow.btn-white:hover {
background: #fff;
color: #ffda00;
}
.background-image-holder {
position: absolute;
width: 100%;
height: 130%;
top: -10%;
background-size: cover !important;
background-position: 50% 50% !important;
}
.image-holder {
position: relative;
overflow: hidden;
}
nav .logo {
max-height: 45px;
max-width: 110px;
position: absolute;
top: 0px;
opacity: 1;
}
nav .text-right {
position: relative;
}
nav .container {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.overlay-nav {
position: fixed;
top: 0px;
z-index: 10;
width: 100%;
padding-top: 24px;
line-height: 1;
background: none;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.overlay-nav .logo-dark {
opacity: 0;
}
.overlay-nav.sticky-nav .logo-light {
opacity: 0;
}
.overlay-nav.sticky-nav .logo-dark {
opacity: 1;
}
.bottom-border {
position: absolute;
bottom: 2px;
width: 100%;
height: 2px;
background: rgba(255, 255, 255, 0.3);
}
.sidebar-menu .bottom-border {
position: relative;
bottom: 0px;
background: rgba(255, 255, 255, 0.2);
display: block !important;
}
.menu {
display: inline-block;
text-align: left;
line-height: 1;
}
.menu li {
float: left;
margin-right: 32px;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
position: relative;
top: 4px;
}
.menu li:last-child {
margin-right: 0px;
}
.menu li:nth-las-child(2) {
margin-right: 12px;
}
.menu li a {
color: #fff;
display: inline-block;
padding-bottom: 24px;
border-bottom: 2px solid rgba(0, 0, 0, 0);
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.menu li a:hover {
border-bottom: 2px solid #fff;
}
.nav-dropdown {
position: absolute;
z-index: -1;
max-height: 0px;
background: rgba(255, 255, 255, 0.3);
min-width: 200px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.nav-dropdown li:first-child {
margin-top: 12px;
}
.nav-dropdown li {
opacity: 0;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
margin-right: 0px;
float: none;
margin-bottom: 18px;
}
.nav-dropdown li a {
padding-bottom: 0px;
padding-left: 24px;
}
.nav-dropdown li a:hover {
border-color: rgba(0, 0, 0, 0);
}
.has-dropdown:hover .nav-dropdown {
z-index: 10;
max-height: 300px;
}
.has-dropdown:hover .nav-dropdown li {
opacity: 1;
}
.has-dropdown a {
padding-left: 18px;
}
.has-dropdown:before {
display: inline-block;
font-family: 'Pe-icon-7-stroke';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: "\e688";
color: #fff;
font-size: 24px;
position: absolute;
top: -6px;
}
.menu .social-link {
font-size: 14px;
top: 0px !important;
margin-right: 18px !important;
}
.menu .social-link:nth-last-child(2) {
margin-right: 18px;
}
.sticky-nav {
background: rgba(255, 255, 255, 0.9);
}
.sticky-nav .menu li a {
color: #333333;
}
.sticky-nav .bottom-border {
display: none;
}
.sticky-nav .menu li a:hover {
border-color: rgba(0, 0, 0, 0);
}
.sticky-nav .sidebar-menu-toggle,
.sticky-nav .mobile-menu-toggle {
color: #333333;
}
.sticky-nav .nav-dropdown {
background: rgba(255, 255, 255, 0.9);
}
.sticky-nav .has-dropdown:before {
color: #333333;
}
.sidebar-menu-toggle,
.mobile-menu-toggle {
position: absolute;
color: #fff;
font-size: 32px;
right: 0px;
top: -7px;
cursor: pointer;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.mobile-menu-toggle {
display: none;
}
.sidebar-menu,
.instagram-sidebar {
position: fixed;
right: 0px;
top: 0px;
width: 300px;
height: 100%;
background: #333333;
transform: translate3d(300px, 0px, 0px);
-webkit-transform: translate3d(300px, 0px, 0px);
-moz-transform: translate3d(300px, 0px, 0px);
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.show-sidebar {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
}
.reveal-sidebar {
transform: translate3d(-300px, 0px, 0px);
-webkit-transform: translate3d(-300px, 0px, 0px);
-moz-transform: translate3d(-300px, 0px, 0px);
}
.sidebar-content {
padding: 0px 24px;
margin-top: 24px;
}
.widget {
margin-bottom: 24px;
}
.widget .title {
font-size: 16px;
font-weight: 600;
display: inline-block;
margin-bottom: 12px;
}
.widget .menu li {
float: none;
margin-bottom: 12px;
}
.widget .menu li a {
padding-bottom: 0px;
color: #fff !important;
font-size: 12px;
}
.widget .menu li a:hover {
border-color: rgba(0, 0, 0, 0);
}
.widget .menu .social-link {
display: none;
}
.widget .social-profiles li {
margin-right: 24px;
}
.widget .social-profiles li a {
color: #fff;
}
.instagram-toggle {
cursor: pointer;
}
.instagram-toggle-init {
pointer-events: none;
}
.instagram-sidebar li {
width: 100%;
height: 250px;
}
.instagram-sidebar {
overflow-y: auto;
}
.sidebar-content .copy-text {
position: absolute;
bottom: 32px;
color: rgba(255, 255, 255, 0.5);
font-size: 12px;
}
.text-panel {
background: #474747;
padding: 18px;
}
.sidebar-menu .logo {
max-width: 110px;
position: relative;
top: 21px;
margin-bottom: 32px;
left: 24px;
}
.relative-nav {
position: relative;
padding-top: 28px;
background: #fff;
}
.relative-nav .menu li a {
color: #333333;
}
.relative-nav .has-dropdown:before {
color: #333333;
}
.relative-nav .nav-dropdown {
background: rgba(53, 53, 53, 0.8);
}
.relative-nav .has-dropdown li a {
color: #fff;
}
.relative-nav .sidebar-menu-toggle {
color: #333333;
}
.relative-nav .logo-light {
opacity: 0 !important;
}
.relative-nav .logo-dark {
opacity: 1 !important;
}
.relative-nav .logo {
top: -4px !important;
}
@media all and (max-width: 768px) {
nav {
max-height: 67px;
overflow: hidden;
background: rgba(255, 255, 255, 0.9) !important;
}
nav .menu li {
float: none;
margin-bottom: 24px;
}
nav .menu li a {
color: #333333 !important;
padding-bottom: 0px;
}
nav .logo {
max-width: 90px;
top: -2px;
}
nav .logo-dark {
opacity: 1 !important;
}
nav .logo-light {
opacity: 0 !important;
}
nav .menu {
width: 100%;
display: block;
margin-top: 67px;
margin-right: 0px;
}
nav .social-link {
float: left !important;
}
.sidebar-menu-toggle {
display: none;
}
.mobile-menu-toggle {
display: block;
position: fixed;
top: 17px;
right: 24px;
color: #333333 !important;
}
.open-menu {
max-height: 800px !important;
}
.nav-dropdown {
position: relative;
display: none;
}
.has-dropdown:hover .nav-dropdown {
display: block;
}
.has-dropdown:before {
color: #333333;
}
}
.hero-slider {
padding: 0px;
position: relative;
overflow: hidden;
}
.hero-slider .slides li {
height: 780px;
position: relative;
overflow: hidden;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.hero-slider .slides li:before {
background-color: #333333;
opacity: 0.4;
position: absolute;
content: '';
width: 100%;
height: 100%;
z-index: 1;
top: 0px;
}
.hero-slider .container {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
z-index: 2;
}
.hero-slider h1 {
margin-bottom: 42px;
}
.hero-slider .btn-hollow {
color: #fff;
border-color: #fff;
margin-left: 16px;
}
.hero-slider .btn-hollow:hover {
background: #fff;
color: #ffda00;
}
@media all and (max-width: 767px) {
.hero-slider .btn-hollow {
display: none;
}
}
.register-header form.register {
padding-top: 0px;
background: rgba(0, 0, 0, 0.4);
padding: 24px;
}
.register-header form input {
width: 100% !important;
}
.register-header form.register span {
color: #fff;
}
.register-header .logo {
max-width: 150px;
display: block;
margin-bottom: 12px;
}
.register-header h1 {
margin-bottom: 24px !important;
}
@media all and (max-width: 768px) {
.register-header form.register .form-name,
.register-header form.register .form-email {
max-width: 100%;
width: 100%;
}
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.register-header form.register .form-name,
.register-header form.register .form-email {
width: 50%;
}
}
@media all and (max-width: 767px) {
.register-header .logo {
display: none;
}
.register-header h1 {
display: none;
}
.register-header form h1 {
display: block;
}
.register-header span.lead {
display: none;
}
.register-header input,
.register-header .select-holder {
max-width: 100% !important;
}
}
.testimonials-slider {
position: relative;
margin-bottom: 48px;
}
.testimonials-slider .flex-control-nav a {
background: rgba(0, 0, 0, 0.3);
}
.testimonials-slider .flex-control-nav a.flex-active {
background: rgba(0, 0, 0, 0.8);
}
.testimonials-slider .flex-control-nav a:hover {
background: rgba(0, 0, 0, 0.8);
}
.testimonials-slider .flex-control-nav {
bottom: -48px;
text-align: left;
}
.primary-overlay:before {
background-color: #ffda00;
opacity: 0.8;
position: absolute;
content: '';
width: 100%;
height: 100%;
z-index: 1;
top: 0px;
background-color: #ffda00 !important;
}
.strip-divider {
padding: 216px 0px;
position: relative;
overflow: hidden;
}
.strip-divider .container {
z-index: 2;
position: relative;
}
.strip-divider h1 {
margin: 0px;
}
@media all and (max-width: 767px) {
.strip-divider {
padding: 72px 0px;
}
}
.countdown-divider {
padding: 144px 0px;
}
.countdown-divider img,
.countdown-header img,
.video-header img {
max-width: 300px;
display: inline-block;
margin-bottom: 12px;
}
.countdown-header h1 {
margin-bottom: 0px;
}
.countdown-header:before {
opacity: 0.8 !important;
}
.video-header:before {
opacity: 0.5 !important;
background: #000 !important;
}
.video-header .uppercase,
.countdown-header .uppercase {
display: block;
font-weight: 600;
margin-bottom: 24px;
}
@media all and (max-width: 768px) {
.countdown-header img,
.countdown-divider img,
.video-header img {
max-width: 150px;
}
}
.countdown {
text-align: center;
margin-top: 72px;
}
.countdown-row {
color: #fff;
font-size: 80px;
font-weight: 300;
}
.countdown-section {
width: 20%;
display: inline-block;
}
.countdown-amount {
display: inline-block;
margin-bottom: 48px;
}
.countdown-period {
display: block;
font-size: 24px;
}
.section-header {
position: relative;
overflow: hidden;
height: 450px;
}
.section-header h1 {
font-size: 32px;
}
.section-header.overlay:before {
opacity: 0.2;
}
.section-header i {
font-size: 40px;
color: #fff;
margin: 0px 24px 12px 0px;
}
.section-header i:last-of-type {
margin-right: 0px;
}
@media all and (max-width: 767px) {
.countdown {
margin-top: 48px;
}
.countdown-row {
font-size: 36px;
}
.countdown-period {
font-size: 16px;
}
}
.video-wrapper {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 0;
}
.video-wrapper video {
width: 100%;
}
@media all and (max-width: 1390px) {
.video-wrapper video {
width: 110%;
}
}
@media all and (max-width: 1260px) {
.video-wrapper video {
width: 120%;
}
}
@media all and (max-width: 1160px) {
.video-wrapper video {
width: 130%;
}
}
@media all and (max-width: 1024px) {
.video-wrapper {
display: none;
}
}
.image-with-text {
overflow: hidden;
position: relative;
height: 600px;
}
.image-with-text h1 {
margin-bottom: 24px;
}
.side-image {
padding: 0px;
position: absolute;
top: 0px;
height: 100%;
}
@media all and (max-width: 767px) {
.image-with-text {
height: auto;
padding: 72px 0px;
}
.image-with-text .vertical-align {
top: 0px;
-webkit-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
}
}
.color-blocks {
position: relative;
overflow: hidden;
color: #fff;
}
.color-block {
position: absolute;
top: 0px;
height: 100%;
padding: 0px;
color: #fff;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.color-blocks h1,
.color-blocks h2,
.color-blocks h3,
.color-blocks h4,
.color-blocks h5,
.color-blocks h6 {
color: #fff;
}
.color-blocks h1 {
margin-bottom: 12px;
}
.color-blocks a {
color: #fff;
pointer-events: auto;
}
.color-blocks a:hover i {
transform: rotateZ(-10deg);
}
.color-blocks i,
.contained-promo i {
color: #ffda00;
font-size: 70px;
display: inline-block;
border: 2px solid #fff;
border-radius: 50%;
width: 120px;
height: 120px;
line-height: 120px;
background: #fff;
text-align: center;
transition: all 0.1s ease-out;
-webkit-transition: all 0.1s ease-out;
-moz-transition: all 0.1s ease-out;
}
.block-left {
background-color: #ffda00;
}
.block-right {
background-color: #d6b700;
right: 0px;
}
@media all and (max-width: 768px) {
.block-content {
margin-bottom: 144px;
overflow: hidden;
display: block;
}
.block-content:last-of-type {
margin-bottom: 0px;
}
.color-block {
height: 50%;
width: 100%;
}
.block-right {
top: 50%;
}
}
@media all and (max-width: 767px) {
.block-content i {
margin-bottom: 30px;
}
}
.speakers-row {
padding: 0px 15px;
}
.speaker-column {
padding: 0px;
}
.speaker {
position: relative;
overflow: hidden;
}
.speaker,
.topic {
margin-bottom: 36px;
}
.speaker .hover-state {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
opacity: 0;
background: rgba(0, 0, 0, 0.5);
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.speaker .image-holder {
margin-bottom: 12px;
}
.speaker span {
display: block;
font-size: 16px;
}
.speaker-name {
color: #333333;
}
.speaker .social-links {
width: 100%;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transform: translate3d(0px, -200px, 0px);
-webkit-transform: translate3d(0px, -200px, 0px);
-moz-transform: translate3d(0px, -200px, 0px);
}
.speaker .social-links a {
color: #fff;
font-size: 24px;
display: inline-block;
margin-left: 6px;
}
.speaker .social-links a:last-child {
margin-right: 0px;
}
.speaker .image-holder:hover .hover-state {
opacity: 1;
}
.speaker .image-holder:hover .hover-state .social-links {
transform: translate3d(0px, 0px, 0px);
-webkit-transform: translate3d(0px, 0px, 0px);
-moz-transform: translate3d(0px, 0px, 0px);
}
.speaker-with-bio {
overflow: hidden;
margin-bottom: 36px;
}
.speaker-with-bio .speaker {
width: 50%;
float: left;
margin-bottom: 0px;
}
.speaker-with-bio .speaker-description {
width: 50%;
float: left;
padding-left: 30px;
}
.speaker-description span {
display: inline-block;
margin-bottom: 18px;
font-weight: 600;
}
@media all and (max-width: 767px) {
.speaker-with-bio .speaker {
width: 100%;
}
.speaker-with-bio .speaker-description {
width: 100%;
padding-left: 0px;
}
}
.topics {
position: relative;
overflow: hidden;
}
.topics .container {
position: relative;
z-index: 2;
}
.topics.overlay .ruled-list li {
border-color: rgba(255, 255, 255, 0.5);
}
.topics.overlay .topic i {
color: #fff;
}
.topic h3 {
margin-bottom: 18px;
}
.topic p.lead {
margin-bottom: 32px;
}
.topic i {
font-size: 60px;
color: #ffda00;
display: inline-block;
margin-bottom: 32px;
}
@media all and (max-width: 767px) {
.topic h3 {
display: inline-block;
position: relative;
bottom: 18px;
left: 12px;
}
.topic i {
margin-bottom: 12px;
}
}
.ruled-list li {
border-top: 1px dotted rgba(0, 0, 0, 0.3);
padding: 12px 0px;
font-size: 16px;
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.speakers-row .col-sm-6 {
width: 50%;
float: left !important;
}
}
.inline-video {
background: #f5f5f5;
}
.inline-video iframe {
width: 100%;
height: 300px;
border: none;
}
.inline-video .btn {
min-width: 150px;
margin-top: 32px;
margin-right: 16px;
}
@media all and (max-width: 768px) {
.inline-video iframe {
height: 350px;
margin-top: 42px;
}
}
@media all and (max-width: 767px) {
.inline-video iframe {
height: 200px;
margin-top: 30px;
}
.inline-video .btn {
margin-top: 18px;
}
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.inline-video iframe {
height: 250px;
}
}
.embedded-video-holder p {
display: none;
}
.schedule-overview {
border: 2px solid rgba(0, 0, 0, 0.2);
margin-bottom: 36px;
}
.schedule-overview li {
padding: 24px;
position: relative;
cursor: pointer;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.schedule-overview li:first-child .top {
display: none;
}
.schedule-overview li:last-child .bottom {
display: none;
}
.schedule-title span {
display: block;
font-size: 16px;
}
.schedule-title .title {
color: #333333;
}
.schedule-text {
max-height: 0px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
opacity: 0;
}
.schedule-overview li:hover {
background-color: #f5f5f5;
}
.schedule-overview li:hover .schedule-text {
max-height: 300px;
opacity: 1;
padding-top: 18px;
}
.schedule-overview li:hover .top,
.schedule-overview li:hover .bottom,
.schedule-overview li:hover .middle {
border-color: rgba(0, 0, 0, 0.4);
}
.schedule-overview li:hover .middle {
background: #333333;
}
.schedule-with-text .btn,
.contained-gallery .btn {
margin-top: 24px;
margin-right: 12px;
}
.schedule-with-text .schedule-overview li {
padding-right: 48px;
}
@media all and (max-width: 1024px) {
.schedule-overview li {
padding-right: 48px;
}
}
@media all and (max-width: 767px) {
.schedule-with-text .btn,
.contained-gallery .btn {
margin-bottom: 32px;
}
}
.marker-pin {
position: absolute;
right: 32px;
top: 0px;
height: 100%;
}
.marker-pin .top,
.marker-pin .bottom {
height: 50%;
width: 2px;
border-left: 2px solid rgba(0, 0, 0, 0.2);
position: absolute;
z-index: 1;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.marker-pin .top {
top: 0px;
}
.marker-pin .bottom {
bottom: 0px;
}
.marker-pin .middle {
width: 18px;
height: 18px;
border: 2px solid rgba(0, 0, 0, 0.2);
background: #fff;
border-radius: 50%;
position: absolute;
right: -10px;
top: 50%;
margin-top: -9px;
z-index: 2;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.instagram {
position: relative;
padding: 216px 0px;
}
.instagram {
overflow: hidden;
background: #000 !important;
}
.instagram ul {
overflow: hidden;
position: absolute;
width: 100%;
height: 100%;
top: 0px;
}
.instagram li {
float: left;
width: 20%;
height: 50%;
position: relative;
cursor: pointer;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
overflow: hidden;
background-size: cover !important;
opacity: 0.5;
}
.instagram li:hover {
opacity: 1 !important;
}
.instagram .container {
position: relative;
z-index: 3;
}
.instagram i {
font-size: 48px;
display: inline-block;
margin-bottom: 16px;
}
.instagram h1 {
font-size: 42px;
line-height: 48px;
font-weight: 300;
margin-bottom: 16px;
}
@media all and (max-width: 1200px) {
.instagram li:nth-child(n+9) {
display: none;
}
.instagram li {
width: 25%;
}
}
@media all and (max-width: 900px) {
.instagram li:nth-child(n+7) {
display: none;
}
.instagram li {
width: 33.333333%;
}
}
@media all and (max-width: 767px) {
.instagram {
padding: 144px 0px;
}
.instagram li:nth-child(n+5) {
display: none;
}
.instagram li {
width: 50%;
}
}
.testimonials {
background: #f5f5f5;
}
.contained-gallery .instagram {
padding: 185px 0px;
}
.contained-gallery .instagram li:nth-child(n+9) {
display: none;
}
.contained-gallery .instagram li {
width: 25%;
opacity: 0.7;
}
@media all and (max-width: 1024px) {
.contained-gallery .instagram li:nth-child(n+7) {
display: none;
}
.contained-gallery .instagram li {
width: 33.33333%;
}
.contained-gallery .instagram {
padding: 200px 0px;
}
}
@media all and (max-width: 768px) {
.contained-gallery .instagram {
margin-bottom: 32px;
}
.contained-gallery .btn {
margin-bottom: 0px;
}
.contained-gallery .instagram li:nth-child(n+5) {
display: block !important;
}
.contained-gallery .instagram li:nth-child(n+7) {
display: none !important;
}
.contained-gallery .instagram li {
width: 33.33333% !important;
}
}
.pricing-option {
overflow: hidden;
background: #f5f5f5;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
position: relative;
padding: 72px 0px;
margin-bottom: 30px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
.pricing-option .dot {
position: absolute;
top: 24px;
right: 24px;
width: 24px;
height: 24px;
border-radius: 50%;
background: #fff;
}
.pricing-option:hover {
background: #ededed;
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.pricing-options .col-sm-6 {
width: 50%;
float: left;
}
}
.dollar,
.price,
.type {
font-weight: 600;
color: #333333;
font-size: 72px;
}
.dollar {
font-size: 36px;
position: relative;
bottom: 22px;
}
.price {
line-height: 1;
}
.type {
display: block;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
margin-top: 12px;
}
.plan-title {
display: block;
font-weight: 600;
margin-bottom: 12px;
font-size: 18px;
color: #333333;
}
.pricing-option ul li {
color: #777777;
}
.pricing-option.emphasis {
background: #ffda00;
color: #fff;
}
.pricing-option.emphasis .type,
.pricing-option.emphasis .dollar,
.pricing-option.emphasis .price,
.pricing-option.emphasis .plan-title,
.pricing-option.emphasis ul li {
color: #fff !important;
}
@media all and (max-width: 991px) {
.type {
margin-bottom: 12px;
}
.pricing-option {
text-align: center !important;
}
}
.faq-item {
margin-bottom: 36px;
}
p.question {
font-weight: 600;
color: #333333;
font-size: 16px;
}
.info-box {
margin-bottom: 36px;
position: relative;
overflow: hidden;
}
.info-box img {
display: block;
margin-bottom: 12px;
}
.info-box h3 {
margin-bottom: 12px;
}
.info-box .text-link {
position: absolute;
bottom: 12px;
right: 0px;
}
.text-link a {
display: inline-block;
margin-left: 12px;
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.visitor-info .col-sm-4 {
width: 50%;
float: left;
}
}
.subscribe-1 {
position: relative;
overflow: hidden;
padding-top: 144px;
padding-bottom: 36px;
}
.subscribe-1:before {
background-color: #333333;
opacity: 0.4;
position: absolute;
content: '';
width: 100%;
height: 100%;
z-index: 1;
top: 0px;
}
.subscribe-1 .container {
position: relative;
z-index: 2;
}
.subscribe-1 .email-subscribe {
margin-bottom: 216px;
}
.subscribe-1 footer {
border-top: 2px solid rgba(255, 255, 255, 0.3);
padding-top: 36px;
}
.subscribe-1 .twitter-feed {
margin-bottom: 72px;
}
.subscribe-1 h1 {
margin-bottom: 30px;
}
.email-subscribe span {
display: block;
margin-top: 12px;
}
.twitter-feed i {
font-size: 48px;
display: inline-block;
margin-bottom: 32px;
}
.twitter-feed span a {
border-bottom: none;
}
.tweets-feed .user {
display: none;
}
.tweets-feed .interact {
display: none;
}
.tweets-feed .tweet {
color: #fff;
font-size: 30px;
line-height: 36px;
font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
}
.tweets-feed .tweet a {
color: #fff !important;
border-color: #fff !important;
}
.tweets-feed .timePosted {
display: none;
}
@media all and (max-width: 767px) {
.tweets-feed .tweet {
font-size: 20px;
line-height: 26px;
}
}
.contact-tweets {
background: #ffda00;
color: #fff;
position: relative;
overflow: hidden;
height: 600px;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.contact-tweets .social_twitter {
font-size: 42px;
margin-bottom: 32px;
display: inline-block;
}
.contact-tweets .map-holder {
position: absolute;
height: 100%;
padding: 0px;
top: 0px;
right: 0px;
}
.contact-tweets .timePosted {
display: block !important;
}
.map-holder:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
opacity: 0;
}
.map-holder iframe {
border: 0px;
position: absolute;
width: 100%;
height: 100%;
}
.contact-tweets span a {
border-bottom: 2px solid #fff;
padding-bottom: 1px;
}
.sponsors {
background: #f5f5f5;
}
.sponsor {
margin-bottom: 36px;
height: 80px;
line-height: 80px;
}
.sponsor img {
max-width: 150px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
max-height: 80px;
}
.sponsors span {
display: inline-block;
margin-top: 24px;
}
.sponsors span a {
color: #ffda00;
border-color: #ffda00;
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
.sponsors .col-sm-6 {
width: 50%;
float: left;
}
}
form.register {
overflow: hidden;
padding-top: 24px;
display: block;
}
form.register div {
padding: 0px;
}
input[type="text"],
form.register .select-holder {
margin-bottom: 32px;
padding: 12px;
border: none;
background: rgba(255, 255, 255, 0.1);
border-radius: 25px;
font-size: 14px;
max-width: 90%;
color: #fff;
padding-left: 24px;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
}
input[type="text"]:focus,
form.register .select-holder:focus,
input[type="text"]:hover,
form.register .select-holder:hover {
outline: none;
background: rgba(255, 255, 255, 0.2);
}
form.register select {
width: 90%;
margin: 0px;
background: none;
border: none;
cursor: pointer;
}
form.register select:focus {
outline: none;
}
form.register input[type="submit"] {
padding-bottom: 12px;
width: 90%;
margin-bottom: 12px;
}
input[type="submit"] {
font-weight: normal;
}
.email-subscribe {
overflow: hidden;
}
.email-subscribe input {
margin: 0px auto;
min-width: 100%;
max-width: 100%;
}
.email-subscribe input[type="text"] {
background: rgba(255, 255, 255, 0.3);
}
.email-subscribe input[type="text"]:hover,
.email-subscribe input[type="text"]:focus {
background: rgba(255, 255, 255, 0.4);
}
.email-subscribe ::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.9);
}
.email-subscribe :-moz-placeholder {
color: rgba(255, 255, 255, 0.9);
}
.email-subscribe ::-moz-placeholder {
color: rgba(255, 255, 255, 0.9);
}
.email-subscribe :-ms-input-placeholder {
color: rgba(255, 255, 255, 0.9);
}
.email-subscribe input[type="submit"] {
min-height: 48px;
}
.subscribe-2 .email-subscribe input[type="text"] {
background: rgba(0, 0, 0, 0.2);
}
.subscribe-2 i {
color: #ffda00;
font-size: 70px;
display: inline-block;
margin-right: 24px;
margin-bottom: 18px;
}
.subscribe-2 i:last-of-type {
margin-right: 0px;
}
input.error {
color: #ff4532;
}
.mail-list-form {
width: 0px;
height: 0px;
opacity: 0;
overflow: hidden;
}
.form-success,
.form-error {
display: none;
width: 100%;
padding: 6px 18px 8px 18px !important;
margin-top: 12px;
color: #fff;
background-color: #55c950;
border-radius: 20px;
}
.form-error {
background-color: #D74B4B;
}
form .field-error {
background: #D74B4B !important;
}
@media all and (max-width: 767px) {
form.register input,
form.register .select-holder {
width: 100% !important;
max-width: 100%;
}
.subscribe-1 .email-subscribe input[type="text"] {
margin-bottom: 24px;
}
}
@media all and (min-width: 321px) and (max-width: 767px) and (orientation: landscape) {
form.register .col-sm-6 {
width: 50%;
float: left;
}
form.register input,
form.register .select-holder {
max-width: 95% !important;
}
form.register input[type="submit"] {
max-width: 100% !important;
}
}
.error-page {
background: #ffda00;
padding: 0px;
}
.error-page h1 {
font-size: 84px;
line-height: 96px;
margin-bottom: 0px;
margin-bottom: 12px;
}
.error-page p {
font-size: 24px;
line-height: 32px;
}
.error-page i {
color: #fff;
font-size: 84px;
display: inline-block;
margin-right: 24px;
}
.error-page i:last-of-type {
margin-right: 0px;
}
.error-page .btn {
margin-right: 24px;
margin-top: 12px;
}
@media all and (max-width: 767px) {
.error-page i {
display: none;
}
}
.subscribe-1 .footer .top-border {
height: 2px;
width: 100%;
background: rgba(255, 255, 255, 0.3);
margin-bottom: 32px;
}
.subscribe-1 .footer .menu {
overflow: visible;
}
.subscribe-1 .footer .menu li {
top: 0px;
}
.subscribe-1 .footer .menu li a {
padding-bottom: 0px;
}
.subscribe-1 .footer .menu li .btn {
min-width: 0px;
padding: 10px 18px;
font-size: 14px;
}
.subscribe-1 .footer .menu li a {
diplay: inline-block;
position: relative;
border: none;
}
.subscribe-1 .footer .menu li a:hover {
border: none;
}
.subscribe-1 .footer .back-to-top {
padding-right: 42px;
}
.subscribe-1 .footer .menu li a i {
font-size: 36px;
position: absolute;
right: 0px;
top: -12px;
}
@media all and (max-width: 767px) {
.footer .text-right {
text-align: left !important;
}
.footer .menu {
margin-top: 24px;
}
.footer .menu li {
float: none;
margin-bottom: 12px;
}
}
footer.classic {
padding: 72px 0px 36px 0px;
background: #f5f5f5;
}
footer.classic .menu li {
float: none;
margin-bottom: 12px;
}
footer.classic .menu li a {
color: #333333;
padding-bottom: 0px;
font-weight: 600;
}
footer.classic span.lead {
display: inline-block;
margin-bottom: 12px;
}
@media all and (max-width: 767px) {
footer.classic div {
margin-bottom: 18px;
}
}
.contact-methods li {
margin-bottom: 12px;
}
.contact-methods li:last-child {
margin-bottom: 0px;
}
.contact-methods i {
font-size: 36px;
color: #333333;
}
.contact-methods span {
display: inline-block;
position: relative;
bottom: 10px;
left: 8px;
font-size: 16px;
}
footer.classic .social-profiles {
margin-top: 36px;
}
.social-profiles {
display: inline-block;
overflow: hidden;
}
.social-profiles li {
float: left;
margin-right: 36px;
}
.social-profiles li:last-child {
margin-right: 0px;
}
.social-profiles li a {
color: #333333;
font-size: 20px;
}
```
|
```smalltalk
using GameServerCore.Enums;
namespace GameServerCore.Scripting.CSharp
{
public class AbilityInfo : IEventSource
{
public uint ScriptNameHash { get; private set; }
public EventSource EventSource;
public float PhysicalDamage { get; private set; }
public float MagicalDamage { get; private set; }
public float TrueDamage { get; private set; }
public float TotalDamage => PhysicalDamage + MagicalDamage + TrueDamage;
public float Heal { get; private set; }
public int Priority { get; private set; }
public int Count { get; private set; }
public IEventSource ParentScript { get; private set; }
public AbilityInfo(uint hash, IEventSource parent)
{
ScriptNameHash = hash;
ParentScript = parent;
}
public AbilityInfo(uint hash, uint parentHash)
{
ScriptNameHash = hash;
ParentScript = new AbilityInfo(parentHash, null);
}
}
}
```
|
```sqlpl
drop table if exists data_02294;
create table data_02294 (a Int64, b Int64, grp_aggreg AggregateFunction(groupArrayArray, Array(UInt64)), grp_simple SimpleAggregateFunction(groupArrayArray, Array(UInt64))) engine = MergeTree() order by a;
insert into data_02294 select intDiv(number, 2) a, 0 b, groupArrayArrayState([toUInt64(number)]), groupArrayArray([toUInt64(number)]) from numbers(4) group by a, b;
SELECT arraySort(groupArrayArrayMerge(grp_aggreg)) gra , arraySort(groupArrayArray(grp_simple)) grs FROM data_02294 group by a, b SETTINGS optimize_aggregation_in_order=1;
drop table data_02294;
```
|
```css
Use `box-sizing` to define an element's `width` and `height` properties
`calc()` for simpler maths
Default to a transparent `border-color` before adding a border to on `:hover` state elements
Disable resizable property of `textarea`
Add `line-height` to `body`
```
|
```javascript
'use strict';
object.static();
```
|
The 2020–21 Indian Super League season was the seventh season of the Indian Super League (ISL) since its formation and the 25th season of the top division of the Indian football league system. The season started on 20 November 2020 and ended on 13 March 2021. It was hosted behind closed doors across three venues in Goa due to the COVID-19 pandemic in India.
Mumbai City won the championship, having defeated ATK Mohun Bagan in the final, and also won the League Winners Shield for league premiers. Thus, Mumbai City became the first club to win the ISL championship title and the League Winners Shield in a single season.
Changes from last season
Each club has the option of signing a minimum of five and a maximum of seven foreign players. Still, unlike the previous season, there should be at least one overseas player who hails from an AFC–affiliated country.
The maximum squad size is increased as the clubs are allowed to register up to 35 players in their squad.
The number of substitutions allowed has been increased from 3 players to 5 players.
Due to the COVID-19 pandemic, all matches during the 2020–21 season will be played behind closed doors across three venues in Goa. The venues will be the Fatorda Stadium in Margao, the GMC Athletic Stadium in Bambolim, and the Tilak Maidan Stadium in Vasco da Gama. The host venues for each team were revealed on 18 August 2020.
On 27 September 2020, East Bengal joined the league as an expansion team and thus became the 11th team.
Due to all the matches of the League being played in neutral venues, there will be no away goal rule to be applied in the playoffs this season.
Teams
Stadiums and locations
Personnel and sponsorship
Head coaching changes
Roster changes
Foreign players
Bold letters suggest the player was signed in the winter transfer window.
Regular season
League table
Results
Playoffs
Bracket
Semi-finals
Final
Season statistics
Scoring
Top scorers
Top Indian scorers
Hat-tricks
Result column shows goal tally of player's team first.
Notes
(H) – Home team(A) – Away team
Assists
Clean sheets
Discipline
Player
Most yellow cards: 8
Pronay Halder (ATK Mohun Bagan)
Erik Paartalu (Bengaluru)
Most red cards: 2
Ahmed Jahouh (Mumbai City)
Club
Most yellow cards: 61
Mumbai City
Most red cards: 4
East Bengal
Jamshedpur
Goa
Awards
Hero of the Match
Season awards
See also
2020−21 I-League
2020–21 in Indian football
Notes
References
External links
Indian Super League
Indian Super League seasons
India
Association football events curtailed due to the COVID-19 pandemic
Sport in Goa
|
```php
<?php
/**
*/
namespace OCA\DAV\DAV\Sharing\Xml;
use OCA\DAV\DAV\Sharing\Plugin;
use Sabre\Xml\Writer;
use Sabre\Xml\XmlSerializable;
/**
* Invite property
*
* This property encodes the 'invite' property, as defined by
* the 'caldav-sharing-02' spec, in the path_to_url
* namespace.
*
* @see path_to_url
* @author Evert Pot (path_to_url
*/
class Invite implements XmlSerializable {
/**
* The list of users a calendar has been shared to.
*
* @var array
*/
protected $users;
/**
* The organizer contains information about the person who shared the
* object.
*
* @var array|null
*/
protected $organizer;
/**
* Creates the property.
*
* Users is an array. Each element of the array has the following
* properties:
*
* * href - Often a mailto: address
* * commonName - Optional, for example a first and lastname for a user.
* * status - One of the SharingPlugin::STATUS_* constants.
* * readOnly - true or false
* * summary - Optional, description of the share
*
* The organizer key is optional to specify. It's only useful when a
* 'sharee' requests the sharing information.
*
* The organizer may have the following properties:
* * href - Often a mailto: address.
* * commonName - Optional human-readable name.
* * firstName - Optional first name.
* * lastName - Optional last name.
*
* If you wonder why these two structures are so different, I guess a
* valid answer is that the current spec is still a draft.
*
* @param array $users
*/
public function __construct(array $users, ?array $organizer = null) {
$this->users = $users;
$this->organizer = $organizer;
}
/**
* Returns the list of users, as it was passed to the constructor.
*
* @return array
*/
public function getValue() {
return $this->users;
}
/**
* The xmlSerialize method is called during xml writing.
*
* Use the $writer argument to write its own xml serialization.
*
* An important note: do _not_ create a parent element. Any element
* implementing XmlSerializble should only ever write what's considered
* its 'inner xml'.
*
* The parent of the current element is responsible for writing a
* containing element.
*
* This allows serializers to be re-used for different element names.
*
* If you are opening new elements, you must also close them again.
*
* @param Writer $writer
* @return void
*/
public function xmlSerialize(Writer $writer) {
$cs = '{' . Plugin::NS_OWNCLOUD . '}';
if (!is_null($this->organizer)) {
$writer->startElement($cs . 'organizer');
$writer->writeElement('{DAV:}href', $this->organizer['href']);
if (isset($this->organizer['commonName']) && $this->organizer['commonName']) {
$writer->writeElement($cs . 'common-name', $this->organizer['commonName']);
}
if (isset($this->organizer['firstName']) && $this->organizer['firstName']) {
$writer->writeElement($cs . 'first-name', $this->organizer['firstName']);
}
if (isset($this->organizer['lastName']) && $this->organizer['lastName']) {
$writer->writeElement($cs . 'last-name', $this->organizer['lastName']);
}
$writer->endElement(); // organizer
}
foreach ($this->users as $user) {
$writer->startElement($cs . 'user');
$writer->writeElement('{DAV:}href', $user['href']);
if (isset($user['commonName']) && $user['commonName']) {
$writer->writeElement($cs . 'common-name', $user['commonName']);
}
$writer->writeElement($cs . 'invite-accepted');
$writer->startElement($cs . 'access');
if ($user['readOnly']) {
$writer->writeElement($cs . 'read');
} else {
$writer->writeElement($cs . 'read-write');
}
$writer->endElement(); // access
if (isset($user['summary']) && $user['summary']) {
$writer->writeElement($cs . 'summary', $user['summary']);
}
$writer->endElement(); //user
}
}
}
```
|
Leszczynki is a village in the administrative district of Gmina Sierakowice, within Kartuzy County, Pomeranian Voivodeship, in northern Poland. It lies approximately south-east of Sierakowice, west of Kartuzy, and west of the regional capital Gdańsk.
For details of the history of the region, see History of Pomerania.
References
Villages in Kartuzy County
|
Lennox Waldron Williams (12 November 1859 – 8 July 1958) was an eminent Anglican priest, the sixth
Bishop of Quebec.
Born into an eminent ecclesiastical family and educated at St John's College, Oxford, he was ordained in 1885. His first post was a curacy at St Matthew's, Quebec after which he was successively Rector, Rural Dean, Dean of Montreal and finally, in 1915, Bishop of Quebec- resigning in 1935.
Notes
See also
List of Bishop's College School alumni
1859 births
1958 deaths
People from Saffron Walden
Alumni of St John's College, Oxford
Bishop's College School alumni
Bishop's College School Faculty
Deans of Montreal
Anglican bishops of Quebec
20th-century Anglican Church of Canada bishops
|
Henri Barda is a French classical pianist born in Cairo.
Biography
A student of Polish pianist Ignace Tiegerman, Henri Barda worked in Paris with Lazare Lévy, then entered the Conservatoire de Paris, where he obtained the first prize in piano and chamber music, with the friendship and advice of Joseph Benvenuti, and Jean Hubeau.
He then entered the Juilliard School in New York for four years, where he was taught by Carlos Buhler, Beveridge Webster and Paul Makanovitsky, perfecting his training by attending classes in writing and pedagogy. The diploma he received was accompanied by an exceptional distinction.
Henri Barda has performed in both Europe and the United States, and has toured extensively in Japan, where he performed with the NHK Orchestra.
Invited to numerous festivals in France and abroad, he has made several recordings, notably with Jean-Jacques Kantorow a collection of works for violin and piano by Liszt (Franz Liszt International Prize of Budapest, 1978), as well as the three Chopin Sonatas (Frédéric Chopin International Prize of Warsaw, 1990).
Henri Barda has also worked with American choreographer Jerome Robbins, for ballets created on works by Chopin, with the Étoiles of the Opéra de Paris. A decisive experience, since Henri Barda has continued this close collaboration with dance for more than ten years, both on stage at the Palais Garnier and on international tours.
Henri Barda is professor of piano at the Conservatoire de Paris.
Discography
Rare to discs, Henri Barda has recorded only 5 albums:
Frédéric Chopin's Piano Sonata No. 1, Piano Sonata No. 2, Piano Sonata No. 3, (CD, Calliope, 1984)
Maurice Ravel's Piano Trio, Violin Sonata No. 2 (CD, Calliope, 1990)
Ignace Tiegerman's Meditation (1998)
Olivier Greif's Sonate n°1 pour violon et piano, Sonate pour piano Codex Domini - Wiener Konzert, Cinq Lieder pour voix et piano - Le Tombeau de Ravel pour piano à quatre Mains - Concert "Live à l'archipel" with Jong Hwa Park (CD, , 2008)
Johannes Brahms, Ludwig van Beethoven, Frédéric Chopin, In Japan Kioi Hall, Tokyo, 2008 (CD, Sisyphe Records, 2011)
References
External links
Henri Barda on France Musique
Henri Barda on Esprit du piano
Website of the Académies of Nancy
Website of the grand prix du disque Frédéric Chopin
Website of the Conservatoire de Paris
"Leçon d’humilité avec Henri Barda", Libération, 3 September 2012
Website of the École normale de musique de Paris
Henri Barda plays Chopin - Ballades n. 1,2, 3, 4 (2008 - Steinway) (YouTube)
Musicians from Cairo
21st-century French male classical pianists
Conservatoire de Paris alumni
Juilliard School alumni
Academic staff of the Conservatoire de Paris
Academic staff of the École Normale de Musique de Paris
Year of birth missing (living people)
Living people
|
Bournemouth Collegiate School is a coeducational private day and boarding school based on two sites in Poole and Bournemouth, Dorset on the southern coast of England. The prep school (ages 2–11) is located in Poole and the senior school (ages 11–18) in the Southbourne West-Boscombe East-Pokesdown South area. The school is the only coeducational independent school in the Bournemouth and Poole area.
The school operates on split sites as a result of a merger between two independent schools, Wentworth College (Bournemouth) and Uplands School (Poole). The prep school is situated at the old Uplands site and the senior school at Wentworth.
History
Bournemouth Collegiate School was created in September 2009 by the merger of Wentworth College in Bournemouth and Uplands School in Poole. Wentworth College had joined the United Church Schools Trust in August 2008, and Uplands School in June 2009 – it was UCST that brought the two together to create a new school.
Uplands School
Uplands was an independent school in Poole founded in 1895 as Bourne School for Girls. It moved to various places before and after World War II and later became coeducational.
Wentworth College
Wentworth College was previously an independent day and boarding school for girls. It took its name from Wentworth Lodge, the building it occupied. The school was founded by the merger of two schools during the 1960s. Milton Mount College was founded in 1871 with Selina Hadland as head. It was originally sited in Gravesend Kent, and then relocated to Worth Park near Crawley. The second, Bournemouth Collegiate School, was established in 1899 in the town centre and moved to Wentworth Lodge in 1923. Due to falling pupil numbers, Wentworth became coeducational in 2008. It went into administration in July 2008, which prompted the UCST to propose the merger.
Prep School
The preparatory department is located at the former Uplands School site in Poole.
Boarding
The boarding facilities are built around the old Wentworth Lodge, in which Wentworth College was housed and which were once part of the Portman Estate. The house, built in 1872, was used by Viscount Portman as a summer residence for around six weeks every year.
References
External links
School Website
United Church Schools Trust
Profile on the ISC website
Ofsted Social Care inspection reports
ISI Inspection Reports - Prep School & Senior School
Schools in Bournemouth
Schools in Poole
Private schools in Bournemouth, Christchurch and Poole
Boarding schools in Dorset
United Learning schools
|
```javascript
Type of the Children props
`PureRenderMixin` in **React**
Immutability helpers in **React**
Custom `propType`'s to be required
Shortcut for transferring props
```
|
```objective-c
/*
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef PC_SIMULCAST_DESCRIPTION_H_
#define PC_SIMULCAST_DESCRIPTION_H_
#include <stddef.h>
#include <string>
#include <vector>
namespace cricket {
// Describes a Simulcast Layer.
// Each simulcast layer has a rid as the identifier and a paused flag.
// See also: path_to_url for
// an explanation about rids.
struct SimulcastLayer final {
SimulcastLayer(const std::string& rid, bool is_paused);
SimulcastLayer(const SimulcastLayer& other) = default;
SimulcastLayer& operator=(const SimulcastLayer& other) = default;
bool operator==(const SimulcastLayer& other) const;
std::string rid;
bool is_paused;
};
// Describes a list of Simulcast layers.
// Simulcast layers are specified in order of preference.
// Each layer can have a list of alternatives (in order of preference).
// path_to_url#section-5.1
// Example Usage:
// To populate a list that specifies the following:
// 1. Layer 1 or Layer 2
// 2. Layer 3
// 3. Layer 4 or Layer 5
// Use the following code:
// SimulcastLayerList list;
// list.AddLayerWithAlternatives(
// {SimulcastLayer("1", false), SimulcastLayer("2", false});
// list.AddLayer("3");
// list.AddLayerWithAlternatives(
// {SimulcastLayer("4", false), SimulcastLayer("5", false});
class SimulcastLayerList final {
public:
// Type definitions required by a container.
typedef size_t size_type;
typedef std::vector<SimulcastLayer> value_type;
typedef std::vector<std::vector<SimulcastLayer>>::const_iterator
const_iterator;
// Use to add a layer when there will be no alternatives.
void AddLayer(const SimulcastLayer& layer);
// Use to add a list of alternatives.
// The alternatives should be specified in order of preference.
void AddLayerWithAlternatives(const std::vector<SimulcastLayer>& layers);
// Read-only access to the contents.
// Note: This object does not allow removal of layers.
const_iterator begin() const { return list_.begin(); }
const_iterator end() const { return list_.end(); }
const std::vector<SimulcastLayer>& operator[](size_t index) const;
size_t size() const { return list_.size(); }
bool empty() const { return list_.empty(); }
// Provides access to all the layers in the simulcast without their
// association into groups of alternatives.
std::vector<SimulcastLayer> GetAllLayers() const;
private:
// TODO(amithi, bugs.webrtc.org/10075):
// Validate that rids do not repeat in the list.
std::vector<std::vector<SimulcastLayer>> list_;
};
// Describes the simulcast options of a video media section.
// This will list the send and receive layers (along with their alternatives).
// Each simulcast layer has an identifier (rid) and can optionally be paused.
// The order of the layers (as well as alternates) indicates user preference
// from first to last (most preferred to least preferred).
// path_to_url#section-5.1
class SimulcastDescription final {
public:
const SimulcastLayerList& send_layers() const { return send_layers_; }
SimulcastLayerList& send_layers() { return send_layers_; }
const SimulcastLayerList& receive_layers() const { return receive_layers_; }
SimulcastLayerList& receive_layers() { return receive_layers_; }
bool empty() const;
private:
// TODO(amithi, bugs.webrtc.org/10075):
// Validate that rids do not repeat in send and receive layers.
SimulcastLayerList send_layers_;
SimulcastLayerList receive_layers_;
};
} // namespace cricket
#endif // PC_SIMULCAST_DESCRIPTION_H_
```
|
Yassamin Ansari (born April 7, 1992) is a climate policy leader and politician currently serving on the Phoenix City Council and acting as the city's vice mayor. She is the youngest person ever elected to the council and the first Iranian American elected to public office in Arizona. She has worked for the United Nations on climate policy, played a role in organizing various climate action events, and led local climate adaptation and mitigation efforts. Her work has been recognized by Grist and Forbes magazines.
Early activities
Ansari was born April 7, 1992, to parents who immigrated to the United States from Iran. In high school, she organized with the Arizona Democratic Party in support of Barack Obama's 2008 presidential campaign and worked with her mother to tutor Somali refugees. Ansari attended Stanford University, and received a bachelor's degree in international relations. During college, Ansari interned for Nancy Pelosi. After graduating, she was selected for the The John Gardner Fellowship Program and started working in the office of UN Secretary-General Ban Ki-moon. She worked as a senior policy advisor with Ki-moon, spending a year working on the Paris Agreement, and later worked in the same role with Ki-moon's successor, António Guterres. She started working towards a master's degree in international relations and politics from St. John's College, Cambridge in 2016, which she ultimately received. She continued to be involved in promoting climate action, helping plan the Climate Action 2016 Summit, the Global Climate Action Summit, and the first U.N. Youth Climate Summit.
Political career
Phoenix City Council
Ansari ran in a November 2020 election to fill the seat vacated by Michael Nowakowski, representing Phoenix's 7th District. The top two of the five contenders in the general election, Ansari and Cinthia Estela, continued to a runoff election that took place on March 9, 2021. Ansari took office as a council member on April 19, 2021.
While in office, she created an Office of Heat Response and Mitigation. It has sought to plant trees, reduce pavement heat absorption, educate residents, and distribute resources including water. She helped develop a plan to promote use of electric vehicles, and advocated for the city to purchase hydrogen fuel cell and battery electric public buses. She attended the 2021 United Nations Climate Change Conference with Phoenix mayor Kate Gallego, as well as the 2022 United Nations Climate Change Conference.
Along with other Phoenix City Council members, Ansari was criticized in 2022 for using a suite at Footprint Center, a sports venue owned by the city, to watch games and concerts; following the criticism, the council voted to review its economic development efforts and consider leasing out the suite.
Candidacy for US House of Representatives
At the beginning of February 2023, journalists reported that Ansari was a potential contender for Arizona's 3rd congressional district. On April 4 of that year, she announced her candidacy. She is running as a Democrat and led early fundraising in the race. In September 2023, Axios reported that Ansari and Raquel Terán would likely dominate the race.
Political positions
Ansari has advocated for climate action and sustainability efforts. Ansari has expressed support for unions and LGBT rights. She has also supported expanding temporary and affordable housing options to help address homelessness in Phoenix.
Climate Change
In her first year in office, Phoenix Mayor Gallego selected Ansari to chair the Electric Vehicle Ad Hoc Committee, which led the unanimous passage of Transportation Electrification Plan’s EV Roadmap. This roadmap will accelerate “the transition to EVs with three main focuses: prioritizing equity in communities impacted by poor air quality, accelerating public adoption through education and leading by example through Phoenix electrifying its own fleets.”
During her tenure, Phoenix passed its first Climate Action Plan and opened the first publicly-funded Office of Heat Response and Mitigation.
Housing and homelessness
Phoenix District 7 is home to the highest number of homeless shelters and services. Ansari added nine additional positions to the Office of Homeless Solutions, which reports to the City Manager. “The Zone” located in District 7, part of a recent court rulings and federal investigations, has been a focus of Ansari’s since day one in office. Her tenure marked a shift in a more resource-led and targeted approach to homelessness – creating 1,392 shelter beds by 2024 and approving hundreds of affordable homes.
Ansari has been an advocate for zoning reforming. The zoning reforms include legalizing Accessory Dwelling Units (ADUs), duplexes, triplexes and fourplexes. On September 6, 2023, Phoenix passed a new ordinance legalizing ADUs throughout the city.
Major Initiatives
Ansari supports the development of new parks, pools and community centers. She helped secure funding for new parks in South Phoenix, Laveen and Estrella, including the Estrella Civic Space Park and Branch Library which will be part of Phoenix’s GO Bond on the November 7, 2023, election.
As part of her climate action initiatives, Ansari supports expanded public transit options and resources for transit users. She worked with the Si Se Puede Neighborhood Association to add another bus stop to their Maryvale circulator route.
With the funding the City of Phoenix received from the federal government for COVID-19 relief, Ansari has funded several projects, including the Phoenix Promise Program to provide free tuition to Phoenix residents seeking two- or four-year degrees from Maricopa Community Colleges and a full year of free transit passes for thousands of residents. She also secured an additional $5.3 million for helping refugees and asylees through refugee resettlement organizations.
Awards and honors
In 2019, Grist was selected for the Grist 50, an annual list of people taking environmental action. In 2020, Ansari was selected for the Forbes 30 under 30: Policy and Law list.
Electoral history
2020 Phoenix City Council District 7 Election
2021 Phoenix City Council District 7 Runoff Election
References
21st-century American politicians
21st-century American women politicians
American politicians of Iranian descent
Phoenix, Arizona
Stanford University alumni
1992 births
Women city councillors in Arizona
Arizona city council members
Living people
|
The École Nationale Supérieure d'Architecture de Paris-Belleville is a French grande école and school of architecture. It is currently ranked as the best architecture school in France. The school is recognized for its focus on sustainability, and its students have received awards for adaptable designs encouraging new attitudes towards waste. The school has partnerships with 66 international universities, including La Sapienza in Rome and the University of Hong Kong.
Also, it has an incredibly competitive admission criteria;ENSA Paris-Belleville's acceptance rate is 4.9%.
History
The École Nationale Supérieure d'Architecture de Paris-Belleville was founded by a dissident group of students from the École nationale supérieure des Beaux-Arts, l'atelier collégial 1, led by , in 1965. In 1969 it was officially recognized under the name UP8 (unité pédagogique d'architecture n°8, architectural teaching unit no. 8), and it has since occupied various re-purposed quarters, including Les Halles until their demolition, as well as a former Meccano factory in the Belleville section of Paris. In 2009 it moved into a purposely designed space, a conversion and partial rebuilding of the former site of the , also in Belleville. In 1986 it was renamed the École d'architecture de Paris-Belleville and UP7 and UP5 were merged into it. It took its current name in 2005.
Research
The research arm of the school is the Institut Parisien de Recherche: Architecture, Urbanistique, Société (IPRAUS), which emphasises interdisciplinary approaches.
References
External links
Official website
Paris
Belleville, Paris
Architecture
19th arrondissement of Paris
Buildings and structures in the 20th arrondissement of Paris
Educational institutions established in 1969
|
Mirjawali Mair is a village in Hanumangarh district of Rajasthan, India.
Villages in Hanumangarh district
|
The Visoki Dečani Monastery (, ) is a medieval Serbian Orthodox Christian monastery located near Deçan, Kosovo. It was founded in the first half of the 14th century by Stefan Dečanski, King of Serbia. It is often considered to be one of the most endangered European cultural heritage sites and with a designation of Cultural Monument of Exceptional Importance.
The Visoki Dečani monastery is located by the Deçan's Lumbardh river gorge at the foot of the Accursed Mountains, in the region of Metohija. It is located about from the town of Deçan. The monastery is managed by the Serbian Orthodox Eparchy of Raška and Prizren. The monastery has been under the legal protection of Serbia since 1947. The monastery is part of the World Heritage list named "Medieval Monuments in Kosovo" and is by far the biggest medieval monument in Balkan.
History
The construction of the monastery began during the reign of the Serbian King Stefan Dečanski, in 1327. The original founding charter from 1330, also known as the Dečani chrysobull, has been preserved to this day. After his death in 1331, Stefan Dečanski was buried in the still unfinished monastery, the construction of which was continued by his son Stefan Dušan, who became the King of Serbia in the same year. The main architect of the monastery was the Franciscan friar Vito of Kotor. According to Branislav Pantelić, the monastery represents the last phase of the Western, Gothic, Byzantine-Romanuesque architecture and contains Byzantine paintings and numerous Romanseque sculptures, part of a "Palaeologan renaissance".
The construction of the monastery lasted for a total of 8 years and covered an area of 4000 square meters. The outstanding artistic quality of the paintings took 15 years and were done by painters with origins from Serbia, Byzantine and Adriatic coast. The wooden throne of the hegumen (monastery head) was finished at around this time, and the church interior was decorated. Dečanski's carved wooden sarcophagus was finished in 1340. Those who contributed to the construction of the monastery were collectively gifted a village close to the city of Prizren named Manastirica, where many settled following completion. Serbian princess and Bulgarian empress consort Ana-Neda (d. ca. 1350) was buried in the church.
During the Middle Ages, entire Albanian villages were gifted by Serbian kings, particularly Stefan Dušan, as presents to the Serbian monastery of Deçan, as well as those of Prizren and Tetova (Tetovo).
15th–19th century
Bulgarian writer Gregory Tsamblak, author of the Life of Stefan Dečanski, was the hegumen (monastery head) at the beginning of the 15th century. The painter-monk Longin spent two decades in the monastery during the second half of the 16th century and created 15 icons with depictions of the Great Feasts and hermits, as well as his most celebrated work, the icon of Stefan Dečanski. In the late 17th century, the Ottomans plundered the monastery, but inflicted no serious damage. In 1819, archimandrite Zaharija Dečanac became Metropolitan of Raška and Prizren.
20th and 21st century
Following the end of the First Balkan War, the monastery fell within the administration of the Kingdom of Montenegro. The then King Nikola I of Montenegro placed much of the surrounding land under the monastery's jurisdiction. During World War I, the monastery's treasures were plundered by the Austro-Hungarian Army, which occupied Serbia between 1915 and 1918. The monastery fell within the territory of the Italian-ruled Albanian Kingdom during World War II, and was targeted for destruction by the Albanian nationalist Balli Kombëtar and Italian fascist blackshirts in mid-1941. The Royal Italian Army responded by sending a group of soldiers to help protect the monastery from attack.
The monastic treasure was exhibited in the rebuilt medieval refectory in 1987. The monastery's monks sheltered refugees of all ethnicities during the Kosovo War, which lasted from March 1998 to June 1999. On 7 May 1998, the corpses of two elderly Albanians were found from the monastery. They were reportedly killed by the Kosovo Liberation Army (KLA) for allegedly collaborating with Serbian forces. The KLA staged an attack not far from the monastery on 8 May, killing one person and wounding four others. That evening, Deçan's 300 remaining Serbs came to the monastery to seek shelter.
Albanian civilians seeking refuge in the monastery returned to their homes following the withdrawal of Serbian military from Kosovo in June 1999. An Italian unit of the Kosovo Force (KFOR) was subsequently assigned to guard the monastery, which was attacked on several occasions. Dozens of Romanis sought sanctuary in the monastery over the next several months, fearing retaliatory attacks by their Albanian neighbours, who accused them of collaborating with the Serbs and looting Albanian homes.
During the violent unrest in Kosovo on 17 March 2004, KFOR defended the monastery from an Albanian mob trying to throw Molotov cocktails at it. Several Albanians were shot and wounded in the clash. On 2 July 2004, the monastery was declared a World Heritage Site by the United Nations Educational, Scientific and Cultural Organization (UNESCO). UNESCO cited it as "an irreplaceable treasure, a place where traditions of Romanesque architecture meet artistic patterns of the Byzantine world." The monastery, along with all other Serbian Medieval Monuments in Kosovo, was added to the UNESCO list of endangered World Heritage sites in 2006.
Suspected Kosovo Albanian insurgents hurled hand grenades at the monastery on 30 March 2007, but caused little damage. In recent years, the situation around the monastery has stabilized and it has reopened to visitors. Serbian President Boris Tadić attended a service at the monastery in April 2009. U.S. Vice President Joe Biden visited the monastery the following month. In the annual International Religious Freedom Report, the State Department wrote that the Deçan municipal officials continued to refuse to implement a 2016 Constitutional Court decision upholding the Supreme Court’s 2012 ruling recognizing the monastery’s ownership of approximately 24 hectares of land.
Architecture
The church has five-nave naos, a three-part iconostasis, and a three-nave parvise. With the dome, it is 26 m high. Its outer walls are done in alternate layers of white and pink marble. The portals, windows, consoles, and capitals are richly decorated. Christ the Judge is shown surrounded by angels in the western part of the church. Its twenty major cycles of fresco murals represent the largest preserved gallery of Serbian medieval art, featuring over 1000 compositions and several thousand portraits.
Heritage site in danger
Dečani Monastery is one of four World Heritage medieval monuments in Kosovo designated as a heritage site in danger. Since the arrival of KFOR peacekeepers in the region in 1999, attacks on the Monastery have increased. Since 1999 there have been five significant attacks and near miss attacks on the monastery:
27 February 2000 – Six grenades hit the Decani Monastery.
22 June 2000 – Nine grenades hit the Decani Monastery.
17 March 2004 – Seven grenades fell around the monastery walls. This attack formed part of the 2004 unrest in Kosovo.
30 March 2007 – One grenade hit the wall behind the church.
1 February 2016 – Four armed suspects in a motor vehicle were detained at the gates of the monastery. A search of their car found an assault rifle, pistol, ammunition and extremist Islamist printed material. It is unclear whether there is any connection between the case of Decani and an earlier attack in a mosque in Drenas. Dusan Kozarev, member of government of Serbia had claimed a year earlier that the monastery gates were painted with graffiti that read "ISIS", "Caliphate is coming" and "UÇK".
Dečani Monastery is currently under 24/7 guard from KFOR. Of the four medieval monuments in Kosovo that are designated as a heritage site in danger, Dečani is the only one under direct guard from KFOR.
In 2021, Europa Nostra listed Visoki Dečani as one of the seven most endangered cultural heritage sites in Europe.
In popular culture
Visoki Dečani, three episodes of the documentary series "Witnesses of Times" produced by the broadcasting service RTB in 1989 was created by PhD Gordana Babic and Petar Savković, directed by Dragoslav Bokan, music was composed by Zoran Hristić.
See also
:Category:Burials at Visoki Dečani
Kosovo: A Moment in Civilization
Tourism in Serbia
Tourism in Kosovo
List of Serbian Orthodox monasteries
Architecture of Serbia
References
Sources
Further reading
Antić, Ivana. Das Kloster Visoki Dečani. Manastir Visoki Dečani, 2008.
Burke, Kathleen. "VISOKI DECANI MONASTERY, KOSOVO A Medieval Refuge." SMITHSONIAN 39.12 (2009): 46–47.
KESIC-RISTIC, Sanja, and Dragan VOJVODIC. "Zidno slikarstvo manastira Decana: grada i studije; La peinture murale du monastère de Decani: matériaux et études; Beograd; Srpska akademija nauka i umjetnosti Menolog." (1995).
Ristanović, Petar R. "Guestbook of monastery Visoki Decani: 1924–1945: As historical source." Baština 39 (2015): 171–188.
External links
Dečani Monastery- Virtual Tours and Photo Collections of the BLAGO Fund
Evaluation by the World Heritage Committee
Cultural Monuments of Exceptional Importance (Serbia)
Deçan
Medieval Serbian sites in Kosovo
Buildings and structures completed in 1327
14th-century Serbian Orthodox church buildings
Gothic architecture in Serbia
Serbian Orthodox monasteries in Kosovo
Monuments and memorials in Kosovo
UFO sightings
Burial sites of the Nemanjić dynasty
Burial sites of the House of Shishman
Nemanjić dynasty endowments
Cultural heritage of Kosovo
World Heritage Sites in Serbia
Patriarchate of Peć
|
```lua
--ImageUtils, useful functions foe use when processing imagedatas.
--Localized Lua Library
--The API
local ImageUtils = {}
--A queued fill algorithm.
function ImageUtils.queuedFill(img,sx,sy,rcol,minx,miny,maxx,maxy)
local get = img.getPixel
local set = img.setPixel
local tcol = get(img,sx,sy) --The target color
if tcol == rcol then return end
--Queue, QueueSize, QueuePosition
local q, qs, qp = {}, 0,0
set(img,sx,sy,rcol)
qs = qs + 1
q[qs] = {sx,sy}
local function test(x,y)
if minx and (x < minx or y < miny or x > maxx or y > maxy) then return end
if get(img,x,y) == tcol then
set(img,x,y,rcol)
qs = qs + 1
q[qs] = {x,y}
end
end
while qp < qs do --While there are items in the queue.
qp = qp + 1
local n = q[qp]
local x,y = n[1], n[2]
test(x-1,y) test(x+1,y)
test(x,y-1) test(x,y+1)
end
end
local darkPal = {
{0,0,5,1,2,1,13,6,2,4,9,3,13,5,13,6}, --Level 1
{0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1} --Level 2
}
function ImageUtils.darken(img, lvl)
img:map(function(x,y,c)
return darkPal[lvl or 1][c+1]
end)
end
--Make the ImageUtils a global
_G["ImageUtils"] = ImageUtils
```
|
```c++
/*
(glenjofe@gmail.com)
Version 1.0. (See accompanying file LICENSE_1_0.txt
or copy at path_to_url
*/
#ifndef BOOST_TT_IS_UNSCOPED_ENUM_HPP_INCLUDED
#define BOOST_TT_IS_UNSCOPED_ENUM_HPP_INCLUDED
#include <boost/type_traits/conjunction.hpp>
#include <boost/type_traits/is_enum.hpp>
#include <boost/type_traits/is_convertible.hpp>
namespace boost {
template<class T>
struct is_unscoped_enum
: conjunction<is_enum<T>, is_convertible<T, int> >::type { };
} /* boost */
#endif
```
|
The Sokoto Caliphate was a loose confederation of emirates that recognized the suzerainty of the Amir al-Mu'minin. The caliphate was established in 1809 and later became the largest pre-colonial African state. The boundaries of the caliphate are part of present-day Cameroon, Burkina Faso, Niger, and Nigeria.
References
Emirates
Nigerian traditional states
|
Firuzabad (, also Romanized as Fīrūzābād; also known as Pīrūzābād) is a village in Sabzdasht Rural District, in the Central District of Bafq County, Yazd Province, Iran. At the 2006 census, its population was 15, in 6 families.
References
Populated places in Bafq County
|
```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 randu = require( '@stdlib/random/base/randu' );
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
var pow = require( '@stdlib/math/base/special/pow' );
var Float32Array = require( '@stdlib/array/float32' );
var pkg = require( './../package.json' ).name;
var scumax = require( './../lib/ndarray.js' );
// FUNCTIONS //
/**
* Creates a benchmark function.
*
* @private
* @param {PositiveInteger} len - array length
* @returns {Function} benchmark function
*/
function createBenchmark( len ) {
var x;
var y;
var i;
x = new Float32Array( len );
y = new Float32Array( len );
for ( i = 0; i < x.length; i++ ) {
x[ i ] = ( randu()*20.0 ) - 10.0;
}
return benchmark;
function benchmark( b ) {
var v;
var i;
for ( i = 0; i < len; i++ ) {
y[ i ] = 0.0;
}
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
x[ 0 ] += 1.0;
v = scumax( x.length, x, 1, 0, y, 1, 0 );
if ( isnanf( v[ i%len ] ) ) {
b.fail( 'should not return NaN' );
}
}
b.toc();
if ( isnanf( v[ i%len ] ) ) {
b.fail( 'should not return NaN' );
}
b.pass( 'benchmark finished' );
b.end();
}
}
// MAIN //
/**
* Main execution sequence.
*
* @private
*/
function main() {
var len;
var min;
var max;
var f;
var i;
min = 1; // 10^min
max = 6; // 10^max
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+':ndarray:len='+len, f );
}
}
main();
```
|
```python
#!/usr/bin/env python
#
# @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.
"""Benchmark scipy.special.gammaln."""
from __future__ import print_function
import timeit
NAME = "factorialln"
REPEATS = 3
ITERATIONS = 1000000
def print_version():
"""Print the TAP version."""
print("TAP version 13")
def print_summary(total, passing):
"""Print the benchmark summary.
# Arguments
* `total`: total number of tests
* `passing`: number of passing tests
"""
print("#")
print("1.." + str(total)) # TAP plan
print("# total " + str(total))
print("# pass " + str(passing))
print("#")
print("# ok")
def print_results(elapsed):
"""Print benchmark results.
# Arguments
* `elapsed`: elapsed time (in seconds)
# Examples
``` python
python> print_results(0.131009101868)
```
"""
rate = ITERATIONS / elapsed
print(" ---")
print(" iterations: " + str(ITERATIONS))
print(" elapsed: " + str(elapsed))
print(" rate: " + str(rate))
print(" ...")
def benchmark():
"""Run the benchmark and print benchmark results."""
setup = "from scipy.special import gammaln; from math import floor; from random import random;"
stmt = "y = gammaln(floor(171.0*random()) + 1.0)"
t = timeit.Timer(stmt, setup=setup)
print_version()
for i in range(REPEATS):
print("# python::scipy::" + NAME)
elapsed = t.timeit(number=ITERATIONS)
print_results(elapsed)
print("ok " + str(i+1) + " benchmark finished")
print_summary(REPEATS, REPEATS)
def main():
"""Run the benchmark."""
benchmark()
if __name__ == "__main__":
main()
```
|
In September 1939, the British Army was in process of expanding their anti-aircraft and mobile (including armoured) assets. Among these new changes was the formation of Anti-Aircraft Command which was formed on 1 April 1939, and the 1st Armoured Division formed in 1937. The list below will include the British Army units, colonial units, and those units which were in the process of formation.
The list includes units which were in the process of formation, cadre sized, or had no units attached. Also included are Territorial Army (TA) and Supplementary Reserve (SR) units.
War Office
The War Office or WO as it was abbreviated, was the office of the British Government which controlled all of the Armed Forces of which were based around the United Kingdom of Great Britain & Northern Ireland and Middle East.
Secretary of State for War, The Right Honourable Leslie Hore-Belisha, MP (holding the office from 28 May 1937 – 5 January 1940)
Army Council, Secretary of State for War held the office of President of the Army Council, this council was made up of 7 other members
Department of the Parliamentary Under-Secretary of State for War
Department of the Permanent Under-Secretary of State for War
Department of the Financial Secretary of the War Office
Department of the Director-General of the Territorial Army
Military Attaches to Embassies Legations to Foreign Courts
British Military Mission to the Egyptian Army
British Military Mission to the Iraq Army
Department of the Chief-of-Staff of the Imperial General Staff
Department of the Quartermaster General to the Forces
Department of the Adjutant General to the Forces
Office of the Judge Advocate General to the Forces
Selection Board
Officer Training Corps
Inspectors-General
Elements of the Department of the Director General of Munitions Production, had been transferred to the Ministry of Supply on 1 August 1939.
Aldershot Command
Aldershot Command's geographical area encompassed portions of the following counties Berkshire, Hampshire, Surrey, Sussex. Its primary formations on the outbreak of the war were:
1st Army Tank Brigade
1st Anti-Aircraft Brigade
1st Infantry Division
2nd Infantry Division
Northern Command
Northern Command
Headquartered at York, covering the areas of: Berwick-upon-Tweed (except regulars), Northumberland, County Durham, Yorkshire, Lincolnshire, Rutlandshire, Leicestershire, Nottinghamshire, and Derbyshire.
General Officer Commanding-in-Chief, Northern Command: General Sir William 'Barty' Henry Bartholomew
Northern Command Pay Section, Royal Army Pay Corps, Imphal Barracks
Air Formation Signals, Royal Corps of Signals (SR), Leeds
1st (West Riding) Signal Company, Royal Corps of Signals, Leeds
3rd (West Riding) Signal Company, Royal Corps of Signals, Leeds
5th Signal Company, Royal Corps of Signals, Bradford
Northern Command Signal Company, Royal Corps of Signals, York
4th Artillery Signal Section, Royal Corps of Signals, Catterick Camp
7th Tank Signal Section, Royal Corps of Signals, Catterick Camp
Signals Training Centre, Royal Corps of Signals, Catterick Camp
Training Battalion, Royal Corps of Signals, Catterick Camp
1st Battalion, Alexandra, Princess of Wales's Own North Yorkshire Regiment (The Green Howards), Catterick Camp (attached to 13th Inf Bde for Admin)
Royal Irish Fusiliers Depot, Catterick Camp (temporary)
Railway Operating Group, Royal Engineers (SR), Leeds
153rd (London and North Eastern) Railway Operating Company, Royal Engineers, Cambridge
155th (London, Midland, and Scottish) Railway Workshop, Royal Engineers, Derby
1st Docks Group, Royal Engineers (SR), York
2nd Docks Group, Royal Engineers (SR), Crewe
106th (West Riding) Army Troop Company, Royal Engineers (SR), Doncaster
107th (North Riding) Army Troops Company, Royal Engineers (SR), Middlesbrough
150th (London and North Eastern) Railway Construction, Royal Engineers (SR), Cambridge
15th Company, Royal Army Service Corps, Imphal Barracks
28th Company, Royal Army Service Corps, Catterick Camp
H Company, Royal Army Service Corps, Catterick Camp
9th Section, Royal Army Ordnance Corps, Catterick Camp
13th Section, Royal Army Ordnance Corps, Chetwynd Barracks
8th Company, Royal Army Medical Corps, York
Detachment, Royal Army Veterinary Corps, Catterick Camp
Detachment, Royal Army Veterinary Corps, Imphal Barracks
Section, Corps of Military Police, Claro Barracks
Section, Corps of Military Police, Uniacke Barracks
Royal Artillery Fixed Defences, Northern Ports
Royal Artillery Coast Defences, Northern Command, Tynemouth Castle
Humber Fire Command, Hedon
Tees and Hartlepool Fire Command, Hartlepool
Tynemouth Fire Command, Tynemouth
5th Infantry Division
5th Infantry Division, Catterick Camp
Headquarters, 5th Infantry Division commanded by Major General Harold Edmund Franklyn
5th Infantry Divisional Signals, Royal Corps of Signals, Catterick Camp (cadre)
5th Infantry Divisional Royal Army Ordnance Corps, Catterick Camp
5th Company, Corps of Military Police, Catterick Camp
13th Infantry Brigade
Headquarters 13th Infantry Brigade & Signal Section, Royal Corps of Signals, Catterick Camp
2nd Battalion, Princess Victoria's Royal Irish Fusiliers
2nd Battalion, The Duke of Edinburgh's Wiltshire Regiment
2nd Battalion, The Scottish Rifles (Cameronians)
13th Infantry Brigade Anti-Tank Company
15th Infantry Brigade
Headquarters 15th Infantry Brigade & Signal Section, Royal Corps of Signals, Catterick Camp
1st Battalion, The King's Own South Yorkshire Light Infantry, Queen Elizabeth Barracks, Strensall
1st Battalion, The York and Lancaster Regiment
2nd Battalion, The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs), Glasgow
15th Infantry Brigade Anti-Tank Company
Divisional Royal Artillery (cadre)
Divisional Royal Engineers (cadre)
55th Field Company, Royal Engineers, Catterick
Divisional Royal Army Service Corps
Headquarters, Divisional Royal Army Service Corps, Catterick Camp
19th Company, Royal Army Service Corps
34th Company, Royal Army Service Corps
51st Company, Royal Army Service Corps
Northumbrian Area
Northumbrian Area, Darlington: comprising the counties of Northumberland, County Durham, North Riding of Yorkshire (excluding Catterick Area and Strensall Camp), East Riding of Yorkshire; also Berwick-upon-Tweed (except regulars).
Northumbrian Area Commander: Colonel P. J. Sears
Northumberland Hussars (TA), Newcastle upon Tyne
1st East Riding of Yorkshire Yeomanry (TA), Kingston upon Hull
2nd East Riding of Yorkshire Yeomanry (2/TA), Kingston upon Hull
7th Battalion, Royal Northumberland Fusiliers (2/TA), Alnwick, machine-gun
9th Battalion, Royal Northumberland Fusiliers (2/TA), Alnwick, machine-gun
4th (Durham) Survey Regiment, Royal Artillery (TA), Gateshead-on-Tyne
6th Survey Regiment, Royal Artillery (2/TA), Gateshead-on-Tyne
37th (Tyne Electrical Engineers) Light Anti-Aircraft Regiment, Royal Artillery (TA), Tynemouth, not batteries constituted until 1940
123rd Light Anti-Aircraft Battery, Royal Artillery, RAF Croft
127th Light Anti-Aircraft Battery, Royal Artillery, RAF Croft
234th (Northumbrian) Field Company, Royal Engineers (TA), Gateshead-on-Tyne
506th Field Company, Royal Engineers (TA), Gateshead-on-Tyne
Royal Northumberland Fusiliers Depot, Newcastle upon Tyne
East Yorkshire Regiment Depot, Beverley
Green Howards Depot, Richmond
Durham Light Infantry Depot, Newcastle upon Tyne
25th Army Tank Brigade (TA)
25th Army Tank Brigade Headquarters, Newcastle upon Tyne
43rd (6th (City) Battalion, The Royal Northumberland Fusiliers) Royal Tank Regiment, Newcastle upon Tyne
49th Royal Tank Regiment, Newcastle upon Tyne
51st (Leeds Rifles) Royal Tank Regiment, Leeds
Northumbrian Area Coastal Defences
Tynemouth Heavy Coastal Regiment, Royal Artillery (TA), Blyth
East Riding Heavy Coastal Regiment, Royal Artillery (TA), Kingston upon Hull
Durham Heavy Coastal Regiment, Royal Artillery (TA), Hartlepool
Tyne Fortress Engineers, Royal Engineers (TA), Tynemouth
North Riding Fortress Engineers, Royal Engineers (TA), Middlesbrough
East Riding Fortress Engineers, Royal Engineers (TA), Kingston upon Hull
23rd (Northumbrian) Division (2/TA)
23rd (Northumbrian) Division, Darlington
Headquarters, 23rd (Northumbrian) Division, commanded by Major General William Norman Herbert
23rd (Northumbrian) Divisional Signals, Royal Corps of Signals, Darlington
8th Battalion, The Royal Northumberland Fusiliers, Prudhoe, motorcycle reconnaissance
23rd Infantry Divisional Royal Army Service Corps, Darlington
23rd Infantry Divisional Royal Army Ordnance Corps, Darlington
23rd Infantry Divisional Royal Army Medical Corps, Darlington
23rd Infantry Divisional Military Police Company, Corps of Military Police, Darlington
69th Infantry Brigade
Headquarters, 69th Infantry Brigade & Signal Section, Royal Corps of Signals, Malton
5th Battalion, The Duke of York's Own East Yorkshire Regiment, Kingston upon Hull
6th Battalion, Alexandra, Princess of Wales's Own (North) Yorkshire Regiment (Green Howards), Richmond
7th Battalion, Alexandra, Princess of Wales's Own (North) Yorkshire Regiment (Green Howards), Scarborough
70th Infantry Brigade
Headquarters, 70th Infantry Brigade & Signal Section, Royal Corps of Signals, Durham
10th Battalion, The Durham Light Infantry, Bishop Auckland
11th Battalion, The Durham Light Infantry, Sunderland
12th (Tynside Scottish) Battalion, The Durham Light Infantry, Gateshead-on-Tyne
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Darlington
124th (Northumbrian) Field Regiment, Royal Artillery, Newcastle upon Tyne
125th (Northumbrian) Field Regiment, Royal Artillery, Sunderland
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Newcastle upon Tyne
233rd (Northumbrian) Field Company, Royal Engineers, Jarrow-on-Tyne
507th Field Company, Royal Engineers, Newcastle upon Tyne
508th Field Company, Royal Engineers, Newcastle upon Tyne
50th (Northumbrian) Motor Division (TA)
50th (Northumbrian) Motor Division, Darlington
Headquarters, 50th Motor Division, commanded by Major General Sir Giffard Le Quesne Martel
50th (Northumbrian) Divisional Signals, Royal Corps of Signals, Darlington
4th Battalion, The Royal Northumberland Fusiliers, Alnwick, motorcycle reconnaissance
50th Infantry Divisional Royal Army Service Corps, Darlington
50th Infantry Divisional Royal Army Ordnance Corps, Darlington
149th (Northumbrian) Field Ambulance, Royal Army Medical Corps, Darlington
150th (Northumbrian) Field Ambulance, Royal Army Medical Corps, Darlington
151st (Northumbrian) Field Ambulance, Royal Army Medical Corps, Darlington
50th Infantry Divisional Military Police Company, Corps of Military Police, Darlington
150th Infantry Brigade
Headquarters, 150th Infantry Brigade & Signal Section, Royal Corps of Signals, Malton
4th Battalion, The Duke of York's Own East Yorkshire Regiment, Kingston upon Hull
4th Battalion, Alexandra, Princess of Wales's Own (North) Yorkshire Regiment (Green Howards), Richmond
5th Battalion, Alexandra, Princess of Wales's Own (North) Yorkshire Regiment (Green Howards), Scarborough
151st Infantry Brigade
Headquarters, 151st Infantry Brigade & Signal Section, Royal Corps of Signals, Durham
6th Battalion, The Durham Light Infantry, Bishop Auckland
8th Battalion, The Durham Light Infantry, Sunderland
9th Battalion, The Durham Light Infantry, Gateshead-on-Tyne
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Darlington
72nd (Northumbrian) Field Regiment, Royal Artillery, Newcastle upon Tyne
74th (Northumbrian) Field Regiment, Royal Artillery, South Shields
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Newcastle upon Tyne
232nd (Northumbrian) Field Company, Royal Engineers, Newcastle upon Tyne
505th Field Company, Royal Engineers, Newcastle upon Tyne
235th (Northumbrian) Field Park Company, Royal Engineers, Gateshead-on-Tyne
West Riding Area
West Riding Area: York, covering West Riding of Yorkshire, County Borough of York, Strensall Camp, Lincolnshire, Rutlandshire, Leicestershire, Nottinghamshire, and Derbyshire.
Headquarters West Riding Area, York under Area Commander Brigadier Richard Montague Wootten
West Riding Area Signal Section, Royal Corps of Signals, York
Leicestershire Yeomanry (TA), Derby
1st Derbyshire Yeomanry (TA), Derby
2nd Derbyshire Yeomanry (TA), Derby
60th (North Midland) Field Regiment, Royal Artillery (TA), Lincoln
115th (North Midland) Field Regiment, Royal Artillery (2/TA), Leicester
107th (South Nottinghamshire Hussars Yeomanry) Field Regiment, Royal Horse Artillery (TA), Nottingham
150th (South Nottinghamshire Hussars) Field Regiment, Royal Horse Artillery (2/TA), Nottingham
27th Light Anti-Aircraft Regiment, Royal Artillery, Newark-on-Trent
38th Light Anti-Aircraft Regiment, Royal Artillery, Bradford
39th Light Anti-Aircraft Regiment, Royal Artillery, Lincoln
52nd Light Anti-Aircraft Battery, Royal Artillery, Thorncliffe
106th Light Anti-Aircraft Battery, Royal Artillery, RAF Waddington
109th Light Anti-Aircraft Battery, Royal Artillery, RAF Hemswell
126th Light Anti-Aircraft Battery, Royal Artillery, RAF Coal Aston
53rd (King's Own Yorkshire Light Infantry) Light Anti-Aircraft Regiment, Royal Artillery (TA), Doncaster
57th (King's Own Yorkshire Light Infantry) Light Anti-Aircraft Regiment, Royal Artillery (2/TA), Doncaster
1st Field Artillery Depot, Harrogate
4th Infantry Training Group, Ripon
Lincolnshire Regiment Depot, Lincoln
West Yorkshire Regiment Depot, York
Leicestershire Regiment Depot, Leicester
The Duke of Wellington's Regiment Depot, Halifax
Nottinghamshire and Derbyshire Regiment (Sherwood Foresters) Depot, Derby
King's Own (South) Yorkshire Light Infantry Depot, Pontefract
York and Lancaster Regiment Depot, Pontefract
Anti-Aircraft Training Depot, Royal Corps of Signals, Harrogate
Training Depot, Royal Engineers, Ripon
5th Cavalry Brigade (TA), Bootham
Headquarters, 5th Cavalry Brigade
The Queen's Own (South) Yorkshire Dragoons, Doncaster
Alexandra, Princess of Wales's Own (North) Yorkshire Hussars, York
Nottinghamshire Yeomanry (Sherwood Rangers), Nottingham
46th Infantry Division (2/TA)
46th Infantry Division, York
Headquarters 46th Infantry Division commanded by Major General Algeron Lee Ransome
46th Infantry Divisional Signals, Royal Corps of Signals, Leeds
46th Infantry Divisional Royal Army Service Corps, York
46th Infantry Divisional Royal Army Ordnance Corps, York
46th Infantry Divisional Royal Army Medical Corps, York
46th Infantry Divisional Military Police Company, Corps of Military Police, York
137th Infantry Brigade
Headquarters 137th Infantry Brigade & Signal Section, Royal Corps of Signals, Leeds
2/5th Battalion, The Prince of Wales's Own West Yorkshire Regiment, York
2/6th Battalion, The Duke of Wellington's West Riding Regiment, Scarborough
2/7th Battalion, The Duke of Wellington's West Riding Regiment, Milnsbridge
138th Infantry Brigade
Headquarters 138th Infantry Brigade & Signal Section, Royal Corps of Signals, Wakefield
6th Battalion, The Lincolnshire Regiment, Lincoln
2/4th Battalion, The King's Own (South Yorkshire) Light Infantry, Wakefield
6th Battalion, The York and Lancaster Regiment, Sheffield
139th Infantry Brigade
Headquarters 139th Infantry Brigade & Signal Section, Royal Corps of Signals, Leicester
2/5th Battalion, The Leicestershire Regiment, Leicester
2/5th Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters), Derby
9th Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters), Newark-on-Trent
Divisional Royal Artillery 46th Division
Headquarters, Divisional Royal Artillery, York
121st Field Regiment, Royal Artillery, Leeds
122nd Field Regiment, Royal Artillery, Halifax
123rd Field Regiment, Royal Artillery, Sheffield
68th Anti-Tank Regiment, Royal Artillery, Bridlington
Divisional Royal Engineers 46th Division
Headquarters, Divisional Royal Engineers, Sheffield
270th Field Company, Royal Engineers, Sheffield
271st Field Company, Royal Engineers, Sheffield
272nd Field Company, Royal Engineers, Sheffield
273rd Field Park Company, Royal Engineers, Sheffield
49th (West Riding) Infantry Division (TA)
49th (West Riding) Infantry Division, Clifton
Headquarters, 49th Infantry Division commanded by Major General Pierse Joseph Mackesy
49th (West Riding) Divisional Signals, Royal Corps of Signals, Leeds
49th Infantry Divisional Royal Army Service Corps, Clifton
49th Infantry Divisional Royal Army Ordnance Corps, Clifton
49th Infantry Divisional Royal Army Medical Corps, Clifton
49th Infantry Divisional Military Police Company, Corps of Military Police, Clifton
146th Infantry Brigade
Headquarters 146th Infantry Brigade & Signal Section, Royal Corps of Signals, Doncaster
4th Battalion, The Lincolnshire Regiment, Lincoln
1/4th Battalion, The King's Own (South) Yorkshire Light Infantry, Wakefield
The Hallamshire Battalion, The York and Lancaster Regiment, Sheffield
147th Infantry Brigade
Headquarters 147th Infantry Brigade & Signal Section, Royal Corps of Signals, Rastrick
1/5th Battalion, The Prince of Wales's Own West Yorkshire Regiment, York
1/6th Battalion, The Duke of Wellington's West Riding Regiment, Scarborough
1/7th Battalion, The Duke of Wellington's West Riding Regiment, Milnsbridge
148th Infantry Brigade
Headquarters 148th Infantry Brigade & Signal Section, Royal Corps of Signals, Nottingham
1/5th Battalion, The Leicestershire Regiment, Leicester
1/5th Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters), Derby
8th Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters), Newark-on-Trent
Divisional Royal Artillery 49th Division
Headquarters, Divisional Royal Artillery, York
69th (West Riding) Field Regiment, Royal Artillery, Leeds
70th (West Riding) Field Regiment, Royal Artillery, Halifax
71st (West Riding) Field Regiment, Royal Artillery, Sheffield
58th (Duke of Wellington's Regiment) Anti-Tank Regiment, Royal Artillery, Bridlington
Divisional Royal Engineers 49th Division
Headquarters, Divisional Royal Engineers, Sheffield
228th (West Riding) Field Company, Royal Engineers, Sheffield
229th (West Riding) Field Company, Royal Engineers, Sheffield
230th (West Riding) Field Company, Royal Engineers, Sheffield
231st (West Riding) Field Park Company, Royal Engineers, Sheffield
Scottish Command
Scottish Command, Edinburgh covered Scotland and Berwick-upon-Tweed (so far as regards Regulars and Militia only).
Headquarters Scottish Command, Edinburgh under General Officer Commanding-in-Chief, Scottish Command: General Sir Charles John Cecil Grant
Scottish Command Pay Detachment, Royal Army Pay Corps, Edinburgh
Scottish Command Pay Detachment, Royal Army Pay Corps, Leith and Edinburgh
Scottish Command Pay Detachment, Royal Army Pay Corps, Perth
Scottish Command Signal Company, Royal Corps of Signals, Edinburgh
General Headquarters Signals, Royal Corps of Signals (SR), Glasgow
1st General Headquarters Signal Company, Royal Corps of Signals, Glasgow
3rd General Headquarters Signal Company, Royal Corps of Signals, Edinburgh
2nd Battalion, The Royal Scots Fusiliers, Edinburgh
1st Battalion, The City of Glasgow Regiment (Highland Light Infantry), Fort George
12th Field Regiment, Royal Artillery, Dunbar
Detachment, The Survey Battalion, Royal Engineers, Edinburgh
103rd (Glasgow) Army Troops Company, Royal Engineers (SR), Glasgow
109th (Glasgow) Workshop and Park Company, Royal Engineers (SR), Glasgow
11th Section, Royal Army Ordnance Corps, Stirling
13th Company, Royal Army Medical Corps, Edinburgh
Royal Artillery Fixed Defences, Scottish Ports
Headquarters, Scottish Coastal Defences, Leith
Forth Fire Command, Leith
Clyde Fire Command, Gourock
Orkneys Fire Command, Orkney
Highland Area
Highland Area, Perth: covering the counties of Sutherland, Caithness, Ross and Cromarty, Inverness-shire, Nairnshire, Morayshire, Banffshire, Aberdeenshire, Kincardineshire, Angus, Perthshire, Kinross-shire, Fife, Clackmannanshire, Stirlingshire, Dumbartonshire, Renfrewshire, Buteshire, and Argyllshire.
Headquarters, Highland Area, Perth
Lovat Scouts (TA), Inverness
Scottish Horse (TA), Dunkeld
1st Fife and Forfar Yeomanry (TA), Kirkcaldy
2nd Fife and Forfar Yeomanry (2/TA), Dundee
4th (The City of Aberdeen) Battalion, Gordon Highlanders (TA), Aberdeen, machine-gun
8th (The City of Aberdeen) Battalion, Gordon Highlanders (2/TA), Aberdeen, machine-gun
5th (Renfrewshire) Battalion, The Argyll and Sutherland Highlanders (TA), Paisley
6th (Renfrewshire) Battalion, The Argyll and Sutherland Highlanders (TA), Paisley
56th (Highland) Medium Regiment, Royal Artillery (TA), Aberdeen
65th (Highland) Medium Regiment, Royal Artillery (TA), Fraserborough
54th (Argyll and Sutherland Highlanders) Light Anti-Aircraft Regiment, Royal Artillery (TA), Dumbarton Castle
58th (Argyll and Sutherland Highlanders) Light Anti-Aircraft Regiment, Royal Artillery (2/TA), Clydebank
100th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Montrose
102nd Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Donibristle
104th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Stranraer
105th Light Anti-Aircraft Battery, Royal Artillery (TA), Scapa Flow
Orkneys Heavy Regiment, Royal Artillery (TA)
Fife Heavy Regiment, Royal Artillery (TA)
Orkneys Fortress Engineers, Royal Engineers (TA)
The Royal Highland Regiment (The Black Watch) Depot, Perth
The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs) Depot, Fort George
Gordon Highlanders Depot, Aberdeen
The Queen's Own Cameron Highlanders Depot, Inverness
The Argyll and Sutherland Highlanders (Princess Louise's) Depot, Stirling
9th (Highland) Infantry Division (2/TA)
9th (Highland) Infantry Division, Perth
Headquarters, 9th (Scottish) Division commanded by Major General George Mackintosh Lindsay
9th (Scottish) Divisional Signals, Royal Corps of Signals, Perth
9th Infantry Divisional Royal Army Service Corps, Perth
9th Infantry Divisional Royal Army Ordnance Corps, Perth
9th Infantry Divisional Royal Army Medical Corps, Perth
9th Infantry Divisional Military Police Company, Corps of Military Police, Perth
26th Infantry Brigade
Headquarters, 26th Infantry Brigade & Signal Section, Royal Corps of Signals, Inverness
5th (Sutherland and Caithness) Battalion, The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs), Golspie
7th (Morayshire) Battalion, The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs), Elgin
5th Battalion, The Queen's Own Cameron Highlanders, Inverness
27th Infantry Brigade
Headquarters, 27th Infantry Brigade & Signal Section, Royal Corps of Signals, Aberdeen
5th (Angus and Dundee) Battalion, The Royal Highland Regiment (The Black Watch), Dundee
7th (Mars and Mearns) Battalion, Gordon Highlanders, Tarves
9th (Donside) Battalion, Gordon Highlanders, Aberdeen
28th Infantry Brigade
Headquarters, 28th Infantry Brigade & Signal Section, Royal Corps of Signals, Stirling
7th (Fife) Battalion, The Royal Highland Regiment (The Black Watch), St Andrews
10th Battalion, Princess Louises's Argyll and Sutherland Highlanders, Stirling
11th (Argyll and Dumbarton) Battalion, Princess Louises's Argyll and Sutherland Highlanders, Oban
Divisional Royal Artillery 9th Division
Headquarters, Divisional Royal Artillery, Perth
126th (Highland) Field Regiment, Royal Artillery, Aberdeen
127th (Highland) Field Regiment, Royal Artillery, Dundee
128th (Highland) Field Regiment, Royal Artillery, Renfrew
61st (West Highland) Anti-Tank Regiment, Royal Artillery, Rothesay
Divisional Royal Engineers 9th Division
Headquarters, Divisional Royal Engineers, Aberdeen
274th Field Company, Royal Engineers, Alness
275th Field Company, Royal Engineers, Stromness
276th Field Company, Royal Engineers, Paisley
277th Field Park Company, Royal Engineers, Dundee
51st (Highland) Infantry Division (TA)
51st (Highland) Infantry Division, Perth
Headquarters, 51st (Highland) Infantry Division commanded by Major General Victor Morven Fortune
51st (Highland) Divisional Signals, Royal Corps of Signals, Aberdeen
51st Infantry Divisional Royal Army Service Corps, Perth
51st Infantry Divisional Royal Army Ordnance Corps, Perth
51st Infantry Divisional Royal Army Medical Corps, Perth
51st Infantry Divisional Military Police Company, Corps of Military Police, Perth
152nd (Highland) Infantry Brigade
Headquarters, 152nd Infantry Brigade & Signal Section, Royal Corps of Signals, Inverness
4th (Ross-shire) Battalion, The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs), Golspie
6th (Morayshire) Battalion, The Duke of Albany's Seaforth Highlanders (The Ross-shire Buffs), Elgin
4th Battalion, The Queen's Own Cameron Highlanders, Inverness
153rd (Highland) Infantry Brigade
Headquarters, 153rd Infantry Brigade & Signal Section, Royal Corps of Signals, Aberdeen
4th (City of Dundee) Battalion, The Royal Highland Regiment (The Black Watch), Dundee
5th (Buchan and Formartin) Battalion, Gordon Highlanders, Tarves
6th (Banffshire) Battalion, Gordon Highlanders, Aberdeen
154th (Highland) Infantry Brigade
Headquarters, 154th Infantry Brigade & Signal Section, Royal Corps of Signals, Stirling
6th (Perthshire) Battalion, The Royal Highland Regiment (The Black Watch), St Andrews
7th Battalion, Princess Louises's Argyll and Sutherland Highlanders, Stirling
8th (Argyllshire) Battalion, Princess Louises's Argyll and Sutherland Highlanders, Oban
Divisional Royal Artillery 51st Division
Headquarters, Divisional Royal Artillery, Perth
75th (Highland) Field Regiment, Royal Artillery, Aberdeen
76th (Highland) Field Regiment, Royal Artillery, Dundee
77th (Highland) Field Regiment, Royal Artillery, Renfrew
51st (West Highland) Anti-Tank Regiment, Royal Artillery, Rothesay
Divisional Royal Engineers 51st Division
Headquarters, Divisional Royal Engineers, Aberdeen
236th (City of Aberdeen) Field Company, Royal Engineers, Aberdeen
237th (City of Dundee) Field Company, Royal Engineers, Dundee
238th (County of Renfrewshire) Field Company, Royal Engineers, Renfrew
239th (City of Aberdeen) Field Company, Royal Engineers, Aberdeen
Lowland Area
Lowland Area, Darlington: comprising the counties of West Lothian, Midlothian, East Lothian, Berwickshire (including Berwick-upon-Tweed for Regulars and Militia only), Roxburghshire, Dumfriesshire, Kirkcudbrightshire, Wigtownshire, Ayrshire, Lanarkshire, Peeblesshire, Selkirkshire; and (for Clyde and Forth Defences only), and Fife.
Headquarters, Lowland Area in Darlington
The Earl of Carrick's Own Ayrshire Yeomanry (TA), Ayr
Lanarkshire Yeomanry (TA), Lanark
1st Lothians and Border Horse (TA), Edinburgh
2nd Lothians and Border Horse (2/TA), Ladybank
57th (Lowland) Medium Regiment, Royal Artillery (TA), Edinburgh
66th (Lowland) Medium Regiment, Royal Artillery (TA), Prestonpans
The Royal Scots (Lothian Regiment) Depot, Milton Bridge
Royal Scots Fusiliers Depot, Ayr
The King's Own Scottish Borderers Depot, Berwick-upon-Tweed
The Scottish Rifles (Cameronians) Depot, Hamilton
The City of Glasgow Regiment (Highland Light Infantry) Depot, Glasgow
14th Searchlight Depot, Royal Artillery (SR), Troon
Lowland Coast Defences
Forth Heavy Regiment, Royal Artillery (TA), Edinburgh
Clyde Heavy Regiment, Royal Artillery (TA), Port Glasgow
City of Edinburgh Fortress Engineers, Royal Engineers (TA), Edinburgh
Renfrewshire Fortress Engineer, Royal Engineers (TA), Greenock
15th (Scottish) Infantry Division (2/TA)
15th (Scottish) Infantry Division, Glasgow
Headquarters, 52nd (Lowland) Infantry Division commanded by Major General Roland Le Fanu
15th Divisional Signals, Royal Corps of Signals, Glasgow
15th Infantry Divisional Royal Army Service Corps, Glasgow
15th Infantry Divisional Royal Army Ordnance Corps, Glasgow
15th Infantry Divisional Royal Army Medical Corps, Glasgow
15th Infantry Divisional Military Police Company, Corps of Military Police, Glasgow
44th Infantry Brigade
Headquarters, 155th Infantry Brigade & Signal Section, Royal Corps of Signals, Edinburgh
8th (Lothians and Peeblesshire) Battalion, The Royal Scots (Royal Lothian Regiment), Leith
6th (The Border), The King's Own Scottish Borderers, Galashiels
7th (Galloway) Battalion, The King's Own Scottish Borderers, Dumfries
45th Infantry Brigade
Headquarters, 156th Infantry Brigade & Signal Section, Royal Corps of Signals, Glasgow
6th Battalion, The Royal Scots Fusiliers, Kilmarnock
9th Battalion, The Scottish Rifles (Cameronians), Hamilton
10th (Lanarkshire) Battalion, The Scottish Rifles (Cameronians), Glasgow
46th Infantry Brigade
Headquarters, 157th Infantry Brigade & Signal Section, Royal Corps of Signals, Glasgow
10th Battalion, The City of Glasgow Regiment (Highland Light Infantry), Glasgow
11th Battalion, The City of Glasgow Regiment (Highland Light Infantry), Glasgow
2nd Battalion, The Glasgow Highlanders, Glasgow
Divisional Royal Artillery
Divisional Royal Artillery, Glasgow
129th Field Regiment, Royal Artillery, Edinburgh
130th Field Regiment, Royal Artillery, Ayr
131st Field Regiment, Royal Artillery, Glasgow
64th Anti-Tank Regiment, Royal Artillery, Glasgow
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Baillieston
278th Field Company, Royal Engineers, Coatbridge
279th Field Company, Royal Engineers, Motherwell
280th Field Company, Royal Engineers, Rutherglen
281st Field Company, Royal Engineers, Rutherglen
52nd (Lowland) Infantry Division (TA)
52nd (Lowland) Infantry Division, Glasgow
Headquarters, 52nd (Lowland) Infantry Division commanded by Major General James Syme Drew
52nd (Lowland) Infantry Divisional Signals, Royal Corps of Signals, Glasgow
52nd Infantry Divisional Royal Army Service Corps, Glasgow
52nd Infantry Divisional Royal Army Ordnance Corps, Glasgow
52nd Infantry Divisional Royal Army Medical Corps, Glasgow
52nd Infantry Divisional Military Police Company, Corps of Military Police, Glasgow
155th (South Scottish) Infantry Brigade, Edinburgh
Headquarters, 155th Infantry Brigade & Signal Section, Royal Corps of Signals
7th/9th (Highlanders) Battalion, The Royal Scots (Royal Lothian Regiment), Leith
4th (The Border) Battalion, The King's Own Scottish Borderers, Galashiels
5th (Dumfrieshire) Battalion, The King's Own Scottish Borderers, Dumfries
156th (Scottish Rifles) Infantry Brigade, Glasgow
Headquarters, 156th Infantry Brigade & Signal Section, Royal Corps of Signals
4th/5th Battalion, The Royal Scots Fusiliers, Kilmarnock
6th (Lanarkshire) Battalion, The Scottish Rifles (Cameronians), Hamilton
7th Battalion, The Scottish Rifles (Cameronians), Glasgow
157th (Highland Light Infantry) Infantry Brigade, Glasgow
Headquarters, 157th Infantry Brigade & Signal Section, Royal Corps of Signals
5th (City of Glasgow) Battalion, The City of Glasgow Regiment (Highland Light Infantry), Glasgow
6th (City of Glasgow) Battalion, The City of Glasgow Regiment (Highland Light Infantry), Glasgow
1st Battalion, The Glasgow Highlanders, Glasgow
Divisional Royal Artillery
Divisional Royal Artillery, Glasgow
78th (Lowland) Field Regiment, Royal Artillery, Edinburgh
79th (Lowland) Field Regiment, Royal Artillery, Ayr
80th (Lowland - City of Glasgow) Field Regiment, Royal Artillery, Glasgow
54th (The Queen's Own Royal Glasgow Yeomanry) Anti-Tank Regiment, Royal Artillery, Glasgow
Divisional Royal Engineers
Divisional Royal Engineers, Rutherglen
240th (Lowland) Field Company, Royal Engineers, Coatbridge
241st (Lowland) Field Company, Royal Engineers, Motherwell
242nd (Lowland) Field Company, Royal Engineers, Rutherglen
243rd (Lowland) Field Park Company, Royal Engineers, Rutherglen
Eastern Command
Eastern Command was one of two southern commands, itself overseeing the areas of: Cambridgeshire, Norfolk, Suffolk, Essex (except Purfleet and Rainham rifle ranges; and (when occupied by Foot Guards) the Guards' barracks at Warley Barracks), Hertfordshire, Bedfordshire, Middlesex, Kent, Sussex, and Surrey (less portion in the Aldershot Command and London District), and Woolwich Garrison (exclusive of the Territorial Army troops quartered there).
Headquarters, Eastern Command, Cavalry Barracks, Hounslow commanded by Lieutenant General Sir Guy Williams
Eastern Command Pay Detachment, Royal Army Pay Corps, Barnet
Eastern Command Pay Detachment, Royal Army Pay Corps, Canterbury
Eastern Command Pay Detachment, Royal Army Pay Corps, Chatham
Eastern Command Pay Detachment, Royal Army Pay Corps, Foots Cray
Eastern Command Pay Detachment, Royal Army Pay Corps, Hounslow
Eastern Command Pay Detachment, Royal Army Pay Corps, Warley
Eastern Command Pay Detachment, Royal Army Pay Corps, London
Eastern Command Signal Company, Royal Corps of Signals, London
8th Artillery Signal Section, Royal Corps of Signals, Canterbury
10th Artillery Signal Section, Royal Corps of Signals, Canterbury
13th Artillery Signal Section, Royal Corps of Signals, Canterbury
Signal Experimental Establishment, Royal Corps of Signals, Woolwich
5th Construction Signal Section, Royal Corps of Signals (SR), Ravenscourt Park
1st Line Signal Section, Royal Corps of Signals (SR), Guildford
2nd Line Signal Section, Royal Corps of Signals (SR), Guildford
17th/21st Lancers, Colchester
2nd Battalion, The Essex Regiment, Warley Barracks
1st Infantry Training Group, Colchester
2nd Infantry Training Group, Lydd
27th Field Regiment, Royal Artillery, Colchester
32nd Field Regiment, Royal Artillery, Preston Barracks
5th Medium Regiment, Royal Artillery, Royal Artillery School of Gunnery
2nd Heavy Regiment, Royal Artillery, Royal Artillery School of Gunnery
The Riding Establishment, Royal Artillery, St John's Wood
Detachment from The Survey Battalion, Royal Engineers, London
108th (Essex) Electrical and Mechanical Company, Royal Engineers (SR), Chelmsford
Royal Army Service Corps Driving School, Feltham Barracks
2nd Company, Royal Army Service Corps, Woolwich Garrison
18th Company, Royal Army Service Corps, Kitchener Barracks
22nd Company, Royal Army Service Corps, Shorncliffe Army Camp
37th Company, Royal Army Service Corps, Woolwich Garrison
38th Company, Royal Army Service Corps, Woolwich Garrison
45th Company, Royal Army Service Corps, Woolwich Garrison
46th Company, Royal Army Service Corps, Shorncliffe Army Camp
57th Company, Royal Army Service Corps, Colchester Garrison
59th Company, Royal Army Service Corps, Colchester Garrison
60th Company, Royal Army Service Corps, Woolwich Garrison
F Company, Royal Army Service Corps, Woolwich Garrison
Maintenance Stores Depot, Royal Army Service Corps, Feltham Barracks
Heavy Maintenance Repair Shop, Royal Army Service Corps, Feltham Barracks
Vehicle Reserve Depot, Royal Army Service Corps, Feltham Barracks
Non-combatant Labour Corps Depot, Colchester
7th Section, Royal Army Ordnance Corps, Dover
8th Section, Royal Army Ordnance Corps, Colchester
9th Company, Royal Army Medical Corps, Colchester
10th Company, Royal Army Medical Corps, Shorncliffe
12th Company, Royal Army Medical Corps, Woolwich
18th Company, Royal Army Medical Corps, Millbank Barracks
Veterinary Platoon, Royal Army Veterinary Corps, Woolwich
Veterinary Platoon, Royal Army Veterinary Corps, Colchester
Veterinary Platoon, Royal Army Veterinary Corps, Shorncliffe
Veterinary Platoon, Royal Army Veterinary Corps, Dover
1st Veterinary Depot, Royal Army Veterinary Corps, Woolwich
Section, Corps of Military Police, Colchester Garrison
Section, Corps of Military Police, Shorncliffe Army Camp
Section, Corps of Military Police, Shorncliffe Army Camp
Section, Corps of Military Police, Dover
Section, Corps of Military Police, Kitchener Barracks
Section, Corps of Military Police, Woolwich Garrison
Section, Corps of Military Police, Woolwich Garrison
Eastern Command Coastal Artillery
Headquarters, Royal Artillery Fixed Defences, Eastern Ports, Sheerness Dockyard
Dover Fire Command, Royal Navy Dockyard
Thames Fire Command, Shoeburyness
Medway Fire Command, Sheerness Dockyard
Harwich Fire Command, Port of Felixstowe
4th Infantry Division
4th Infantry Division, Colchester Garrison
Headquarters, 4th Infantry Division commanded by Major General Dudley Graham Johnson
4th Infantry Divisional Signals, Royal Corps of Signals, Colchester
5th Royal Inniskilling Dragoon Guards, Colchester, divisional reconnaissance
2nd Battalion, The Royal Northumberland Fusiliers, Colchester, divisional machine-gun battalion
4th Infantry Divisional Royal Army Ordnance Corps, Colchester Garrison
4th Infantry Divisional Royal Army Medical Corps, Colchester Garrison
10th Infantry Brigade
Headquarters, 10th Infantry Brigade & Signal Section, Royal Corps of Signals, Shorncliffe Army Camp
2nd Battalion, The Bedfordshire and Hertfordshire Regiment, Milton Barracks
2nd Battalion, The Duke of Cornwall's Light Infantry
1st Battalion, The Queen's Own Royal West Kent Regiment
10th Infantry Brigade Anti-Tank Company
11th Infantry Brigade
Headquarters, 11th Infantry Brigade & Signal Section, Royal Corps of Signals, Colchester Garrison
2nd Battalion, The Lancashire Fusiliers
1st Battalion, The East Surrey Regiment
1st Battalion, The Oxfordshire and Buckinghamshire Light Infantry
11th Infantry Brigade Anti-Tank Company
12th Infantry Brigade
Headquarters, 12th Infantry Brigade & Signal Section, Royal Corps of Signals, Dover Western Heights
2nd Battalion, The City of London Regiment (Royal Fusiliers)
1st Battalion, The Prince of Wales's South Lancashire Volunteers
1st Battalion, The Royal Highland Regiment (The Black Watch)
12th Infantry Brigade Anti-Tank Company
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Colchester Garrison
17th Field Regiment, Royal Artillery, Woolwich
22nd Field Regiment, Royal Artillery, Shorncliffe Army Camp
30th Field Regiment, Royal Artillery
14th Anti-Tank Regiment, Royal Artillery
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Shorncliffe Army Camp
7th Field Company, Royal Engineers
9th Field Company, Royal Engineers
29th Field Company, Royal Engineers, Canterbury Barracks
18th Field Park Company, Royal Engineers, Colchester Garrison
Divisional Royal Army Service Corps
Headquarters, Divisional Royal Army Service Corps, Colchester Garrison
21st Company, Royal Army Service Corps
44th Company, Royal Army Service Corps, Woolwich Garrison
East Anglian Area
East Anglian Area covered the counties of Cambridgeshire, Norfolk, Suffolk, Essex, Middlesex, Hertfordshire, and Bedfordshire (less the following: Colchester Garrison, Purfleet Rifle Range, and Rainham rifle ranges (when occupied by the Foot Guards) the Guards' Barracks at Warley Barracks which area under London District, That partition of Essex in Chatham Area from Grays Thurrock Station along main road to Stanford-le-Hope, thence north side of railway via South Benfleet to Southend-on-Sea borough boundary - thence a line drawn north-east to Lower Edward's Hall - thence road eastwords to Harp House - thence a line south-east to Southchurch Lawn - thence a line due north to River Roach - thence along south bank of River Roach and south bank of River Crouch to Foulness Point).
East Anglian Area Headquarters, The Barracks, Herford commanded by Area Commander Colonel W. P. Buckley
1/7th Battalion, The Duke of Cambridge's Own Middlesex Regiment, Hornsey
2/7th Battalion, The Duke of Cambridge's Own Middlesex Regiment, Southgate
1/8th Battalion, The Duke of Cambridge's Own Middlesex Regiment, Hounslow
2/8th Battalion, The Duke of Cambridge's Own Middlesex Regiment, Ruislip Manor
Norfolk Regiment Depot, Britannia Barracks
Suffolk Regiment Depot, Gibraltar Barracks
Bedfordshire and Hertfordshire Regiment Depot, Kempston Barracks
Essex Regiment Depot, Warley Barracks
Middlesex Regiment Depot, Inglis Barracks
104th (Essex Yeomanry) Field Regiment, Royal Horse Artillery, Brentwood
147th (Essex Yeomanry) Field Regiment, Royal Artillery, Chelmsford
58th (Suffolk) Medium Regiment, Royal Artillery, Ipswich
67th (Suffolk) Medium Regiment, Royal Artillery, Bury St Edmunds
Suffolk Heavy Regiment, Royal Artillery, Dovercourt
97th Light Anti-Aircraft Battery, Royal Artillery, RAF Hounslow
119th Light Anti-Aircraft Battery, Royal Artillery, RAF Westley
250th (East Anglian) Field Company, Royal Engineers, Cambridge
Suffolk Fortress Engineers, Royal Engineers, Ipswich
18th Infantry Division (2/TA)
18th (Eastern) Infantry Division, Hertford
Headquarters, 18th Infantry Division commanded by Major General Thomas Gerald Dalby
18th (Eastern) Infantry Divisional Signals, Royal Corps of Signals, Stratford
18th Infantry Divisional Royal Army Service Corps, Stratford
18th Infantry Divisional Royal Army Ordnance Corps, Stratford
18th Infantry Divisional Military Police Company, Corps of Military Police, Stratford
54th Infantry Brigade
Headquarters, 54th Infantry Brigade & Signal Section, Royal Corps of Signals, Norwich
4th Battalion, The Royal Norfolk Regiment, Norwich
4th Battalion, The Suffolk Regiment, Ipswich
5th Battalion, The Suffolk Regiment, Bury St Edmunds
55th Infantry Brigade
Headquarters, 55th Infantry Brigade & Signal Section, Royal Corps of Signals, Bedford
5th Battalion, The Bedfordshire and Hertfordshire Regiment, Bedford
1st Battalion, The Cambridgeshire Regiment, Cambridge
2nd Battalion, The Cambridgeshire Regiment, Wisbech
Divisional Royal Artillery
Headquarters, 18th Divisional Royal Artillery, The Barracks, Hertford
105th (Bedfordshire Yeomanry) Field Regiment, Royal Artillery, Bedford
135th Field Regiment, Royal Artillery, Hitchin
148th Field Regiment, Royal Artillery, Luton
65th (Norfolk Yeomanry) Anti-Tank Regiment, Royal Artillery, Swaffham
Divisional Royal Engineers
Headquarters, 18th Divisional Royal Engineers, Cambridge
287th Field Company, Royal Engineers, Cambridge
288th Field Company, Royal Engineers, Norwich
251st (East Anglia) Field Park Company, Royal Engineers, Norwich
54th (East Anglian) Infantry Division (TA)
54th (East Anglian) Infantry Division, Hertford
Headquarters, 54th Infantry Division commanded by Major General John Hedley Thornton Priestman
54th (East Anglian) Infantry Divisional Signals, Royal Corps of Signals, Stratford
54th Infantry Divisional Royal Army Service Corps, Hertford
54th Infantry Divisional Royal Army Ordnance Corps, Hertford
54th Infantry Divisional Royal Army Medical Corps, Hertford
54th Infantry Divisional Military Police Company, Corps of Military Police, Hertford
161st (Essex and London) Infantry Brigade
Headquarters, 161st Infantry Brigade & Signal Section, Royal Corps of Signals, Brentwood
1/4th Battalion, The Essex Regiment, Chelmsford
2/4th Battalion, The Essex Regiment, Ilford
1/5th Battalion, The Essex Regiment, Braintree
2/5th (East) Battalion, The Essex Regiment, Colchester
5th (Hackney) Battalion, Princess Charlotte of Wales's Royal Berkshire Regiment, Hackney
7th (Stoke Newington) Battalion, Princess Charlotte of Wales's Royal Berkshire Regiment, Stoke Newington
162nd (East Midland) Infantry Brigade
Headquarters, 162nd Infantry Brigade & Signal Section, Royal Corps of Signals, Bedford
6th Battalion, The Bedfordshire and Hertfordshire Regiment, Bedford
1st Battalion, The Hertfordshire Regiment, Hertford
2nd Battalion, The Hertfordshire Regiment, Hertford
163rd (Norfolk) Infantry Brigade
Headquarters, 163rd Infantry Brigade & Signal Section, Royal Corps of Signals, Norwich
5th Battalion, The Royal Norfolk Regiment, Dereham
6th Battalion, The Royal Norfolk Regiment, Norwich
7th Battalion, The Royal Norfolk Regiment, King's Lynn
Division Royal Artillery
Headquarters, Royal Artillery, The Barracks, Hertford
85th (East Anglian) Field Regiment, Royal Artillery, Stratford
86th (East Anglian) (Hertfordshire Yeomanry) Field Regiment, Royal Artillery, Hertford
134th Field Regiment, Royal Artillery, Stratford
55th (Suffolk Yeomanry) Anti-Tank Regiment, Royal Artillery, Bury St Edmunds
Divisional Royal Engineers
Headquarters, Royal Engineers, Bedford
249th (East Anglia) Field Company, Royal Engineers, Luton
286th Field Company, Royal Engineers, Bedford
289th Field Park Company, Royal Engineers, Luton
Chatham Area
Chatham Area covered the areas of: Foulness Point (Essex) by a line drawn south to Shellness (Kent) thence a line drawn south-west to Ladydane thence along a road to Watling Street thence Watling Street to road Faversham, Leaveland, Challock Lees, Chaning, Lenham, Harrietsham, Elsfield, Hollingbourne thence Pilgrim's Way via Detling, Burham, Snodland thence via Pilgrim's Road to Trosley Towers thence along road Wrotham-Gravesent to Northumberland Bottom thence Watling Street to Southern Railway Bridge at Springhead thence northward along stream to River Thames, along south bank of River Thames to lighthouse on Swanscombe Marshes thence by a line drawn northeast across the River Thames to Grays Thurrock Station (Essex) thence along the main road to Stanford-le-Hope thence northside of railway via South Benfleet to Southend Borough boundary thence a line drawn northeast to lower Edward's Hull thence along road Eastwood to Harp House thence a line drawn south-east to Southchurch Lawn thence a line due north to River Roach, along south bank of River Roach and south bank of River Crouch to Foulness Point.
Headquarters, Chatham Area, Kitchener Barracks under Area Commander Major General Ridley Pakenham Pakenham-Walsh
Thames and Medway Heavy Regiment, Royal Artillery, Rochester
Training Battalion, Royal Engineers, Royal School of Military Engineering
Depot Battalion, Royal Engineers, Royal School of Military Engineering
Home Counties Area
Home Counties Area covered the areas of: Woolwich (exclusive of Territorial Army troops in London District), Counties of Kent (less areas in Chatham Area and the 4th Infantry Division stations of Dover, Shorncliffe, Hythe and Lydd), Sussex, Surrey (less the eastern boundaries of the parishes of Chobham, Horsell and Woking through Woking) including portions of the parishes of Stoke-next-Guildford, St. Nicholas, Arlington, to the west of the railway.
Headquarters, Home Counties Area, Woolwich Station under Area Commanded Brigadier Alastair Ian Macdougall
Queen's Royal West Surrey Regiment Depot, Stoughton Barracks
Royal East Kent Regiment (Buffs) Depot, Canterbury Barracks
City of London Regiment (Royal Fusiliers) Depot, Hounslow Barracks
East Surrey Regiment Depot, The Barracks, Kingston upon Thames
Royal Sussex Regiment Depot, The Barracks, Chichester
Queen's Own Royal West Kent Regiment Depot, Maidstone Barracks
97th (Kent Yeomanry) Field Regiment, Royal Artillery (TA), Maidstone
98th (Surrey and Sussex Yeomanry, Queen Mary's) Field Regiment, Royal Artillery (TA), Clapham Park
143rd (Kent Yeomanry) Field Regiment, Royal Artillery (TA), Ashford
144th (Surrey and Sussex Yeomanry, Queen Mary's) Field Regiment, Royal Artillery (TA), Chichester
Kent and Sussex Heavy Regiment, Royal Artillery (TA), Dover
Royal Artillery Depot, Royal Artillery Barracks, Woolwich
Kent Fortress Engineers, Royal Engineers (TA), Dover
Cinque Ports Fortress Engineers, Royal Engineers (TA), Northfleet
21st Army Tank Brigade (TA), only part, other regiment under Southern Command
Headquarters, 21st Army Tank Brigade, Chipperfield
42nd (7th (23rd London) Battalion, The East Surrey Regiment) Royal Tank Regiment, St John's Hill
48th (2/7th (23rd London) Battalion, The East Surrey Regiment) Royal Tank Regiment, Clapham
44th (6th Battalion, Gloucestershire Regiment) Royal Tank Regiment, Bristol
12th (Eastern) Infantry Division
12th (Eastern) Infantry Division (TA), Royal Artillery Barracks, Woolwich
Headquarters, 12th Infantry Division commanded by Major General Roderic Loraine Petre
12th (Eastern) Infantry Divisional Signals, Royal Corps of Signals, Stamford Brook
12th Infantry Divisional Royal Army Service Corps, Stamford Brook
12th Infantry Divisional Royal Army Ordnance Corps, Stamford Brook
12th Infantry Divisional Royal Army Medical Corps, Stamford Brook
12th Infantry Divisional Military Police Company, Corps of Military Police, Stamford Brook
35th Infantry Brigade
Headquarters, 35th Infantry Brigade & Signal Section, Royal Corps of Signals, Caxton Street
2/5th Battalion, The Queen's Royal West Surrey Regiment, Woking
2/6th (Bermondsey) Battalion, The Queen's Royal West Surrey Regiment, Richmond
2/7th (Southwark) Battalion, The Queen's Royal West Surrey Regiment, St George's Market
36th Infantry Brigade
Headquarters, 36th Infantry & Signal Section, Royal Corps of Signals, Victoria Street
2/6th Battalion, The East Surrey Regiment, Richmond
6th Battalion, The Queen's Own Royal West Kent Regiment, St Mary Cray
7th Battalion, The Queen's Own Royal West Kent Regiment, Dartford
37th Infantry Brigade (Doubling as HQ Eastern Sub-Area)
Headquarters, 37th Infantry & Signal Section, Royal Corps of Signals
5th Battalion, The Royal East Kent Regiment (Buffs), Canterbury
6th Battalion, The Royal Sussex Regiment, Worthing
7th (Cinque Ports) Battalion, The Royal Sussex Regiment, Brighton
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Royal Artillery Barracks, Woolwich
113th Field Regiment, Royal Artillery, Shoreham-by-Sea
114th Field Regiment, Royal Artillery, Bexhill-on-Sea
118th Field Regiment, Royal Artillery, Plumstead
67th Anti-Tank Regiment, Royal Artillery, Sutton
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Brighton
262nd Field Company, Royal Engineers, Hastings
263rd Field Company, Royal Engineers, Eastbourne
264th Field Company, Royal Engineers, Lewes
265th Field Park Company, Royal Engineers, Eastbourne
44th (Home Counties) Infantry Division
44th (Home Counties) Infantry Division (TA)
Headquarters, 44th Infantry Division, Royal Artillery Barracks, Woolwich commanded by Major General Edmund Archibald Osborne
44th (Home Counties) Divisional Signals, Royal Corps of Signals, Stamford Brook
44th Infantry Divisional Royal Army Service Corps, Royal Artillery Barracks, Woolwich
44th Infantry Divisional Royal Army Ordnance Corps, Royal Artillery Barracks, Woolwich
44th Infantry Divisional Royal Army Medical Corps, Royal Artillery Barracks, Woolwich
44th Infantry Divisional Military Police Company, Corps of Military Police, Royal Artillery Barracks, Woolwich
131st (Surrey) Infantry Brigade (Doubling as HQ Western Sub-Area)
Headquarters, 131st Infantry & Signal Section, Royal Corps of Signals, Caxton Street
1/5th Battalion, The Queen's Royal West Surrey Regiment, Guildford
1/6th (Bermondsey) Battalion, The Queen's Royal West Surrey Regiment, Bermondsey
1/7th (Southwark) Battalion, The Queen's Royal West Surrey Regiment, Walworth
132nd Infantry Brigade (Doubling as HQ Central Sub-Area)
Headquarters, 132nd Infantry & Signal Section, Royal Corps of Signals, Victoria Street
1/6th Battalion, The East Surrey Regiment, Surbiton
4th Battalion, The Queen's Own Royal West Kent Regiment, Tonbridge
5th Battalion, The Queen's Own Royal West Kent Regiment, Bromley
133rd (Kent and Sussex) Infantry Brigade (Doubling as HQ Eastern Sub-Area)
Headquarters, 133rd Infantry & Signal Section, Royal Corps of Signals
4th Battalion, The Royal East Kent Regiment (Buffs), Canterbury
4th Battalion, The Royal Sussex Regiment, Horsham
5th (Cinque Ports) Battalion, The Royal Sussex Regiment, Hastings
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Royal Artillery Barracks, Woolwich
57th (Home Counties) Field Regiment, Royal Artillery, Brighton
58th (Sussex) Field Regiment, Royal Artillery, Eastbourne
65th (8th London) Field Regiment, Royal Artillery, Lee Green
57th (East Surrey) Anti-Tank Regiment, Royal Artillery, Wimbledon
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Brighton
208th (Sussex) Field Company, Royal Engineers, Eastbourne
209th (Sussex) Field Company, Royal Engineers, Brighton
210th (Sussex) Field Company, Royal Engineers, Seaford
211th (Sussex) Field Company, Royal Engineers, Worthing
Northern Ireland District
Northern Ireland District was one of two army districts, tasked with covering all of Northern Ireland.
Headquarters, Northern Ireland District, Victoria Barracks under Major General Robert Valentine Pollock
Northern Ireland District Pay Officer, Royal Army Pay Corps, Victoria Barracks
Northern Ireland District Signal Company, Royal Corps of Signals, Victoria Barracks
North Irish Horse (SR), Belfast
2nd Battalion, The South Wales Borderers, Ebrington Barracks
1st Battalion, The East Lancashire Regiment, Palace Barracks
2nd Battalion, The Northamptonshire Regiment, Abercorn Barracks
2nd Battalion, The Royal Sussex Regiment, Victoria Barracks
Royal Inniskilling Fusiliers Depot, St Lucia Barracks
Royal Ulster Rifles Depot, Gough Barracks
Antrim Fortress Engineers, Royal Engineers (TA), Belfast
26th Company, Royal Army Service Corps, Victoria Barracks
53rd Company, Royal Army Service Corps, Victoria Barracks
54th Company, Royal Army Service Corps, Ebrington Barracks
Northern Ireland District Section, Royal Army Ordnance Corps, Kinnegar Army Barracks
15th Company, Royal Army Medical Corps, Palace Barracks
District Royal Artillery
Headquarters, Royal Artillery, Victoria Barracks
Belfast Fire Command, Belfast
188th (Antrim) Independent Heavy Battery, Royal Artillery, Belfast
3rd (Northern Ireland) Anti-Aircraft Brigade (SR)
Headquarters, 3rd AA Brigade, Belfast
3rd (Ulster) Searchlight Regiment, Royal Artillery, Belfast
8th (Belfast) Anti-Aircraft Regiment, Royal Artillery, Belfast
9th (Londonderry) Anti-Aircraft Regiment, Royal Artillery, Derry
Western Command
Western Command was the largest command by area covered, including: Wales and the Counties of Cumberland, Westmorland, Lancashire, Staffordshire, Shropshire, Herefordshire, Cheshire, and Beachley, Gloucestershire, and The Isle of Man.
Headquarters, Western Command based at Dale Barracks 'The Dale' under Lieutenant General Robert Hadden Haining
Western Command Pay Detachment, Royal Army Pay Corps, Chester
Western Command Pay Detachment, Royal Army Pay Corps, Preston
Western Command Pay Detachment, Royal Army Pay Corps, Shrewsbury
Western Command Signals, Royal Corps of Signals, The Dale
1st (East Lancashire) Corps Medium Artillery Signal Section, Royal Corps of Signals (SR), Manchester
2nd Lines of Communications Signal Section, Royal Corps of Signals (SR), Manchester
3rd (West Lancashire) Lines of Communications Signal Section, Royal Corps of Signals (SR), Liverpool
2nd Battalion, The Royal East Kent Regiment (Buffs), Defensible Barracks
100th (Monmouthshire) Army Troops Company, Royal Engineers (SR), Monmouth Castle
101st (Monmouthshire) Army Troops Company, Royal Engineers (SR), Monmouth Castle
104th (East Lancashire) Army Troops Company, Royal Engineers (SR), Manchester
105th (West Lancashire) Army Troops Company, Royal Engineers (SR), Liverpool
154th (Great Western) Railway Operating Company, Royal Engineers (SR), Newport
16th Company, Royal Army Service Corps, Preston
I Company, Royal Army Service Corps, Chester
10th Section, Royal Army Ordnance Corps, Burscough
19th Company, Royal Army Medical Corps, Warrington
2nd Anti-Aircraft Brigade
Headquarters, 2nd Anti-Aircraft Brigade, Lichfield
2nd Anti-Aircraft Brigade Signals, Royal Corps of Signals, Blackdown
1st Anti-Aircraft Regiment, Royal Artillery, Lichfield
2nd Anti-Aircraft Regiment, Royal Artillery, Lichfield
Royal Artillery Fixed Defences, North-Western Ports
Headquarters, Fixed Defences, Liverpool
Mersey Fire Command, Liverpool
Royal Artillery Fixed Defences, Welsh Ports
Headquarters, Fixed Defences, Pembroke
Milford Haven Fire Command, Pembroke
Severn Fire Command, Barry Island
Welsh Area
Welsh Area covered Wales and the Countries of Shropshire and Herefordshire, and Beachley (Glouchestershire).
Welsh Area Headquarters, Copthorne Barracks
Shropshire Yeomanry (TA), Shrewsbury
Royal Welch Fusiliers Depot, Hightown Barracks
South Wales Borderers Depot, The Barracks, Brecon
Welch Regiment Depot, Maindy Barracks
King's Shropshire Light Infantry Depot, Copthorne Barracks
6th Medium Regiment, Royal Artillery,
69th (Caernarvon & Denbigh Yeomanry) Medium Regiment, Royal Artillery (TA), Bangor
70th (Royal Welch Fusiliers) Anti-Tank Regiment, Royal Artillery (TA), Mold
20th Light Anti-Aircraft Regiment, Royal Artillery (TA), Cardiff
3rd Field Depot, Royal Artillery, Park Hall Barracks
4th Field Depot, Royal Artillery, Kinmel Camp
10th Anti-Aircraft Depot, Royal Artillery, Park Hall Barracks
11th Anti-Aircraft Depot, Royal Artillery, Park Hall Barracks
15th Searchlight Depot, Royal Artillery, Park Hall Barracks
16th Searchlight Depot, Royal Artillery, Kinmel Camp
17th Searchlight Depot, Royal Artillery, RAF Credenhill
246th (Welsh) Field Company, Royal Engineers (TA), Cardiff
Welsh Area Coast Defences
Glamorgan Heavy Regiment, Royal Artillery, Cardiff
Pembrokeshire Heavy Regiment, Royal Artillery, Milford Haven
Glamorgan Fortress Engineers, Royal Engineers, Cardiff
Carmarthenshire Fortress Engineers, Royal Engineers, Llanelli
38th (Welsh) Infantry Division (2/TA)
38th (Welsh) Infantry Division, Shrewsbury
Headquarters, 38th Infantry Division commanded by Major General Geoffrey Taunton Raikes
38th (Welsh) Divisional Signals, Royal Corps of Signals, Cardiff
38th Infantry Divisional Royal Army Service Corps, Cardiff
38th Infantry Divisional Royal Army Ordnance Corps, Shrewsbury
38th Infantry Divisional Royal Army Medical Corps, Shrewsbury
38th Infantry Divisional Military Police Company, Corps of Military Police, Shrewsbury
113th (South Wales) Infantry Brigade
Headquarters, 113th Infantry Brigade & Signal Section, Royal Corps of Signals, Cardiff
15th (Carmarthanshire) Battalion, The Welch Regiment, Llanelli
2/5th Battalion, The Welch Regiment, Swansea
4th Battalion, The Monmouthshire Regiment, Newport
114th (Welsh Border) Infantry Brigade
Headquarters, 114th Infantry Brigade & Signal Section, Royal Corps of Signals, Newport
5th Battalion, The King's Shropshire Light Infantry, Ross-on-Wye
The Brecknockshire Battalion, The South Wales Borderers, Brecon
2nd Battalion, The Herefordshire Light Infantry, Hereford
115th (Royal Welch Fusiliers) Brigade
Headquarters, 115th Infantry Brigade & Signal Section, Royal Corps of Signals, Wrexham
8th Battalion, The Royal Welch Fusiliers, Wrexham
9th Battalion, The Royal Welch Fusiliers, Conwy
10th Battalion, The Royal Welch Fusiliers, Newtown
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Shrewsbury
102nd (Pembroke & Cardiganshire) Field Regiment, Royal Artillery, Pembroke Dock
132nd Field Regiment, Royal Artillery, Neath
146th Field Regiment, Royal Artillery, Aberystwyth
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Cardiff
283rd Field Company, Royal Engineers, Barry
284th Field Company, Royal Engineers, Cardiff
247th (Welsh) Field Park Company, Royal Engineers, Gorseinon
53rd (Welsh) Infantry Division (1/TA)
53rd (Welsh) Infantry Division, Shrewsbury
Headquarters, 53rd Infantry Division commanded by Major General Bevil Thomson Wilson
53rd (Welsh) Divisional Signals, Royal Corps of Signals, Cardiff
53rd Infantry Divisional Royal Army Service Corps, Shrewsbury
53rd Infantry Divisional Royal Army Ordnance Corps, Shrewsbury
53rd Infantry Divisional Royal Army Medical Corps, Shrewsbury
53rd Infantry Divisional Military Police Company, Corps of Military Police, Shrewsbury
158th (Royal Welch Fusiliers) Infantry Brigade
Headquarters, 158th Infantry Brigade & Signal Section, Royal Corps of Signals, Wrexham
4th (Denbigh) Battalion, The Royal Welch Fusiliers, Wrexham
6th (Carnarvon and Angesley) Battalion, The Royal Welch Fusiliers, Caernarfon
7th (Merioneth and Montgomery) Battalion, The Royal Welch Fusiliers, Newtown
159th (Welsh Border) Infantry Brigade
Headquarters, 159th Infantry Brigade & Signal Section, Royal Corps of Signals, Newport
4th Battalion, The King's Shropshire Light Infantry, Shrewsbury
3rd Battalion, The Monmouthshire Regiment, Abergavenny
1st Battalion, The Herefordshire Light Infantry, Hereford
160th (South Wales) Infantry Brigade
Headquarters, 160th Infantry Brigade & Signal Section, Royal Corps of Signals, Cardiff
4th (Llanelli) Battalion, The Welch Regiment, Llanelli
1/5th (Glamorgan) Battalion, The Welch Regiment, Pontypridd
2nd Battalion, The Monmouthshire Regiment, Pontypool
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Shrewsbury
81st (Welsh) Field Regiment, Royal Artillery, Port Talbot
83rd (Welsh) Field Regiment, Royal Artillery, Newport
133rd Field Regiment, Royal Artillery, Griffithstown
60th (Royal Welch Fusiliers) Anti-Tank Regiment, Royal Artillery, Flint
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Swansea
244th (Welsh) Field Company, Royal Engineers, Swansea
245th (Welsh) Field Company, Royal Engineers, Neath
282nd Field Company, Royal Engineers, Port Talbot
285th Field Park Company, Royal Engineers, Gorseinon
West Lancashire Area
West Lancashire encompassed: Lancashire, south and west of a line along the River Douglas and the Leeds-Liverpool Canal, South-East to Worsley, Cheshire, and Staffordshire.
Headquarters, West Lancashire Area, Preston under Brigadier William Havelock Ramsden
4th Battalion, The Cheshire Regiment, Chester (TA), machine-gun battalion
5th (Earl of Chester's) Battalion, The Cheshire Regiment (TA), Knutsford, machine-gun battalion
6th Battalion, The Cheshire Regiment (TA), Stockport, machine-gun battalion
7th Battalion, The Cheshire Regiment (TA), Macclesfield, machine-gun battalion
King's Liverpool Regiment Depot, Seaforth Barracks
Cheshire Regiment Depot, Chester Castle
South Staffordshire Regiment Depot, Whittington Barracks
The Prince of Wales's South Lancashire Volunteers Depot, Peninsula Barracks
The Prince of Wales's North Staffordshire Regiment Depot, Whittington Barracks
106th (Lancashire Hussars) Field Regiment, Royal Horse Artillery (TA), Liverpool
149th (Lancashire Hussars) Field Regiment, Royal Horse Artillery (TA), Hoylake
88th (2nd West Lancashire) Field Regiment, Royal Artillery (TA), Preston
137th (2nd West Lancashire) Field Regiment, Royal Artillery (TA), Blackpool
51st (Midland) Medium Regiment, Royal Artillery (TA), Stoke-on-Trent
59th (4th West Lancashire) Medium Regiment, Royal Artillery (TA), Liverpool
63rd (Midland) Medium Regiment, Royal Artillery (TA), Stoke-on-Trent
68th (4th West Lancashire) Medium Regiment, Royal Artillery (TA), Liverpool
135th Light Anti-Aircraft Battery, Royal Artillery (TA), Weaver Junction
12th Anti-Aircraft Depot, Royal Artillery, Saighton Camp
18th Searchlight Depot, Royal Artillery, Saighton Camp
Mobile Divisional Royal Engineer
Headquarters, Mobile Divisional Royal Engineers, Liverpool
2nd (Cheshire) Field Squadron, Royal Engineers, Birkenhead
3rd (Cheshire) Field Squadron, Royal Engineers, Wallasey
141st Field Park Troop, Royal Engineers, Liverpool
142nd Field Park Troop, Royal Engineers, Liverpool
213th (North Midland) Army Field Company, Royal Engineers (TA), Cannock
214th (North Midland) Army Field Company, Royal Engineers (TA), Tunstall
252nd (West Lancashire) Field Company, Royal Engineers (TA), Walsall
253rd (West Lancashire) Field Company, Royal Engineers (TA), St Helens
254th (West Lancashire) Field Park Company, Royal Engineers (TA), Liverpool
290th Field Company, Royal Engineers (TA), Rowley Regis
291st Field Company, Royal Engineers (TA), Walsall
292nd Field Company, Royal Engineers (TA), The Potteries
293rd Field Park Company, Royal Engineers (TA), Stafford
6th Cavalry Brigade (TA)
Headquarters, 6th Cavalry Brigade, Leicester
The Earl of Chester's Cheshire Yeomanry, Chester
The Queen's Own Royal Staffordshire Yeomanry Regiment, Stafford
Warwickshire, Warwick
23rd Army Tank Brigade (2/TA)
Headquarters, 23rd Army Tank Brigade, Liverpool
40th (The King's) Royal Tank Regiment, Liverpool
46th (Liverpool Welsh) Royal Tank Regiment, Liverpool
50th (2/6th Battalion Gloucestershire Regiment) Royal Tank Regiment, Bristol
West Lancashire Area Coastal Defences
Lancashire and Cheshire Heavy Regiment, Royal Artillery (TA), Liverpool
Lancashire Fortress Engineers, Royal Engineers (TA), Liverpool
55th (West Lancashire) Motor Division (TA)
55th (West Lancashire) Infantry Division, Liverpool
Headquarters, 55th Motor Division commanded by Major General Vivian Henry Bruce Majendie
55th (West Lancashire) Divisional Signals, Royal Corps of Signals, Liverpool
5th Battalion, The Loyal North Lancashire Regiment, Bolton, motorcycle reconnaissance
55th Infantry Divisional Royal Army Service Corps, Liverpool
55th Infantry Divisional Royal Army Ordnance Corps, Liverpool
55th Infantry Divisional Royal Army Medical Corps, Liverpool
55th Infantry Divisional Military Police Company, Corps of Military Police, Liverpool
164th Infantry Brigade, all units motor infantry
Headquarters, 164th Infantry Brigade & Signal Section, Royal Corps of Signals, Warrington
9th Battalion, The King's Liverpool Regiment, Liverpool
1/4th Battalion, The Prince of Wales's South Lancashire Volunteers, Warrington
2/4th Battalion, The Prince of Wales's South Lancashire Volunteers, Warrington
165th Infantry Brigade, all units motor infantry
Headquarters, 165th Infantry Brigade & Signal Section, Royal Corps of Signals, Liverpool
5th Battalion, The King's Liverpool Regiment, Liverpool
1st Battalion, The Liverpool Scottish, Liverpool
2nd Battalion, The Liverpool Scottish, Liverpool
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Liverpool
87th (1st West Lancashire) Field Regiment, Royal Artillery, Liverpool
136th Field Regiment, Royal Artillery, Liverpool
66th Anti-Tank Regiment, Royal Artillery, Crosby
Divisional Royal Engineers
Headquarters, Divisional Engineers, Aigburth
509th Field Company, Royal Engineers, Liverpool
510th Field Company, Royal Engineers, Liverpool
511th Field Park Company, Royal Engineers, Liverpool
59th (Staffordshire) Motor Division (2/TA)
59th (Staffordshire) Motor Division, Stafford
Headquarters, 59th Motor Division commanded by Major General John Blakiston-Houston
59th (Staffordshire) Divisional Signals, Royal Corps of Signals, Stafford
6th Battalion, The Loyal North Lancashire Regiment, Bolton, motorcycle reconnaissance
59th Infantry Divisional Royal Army Service Corps, Stafford
59th Infantry Divisional Royal Army Ordnance Corps, Stafford
59th Infantry Divisional Royal Army Medical Corps, Stafford
59th Infantry Divisional Military Police Company, Corps of Military Police, Stafford
176th Infantry Brigade
Headquarters, 176th Infantry Brigade & Signal Section, Royal Corps of Signals, Burton upon Trent
7th Battalion, The South Staffordshire Regiment, Brownhills
6th Battalion, The Prince of Wales's North Staffordshire Regiment, Burton upon Trent
7th Battalion, The Prince of Wales's North Staffordshire Regiment, Burton upon Trent
177th Infantry Brigade
Headquarters, 177th Infantry Brigade & Signal Section, Royal Corps of Signals, Stafford
5th Battalion, The South Staffordshire Regiment, Walsall
1/6th Battalion, The South Staffordshire Regiment, Wolverhampton
2/6th Battalion, The South Staffordshire Regiment, Bilston
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery
61st (North Midland) Field Regiment, Royal Artillery, Stoke-on-Trent
116th Field Regiment, Royal Artillery, Hanley
Divisional Royal Engineers (cadre, not formed yet)
East Lancashire Area
East Lancashire Area comprised the areas of: Cumberland, Westmoreland and that part of Lancashire not included in West Lancashire Area.
Headquarters, East Lancashire Area, Manchester under Brigadier General Cecil Francis Drew
The Duke of Lancaster's Own Yeomanry (TA), Manchester
1/9th Battalion, The Manchester Regiment (TA), Ashton-under-Lyne, machine-gun battalion
2/9th Battalion, The Manchester Regiment (TA), Audenshaw, machine-gun battalion
King’s Own Lancaster Regiment Depot, Bowerham Barracks
Lancashire Fusiliers Depot, Wellington Barracks
East Lancashire Regiment Depot, Burnley Barracks
Border Regiment Depot, Carlisle Castle
Loyal North Lancashire Regiment Depot, Fulwood Barracks
Manchester Regiment Depot, Ladysmith Barracks
52nd (East Lancashire) Light Anti-Aircraft Regiment, Royal Artillery (TA), Burnley
56th (East Lancashire) Light Anti-Aircraft Regiment, Royal Artillery (TA), Oswaldtwistle
134th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Great Orton
13th Anti-Aircraft Depot, Royal Artillery, Carlisle Castle Barracks
23rd Searchlight Depot, Royal Artillery Carlisle Castle Barracks
275th Field Company, Royal Engineers (TA), Manchester
24th Army Tank Brigade (2/TA)
Headquarters, 24th Army Tank Brigade, Leeds
41st (Oldham) Royal Tank Regiment, Oldham
45th (Leeds Rifles) Royal Tank Regiment, Leeds
47th (Oldham) Royal Tank Regiment, Oldham
42nd (East Lancashire) Infantry Division (TA)
42nd (East Lancashire) Infantry Division, Manchester
Headquarters, 42nd Infantry Division commanded by Major General William George Holmes
42nd (East Lancashire) Divisional Signals, Royal Corps of Signals, Manchester
42nd Infantry Divisional Royal Army Service Corps, Manchester
42nd Infantry Divisional Royal Army Ordnance Corps, Manchester
42nd Infantry Divisional Royal Army Medical Corps, Manchester
42nd Infantry Divisional Military Police Company, Corps of Military Police, Manchester
125th (Lancashire Fusiliers) Infantry Brigade
Headquarters, 125th Infantry Brigade & Signal Section, Royal Corps of Signals, Bury
1/5th Battalion, Lancashire Fusiliers, Bury
1/6th Battalion, Lancashire Fusiliers, Rochdale
1/8th Battalion, Lancashire Fusiliers, Salford
126th Infantry Brigade
Headquarters, 126th Infantry Brigade & Signal Section, Royal Corps of Signals, Carlisle
5th Battalion, The King's Own Royal Lancaster Regiment, Lancaster
4th (Westmoreland) Battalion, The Border Regiment, Kendal
5th (Cumberland) Battalion, The Border Regiment, Workington
127th (Manchester) Infantry Brigade
Headquarters, 127th Infantry Brigade & Signal Section, Royal Corps of Signals, Ashton-under-Lyne
4th Battalion, The East Lancashire Regiment, Blackburn
5th Battalion, The Manchester Regiment, Wigan
8th (Ardwick) Battalion, The Manchester Regiment, Ardwick
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Whalley Range
51st (Westmorland and Cumberland Yeomanry) Field Regiment, Royal Artillery, Carlisle
52nd (Manchester) Field Regiment, Royal Artillery, Manchester
53rd (Bolton) Field Regiment, Royal Artillery, Bolton
56th (King's Own) Anti-Tank Regiment, Royal Artillery, Manchester
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Manchester
200th (East Lancashire) Field Company, Royal Engineers, Manchester
201st (East Lancashire) Field Company, Royal Engineers, Manchester
202nd (East Lancashire) Field Company, Royal Engineers, Manchester
203rd (East Lancashire) Field Park Company, Royal Engineers, Smethwick
66th Infantry Division (2/TA)
66th Infantry Division, Manchester
Headquarters, 66th Infantry Division commanded by Major General Arthur William Purser
66th Divisional Signals, Royal Corps of Signals, Manchester
66th Infantry Divisional Royal Army Service Corps, Manchester
66th Infantry Divisional Royal Army Ordnance Corps, Manchester
66th Infantry Divisional Royal Army Medical Corps, Manchester
66th Infantry Divisional Military Police Company, Corps of Military Police, Manchester
197th Infantry Brigade
Headquarters, 197th Infantry Brigade & Signal Section, Royal Corps of Signals, Bury
2/5th Battalion, Lancashire Fusiliers, Bury
2/6th Battalion, Lancashire Fusiliers, Middleton
5th Battalion, The East Lancashire Regiment, Burnley
198th Infantry Brigade
Headquarters, 198th Infantry Brigade & Signal Section, Royal Corps of Signals, Carlisle
8th (Liverpool Irish) Battalion, The King's Liverpool Regiment, Liverpool
6th (East Cumberland) Battalion, The Border Regiment, Carlisle
7th (Cumberland) Battalion, The Border Regiment, Whitehaven
199th Infantry Brigade
Headquarters, 199th Infantry Brigade & Signal Section, Royal Corps of Signals, Ashton-under-Lyne
2/8th Battalion, Lancashire Fusiliers, Kersal
6th Battalion, The Manchester Regiment, Leigh
7th Battalion, The Manchester Regiment, Didsbury
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Whalley Range
109th Field Regiment, Royal Artillery, Workington
110th Field Regiment, Royal Artillery, Manchester
111th Field Regiment, Royal Artillery, Bolton
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Manchester
255th Field Company, Royal Engineers, Manchester
256th Field Company, Royal Engineers, Manchester
258th Field Park Company, Royal Engineers, Manchester
London District
London District comprises County of London, Warley Barracks (Foot Guards only), Rainham Rifle Range, Purfleet, Woolwich (for Territorial Army Troops), Caterham Barracks, Pirbright, and (for regular troops) Combermere Barracks and Victoria Barracks.
Headquarters, London District, Horse Guards commanded by Major-General Commanding the Brigade of Guards and General Officer Commanding London District Sir Andrew Thorne
London District Pay Detachment, Royal Army Pay Corps, Deptford
London District Pay Detachment, Royal Army Pay Corps, Regent's Park Barracks
Lines of Communications Signals, Royal Corps of Signals (SR)
Headquarters, Lines of Communications Signals, Clapham Park
1st (City of London) Lines of Communications Signals Section, Royal Corps of Signals (SR), Clapham
4th (City of London) Lines of Communications Signals Section, Royal Corps of Signals (SR), London
London District Signals, Royal Corps of Signals (TA), London
London Corps Signals, Royal Corps of Signals (TA), Putney Bridge
Mobile Divisional Signals (The Duke of Cambridge's Middlesex Hussars Yeomanry), Royal Corps of Signals (TA), Chelsea
2nd (London) Air Formation Signals, Royal Corps of Signals (SR), Putney Bridge
2nd (8th London) Construction Section, Royal Corps of Signals (SR), London
2nd (9th London) Construction Section, Royal Corps of Signals (SR), London
3rd (London) Construction Section, Royal Corps of Signals (SR), London
Life Guards, Hyde Park Barracks
Royal Horse Guards (The Blues), Combermere Barracks
1st Battalion, Scots Guards, Chelsea Barracks
1st Battalion, Irish Guards, Wellington Barracks
2nd Battalion, Irish Guards, Wellington Barracks
Guards Depot, Caterham Barracks
5th Infantry Training Group, Pirbright
11th (Honourable Artillery Company) Regiment, Royal Horse Artillery, Finsbury Barracks
12th (Honourable Artillery Company) Regiment, Royal Horse Artillery, Finsbury Barracks
91st (4th London) Field Regiment, Royal Artillery (TA), Lewisham
92nd (5th London) Field Regiment, Royal Artillery (TA), Kennington Lane
139th Field Regiment, Royal Artillery (TA), Lewisham
140th Field Regiment, Royal Artillery (TA), Clapham Common
53rd (London) Medium Regiment, Royal Artillery (TA), Barnsbury
64th Medium Regiment, Royal Artillery (TA), Barnsbury
52nd (6th London) Anti-Tank Regiment, Royal Artillery (TA) Brixton
62nd Anti-Tank Regiment, Royal Artillery (TA), Stockwell
K Battery, Royal Horse Artillery, St John's Wood (The Riding Troop, Royal Horse Artillery)
Railway Stores Group, Royal Engineers (SR)
Headquarters, Railway Stores Group, Lambeth
156th (Southern) Transit Stores Company, Royal Engineers (SR), Lambeth
216th (1st London) Field Company, Royal Engineers (TA), Bethnal Green
217th (1st London) Field Company, Royal Engineers (TA), Bethnal Green
218th (1st London) Field Company, Royal Engineers (TA), Bethnal Green
219th (1st London) Field Park Company, Royal Engineers (TA), Bethnal Green
221st (2nd London) Field Company, Royal Engineers (TA), Chelsea
222nd (2nd London) Field Company, Royal Engineers (TA), Chelsea
294th Field Company, Royal Engineers (TA), Barnet
295th Field Company, Royal Engineers (TA), Barnet
296th Field Company, Royal Engineers (TA), Barnet
297th Field Park Company, Royal Engineers (TA), Barnet
102nd (London) Army Troops Company, Royal Engineers (SR), Bethnal Green
151st (Great Western) Railway Construction Company, Royal Engineers (SR), Paddington station
152nd (Great Western) Railway Construction Company, Royal Engineers (SR), Paddington station
Officers Producing Group
Group Headquarters, RHQ Welsh Guards, Birdcage Walk
102nd (Westminster Dragoons) Officer Cadet Training Unit (TA), Westminster
The Inns of Court Regiment (TA), Lincoln's Inn
Artists Rifles (TA), Finsbury
1st Observation Post Section, 11th (Honourable Artillery Company) Regiment, Royal Horse Artillery (TA), Finsbury Barracks
2nd Observation Post Section, 11th (Honourable Artillery Company) Regiment, Royal Horse Artillery (TA), Finsbury Barracks
22nd Heavy Armoured Brigade (TA)
Headquarters, 22nd Heavy Armoured Brigade, St John's Wood
3rd County of London Yeomanry (Sharpshooters), St John's Wood
4th County of London Yeomanry (Sharpshooters), St John's Wood
2nd Royal Gloucestershire Hussars, Bristol
1st London Motor Division (TA)
1st London Motor Division, Finsbury Barracks
Headquarters, 1st London Motor Division commanded by Major General Claude Francis Liardet
1st (City of London) London Divisional Signals, Royal Corps of Signals, Clapham Park
1st Battalion, Queen Victoria's Rifles, Davies Street, motorcycle reconnaissance
1st London Infantry Brigade
Headquarters, 1st London Infantry Brigade & Signal Section, Royal Corps of Signals, RHQ Grenadier Guards, Birdcage Walk
8th (1st City of London) Battalion, The City of London Regiment (Royal Fusiliers), Bloomsbury
9th (1st City of London) Battalion, The City of London Regiment (Royal Fusiliers), Balham
1st Battalion, London Irish Rifles, Duke of York's Headquarters
2nd London Infantry Brigade
Headquarters, 2nd London Infantry Brigade & Signal Section, Royal Corps of Signals, Finsbury Barracks
1st Battalion, London Rifle Brigade, London
1st Battalion, London Scottish, Westminster
1st Battalion, The Queen's Westminsters, Queen's Hall
3rd London Infantry Brigade (attached for administrative purposes)
Headquarters, 3rd London Infantry Brigade & Signal Section, Royal Corps of Signals, Tottenham Court Road
1st London Rangers, Tottenham Court
2nd London Rangers, Montague Street
1st Tower Hamlet Rifles, Bow
2nd Tower Hamlet Rifles, Bow
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Finsbury Barracks
64th (7th London) Field Regiment, Royal Artillery, Fulham
90th (City of London) Field Regiment, Royal Artillery, Bloomsbury
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Duke of York's Headquarters
220th (2nd London) Field Company, Royal Engineers, Chelsea
223rd (2nd London) Field Park Company, Royal Engineers, Chelsea
2nd London Motor Division (2/TA)
2nd London Motor Division, London
Headquarters, 2nd London Motor Division commanded by Major General Harry Willans
2nd (City of London) London Divisional Signals, Royal Corps of Signals, Clapham Park
2nd Battalion, Queen Victoria's Rifles, Grosvenor, motorcycle reconnaissance
4th London Infantry Brigade
Headquarters, 4th London Infantry Brigade & Signal Section, Royal Corps of Signals, RHQ Grenadier Guards, Birdcage Walk
11th Battalion, The City of London Regiment (Royal Fusiliers), Fusilier Hall, SW1
12th Battalion, The City of London Regiment (Royal Fusiliers), Balham
2nd Battalion, London Irish Rifles, Duke of York's Headquarters
5th London Infantry Brigade
Headquarters, 5th London Infantry Brigade & Signal Section, Royal Corps of Signals, Finsbury Barracks
2nd Battalion, London Rifle Brigade, EC1
2nd Battalion, London Scottish, Grosvenor
2nd Battalion, Queen's Westminsters, Pinner
6th London Infantry Brigade (attached for administrative purposes)
Headquarters, 3rd London Infantry Brigade & Signal Section, Royal Corps of Signals, Tottenham Court Road
1st Battalion, Princess Louise's Kensington Regiment, Hammersmith, machine-gun
2nd Battalion, Princess Louise's Kensington Regiment, Hammersmith, machine-gun
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Finsbury Barracks
117th Field Regiment, Royal Artillery, Fulham
138th Field Regiment, Royal Artillery, Finsbury Barracks
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Duke of York's Headquarters
501st Field Company, Royal Engineers, Chelsea
502nd Field Company, Royal Engineers, New Barnet
503rd Field Company, Royal Engineers, New Barnet
504th Field Park Company, Royal Engineers, New Barnet
Southern Command
Southern Command comprised: Counties of Warwickshire, Northamptonshire, Huntingdonshire, Buckinghamshire, Berkshire (except Victoria Barracks and Combermere Barracks and that portion of the county included in the Aldershot Command), Oxfordshire, Hampshire (except that portion included in the Aldershot Command), Wiltshire, Dorset, Devonshire, Cornwall, Somerset, Gloucestershire (expect Beachley) and Worcestershire.
Headquarters, Southern Command, Bulford Barracks commanded by Lieutenant General Bertie Drew Fisher
Southern Command Pay Detachment, Royal Army Pay Corps, Wyvern Barracks
Southern Command Pay Detachment, Royal Army Pay Corps, Hilsea Barracks
Southern Command Pay Detachment, Royal Army Pay Corps, Bulford Barracks
Southern Command Pay Detachment, Royal Army Pay Corps, Budbrooke Barracks
Southern Command Pay Detachment, Royal Army Pay Corps, Peninsula Barracks
Southern Command Signals, Royal Corps of Signals, Bulford Barracks
2nd Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
5th Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
7th Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
9th Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
2nd Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
4th Artillery Signal Section, Royal Corps of Signals, Bulford Barracks
4th Air Formation Signals, Royal Corps of Signals (SR), Birmingham
1st Wireless Section, Royal Corps of Signals (SR), Coventry
2nd Wireless Section, Royal Corps of Signals (SR), Coventry
1st Survey Regiment, Royal Artillery, Royal Artillery Barracks, Larkhill
2nd Survey Regiment, Royal Artillery, Royal Artillery Barracks, Larkhill
9th Field Regiment, Royal Artillery, Bulford Barracks
3rd Medium Regiment, Royal Artillery, Royal Artillery Barracks, Larkhill
4th Anti-Aircraft Regiment, Royal Artillery, Bulford Barracks
2nd Searchlight Regiment, Royal Artillery, Clarence Barracks
58th Chemical Warfare Company, Royal Engineers, Porton Down
Detachment from The Survey Battalion, Royal Engineers, Horfield Barracks
2nd Section, Royal Army Ordnance Corps, Bulford Barracks
3rd Section, Royal Army Ordnance Corps, Bovington Camp
4th Section, Royal Army Ordnance Corps, Vauxhall Barracks
Corps Depot, Royal Army Ordnance Corps, Hilsea Barracks
4th Company, Royal Army Medical Corps, Netley Hospital
20th Company, Royal Army Ordnance Corps, Bulford Barracks
Southern Command Veterinary Depot, Royal Army Veterinary Corps, Bulford Barracks
1st Armoured Division
1st Armoured Division, Priory Lodge, Andore
Headquarters, 1st Armoured Division commanded by Major General Roger Evans
1st Armoured Divisional Signals, Royal Corps of Signals, Bulford Barracks
1st Armoured Divisional Royal Army Service Corps, Bulford Barracks
1st Armoured Divisional Royal Army Ordnance Corps, Bulford Barracks
1st Armoured Divisional Royal Army Medical Corps, Bulford Barracks
1st Armoured Divisional Military Police Company, Corps of Military Police
1st Light Armoured Brigade
Headquarters, 1st Light Armoured Brigade & Signal Section, Royal Corps of Signals, Tidworth Barracks
1st King's Dragoon Guards, Aldershot
3rd The King's Own Hussars, Tidworth Barracks
4th Queen's Own Hussars, Tidworth Barracks
2nd Light Armoured Brigade
Headquarters, 2nd Light Armoured Brigade & Signal Section, Royal Corps of Signals, Tidworth Barracks
The Queen's Bays (2nd Dragoon Guards), Tidworth Barracks
9th Queen's Royal Lancers, Tidworth Barracks
10th Royal Hussars (Prince of Wales' Own), Tidworth Barracks
1st Heavy Armoured Brigade
Headquarters, 1st Heavy Armoured Brigade & Signal Section, Royal Corps of Signals, Perham Down
2nd Royal Tank Regiment, Lille Barracks (Farnborough)
3rd Royal Tank Regiment, Battlesbury Barracks
5th Royal Tank Regiment, Perham Down
1st Support Group
Headquarters, 1st Support Group & Signal Section, Royal Corps of Signals, Tidworth Barracks
2nd Battalion, The King's Royal Rifle Corps, Tidworth Barracks (mechanised infantry)
1st Battalion, The Prince Consort's Own Rifle Brigade, Tidworth Barracks (mechanised infantry)
1st Field Regiment, Royal Horse Artillery, Bulford Barracks
2nd Field Regiment, Royal Horse Artillery, Bulford Barracks
1st Support Group Anti-Tank Company
Divisional Royal Engineers
1st Field Squadron, Royal Engineers, Aldershot
1st Field Park Troop, Royal Engineers, Tidworth Barracks
1st Armoured Divisional Field Post, Royal Engineers, Bulford Barracks
3rd Infantry Division
3rd Infantry Division, Bulford Barracks - Division contained regular and 1st Line TA units
Headquarters, 3rd Infantry Division commanded by Major General Bernard Law Montgomery
3rd Infantry Divisional Signals, Royal Corps of Signals, Bulford Barracks
15th/19th The King's Royal Hussars, Bulford Barracks (divisional reconnaissance)
3rd Infantry Divisional Royal Army Service Corps, Bulford Barracks
3rd Infantry Divisional Royal Army Ordnance Corps, Bulford Barracks
3rd Infantry Divisional Royal Army Medical Corps, Bulford Barracks
3rd Infantry Divisional Military Police Company, Corps of Military Police, Bulford Barracks
7th (Guards) Infantry Brigade
Headquarters, 7th Infantry Brigade & Signal Section, Royal Corps of Signals, Elizabeth Barracks
1st Battalion, Grenadier Guards, Elizabeth Barracks
2nd Battalion, Grenadier Guards, Elizabeth Barracks
1st Battalion, Coldstream Guards, Chelsea Barracks
7th Infantry Brigade Anti-Tank Company, Elizabeth Barracks
8th Infantry Brigade
Headquarters, 8th Infantry Brigade & Signal Section, Royal Corps of Signals, Crownhill Fort
1st Battalion, The Suffolk Regiment, Raglan Barracks
2nd Battalion, The Duke of York's Own East Yorkshire Regiment, Stonehouse Barracks
2nd Battalion, The Gloucestershire Regiment, Stonehouse Barracks
8th Infantry Brigade Anti-Tank Company, Stonehouse Barracks
9th Infantry Brigade
Headquarters, 9th Infantry Brigade & Signal Section, Royal Corps of Signals, Cambridge Barracks
2nd Battalion, The Lincolnshire Regiment, East Weare Camp
1st Battalion, The King's Own Scottish Borderers, Cambridge Barracks
2nd Battalion, The Royal Ulster Rifles, Albany Barracks
9th Infantry Brigade Anti-Tank Company, Cambridge Barracks
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Royal Artillery Barracks, Larkhill
7th Field Regiment, Royal Artillery, Catterick Camp
23rd Field Regiment, Royal Artillery, Wyvern Barracks
33rd Field Regiment, Royal Artillery, Royal Artillery Barracks, Larkhill
20th Anti-Tank Regiment, Royal Artillery, Catterick Camp
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Bulford Barracks
246th (Welsh) Field Company, Royal Engineers (TA), Cardiff
248th (East Anglia) Field Company, Royal Engineers (TA), Bedford
253rd (West Lancashire) Field Company, Royal Engineers (TA), St Helens
15th Field Park Company, Royal Engineers, Bulford Barracks
Salisbury Plain Area
Salisbury Plain Area comprising: The County of Wiltshire (within the following boundaries): The Great Western Railway from the bridge over the River Avon at Freshford to the aqueduct of the Kennet and Avon Canal (1.5 miles west of Bradford-on-Avon), thence the Kennet and Avon Canal to Devizes, The Depot The Wiltshire Regiment, Devizes (on the north bank of the canal), thence the Kennet and Avon Canal to the County boundary at Froxfield, thence the county boundary from Froxfield to the road Fordingbridge-Salisbury at Downton. Thence the road Fordingbridge-Salisbury from the county boundary at Downton to Salisbury; Salisbury; the road Salisbury-Wilton-Great Wishford-Codford-Hegtesbury, the road Warminster-Frome to the county boundary at Whitbourne; thence the county boundary near Whitbourne to the Great Western Railway Bridge over the River Avon near Freshford. That portion of Hampshire including Tidworth and Western District land adjacent.
Headquarters, Salisbury Plain Area, Bulford Barracks
Wiltshire Regiment Depot, Le Marchant Barracks
2nd Field Depot, Royal Artillery, Fargo Barracks
South Midland Area
South Midland Area comprising: Counties of Warwickshire, Northamptonshire, Huntingdonshire, Buckinghamshire, Berkshire (except Victoria Barracks and Combermere Barracks and portions in Aldershot Command), Oxfordshire, Gloucestershire (except Beachley), Worcestershire, and Wiltshire north of the Salisbury Plain Area.
Headquarters, South Midland Area, Cowley Barracks commanded by Colonel Hugh Tennant MacMullen
1st Battalion, Princess Victoria's Royal Irish Fusiliers, Cowley Barracks
4th Battalion, The Northamptonshire Regiment (TA), Northampton
Warwickshire Regiment Depot, Budbrooke Barracks
Gloucestershire Regiment Depot, Horfield Barracks
Worcestershire Regiment Depot, Norton Barracks
Oxfordshire and Buckinghamshire Light Infantry Depot, Bullingdon Barracks
Northamptonshire Regiment Depot, Northampton Barracks
Berkshire Regiment Depot, Brock Barracks
3rd Survey Regiment, Royal Artillery (TA), Bristol
5th Survey Regiment, Royal Artillery (TA), Bristol
22nd Light Anti-Aircraft Regiment, Royal Artillery (TA), RAF Cosford
89th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Bicester
128th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Brize Norton
131st Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Aston Down
214 Medium Battery, Royal Artillery (TA), Huddersfield
212th (North Midland) Army Field Company, Royal Engineers (TA), Smethwick
268th Field Company, Royal Engineers (TA), Olton
215th Field Park Company, Royal Engineers (TA), Smethwick
269th Field Park Company, Royal Engineers (TA), Olton
20th Light Armoured Brigade (TA)
Headquarters, 20th Light Armoured Brigade, Gloucester
1st Royal Gloucestershire Hussars, Gloucester
1st Northamptonshire Yeomanry, Northampton
2nd Northamptonshire Yeomanry, Northampton
48th (South Midland) Infantry Division (TA)
48th (South Midland) Infantry Division, Oxford
Headquarters, 48th Infantry Division commanded by Major General Frank Crowther Roberts
48th (South Midland) Divisional Signals, Royal Corps of Signals, Birmingham
48th Infantry Divisional Royal Army Service Corps, Oxford
48th Infantry Divisional Royal Army Ordnance Corps, Oxford
48th Infantry Divisional Royal Army Medical Corps, Oxford
48th Infantry Divisional Military Police Company, Corps of Military Police, Oxford
143rd (West Midlands) Infantry Brigade
Headquarters, 143rd Infantry Brigade & Signal Section, Royal Corps of Signals, Birmingham
1/7th Battalion, The Warwickshire Regiment, Coventry
8th Battalion, The Warwickshire Regiment, Birmingham
5th (Huntingdonshire) Battalion, The Northamptonshire Regiment, Peterborough
144th (Gloucester and Worcester) Infantry Brigade
Headquarters, 144th Infantry Brigade & Signal Section, Royal Corps of Signals, Worcester
5th Battalion, The Gloucestershire Regiment, Gloucester
7th Battalion, The Worcestershire Regiment, Kidderminster
8th Battalion, The Worcestershire Regiment, Worcester
145th (South Midland) Infantry Brigade
Headquarters, 145th Infantry Brigade & Signal Section, Royal Corps of Signals, Reading
4th Battalion, The Oxfordshire and Buckinghamshire Light Infantry, Oxford
1st Buckinghamshire Battalion, The Oxfordshire and Buckinghamshire Light Infantry, Oxford
4th Battalion, Princess Charlotte of Wales's Royal Berkshire Regiment, Reading
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Oxford
67th (South Midland) Field Regiment, Royal Artillery, Worcester
68th (South Midland) Field Regiment, Royal Artillery, Birmingham
99th (Buckinghamshire and Berkshire Yeomanry) Field Regiment, Royal Artillery, Aylesbury
53rd (Worcestershire Yeomanry) Field Regiment, Royal Artillery, Kidderminster
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Bristol
224th (South Midland) Field Company, Royal Engineers, Bristol
225th (South Midland) Field Company, Royal Engineers, Birmingham
226th (South Midland) Field Company, Royal Engineers, Reading
227th (South Midland) Field Park Company, Royal Engineers, Birmingham
61st Infantry Division (2/TA)
61st (2nd South Midland) Infantry Division, Oxford
Headquarters, 61st Infantry Division commanded by Major General Robert John Collins
61st (South Midland) Divisional Signals, Royal Corps of Signals, Oxford
61st Infantry Divisional Royal Army Service Corps, Oxford
61st Infantry Divisional Royal Army Ordnance Corps, Oxford
61st Infantry Divisional Royal Army Medical Corps, Oxford
61st Infantry Divisional Military Police Company, Corps of Military Police, Oxford
182nd (2nd West Midlands) Infantry Brigade
Headquarters, 182nd Infantry Brigade & Signal Section, Royal Corps of Signals, Birmingham
2/7th Battalion, The Warwickshire Regiment, Nuneaton
8th Battalion, The Warwickshire Regiment, Birmingham
9th Battalion, The Northamptonshire Regiment, Oldbury
183rd (2nd Gloucester and Worcester) Infantry Brigade
Headquarters, 144th Infantry Brigade & Signal Section, Royal Corps of Signals, Worcester
7th Battalion, The Gloucestershire Regiment, Stroud
10th Battalion, The Worcestershire Regiment, Evesham
184th (2nd South Midland) Infantry Brigade
Headquarters, 145th Infantry Brigade & Signal Section, Royal Corps of Signals, Reading
5th Battalion, The Oxfordshire and Buckinghamshire Light Infantry, Oxford
2nd Buckinghamshire Battalion, The Oxfordshire and Buckinghamshire Light Infantry, Slough
6th Battalion, Princess Charlotte of Wales's Royal Berkshire Regiment, Reading
South-Western Area
South-Western Area comprising: Counties of Somerset, Dorsetshire, Devonshire and Cornwall, those portions of Wiltshire not included in South Midland and Salisbury Plain Areas, and that part of Hampshire lying west of the Southern Railway between the county boundary of Downton and the county boundary at Fordingbridge station.
Headquarters, South-Western Area, Raglan Barracks commanded by Major General William Green
The Prince of Wales's Own Royal Wiltshire Hussars Yeomanry (TA), Trowbridge
North Somerset Yeomanry (TA), Bath
5th (Prince of Wales's) Battalion, The Devonshire Regiment (TA), Plymouth (machine-gun)
7th (Haytor) Battalion, The Devonshire Regiment (TA), Torquay (machine-gun)
Devonshire Regiment Depot, Wyvern Barracks
Somerset Light Infantry Depot, Jellalabad Barracks
Duke of Cornwall's Light Infantry Depot, Victoria Barracks
Dorsetshire Regiment Depot, The Keep, Dorchester
3rd Infantry Training Group, Newton Abbot
1st Heavy Regiment, Royal Artillery, Stonehouse Barracks
51st (Devon) Light Anti-Aircraft Regiment, Royal Artillery (TA), Exeter
55th (Devon) Light Anti-Aircraft Regiment, Royal Artillery (TA), Exeter
85th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Kemble
90th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Wroughton
91st Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Mount Batten
8th Anti-Aircraft Depot, Royal Artillery, HMS Heron
20th Searchlight Depot, Royal Artillery, HMS Heron
22nd Depot, Royal Artillery, Jellalabad Barracks
Portland Coast Defences
Headquarters, Portland Coast Defences, Weymouth
Portland Fire Command, Weymouth
Dorsetshire Heavy Regiment, Royal Artillery (TA), Weymouth
Dorsetshire Fortress Engineers, Royal Engineers (TA), Weymouth
Plymouth and Falmouth Defences
Headquarters, Portland and Falmouth Defences, Plymouth
Devonshire and Cornwall Fortress Engineers, Royal Engineers (TA), Plymouth
South-Western Ports Fixed Defences
Headquarters, Fixed Defences, Plymouth
Rame Fire Command, Plymouth
Drake's Fire Command, HMS Drake
Wembury Fire Command, Wembury Point Holiday Camp
Devonshire Heavy Regiment, Royal Artillery (TA), Plymouth
43rd (Wessex) Infantry Division (TA)
43rd (Wessex) Infantry Division, Salisbury
Headquarters, 43rd Infantry Division commanded by Major General Arthur Nugent Floyer-Acland
43rd (Wessex) Infantry Divisional Signal, Royal Corps of Signals, Exeter
43rd Infantry Divisional Royal Army Service Corps, Salisbury
43rd Infantry Divisional Royal Army Ordnance Corps, Salisbury
43rd Infantry Divisional Royal Army Medical Corps, Salisbury
43rd Infantry Divisional Military Police Company, Corps of Military Police, Salisbury
128th (Hampshire) Infantry Brigade
Headquarters, 128th Infantry Brigade & Signal Section, Royal Corps of Signals, Southampton
1/4th Battalion, The Hampshire Regiment, Winchester
2/4th Battalion, The Hampshire Regiment, Southampton
5th Battalion, The Hampshire Regiment, Southampton
129th (South Western) Infantry Brigade
Headquarters, 129th Infantry Brigade & Signal Section, Royal Corps of Signals, Bath
4th Battalion, Prince Albert's Somerset Light Infantry, Bath
4th Battalion, The Duke of Edinburgh's Wiltshire Regiment, Trowbridge
5th Battalion, The Duke of Edinburgh's Wiltshire Regiment, Trowbridge
130th (Hampshire and Dorset) Infantry Brigade
Headquarters, 130th Infantry Brigade & Signal Section, Royal Corps of Signals, Exeter
7th Battalion, The Hampshire Regiment, Bournemouth
4th Battalion, The Dorsetshire Regiment, Dorchester
5th Battalion, The Dorsetshire Regiment, Poole
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Salisbury
94th (Queen's Own Dorset Yeomanry) Field Regiment, Royal Artillery, Dorchester
112th Field Regiment, Royal Artillery, Swindon
141st Field Regiment, Royal Artillery, Sherborne
59th (Duke of Connaught's Hampshire) Anti-Tank Regiment, Royal Artillery, Portsmouth
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Bath
43rd Infantry Divisional Field Post, Royal Engineers, Bath
204th (Wessex) Field Company, Royal Engineers, Bath
260th Field Company, Royal Engineers, Chippenham
207th (Wessex) Field Park Company, Royal Engineers, Bath
45th Infantry Division (2/TA)
45th Infantry Division, Exeter
Headquarters, 45th Infantry Division commanded by Major General Frederick Vavasour Broome Witts
45th (West Country) Divisional Signals, Royal Corps of Signals, Exeter
45th Infantry Divisional Royal Army Service Corps, Exeter
45th Infantry Divisional Royal Army Ordnance Corps, Exeter
45th Infantry Divisional Royal Army Medical Corps, Exeter
45th Infantry Divisional Military Police Company, Corps of Military Police, Exeter
134th (Devonshire) Infantry Brigade
Headquarters, 134th Infantry Brigade & Signal Section, Royal Corps of Signals, Exeter
4th (1st Rifle Volunteers) Battalion, The Devonshire Regiment, Exeter
6th Battalion, The Devonshire Regiment, Barnstaple
8th Battalion, The Devonshire Regiment, Exmouth
135th (Somerset) Infantry Brigade
Headquarters, 135th Infantry Brigade & Signal Section, Royal Corps of Signals, Taunton
5th Battalion, Prince Albert's Somerset Light Infantry, Taunton
6th Battalion, Prince Albert's Somerset Light Infantry, Wells
7th Battalion, Prince Albert's Somerset Light Infantry, Bridgewater
136th (2nd Devon and Cornwall) Infantry Brigade
Headquarters, 135th Infantry Brigade & Signal Section, Royal Corps of Signals, Barnstaple
9th Battalion, The Devonshire Regiment, Barnstaple
4th Battalion, The Duke of Cornwall's Light Infantry, Truro
5th Battalion, The Duke of Cornwall's Light Infantry, St Austell
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery, Exeter
55th (Wessex) Field Regiment, Royal Artillery, Taunton
96th (Royal Devonshire Yeomanry) Field Regiment, Royal Artillery, Exeter
142nd Field Regiment, Royal Artillery, Dartmouth
69th Anti-Tank Regiment, Royal Artillery, Gosport
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers, Exeter
205th (Wessex) Field Company, Royal Engineers, Roborough
259th Field Company, Royal Engineers, Uffculme
261st Field Park Company, Royal Engineers, Uffculme
Southern Area
Southern Area comprising: Hampshire (excluding those portions of the county Included in Aldershot Command and Salisbury Plain and South-Western Areas.).
Headquarters, Southern Area commanded by Brigadier John Noel Lumley
Hampshire Regiment Depot, Peninsula Barracks
Rifle Brigade Depot, Peninsula Barracks
1st Medium Regiment, Royal Artillery, Cambridge Barracks
4th Medium Regiment, Royal Artillery, Fort Brockhurst
71st Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Fareham
84th Light Anti-Aircraft Battery, Royal Artillery (TA), RAF Boscombe Down
7th Anti-Aircraft Depot, Royal Artillery, Le Marchant Barracks
9th Anti-Aircraft Depot, Royal Artillery, Blandford Camp
19th Searchlight Depot, Royal Artillery, Le Marchant Barracks
21st Searchlight Depot, Royal Artillery, Blandford Camp
The Survey Battalion, Royal Engineers, McMullen Barracks
19th Field Survey Company, Royal Engineers, Fort Fareham
4th Fortress Company, Royal Engineers, McMullen Barracks
Experimental Bridging Establishment, Royal Engineers, Cavalry Barracks, Christchurch
Anti-Aircraft Command (TA)
Anti-Aircraft Command controlled all of the AA units (minus the regular 1st and 2nd AA brigades).
Headquarters, Anti-Aircraft Command, RAF Stanmore Park commanded by Lieutenant General Frederick Alfred Pile
1st Anti-Aircraft Division
1st AA Division covering London, Dover, and Slough.
Headquarters, 1st AA Division, RAF Uxbridge commanded by Major General Frederick Alfred Pile
1st Anti-Aircraft Divisional Signals, Royal Corps of Signals, RAF Northolt
1st Anti-Aircraft Divisional Workshop, Royal Army Ordnance Corps, RAF Chingford
26th (London) Anti-Aircraft Brigade
Headquarters, 26th AA Brigade, Brompton Road
53rd (City of London) Heavy Anti-Aircraft Regiment, Royal Artillery, War Office
86th (Honourable Artillery Company) Heavy Anti-Aircraft Regiment, Royal Artillery, Finsbury
88th Heavy Anti-Aircraft Regiment, Royal Artillery, White City
26th AA Brigade Company, Royal Army Service Corps, Brompton Road
38th (London) Light Anti-Aircraft Brigade
Headquarters, 38th LAA Bde, Duke of York's Headquarters
26th (London Electrical Engineers) Anti-Aircraft Battalion, Royal Engineers, Duke of York's Headquarters
27th (London Electrical Engineers) Anti-Aircraft Battalion, Royal Engineers, Mitcham Lane
75th (Middlesex) Searchlight Regiment, Royal Artillery, Cowley
38th AA Bde Company, Royal Army Service Corps, Wandsworth
48th (City of London) Anti-Aircraft Brigade
Headquarters, 48th AA Bde, Lewisham
54th (City of London) Heavy Anti-Aircraft Regiment, Royal Artillery, Putney
60th (City of London) Heavy Anti-Aircraft Regiment, Royal Artillery, Catford
97th (The London Scottish) Heavy Anti-Aircraft Regiment, Royal Artillery, Westminster
99th (London Welsh) Heavy Anti-Aircraft Regiment, Royal Artillery, London W8
48th AA Bde Company, Royal Army Service Corps, Lewisham
49th (London) Anti-Aircraft Brigade
Headquarters, 49th AA Bde, Lower Belgrave Street
51st (London) Heavy Anti-Aircraft Regiment, Royal Artillery, Duke of York's Headquarters
52nd (London) Heavy Anti-Aircraft Regiment, Royal Artillery, Acton
84th (Middlesex, London Transport) Heavy Anti-Aircraft Regiment, Royal Artillery, Willesden
48th AA Bde Company, Royal Army Service Corps, Lower Belgrave Street
2nd Anti-Aircraft Division
2nd AA Division covering Kingston upon Hull, The Humber, Leeds, Sheffield, and Nottingham. Aligned with No. 12 Group RAF.
Headquarters 2nd AA Division, RAF Hucknall
2nd AA Division Signals, Royal Corps of Signals, RAF Hucknall
2nd AA Division Workshop, Royal Army Ordnance Corps, RAF Hucknall
32nd (Midland) Anti-Aircraft Brigade
Headquarters, 32nd AA Bde, Derby
68th (North Midland) Heavy Anti-Aircraft Regiment, Royal Artillery, Derby
42nd (The Robin Hoods, Sherwood Foresters) Anti-Aircraft Battalion, Royal Engineers, Nottingham
44th (The Leicestershire Regiment) Anti-Aircraft Battalion, Royal Engineers, Leicester
50th (The Northamptonshire Regiment) Anti-Aircraft Battalion, Royal Engineers, Northampton
32nd AA Bde Company, Royal Army Service Corps, Derby
40th (South Midlands) Anti-Aircraft Brigade
Headquarters, 40th AA Bde, Duxford
60th (9th Battalion, The Duke of Cambridge's Own Middlesex Regiment) Searchlight Regiment, Royal Artillery, Willesden
69th (10th (3rd City of London) Battalion, The City of London Regiment (Royal Fusiliers)) Searchlight Regiment, Royal Artillery, Harrow Road
33rd (St Pancras) Anti-Aircraft Battalion, Royal Engineers, Albany Street
36th (Middlesex) Anti-Aircraft Battalion, Royal Engineers, Edgware
58th (Middlesex) Anti-Aircraft Battalion, Royal Engineers, Harrow
40th AA Bde Company, Royal Army Service Corps, Barking
41st (London) Anti-Aircraft Brigade
Headquarters, 41st AA Bde, Ebury Street
78th (1st East Anglian) Heavy Anti-Aircraft Regiment, Royal Artillery, Norwich
32nd (7th (City of London) Battalion, The City of London Regiment (Royal Fusiliers)) Anti-Aircraft Battalion, Royal Engineers, Finsbury Square
64th (1/6th Battalion, The Essex Regiment) Searchlight Regiment, Royal Artillery, The Cedars
65th (2/6th Battalion, The Essex Regiment) Searchlight Regiment, Royal Artillery, Southend-on-Sea
50th Light Anti-Aircraft Brigade
Headquarters, 50th LAA Bde, Nottingham
26th Light Anti-Aircraft Regiment, Royal Artillery, Derby (Mobile reserve)
3rd Anti-Aircraft Division
3rd AA Division covering the Firth of Forth, The Clyde, Scapa Flow, Tyne River, Tees River, and Belfast. Aligned with No. 13 Group RAF.
Headquarters, 3rd AA Division, RAF Edinburgh
3rd AA Division Signals, Royal Corps of Signals, RAF Edinburgh
3rd AA Division Workshop, Royal Army Ordnance Corps, RAF Edinburgh
3rd (Northern Ireland) Anti-Aircraft Brigade (Supplementary Reserve)
Headquarters, 3rd AA Brigade, Belfast
3rd (Ulster) Searchlight Regiment, Royal Artillery, Belfast
8th (Belfast) Heavy Anti-Aircraft Regiment, Royal Artillery, Belfast
9th (Londonderry) Heavy Anti-Aircraft Regiment, Royal Artillery, Derry
102nd Heavy Anti-Aircraft Regiment, Royal Artillery, Antrim
3rd AA Bde Company, Royal Army Service Corps, Belfast
36th Anti-Aircraft Brigade
Headquarters, 36th AA Bde, Edinburgh
71st (Forth) Heavy Anti-Aircraft Regiment, Royal Artillery, Dunfermline
94th Heavy Anti-Aircraft Regiment, Royal Artillery, Turnhouse
101st Heavy Anti-Aircraft Regiment, Royal Artillery, Inverness
36th AA Bde Company, Royal Army Service Corps, Edinburgh
42nd Anti-Aircraft Brigade
Headquarters, 42nd AA Bde, Glasgow
74th (City of Glasgow) Heavy Anti-Aircraft Regiment, Royal Artillery, Glasgow
83rd (Blythswood) Heavy Anti-Aircraft Regiment, Royal Artillery, Bridgeton
100th Heavy Anti-Aircraft Regiment, Royal Artillery, Inverness
42nd AA Bde Company, Royal Army Service Corps, Glasgow
51st Light Anti-Aircraft Brigade
Headquarters, 51st LAA Bde, Edinburgh
14th (West Lothian, Royal Scots) Light Anti-Aircraft Regiment, Royal Artillery, Edinburgh
18th Light Anti-Aircraft Regiment, Royal Artillery, Glasgow
19th Light Anti-Aircraft Regiment, Royal Artillery, Edinburgh
31st Light Anti-Aircraft Regiment, Royal Artillery, Perth
32nd Light Anti-Aircraft Regiment, Royal Artillery, Falkirk
52nd Light Anti-Aircraft Brigade
Headquarters, 52nd AA Bde, Stirling
51st (Highland) Anti-Aircraft Battalion, Royal Engineers, Dundee
52nd (4th/5th (Queen's Edinburgh) Battalion, The Royal Scots) Searchlight Regiment, Royal Artillery, Edinburgh
56th (5th Battalion, The Scottish Rifles (Cameronians)) Searchlight Regiment, Royal Artillery, Glasgow
57th (8th Battalion, The Scottish Rifles (Cameronians)) Searchlight Regiment, Royal Artillery, South Glasgow
4th Anti-Aircraft Division
4th AA Division covering Liverpool, Birmingham, Coventry, Manchester, Cardiff, and Newport. Aligned with No. 9 Group RAF.
Headquarters, 4th AA Division, RAF Hawarden
4th AA Division Signals, Royal Corps of Signals, RAF Hawarden
4th AA Division Workshop, Royal Army Ordnance Corps, RAF Hawarden
33rd (Western) Anti-Aircraft Brigade
Headquarters, 33rd AA Bde, Woolton
70th (3rd West Lancashire) Heavy Anti-Aircraft Regiment, Royal Artillery, Liverpool
81st Heavy Anti-Aircraft Regiment, Royal Artillery, Stockport
93rd Heavy Anti-Aircraft Regiment, Royal Artillery, Oxton
62nd (Loyals) Searchlight Regiment, Royal Artillery, Preston
38th (The King's Regiment) Anti-Aircraft Battalion, Royal Engineers, Liverpool
33rd AA Bde Company, Royal Army Service Corps, Woolton
34th (South Midland) Anti-Aircraft Brigade
Headquarters, 34th AA Bde, Coventry
69th (Royal Warwickshire Regiment) Heavy Anti-Aircraft Regiment, Royal Artillery, Edgbaston
73rd Heavy Anti-Aircraft Regiment, Royal Artillery, Wolverhampton
95th Heavy Anti-Aircraft Regiment, Royal Artillery, Birmingham
34th AA Bde Company, Royal Army Service Corps, Coventry
44th (East Lancashire) Anti-Aircraft Brigade
Headquarters, 44th AA Bde, Manchester
65th (The Manchester Regiment) Heavy Anti-Aircraft Regiment, Royal Artillery, Hulme
71st (East Lancashire) Searchlight Regiment, Royal Artillery, Manchester
39th (The Lancashire Fusiliers) Anti-Aircraft Battalion, Royal Engineers, Salford
44th AA Bde Company, Royal Army Service Corps, Manchester
53rd (West Lancashire) Light Anti-Aircraft Brigade
Headquarters, 53rd AA Bde, Chester
15th (Isle of Man) Light Anti-Aircraft Regiment, Royal Artillery, Douglas, Isle of Man (technically not a 'British' unit, see: Isle of Man for more)
21st Light Anti-Aircraft Regiment, Royal Artillery, Liverpool
33rd Light Anti-Aircraft Regiment, Royal Artillery, Liverpool
53rd AA Bde Company, Royal Army Service Corps, Chester
54th (North Midland) Anti-Aircraft Brigade
Headquarters, 54th AA Bde, South Birmingham
59th (Warwickshire) Searchlight Regiment, Royal Artillery, Birmingham
61st (South Lancashire Regiment) Searchlight Regiment, Royal Artillery, St Helen
41st (5th Battalion, The Prince of Wales's North Staffordshire Regiment) Anti-Aircraft Battalion, Royal Engineers, Stoke-on-Trent
45th (Royal Warwickshire Regiment) Anti-Aircraft Battalion, Royal Engineers, Birmingham
54th AA Bde Company, Royal Army Service Corps, South Birmingham
5th Anti-Aircraft Division
5th AA Division covering Bristol, Plymouth, Portsmouth, Isle of Portland, Southampton, and Cardiff. Aligned with No. 10 Group RAF.
Headquarters, 5th AA Division, RAF Henley-on-Thames
5th AA Divisional Signals, Royal Corps of Signals, RAF Henley-on-Thames
5th AA Divisional Workshop, Royal Army Ordnance Corps, RAF Henley-on-Thames
35th (Southern) Anti-Aircraft Brigade
Headquarters, 35th AA Bde, Fareham
56th (Cornwall) Heavy Anti-Aircraft Regiment, Royal Artillery, Falmouth
57th (Wessex) Heavy Anti-Aircraft Regiment, Royal Artillery, Portsmouth
72nd (Hampshire) Heavy Anti-Aircraft Regiment, Royal Artillery, Southampton
48th (Hampshire) Anti-Aircraft Battalion, Royal Engineers, Portsmouth
35th AA Bde Company, Royal Army Service Corps, Fareham
45th (Welsh) Anti-Aircraft Brigade
Headquarters, 45th AA Bde, Cardiff
77th (Welsh) Heavy Anti-Aircraft Regiment, Royal Artillery, Cardiff
67th (6th (Glamorgan) Battalion, The Welch Regiment) Searchlight Regiment, Royal Artillery, Cardiff
68th (1st (Rifle) Battalion, The Monmouthshire Regiment) Searchlight Regiment, Royal Artillery, Newport
45th AA Bde Company, Royal Army Service Corps, Cardiff
46th (Gloucestershire) Anti-Aircraft Brigade
Headquarters, 46th AA Bde, Bristol
76th (Gloucestershire) Heavy Anti-Aircraft Regiment, Royal Artillery, Clifton
98th Heavy Anti-Aircraft Regiment, Royal Artillery, Cheltenham
66th (4th (City of Bristol) Battalion, The Gloucestershire Regiment) Searchlight Regiment, Royal Artillery, Bristol
46th AA Bde Company, Royal Army Service Corps, Bristol
47th (South) Anti-Aircraft Brigade
Headquarters, 47th AA Bde, Grosvenor Gardens
80th (Berkshire) Heavy Anti-Aircraft Regiment, Royal Artillery, Reading
63rd (4th Battalion, The Queen's Royal West Surrey Regiment) Searchlight Regiment, Royal Artillery, Croydon
72nd (Middlesex) Searchlight Regiment, Royal Artillery, Twickenham
30th (Surrey) Anti-Aircraft Battalion, Royal Engineers, Kingston upon Thames
35th (First Surrey Rifles) Anti-Aircraft Battalion, Royal Engineers, Camberwell
47th AA Bde Company, Royal Army Service Corps, Grosvenor Gardens
6th Anti-Aircraft Division
6th AA Division covering Thames and Medway and Harwich. Aligned with No. 11 Group RAF.
Headquarters, 6th AA Division, RAF Uxbridge
6th AA Divisional Signals, Royal Corps of Signals, RAF Uxbridge
6th AA Divisional Workshop, Royal Army Ordnance Corps, RAF Uxbridge
27th (Home Counties) Anti-Aircraft Brigade
Headquarters, 27th AA Bde, Lingfield
70th (Sussex) Searchlight Regiment, Royal Artillery, Brighton
31st (City of London Rifles) Anti-Aircraft Battalion, Royal Engineers, Sutton
34th (Queen's Own Royal West Kent) Anti-Aircraft Battalion, Royal Engineers, Blackheath
27th AA Bde Company, Royal Army Service Corps, Lingfield
28th (Thames and Medway) Anti-Aircraft Brigade
Headquarters, 28th AA Bde, Kitchener Barracks, Kitchener Barracks
55th (Kent) Heavy Anti-Aircraft Regiment, Royal Artillery, Rochester
58th (Kent) Heavy Anti-Aircraft Regiment, Royal Artillery, Erith
75th (Home Counties) (Cinque Ports) Heavy Anti-Aircraft Regiment, Royal Artillery, Dover
89th (Cinque Ports) Heavy Anti-Aircraft Regiment, Royal Artillery, Sittingbourne
28th AA Bde Company, Royal Army Service Corps, Kitchener Barracks
29th (East Anglian) Anti-Aircraft Brigade
Headquarters, 29th AA Bde, South Kensington
28th (Essex) Anti-Aircraft Battalion, Royal Engineers, Brentwood
29th (Kent) Anti-Aircraft Battalion, Royal Engineers, Chatham
73rd (Kent Fortress) Anti-Aircraft Battalion, Royal Engineers, Bexleyheath
74th (Essex Fortress) Anti-Aircraft Battalion, Royal Engineers, Tottenham
29th AA Bde Company, Royal Army Service Corps, South Kensington
37th (Home Counties) Anti-Aircraft Brigade
Headquarters, 37th AA Bde, Hendon
59th (Essex Regiment) Heavy Anti-Aircraft Regiment, Royal Artillery, Walthamstow
61st (Middlesex) Heavy Anti-Aircraft Regiment, Royal Artillery, Pentonville
79th (Hertfordshire Yeomanry) Heavy Anti-Aircraft Regiment, Royal Artillery, Watford
82nd (Essex) Heavy Anti-Aircraft Regiment, Royal Artillery, Barking
90th Heavy Anti-Aircraft Regiment, Royal Artillery, Barking
37th AA Bde Company, Royal Army Service Corps, Hendon
56th (Home Counties) Light Anti-Aircraft Brigade
Headquarters, 56th LAA Bde, RAF Uxbridge
11th (City of London Yeomanry) Light Anti-Aircraft Regiment, Royal Artillery, London EC1
12th (Finsbury Rifles) Light Anti-Aircraft Regiment, Royal Artillery, Pentonville
16th Light Anti-Aircraft Regiment, Royal Artillery, Sittingbourne
17th Light Anti-Aircraft Regiment, Royal Artillery, Chelsea
7th Anti-Aircraft Division
7th AA Division covering River Tyne, River Tees, and Middlesbrough.
Headquarters, 7th AA Division, RAF Newcastle
7th AA Divisional Signals, Royal Corps of Signals, RAF Newcastle
7th AA Divisional Workshop, Royal Army Ordnance Corps, RAF Newcastle
30th (Northumbrian) Anti-Aircraft Brigade
Headquarters, 30th AA Bde, Sunderland
63rd (Northumbrian) Heavy Anti-Aircraft Regiment, Royal Artillery, Sunderland
64th (Northumbrian) Heavy Anti-Aircraft Regiment, Royal Artillery, North Shields
87th Heavy Anti-Aircraft Regiment, Royal Artillery, Hebburn
53rd (5th Battalion, The Royal Northumberland Fusiliers) Searchlight Regiment, Royal Artillery, Walker on Tyne
37th (Tyne Electrical Engineers) Anti-Aircraft Battalion, Royal Engineers, Tynemouth
30th AA Bde Company, Royal Army Service Corps, Sunderland
31st (North Midland) Anti-Aircraft Brigade
Headquarters, 31st AA Bde, York
66th (Leeds Rifles) (West Yorkshire Regiment) Heavy Anti-Aircraft Regiment, Royal Artillery, Leeds
96th Heavy Anti-Aircraft Regiment, Royal Artillery, Castleford
43rd (5th Duke of Wellington's Regiment) Anti-Aircraft Battalion, Royal Engineers, Huddersfield
49th (The West Yorkshire Regiment) Anti-Aircraft Battalion, Royal Engineers, Bradford
39th (Eastern) Anti-Aircraft Brigade
Headquarters, 39th AA Bde, RAF Digby
62nd (Northumbrian) Heavy Anti-Aircraft Regiment, Royal Artillery, Kingston upon Hull
67th (York and Lancaster Regiment) Heavy Anti-Aircraft Regiment, Royal Artillery, Rotherham
91st Heavy Anti-Aircraft Regiment, Royal Artillery, Goole
40th (The Sherwood Foresters) Anti-Aircraft Battalion, Royal Engineers, Chesterfield
46th (The Lincolnshire Regiment) Anti-Aircraft Battalion, Royal Engineers, Grimsby
39th AA Bde Company, Royal Army Service Corps, RAF Digby
43rd (Durham) Anti-Aircraft Brigade
Headquarters, 43rd AA Bde, West Hartlepool
85th (Tees) Heavy Anti-Aircraft Regiment, Royal Artillery, Middlesbrough
54th (1/5th Battalion, The Durham Light Infantry) Searchlight Regiment, Royal Artillery, Stockton-on-Tees
55th (2/5th Battalion, The Durham Light Infantry) Searchlight Regiment, Royal Artillery, West Hartlepool
47th (Durham Light Infantry) Anti-Aircraft Battalion, Royal Engineers, Sunderland
43rd AA Bde Company, Royal Army Service Corps, West Hartlepool
57th (Eastern) Light Anti-Aircraft Brigade
Headquarters, 57th LAA Bde, RAF Newcastle
13th Light Anti-Aircraft Regiment, Royal Artillery, Hillsborough
28th Light Anti-Aircraft Regiment, Royal Artillery, Nottingham
29th Light Anti-Aircraft Regiment, Royal Artillery, Grimsby
30th Light Anti-Aircraft Regiment, Royal Artillery, Ipswich
Middle East Command
Middle East Command controlled all the forces based in: Sudan, Aden, Somaliland, Palestine, Transjordan, and Egypt.
Headquarters, Middle East Command, Cairo commanded by Lieutenant General Sir Archibald Percival Wavell
Somaliland Camel Corps, Laferung
British Troops in Aden
Headquarters, British Troops Aden, Khormaksar commanded by Air vice-marshal Sir George Ranald MacFarlane Reid
Aden Signal Section, Royal Corps of Signals, Aden
2nd Battalion, 5th Mahratta Light Infantry, Khormaksar
Aden Protectorate Levies, Khormaksar
5th Heavy Regiment, Royal Artillery, Aden
20th Fortress Company, Royal Engineers, Aden
Eastern Aden Protectorate
Kathiri Armed Constabulary
Mukalla Regular Army
Western Aden Protectorate
Government Guards
Tribal Guards
Lahij Trained Forces
British Troops in Egypt
Headquarters, Cairo commanded by Lieutenant General Henry Maitland Wilson
Egypt Command Signals, Royal Corps of Signals, Cairo
Delta Area Signal Section, Alexandria
1st Signal Company
3rd Signal Company
1st Light Tank Signal Section
6th Tank Signal Section
3rd Battalion, Coldstream Guards, Alexandria
1st Battalion, The Hampshire Regiment, El Daba
4th Field Regiment, Royal Horse Artillery
7th Medium Regiment, Royal Artillery
19th Heavy Battery, Royal Artillery, Port Said
42nd Field Company, Royal Engineers
3rd Company, Royal Army Service Corps
23rd Company, Royal Army Service Corps
28th Company, Royal Army Service Corps
29th Company, Royal Army Service Corps
37th Company, Royal Army Service Corps
63rd Company, Royal Army Service Corps
64th Company, Royal Army Service Corps
'D' Supply Personnel Company, Royal Army Service Corps, Cairo
12th Company, Royal Army Ordnance Corps
33rd Company, Royal Army Medical Corps
18th Infantry Brigade and HQ Cairo Area
Headquarters, 18th Inf Bde, Cairo
1st Battalion, The Bedfordshire and Hertfordshire Regiment, Cairo
1st Battalion, The Royal Northumberland Fusiliers, Cairo
Canal Brigade
Headquarters, Canal Bde, Moascar
1st Battalion, The Royal Sussex Regiment, Moascar
1st Battalion, The Essex Regiment, Moascar
11th Indian Infantry Brigade
Headquarters, 11th Indian Bde, RAF Fayid
2nd Battalion, The Cameron Highlanders, RAF Fayid
1st Battalion, 6th Rajputana Rifles, RAF Fayid
4th Battalion, 7th Rajput Regiment, RAF Fayid
4th Field Regiment, Royal Artillery, Mena Camp
18th Field Company, Bombay Sappers and Miners, Indian Engineers
Armoured Division (Egypt)
Armoured Division (Egypt), Gerwala
Headquarters, Egypt Armoured Division commanded by Major General Percy Cleghorn Stanley Hobart
Egypt Divisional Signals, Royal Corps of Signals
11th Hussars (Prince Albert's Own) (armoured reconnaissance)
1st Battalion, The King's Royal Rifle Corps (mechanised infantry)
C Battery, 4th Field Regiment, Royal Artillery
H Anti-Tank Battery, 3rd Field Regiment, Royal Horse Artillery
Egypt Divisional Company, Royal Army Service Corps
Egypt Divisional Field Ambulance, Royal Army Medical Corps
Egypt Light Armoured Brigade
Headquarters, Light Armoured Bde, Gerwala
7th Queen's Own Hussars
8th King's Royal Irish Hussars
Egypt Heavy Armoured Brigade
Headquarters, Heavy Armoured Bde, Gerwala
1st Royal Tank Regiment (light armoured)
6th Royal Tank Regiment
7th Infantry Division (Forming)
7th Infantry Division, Egypt (forming)
Headquarters, 7th Infantry Division commanded by Major General Richard Nugent O'Connor
Cairo Brigade
Headquarters, Cairo Bde, Mersa Matruh
2nd Battalion, Scots Guards, Mersa Matruh
1st Battalion, The Royal East Kent Regiment (Buffs), Mersa Matruh
Divisional Royal Artillery
Headquarters, Divisional Royal Artillery
31st Field Regiment, Royal Artillery, Mersa Matruh
P Anti-Tank Battery, 3rd Field Regiment, Royal Horse Artillery
Divisional Royal Engineers
Headquarters, Divisional Royal Engineers
2nd Field Company, Royal Engineers
54th Field Company, Royal Engineers
56th Field Company, Royal Engineers
British Troops in Palestine and Transjordan
Headquarters, British Troops in Palestine and Transjordan, Jerusalem commanded by Lieutenant General Michael Barker
Transjordan Frontier Force, Zarga
The Arab Legion, Amman
17th Heavy Battery, Royal Artillery, Haifa
45th Fortress Company, Royal Engineers, Palestine
23rd Company, Royal Army Medical Corps
Jerusalem Area
Headquarters, Jerusalem Area, Jerusalem
Palestine Command Signals, Royal Corps of Signals
2nd Wireless Signal Company, Royal Corps of Signals, Sarafand al-Amar
2nd Battalion, The Royal Highland Regiment (The Black Watch)
2nd Battalion, The City of Glasgow Regiment (Highland Light Infantry)
2nd Battalion, The King's Own Royal Lancaster Regiment, Hebron
Lydda Area
Headquarters, Lydd Area, Lydda
The Royal Scots Greys (2nd Dragoons), Rehovot
2nd Battalion, The Duke of Wellington's West Riding Regiment, Sarafand al-Amar
56th Field Company, Royal Engineers
Detachment, 8th Railway Construction Company, Royal Engineers
8th Infantry Division
8th Infantry Division, Jerusalem
Headquarters, 8th Infantry Division commanded by Major General Alfred Reade Godwin-Austen
1st Royal Dragoons, Gedera (divisional reconnaissance)
12th Field Company, Royal Engineers
Troop, A/E Battery, 1st Regiment Royal Horse Artillery
Troop, B/O Battery, 1st Regiment Royal Horse Artillery
14th Infantry Brigade
Headquarters, 14th Infantry Brigade & Signal Section, Royal Corps of Signals, Nablus
2nd Battalion, The Prince Consort's Own Rifle Brigade, Nablus Fort
1st Battalion, Princess Louises's Argyll and Sutherland Highlanders, Jenin
2nd Battalion, The Queen's Royal West Surrey Regiment, Tulkarm
16th Infantry Brigade
Headquarters, 16th Infantry Brigade & Signal Section, Royal Corps of Signals, North Palestine
1st Battalion, The South Staffordshire Regiment, Nazareth-Tiberias
1st Battalion, The Welch Regiment, Safed
2nd Battalion, The Leicestershire Regiment, Acre
1st Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters), Haifa
British Troops in The Sudan
Headquarters, The Sudan, Khartoum commanded by Major General William Platt
1st Battalion, The Worcestershire Regiment, Wadi Halfa
2nd Battalion, The York and Lancaster Regiment, Khartoum South
1st Battalion, The Cheshire Regiment, Khartoum North (Machine-gun)
Sudan Heavy Detachment, Royal Artillery, Port Sudan
Sudan Defence Force
Headquarters, Sudan Defence Force, Khartoum
Shendi Horse (Northern Area), Shendi
Equatoria Corps (Southern Area), Torit
Sudan Camel Corps (Central Area), El-Obeid
Eastern Arab Corps (Eastern Area), El-Gadarif
Western Arab Corps (Western Area), Al-Fashir
The Army of India
The British Indian Army, or as it was known in the British Army as the 'Army of India' was the collective name for all the units and commands of the army based in India (excluding Burma and Ceylon). (ISF) for Imperial Service Force.
General Headquarters, Army of India Commanded by General Sir Robert Archibald Cassels
Indian Army Staff College
Indian Army Senior Officers' School
Indian School of Artillery
Indian Military Academy
Indian Army School of Education
Indian School of Weapon Training and Mechanisation
Indian School of Chemical Warfare
Indian Army School of Physical Training
Indian Army Signal School
Kitchener College
Royal Indian Army Service School
Indian Mechanical Transport Advisory Committee
Auxiliary Forces, India
The Auxiliary Force (India) (AFI) was a part-time, paid volunteer organisation within the Indian Army in British India. Its units were entirely made up of European and Anglo-Indian personnel.
Cavalry
Bihar Light Horse, Muzaffarpur
Calcutta Light Horse, Calcutta
Surma Valley Light Horse, Silchar
Northern Bengal Mounted Rifles, Darjeeling
Southern Provinces Mounted Rifles, Madras
The Chota Nagpur Regiment, Ranchi
Assam Valley Light Horse, Dibrugarh
Infantry
Nagpur Rifles, Nagpur
Simla Rifles, Simla
The Calcutta and Presidency Battalion, Calcutta
The Nilgiri Malabar Battalion, Ootacamund
Hyderabad Rifles, Secunderabad
The Eastern Bengal Company, Dacca
East Coast Battalion, Vizayapatam
Kolar Gold Fields Battalion, Oorgaum
The Calcutta Scottish, Caluctta
The Coorg and Mysore Company, Mercara
The Yercaud Company, Yercaud
The Bhusawal Company, Bhusawal
Contingents
Agra Contingent, Agra
17th (Agra) Field Battery, Indian Artillery
5th (Agra) Machine-Gun Company
Allahabad Contingent, Allahabad
Detachment, The Southern Regiment (United Provinces Horse)
Allahabad Rifles
Bangalore Contingent, Bangalore
Bangalore Armoured Car Company
The Bangalore Battalion
Bareilly Corps, Bareilly
The Bareilly Contingent, Nainital
18th (Bareilly) Field Battery, Indian Artillery
Bombay Contingent, Bombay
Bombay Light Patrol
Bombay Battalion
10th (Bombay) Battery, Indian Artillery
3rd (Bombay) Fortress Company, Bombay Engineers
Cawnpore Contingent, Cawnpore
Detachment, The Southern Regiment (United Provinces Horse)
20th (Sawnpore) Field Battery, Indian Artillery
Cawnpore Rifles
Dehra Dun Contingent, Dehradun
3 Platoon, 1 W/T Section and 4 Mortar Platoons
Delhi Contingent, Delhi
HQ, 1 Troop, 1 Company of Infantry, and 3 Mortar Platoons
Karachi Corps, Karachi
Sind Rifles
2nd (Karachi) Machine-Gun Company
3 DLS Sections and 1 W/T Section
2 Mortar Platoons
4th (Karachi) Fortress Company, Indian Engineers
Lucknow Contingent, Lucknow
Detachment, The Southern Regiment (United Provinces Horse)
Lucknow Rifles
13th (Lucknow) Field Battery, Indian Artillery
Madras Contingent, Madras
1st (Madras) Signal Company, Indian Signals
Madras Guards
3rd (Madras) Field Battery, Indian Artillery
Poona Contingent, Poona
Poona Rifles
13th (Kirkee) Field Battery, Indian Artillery Kirkee
Punjab Contingent, Lahore
Punjab Light Horse
Punjab Rifles
Artillery
Bengal Artillery, Indian Artillery, Barrackpore
1st (Calcutta Port Defence) Brigade, Indian Artillery, Calcutta
5th (Cossipore) Field Battery, Indian Artillery, Cossipore
Engineers
1st (Calcutta) Fortress Company, Indian Engineers, Calcutta
Railway Troops
East Indian Railway Regiment
1st Battalion, Liluah
2nd Battalion, Lucknow
Eastern Bengal Railway Battalion, Sealdah
Great Indian Peninsula Railway Regiment
1st Battalion, Parel
2nd Battalion, Jhansi
Bombay, Baroda, and Central India Railway Regiment
1st Battalion, Lower Parel
2nd Battalion, Ajmer
Bengal and North Western Railway Battalion, Gorakhpur
North Western Railway Battalion, Lahore
South Indian Railway Battalion, Trichinopoly
Madras and Southern Mahratta Railway Rifles
1st Battalion, Perambur
2nd Battalion, Hubli
Bengal Nagpur Railway Battalion, Kharagpur
Assam Bengal Railway Battalion, Chittagong
Western District (Independent)
Western District encompassed the states of: Baluchistan, Sind, Khairpur State, and Rajputana.
Western District Headquarters, Quetta commanded by Major General Thomas Jacomb Hutton
Western District Signals, Indian Army Corps of Signals, Quetta
20th Mountain Regiment, Indian Artillery, Quetta
42nd Divisional Engineering Headquarters, Bombay Sappers and Miners, Quetta
Quetta Area
Headquarters, Quetta Area, Quetta
1st Battalion, The Lancashire Fusiliers, Quetta
1st Battalion, 10th Gurkha Rifles, Quetta
2nd Battalion, 10th Gurkha Rifles, Quetta
Khojak Brigade
Headquarters, Khojak Brigade, Quetta
Royal Deccan Horse (9th Horse), Quetta
2nd Battalion, 9th Jat Regiment, Chaman
3rd Battalion, 18th Royal Garhwal Rifles, Chaman
Zhob Brigade
Headquarters, Zhob Brigade, Loralai
Zhob Signal Section, Indian Army Corps of Signals, Loralai
2nd Royal Lancers (Gardner's Horse), Loralai
5th Battalion, 5th Mahratta Light Infantry, Hindubagh
4th Battalion, 10th Baluch Regiment, Hindubagh
1st Battalion, 2nd Gurkha Rifles, Fort Sandeman
2nd Battalion, 4th Gurkha Rifles, Loralai
Zhob Militia, Fort Sandeman
25th Mountain Regiment, Indian Artillery, Fort Sandeman
Sind Area
Headquarters, Sind Area, Karachi
B Corps Signals, Indian Army Corps of Signals, Karachi
D.L.S. Signals Company, Indian Army Corps of Signals, Karachi
Bikaner Dungar Lancers, Bikaner (ISF)
Bikaner Camel Corps, Bikaner (ISF)
1st Battalion, The Royal Scots Fusiliers, Karachi
3rd Battalion, 7th Rajput Regiment, Hyderabad
10th Battalion, 10th Baluch Regiment, Karachi
3rd Battalion, 16th Punjab Regiment, Karachi
Bikaner Sadul Light Infantry (ISF)
Bikaner Machine-Gun Battalion, Bikaner (ISF)
Mekran Levy Corps, Panjgur (ISF)
11th University Training Corps, Karachi
Bikaner Camel Escort, Bikaner (ISF)
13th Heavy Battery, Royal Artillery, Karachi
Northern Command
Northern Command comprised the areas of: The North-West Frontier Province; Waziristan District; Kashmir State; the Punjab (less districts of Rohtak and Gurgaon); the Punjab States including the Punjab Hill States [less Khairpur, Tehri (Garhwal), Pataudi, Dujana, and the Bawal District of the Nabha State.]
Headquarters, Northern Command, Rawalpindi commanded by General Sir John Francis Stanhope Duke Coleridge
Kohat District
Kohat District, Kohat
Kohat District Headquarters commanded by Major General Henry Lawrence Haughton
Kohat District Signals, Indian Army Corps of Signals, Kohat
8th King George's Own Light Cavalry, Kohat
21st Mountain Regiment, Indian Artillery, Kohat
22nd Field Company, Bengal Sappers and Miners, Kohat
Kohat Base Supply Depot, Kohat
Thal Brigade
Headquarters, Thal Brigade
Detachment, Kohat District Signals, Indian Army Corps of Signals
1st Battalion, 5th Mahratta Light Infantry
1st Battalion, 13th Frontier Force Rifles
2nd Battalion, 15th Punjab Regiment
Kohat Brigade
Headquarters, Kohat Brigade
Troop from 14th Prince of Wales's Own Scinde Horse
2nd Battalion, 6th Rajputana Rifles
5th Battalion, 8th Punjab Regiment
4th Battalion, 13th Frontier Force Rifles
5th Battalion, 13th Frontier Force Rifles, Latembur
Lahore District
Lahore District, Lahore
Headquarters, Lahore District commanded by Major General Macan Saunders
Bahawalpar Lancers (ISF), Dera Nawab Sahib
Jind Bodyguard (ISF), Sangrur
1st Patiala Lancers (ISF), Patiala
2nd Patiala Lancers (ISF), Patiala
Sukhet (Lakshman) Cavalry (ISF), Sundar Nagar
1st Bahawalpur Battalion (ISF), Dera Nawab Sahib
2nd Bahawalpur Light Battalion (ISF), Dera Nawab Sahib
Chamba Bodyguard (ISF), Chamba
Chamba Battalion (ISF), Chamba
Faridkot Bodyguard (ISF), Faridkot
1st Jund Battalion (ISF), Sangrur
2nd Jind Battalion (ISF), Sangrur
Kapurthala Bodyguard (ISF), Kapurthala
1st Kapurthala Battalion (ISF), Kapurthala
2nd Kapurthala Battalion (ISF), Kapurthala
Maler Kotla Bodyguard (ISF), Maler Kotla
Nabha Akal Battalion (ISF), Nabha
1st Patiala Battalion (ISF), Nabha
2nd Patiala Battalion (ISF), Nabha
3rd Patiala Battalion (ISF), Nabha
4th Patiala Battalion (ISF), Nabha
Sirmoor Bodyguard (ISF), Nahan
Sukhet (Lakshman) Battalion (ISF), Sundar Nagar
Faridkot Sappers and Miners (ISF), Faridkot
Maler Kotla Sappers and Miners (ISF), Maler Kotla
Mandi Sappers and Miners (ISF), Mandi
Sirmoor Sappers and Miners (ISF), Nahan
Faridkot Sappers and Miners Depot and Reserves (ISF), Faridkot
Ambala Area
Headquarters, Ambala
2nd Battalion, The East Lancashire Regiment, Kasauli
3rd Battalion, 14th Punjab Regiment, Ambala
10th Battalion, 15th Punjab Regiment
11th (Territorial) Battalion, 15th Punjab Regiment
Mountain Artillery Training Centre
Indian Survey Section, Kakul
Ferozepore Area
Headquarters, Ferozepore
12th Cavalry Training Regiment
2nd Battalion, The Duke of Wellington's West Riding Regiment
2nd Battalion, Alexandra, Princess of Wales's Own North Yorkshire Regiment
2nd Battalion, 1st Punjab Regiment
5th Battalion, 10th Baluch Regiment
10th Battalion, 14th Punjab Regiment
U Field Battery, Royal Artillery
23/24th Medium Battery, Royal Artillery
Jullundur Area
Headquarters, Jalandhar
2nd Lancers (Gardner's Horse) (armoured reconnaissance)
1st Battalion, The East Yorkshire Regiment
10th Battalion, 17th Dogra Regiment
1st Battalion, 1st Gorkha Rifles (The Malaun Regiment), Dharamshala
11th (Territorial) Battalion, 17th Dogra Regiment
R Field Battery, Royal Artillery
Lahore Area
Headquarters, Lahore
19th King George's Own Lancers
1st Battalion, The Duke of Cornwall's Light Infantry
10th Battalion, 8th Punjab Regiment
3rd Battalion, 17th Dogra Regiment
4th University Infantry Corps (ITF), Lahore
15th Field Regiment, Royal Artillery
Sealkot Area
Headquarters, Sialkot
3rd Carabiniers (Prince of Wales's Dragoon Guards), Khanaspur
13th Duke of Connaught's Lancers (armoured reconnaissance)
10th Battalion, 12th Frontier Force Regiment
10th Battalion, 16th Punjab Regiment
Peshawar District
Peshawar District, Peshawar
Headquarters, Peshawar District commanded by Major General Chauncey Batho Dashwood Strettell
Gilgit Scouts, Gilgit
1st Light Tank Company, Royal Tank Regiment
7th Light Tank Company, Royal Tank Regiment
Chitrai Force, Chitral Fort
1st Battalion, 9th Jat Regiment
Chitral Mountain Artillery Section, Indian Artillery
Section, 22nd Field Company, Bombay Sappers and Miners
1st (Risalpur) Cavalry Brigade
Headquarters and Signal Company, Royal Corps of Signals
16th/5th The Queen's Royal Lancers
5th King Edward's Own Probyn's Horse
10th Queen Victoria's Own Corps of Guides Cavalry
5th Battalion, 12th Frontier Force Regiment
Landi Kotal Brigade
Headquarters, Landi Kotal
Detachment, Pesawar District Signals, Indian Army Corps of Signals
1st Battalion, The South Wales Borderers, Landi Kotal
1st Battalion, 1st Punjab Regiment
3rd Battalion, 9th Jat Regiment, Bar Fortress
4th Battalion, 11th Sikh Regiment
4th Battalion, 15th Punjab Regiment, Shagi
2nd Battalion, 5th Gorkha Rifles (Frontier Force)
Kurram Militia
Nowshera Brigade
Headquarters, Nowshera
4th Battalion, 5th Mahratta Light Infantry
2nd Battalion, 11th Sikh Regiment
10th Battalion, 11th Sikh Regiment
1st Battalion, 6th Gurkha Rifles, Malakand
Detachment, 5th Battalion, 12th Frontier Force Regiment
11th (Territorial) Battalion, 12th Frontier Force Regiment
1st Field Regiment, Royal Artillery
2nd Field Company, Bengal Sappers and Miners
Peshawar Brigade
Headquarters, Peshawar
Peshawar District Signals, Indian Army Corps of Signals
16th Light Cavalry
1st Battalion, The King's Liverpool Regiment
3rd Battalion, 6th Rajputana Rifles
4th Battalion, 8th Punjab Regiment
4th Battalion, 14th Punjab Regiment
2nd Battalion, 19th Hyderabad Regiment
8th Anti-Aircraft Battery, Royal Artillery
19th Medium Battery, Royal Artillery
24th Mountain Regiment, Indian Artillery
18th (Sohan) Mountain Battery, Indian Artillery
Rawalpindi District
Rawalpindi District, Rawalpindi
Headquarters, Rawalpindi District commanded by Major General Alan Fleming Hartley
11th (Territorial) Battalion, 13th Frontier Force Rifles
73rd Field Battery, Royal Artillery, Campbellpore
7x Fort Guards provided by Jammu and Kashmir Rifles (ISF)
1st (Abbottabad) Infantry Brigade
Headquarters, Abbottabad
1st Battalion, 5th Gorkha Rifles (Frontier Force)
2nd Battalion, 6th Gurkha Rifles
10th Battalion, 13th Frontier Force Rifles
23rd Mountain Regiment, Indian Artillery
2nd (Rawalpindi) Infantry Brigade
Headquarters, Rawalpindi
A Corps Signals, Indian Army Corps of Signals
1st Indian Divisional Signals, Indian Army Corps of Signals
Headquarters Squadron, 14th Prince of Wales's Own Scinde Horse
1st Battalion, The Devonshire Regiment
1st Battalion, The Royal Ulster Rifles
2nd Battalion, The Worcestershire Regiment
2nd Battalion, 4th Bombay Grenadiers
2nd Battalion, 8th Punjab Regiment
4th Battalion, 12th Frontier Force Regiment
5th Field Regiment, Royal Artillery
5th Field Company, Bengal Sappers and Miners
41st Divisional Headquarters Company, Bengal Sappers and Miners
3rd (Jhelum) Infantry Brigade
Headquarters, Jhelum
10th Battalion, 1st Punjab Regiment
1st Battalion, 10th Baluch Regiment
1st Battalion, 16th Punjab Regiment
1st Battalion, 17th Dogra Regiment
11th (Territorial) Battalion, 1st Punjab Regiment
Jammu Brigade (ISF)
Headquarters, Jammu Cantonment
5th Squadron, Jammu and Kashmir Bodyguard
1st Battalion, Jammu and Kashmir Rifles
2nd Battalion, Jammu and Kashmir Rifles
6th Battalion, Jammu and Kashmir Rifles
7th Battalion, Jammu and Kashmir Rifles
Jammu and Kashmir Infantry Training Battalion
1st Mountain Battery, Jammu and Kashmir Artillery
2nd Mountain Battery, Jammu and Kashmir Artillery
Jammu and Kashmir Service Company
Jammu and Kashmir Training School
Kashmir Brigade (ISF)
Headquarters, Srinagar
Jammu and Kashmir Bodyguard (-5th Sqn)
3rd Battalion, Jammu and Kashmir Rifles
4th Battalion, Jammu and Kashmir Rifles
5th Battalion, Jammu and Kashmir Light Infantry
Waziristan District
Waziristan District, Dera Ismail Khan
Headquarters, Waziristan District command by Major General Edward Pellew Quinan
Waziristan District Signals, Indian Army Corps of Signals
Detachment, 2nd Battalion, 11th Sikh Regiment, Mari Indus
Bannu Brigade
Headquarters, Bannu Brigade, Bannu
Bannu Brigade Signals, Indian Army Corps of Signals
1st Duke of York's Own Cavalry (Skinner's Horse)
C Squadron, 14th Prince of Wales's Own Scinde Horse
5th Battalion, 1st Punjab Regiment
1st Battalion, 12th Frontier Force Regiment
2nd Battalion, 12th Frontier Force Regiment, Mir Ali
1st Battalion, 14th Punjab Regiment
1st Battalion, 4th Gorkha Rifles, Damdil
Tochi Scouts, Miramshah
Base Engineer Park
Razmak Brigade
Headquarters, Razmak Brigade, Razmak
Razmak Brigade Signals, Indian Army Corps of Signals
B Squadron, 14th Prince of Wales's Own Scinde Horse (armoured reconnaissance)
11th Light Tank Company, Royal Tank Regiment
1st Battalion, The Leicestershire Regiment
2nd Battalion, 7th Rajput Regiment
3rd Battalion, 10th Baluch Regiment
5th Battalion, 11th Sikh Regiment
2nd Battalion, 1st Gorkha Rifles (The Malaun Regiment)
1st Battalion, 8th Gorkha Rifles
25th Mountain Regiment, Royal Artillery
10th Field Company, Madras Sappers and Miners
Wanna Brigade
Headquarters, Wana Brigade, Wanna
Detachment, Waziristan District Signals, Indian Army Corps of Signals
A Squadron, 14th Prince of Wales's Own Scinde Horse, Manzai
2nd Battalion, 2nd Punjab Regiment
3rd Battalion, 8th Punjab Regiment
1st Battalion, 18th Royal Garhwal Rifles
2nd Battalion, 3rd Gorkha Rifles
2nd Battalion, 8th Gorkha Rifles
South Waziristan Scouts
3rd Field Company, Bengal Sappers and Miners
9th Field Company, Madras Sappers and Miners
19th Field Company, Bombay Sappers and Miners
Eastern Command
Eastern Command comprising: Delhi Province; Rohtak and Gurgaon districts, the United Provinces; Rajputana (less States of Jaisalmer, Jodhpur, Udaipur, Sirohi, Danta, Palanpur, Banswara, Partabgarh, Dungarpur, Shahpura, Kushalgarh, Nimbahera (Tonk); the combined Bundelkhand and Bagelkhand Agency of Central India; Piklon (Bhopal); Gwalior State (less detached Districts in Southern Command); Bihar and Orissa Province; Eastern States Agency (less States of Basar, Changbakhar, Chhuikhadan, Jashpur, Kanker, Kawardha, Khairagarh, Korea, Nandgaon, Raigarh, Sakti, Sarangarh, Surguja (Udaipur and Makrai); Bengal, Bengal States; Assam and Manipur States. Of the Punjab states; Pataudi, Dujana, Tehri (Garhwal) and the Bawal District of the Nabha State.
Headquarters, Eastern Command, Nainital commanded by General Sir Harry Beauchamp Douglas Baird
Lucknow District
Lucknow District, Lucknow
Headquarters, Lucknow District commanded by Major General Francis Lothian Nicholson
1st Benares Battalion (ISF), Ramnagar
2nd Benares Cavalry Squadron (ISF), Ramnagar
6th (Lucknow) Infantry Brigade
Headquarters, 6th Inf Bde, Lucknow
20th Lancers (Training Regiment)
2nd Battalion, The Royal Welch Fusiliers
2nd Battalion, Princess Charlotte of Wales's Royal Berkshire Regiment
3rd Battalion, 2nd Punjab Regiment
1st Battalion, 8th Punjab Regiment
2nd Battalion, 10th Baluch Regiment, Fyzabad
1st Battalion, 3rd Gorkha Rifles
8th Field Regiment, Royal Artillery
Allahabad Area
Headquarters, Allahabad Area, Allahabad
Squadron from 3rd Cavalry
1st Battalion, The Queen's Royal West Surrey Regiment
2nd Battalion, The South Staffordshire Regiment, Kanpur
10th Battalion, 7th Rajput Regiment
11th (Territorial) Battalion, 7th Rajput Regiment, Fatehgarh
3rd Battalion, 11th Sikh Regiment, Fatehgarh
4th (United Provinces) Urban Battalion (ITF)
3rd (United Provinces) University Training Corps (ITF)
X Field Battery, Royal Artillery, Kanpur
Delhi Area (Independent)
Headquarters, Delhi Area, Delhi Cantonment
6th Duke of Connaught's Own Lancers (Watson's Horse)
Alwar Mangal Lancers (ISF), Alwar
Kachhawa Horse (ISF), Jaipur
1st Battalion, The Royal Norfolk Regiment
2nd Battalion, The Welch Regiment, Agra
11th (Territorial) Battalion, 6th Rajputana Rifles, Agra
2nd Battalion, 16th Punjab Regiment
10th Battalion, 19th Hyderabad Regiment, Agra
Alwar Jey Paltan Battalion (ISF), Alwar
Alwar Pratap Paltan Battalion (ISF), Alwar
Dholpur Narsingh Battalion (ISF), Dholpur
Sawai Man Guards Battalion (ISF), Jaipur
1st Battalion, Jaipur Infantry (ISF), Jaipur
2nd Battalion, Jaipur Infantry (ISF), Jaipur
1st Umed Battalion, Kotah
9th (Delhi) Battalion, University Training Corps (ITF)
6th Medium Regiment, Royal Artillery
Royal Artillery Indian Training Centre, Muttra
Indian Artillery Training Battery, Royal Artillery, Muttra
Meerut District
Meerut District, Dehradun
Headquarters, Meerut District commanded by Major General Claude John Eyre Auchinleck
Rampur Lancers (Territorial), Rampur
Governor General's Bodyguard, Dehradun
Datia 1st Govind Battalion (Territorial), Datia (B Company training unit)
Panna Chhatrasal (Territorial), Panna
1st Rampur Battalion (Territorial), Rampur
2nd Rampur Battalion (Territorial), Rampur
Rewa Battalion (Territorial), Rewa
Tehri Infantry Battalion & Band (Territorial), Tehri
31st Field Engineer Platoon, King George V's Own Bengal Sappers and Miners, Roorkee
35th Field Engineer Platoon, King George V's Own Bengal Sappers and Miners, Roorkee
4th Field Company, King George V's Own Bengal Sappers and Miners, Roorkee
51st Printing Platoon, King George V's Own Bengal Sappers and Miners, Roorkee
6th Army Troops Company, King George V's Own Bengal Sappers and Miners, Roorkee
8th Army Troops Company, King George V's Own Bengal Sappers and Miners, Roorkee
43rd Divisional Headquarters Company Company, King George V's Own Bengal Sappers and Miners, Roorkee
Training Battalion, King George V's Own Bengal Sappers and Miners, Roorkee
Tehri-Garhwal Sappers and Miners (Territorial), Tehri
Narendra Pioneers (Territorial), Tehri
3rd (Meerut) Cavalry Brigade
Headquarters, 3rd Cav Bde, Meerut
3rd Indian Divisional Signals, Indian Army Corps of Signals
3rd Cavalry Brigade Signals, Indian Army Corps of Signals
18th King Edward VIII's Own Cavalry
21st King George V's Own Central India Horse (armoured reconnaissance)
1st Battalion, The Royal Warwickshire Regiment
10th Battalion, 2nd Punjab Regiment
11th (Territorial) Battalion, 9th Jat Regiment
11th Field Regiment, Royal Artillery
Gwalior Cavalry Brigade (ISF)
Headquarters, Gwailor Cav Bde
1st Gwalior Lancers, Guna
2nd Gwalior Lancers, Thatipur
3rd Gwalior Lancers, Morar
B Battery, Gwalior Horse Artillery, Morar
7th (Dehra Dun) Infantry Brigade
Headquarters, 7th Inf Bde, Dehradun
2nd Battalion, 2nd Gurkha Rifles
1st Battalion, 9th Gorkha Rifles
2nd Battalion, 9th Gorkha Rifles
8th (Bareilly) Infantry Brigade
Headquarters, 8th Inf Bde, Bareilly
2nd Battalion, The Oxfordshire and Buckinghamshire Light Infantry
10th Battalion, 9th Jat Regiment
2nd Battalion, 18th Royal Garhwal Rifles
10th Battalion, 18th Royal Garhwal Rifles, Lansdowne
11th (Territorial) Battalion, 18th Royal Garhwal Rifles, Lansdowne
84th Field Battery, Royal Artillery
9th (Jhansi) Infantry Brigade
Headquarters, 9th Inf Bde, Jhansi
15th Lancers (Training regiment)
1st Battalion, The City of London Regiment (Royal Fusiliers)
3rd Battalion, 1st Punjab Regiment
4th Battalion, 6th Rajputana Rifles
3rd Battalion, 15th Punjab Regiment
11th (Territorial) Battalion, 14th Punjab Regiment
25th Field Regiment, Royal Artillery
Gwalior Infantry Brigade (ISF)
Headquarters, Gwalior Inf Bde, Gwalior
1st Gwalior Infantry Battalion, Lashkar Kampoo
2nd Gwalior Infantry Battalion, Lashkar Kampoo
3rd Gwalior Infantry Battalion, Morar
4th Gwalior Infantry Battalion, Morar
7th Gwalior (Training) Infantry Battalion, Morar
Gwalior Mountain Artillery Battery, Morar
Presidency & Assam District
Presidency & Assam District, Jalapahar
Headquarters, Presidency and Assam District commanded by Major General Cecil Albert Heydeman
Governor General's Bodyguard (Bengal), Calcutta
2nd Battalion, The Border Regiment, Calcutta
1st Battalion, The Scottish Rifles (Cameronians), Barrackpore
1st Battalion, The Northamptonshire Regiment, Danapur
1st Battalion, 4th Bombay Grenadiers, Midnapore
1st Battalion, 15th Punjab Regiment, Alipore
11th (Territorial) Battalion, 19th Hyderabad Regiment, Dinapore
1st Battalion, 7th Gurkha Rifles, Digboi
2nd Battalion, 7th Gurkha Rifles, Shillong
5th (Bengal Presidency) Urban Infantry Battalion (Territorial), Calcutta
2nd (Calcutta) University Training Corps Battalion (Territorial), Calcutta
7th (Patna) University Training Corps Company (Territorial), Patna
Tripur (Bir Bikram) Manikya Rifles (ISF), Agartala
Eastern Bengal Area
Headquarters, Eastern Bengal Area, Shillong
1st Battalion, Assam Rifles, Aijal
2nd Battalion, Assam Rifles, Sadiya
3rd Battalion, Assam Rifles, Kohima
4th Battalion, Assam Rifles, Imphal
1st Battalion, 11th Sikh Regiment, Chittagong
2nd Battalion, 14th Punjab Regiment, Dacca
12th (Dacca) University Training Corps Company (Territorial), Dacca
Southern Command
Southern Command comprised the areas of the Western India States Agency – Central India States Agency (less combined Bundelkhand and Baghelkhand Agency) – Ajmer-Merwara – Jodhpur – Udaipur, Sirohi, Danta, Palanpur, Banswara, Partabgarh, Shahpurg, Kushalgarh, Nimbahera (Tonk) and Dungarpur States of Rajputana – Ujjain, Amjhera, Shajapur, and Mandasar districts of Gwalior State – Bombay Presidency – Gujarat States Agency including Baroda State – Deccan State Agency, including Kolhapur State – Central Provinces – Bastar Changbakhar, Chhuikadan Jashpur, Kanker, Karwardho, Khairagarh, Korea, Nandgaon, Raigarh, Sakti, Sarangarh, Surguja, Udaipur and Makrai States of the Eastern States Agency – Hyderababd State, Madras Presidency – Mysore State and Madras States Agency.
Southern Command Headquarters, Poona commanded by General Sir John Edward Spencer Brind
Bombay District
Bombay District, Bombay
Headquarters, Bombay District commanded by Major General Guy de Courcy Glover
Bombay Governor's Bodyguard
Baria Subhag Risala (ISF), Devgadh Baria
2nd Baroda Lancers (ISF), Baroda
Bhavnagar Lancers (ISF), Bhavnagar
Dhar Light Horse (ISF), Dharavi
Jodhpur Lancers (ISF), Jodhpur
Janagarh Lancers (ISF), Junagarh
Mewar Lancers (ISF), Udaipur
Nawanagar Lancers (ISF), Jamnagar
Porbandar Bodyguard (ISF), Porbandar
Rajpipla Bodyguard (ISF), Rajpipla
2nd Battalion, The Prince of Wales's South Lancashire Volunteers
11th (Territorial) Battalion, 4th Bombay Grenadiers, Ajmer
3rd Battalion, 5th Mahratta Light Infantry
3rd Battalion, 12th Frontier Force Regiment, Baroda
1st Battalion, 19th Hyderabad Regiment, Ahmedabad
2nd (Bombay Presidency) Urban Infantry Battalion (Territorial)
1st (Bombay) University Training Corps (Territorial)
Alirajpur Pratap Battalion (ISF), Alirajpur
Baria Ranjit Battalion (ISF), Devgadh Baria
1st Baroda Battalion (ISF), Baroda
2nd Baroda Battalion (ISF), Baroda
Bhavnagar Battalion (ISF), Bhavnagar
Bhopal Sultania Battalion (ISF), Bhopal
Dhar Battalion (ISF), Dhar
Dhrangadhar Bodyguard (ISF), Dhrangadhra
Idar Battalion (ISF), Himatnagar
1st Battalion, The Indor Regiment (ISF), Indore
Jodhpur Sardar Battalion (ISF), Jodhpur
Janagarh Battalion (ISF), Junagarh
Kutch Bodyguard (ISF), Bhuj
Kutch Battalion (ISF), Bhuj
Mewar Bhupal Battalion (ISF), Udaipur
Mewar Sajjan Battalion (ISF), Udaipur
Nawanagar Battalion (ISF), Jamnagar
Palanpur Iqbal Battalion (ISF), Palanpur
Porbandar Battalion (ISF), Porbandar
Rajpipla Battalion (ISF), Rajpipla
Ratlam Lokendra Rifles (ISF), Ratlam
Bhopal Goshar-i-Taj Own Infantry Training Company (ISF), Bhopal
Mewar Chupal Infantry Training Company (ISF), Udaipur
Indor Holkar's Mounted Escort (ISF), Indore
Mhow Area
Headquarters, Mhow Area, Mhow
1st Battalion, The Lincolnshire Regiment, Nasirabad
2nd Battalion, The Suffolk Regiment
1st Battalion, The Prince of Wales's Own West Yorkshire Regiment, Nasirabad
6th Field Regiment, Royal Artillery (cadre only)
28th Field Regiment, Royal Artillery
Deccan District
Deccan District, Bolarum
Headquarters, Deccan District commanded by Major General P. Gerald Scarlett
4th Indian Divisional Signals, Indian Army Corps of Signals
1st Hyderabad Lancers (ISF), Asif Nagar
2nd Hyderabad Lancers (ISF), Golconda Fort
3rd Hyderabad Lancers (ISF), Golconda Fort
Hyderabad Cavalry Depot Squadron (ISF), Asafnagar
5th Battalion, 6th Rajputana Rifles, Secunderabad
6th Battalion, 13th Frontier Force Rifles, Secunderabad
1st Hyderabad Battalion (ISF), Goshamahal
2nd Hyderabad Battalion (ISF), Chandrayan Gutta
3rd Hyderabad Battalion (ISF), Saifabad
Sajian Singh Battalion (ISF), Mudhol
10th (Nagpur) University Training Corps (Territorial), Nagpur
Hyderabad Infantry Training Company (ISF), Nampally
A Battery, Hyderabad Horse Artillery (ISF), Mullahalli
Poona Area (Independent)
Headquarters, Poona Area, Poona (GHQ unit)
17th Queen Victoria's Own Cavalry (Poona Horse)
Royal Tank Regiment Depot (India), Kirkee
1st Battalion, Prince Albert's Somerset Light Infantry
1st Battalion, The Prince of Wales's North Staffordshire Regiment
10th Battalion, 5th Mahratta Light Infantry, Belgaum
11th (Territorial) Battalion, 5th Mahratta Light Infantry, Belgaum
4th Battalion, 16th Punjab Regiment
Training Battalion, King George V's Bombay Sappers and Miners, Kirkee
17th Field Company, King George V's Bombay Sappers and Miners, Kirkee
20th Field Company, King George V's Bombay Sappers and Miners, Kirkee
21st Field Company, King George V's Bombay Sappers and Miners, Kirkee
55th Printing Section, King George V's Bombay Sappers and Miners, Kirkee
4th (Secunderabad) Cavalry Brigade
Headquarters, 4th Cav Bde, Bolarum
4th Cavalry Brigade Signal Squadron, Indian Army Corps of Signals
Squadron from 14th/20th King's Hussars, Secunderabad
7th Light Cavalry
11th Prince Albert Victor's Own Cavalry (Frontier Force)
3rd Field Regiment, Royal Artillery, Trimulgherry
10th (Jubbulpore) Infantry Brigade
Headquarters, 10th Inf Bde, Jubbulpore
Signal Training Centre, Royal Corps of Signals (India), Jubbulpore
3rd Cavalry
2nd Battalion, The King's Own Scottish Borderers
1st Battalion, 2nd Punjab Regiment
1st Battalion, 7th Rajput Regiment, Kamptee
Madras District
Madras District, Bangalore
Headquarters, Madras District commanded by Major General Edward Felix Norton
Mysore Lancers Training Squadron, Bangalore
2nd Mysore Training Squadron, Bangalore
1st Battalion, The King's Own Royal Lancaster Regiment, Madras
1st Battalion, The Duke of Edinburgh's Wiltshire Regiment
1st Battalion, The Royal Inniskilling Fusiliers, Wellington
5th Battalion, 7th Rajput Regiment, Cannanore
2nd Battalion, 13th Frontier Force Rifles, St Thomas Mount
Madras Governor's Bodyguard, Madras
3rd Urban Infantry Battalion (Territorial), Madras
5th Battalion, University Training Corps (Territorial), Madras
14th Coorg (Territorial) Battalion, 3rd Madras Regiment, Mercara
12th Malabar (Territorial) Battalion, 3rd Madras Regiment, Cannanore
Malabar Special Police, Cannanore
1st Battalion, Mysore Regiment (ISF), Bangalore
3rd Battalion, Mysore Regiment (ISF), Mysore
Mahraja's Bodyguard, Trivandrum
1st Battalion, Travancore Nair Army, Trivandrum
2nd Battalion, Travancore Nair Army, Trivandrum
3rd Battalion, Travancore Nair Army, Trivandrum
A Field Regiment, Indian Artillery
32nd Field Platoon, Queen Victoria's Own Madras Sappers and Miners, Bangalore
35th Field Troop, Queen Victoria's Own Madras Sappers and Miners, Bangalore
12th Field Company, Queen Victoria's Own Madras Sappers and Miners, Bangalore
14th Field Company, Queen Victoria's Own Madras Sappers and Miners, Bangalore
11th Army Troops Company, Queen Victoria's Own Madras Sappers and Miners, Bangalore
16th Army Troops Company, Queen Victoria's Own Madras Sappers and Miners, Bangalore
44th Divisional Headquarters Company, Queen Victoria's Own Madras Sappers and Miners, Bangalore
A Depot, Queen Victoria's Own Madras Sappers and Miners, Bangalore
Training Battalion, Queen Victoria's Own Madras Sappers and Miners, Bangalore
Army in Burma
BAF - Burma Auxiliary Forces or BFF - Burma Frontier Force
Headquarters, Army in Burma, Rangoon commanded by Major General Donald Kenneth McLeod
Rangoon Brigade
Headquarters, Rangoon Bde, Rangoon
1st Battalion, The Gloucestershire Regiment, Mingaladon
1st Battalion, Burma Rifles, Mingaladon
12th (Territorial) Battalion, Burma Rifles, Mingaladon
Rangoon Battalion (BAF)
Tenasserim Battalion (BAF), Moulmein
Rangoon University Training Corps (Territorial)
Rangoon Field Brigade, Royal Artillery (BAF), Dry Tree Point
Burma Railways Engineer Battalion (BAF)
1st Rangoon Military Police Battalion
2nd Rangoon Military Police Battalion
Mandalay Brigade
Headquarters, Mandalay Bde, Maymyo
2nd Battalion, The King's Own South Yorkshire Light Infantry
2nd Battalion, Burma Rifles
3rd Battalion, Burma Rifles
4th Battalion, Burma Rifles, Mandalay
11th (Territorial) Battalion, Burma Rifles, Mandalay
Upper Burma Battalion (BAF)
Southern Shan States Battalion (BFF), Tvanggyi
Northern Shan States Battalion (BFF), Lashio
Bhamo Battalion (BFF), Bhamo
Chin Hills Battalion (BFF), Falam
Myitkyina Battalion (BFF), Myitkyina
Reserve Battalion (BFF), Pyawbwe
2nd Mountain Battery, Indian Artillery
1st Field Company, Burma Sappers and Miners
13th Field Company, Madras Sappers and Miners
Mandalay Burma Military Police Battalion, Mandalay
Atlantic Region
The Atlantic region covered: Falkland Islands, Newfoundland (still under control of the British at this point, not part of Canada yet), Saint Helena, and Bermuda.
Falklands
Falkland Islands Defence Force, Port Stanley
Newfoundland
Newfoundland Militia, Saint John's
Saint Helena
Saint Helena Rifles
Bermuda
Company detached from the 2nd Battalion, The King's Shropshire Light Infantry
Bermuda Volunteer Rifle Corps
Bermuda Volunteer Engineers (attached)
Bermuda Militia
Bermuda Militia Artillery
Bermuda Detachment, Royal Engineers
Caribbean
The Caribbean region covered: Barbados, Jamaica, Trinidad and Tobago, Grenada, Saint Lucia, and Saint Vincent.
Barbados
Barbados Volunteer Force
Jamaica
Jamaica Signal Section, Royal Corps of Signals
2nd Battalion, The King's Shropshire Light Infantry (less company in Bermuda)
2nd Heavy Battery, Royal Artillery, defending Kingston and Port Royal (cadre)
Jamaica Militia Artillery, defending Kingston and Port Royal
44th Fortress Company, Royal Engineers
Jamaica Engineer Corps
Leeward Islands
Antigua Defence Force, Antigua
Dominica Defence Force, Dominica
Montserrat Defence Force, Montserrat
Saint Kitts and Nevis Defence Force, Basseterre
Trinidad
Trinidad Light Horse
Trinidad Light Infantry
Trinidad Volunteer Reserve of Europeans
Trinidad Volunteer Artillery,
Windward Islands
Grenada Volunteer Corps, Grenada
Saint Lucia Volunteer Corps, Saint Lucia
Saint Vincent Volunteer Corps, Saint Vincent
South America
The South America Region covered the areas of British Guiana and British Honduras.
British Guiana
British Guiana Militia
British Guiana Militia Artillery (defending Georgetown)
British Hondouras (today known as Belize)
British Honduras Defense Force
Mediterranean Region
The Mediterranean Region consisted of the colonies which were NOT part of Middle East Command. These regions included: Gibraltar, Malta, Cyprus, and Iraq.
Gibraltar
Headquarters, British Troops on Gibraltar commanded by the Governor of Gibraltar Sir Clive Gerard Liddell
Gibraltar Signal Section, Royal Corps of Signals
1st Battalion, Welsh Guards
2nd Battalion, The King's Liverpool Regiment
2nd Battalion, Prince Albert's Somerset Light Infantry
Gibraltar Defence Force
31st Company, Royal Army Service Corps
28th Company, Royal Army Medical Corps
Gibraltar Royal Artillery
HQ Gibraltar RA, South Gibraltar
3rd Heavy Regiment, Royal Artillery (coastal defence)
19th Heavy Anti-Aircraft Battery, Artillery
Gibraltar Royal Engineers
HQ Gibraltar RE
1st Fortress Company, Royal Engineers
32nd Fortress Company, Royal Engineers
Malta
Headquarters, Malta Command commanded by Governor of Malta General Sir Charles Bonham-Carter
Malta Signal Section, Royal Corps of Signals
1st Battalion, The King's Own Malta Regiment, Lower Saint Elmo
Royal Malta Artillery, Upper Saint Elmo
4th Malta Battery, Royal Malta Artillery
30th Company, Royal Army Service Corps
30th Company, Royal Army Medical Corps
Malta Brigade
Headquarters, Malta Bde, Valletta
2nd Battalion, The Devonshire Regiment
1st Battalion, The Dorset Regiment
2nd Battalion, The Queen's Own Royal West Kent Regiment
2nd Battalion, Princess Victoria's Royal Irish Fusiliers
Malta Royal Artillery
Headquarters, Malta RA
4th Heavy Regiment, Royal Artillery (coastal defence)
26th Anti-Tank Regiment, Royal Artillery
7th Heavy Anti-Aircraft Regiment, Royal Artillery
Malta Royal Engineers
Headquarters, Malta RE
16th Fortress Company, Royal Engineers
24th Fortress Company, Royal Engineers
Iraq
Iraq Levies, Habbaniyah
Cyprus
Cyprus Signal Section, Royal Corps of Signals
C Company, 1st Battalion, The Essex Regiment, Nicosia
D Company, 1st Battalion, The Nottinghamshire and Derbyshire Regiment (The Sherwood Foresters)
China Command
China Command covered the British interests in: Hong Kong, Shanghai, and Tianjin.
China Command, Hong Kong
Headquarters, China Command commanded by Governor of Hong Kong General Sir Geoffry Alexander Stafford Northcote
Hong Kong Command Signal Company, Royal Corps of Signals
8th Heavy Regiment, Royal Artillery, Kowloon (including X Bty from the HKSRA)
1st Regiment, Hong Kong and Singapore Royal Artillery, Kowloon
5th Heavy Anti-Aircraft Regiment, Royal Artillery, RAF Kai Tak
22nd Fortress Company, Royal Engineers (serving Shenzhen River)
40th Fortress Company, Royal Engineers (serving the Harbour Installations)
10th Company, Royal Army Service Corps
6th Company, Royal Army Ordnance Corps
27th Company, Royal Army Medical Corps
Hong Kong Infantry Brigade
Headquarters, Hong Kong Inf Bde, Hong Kong
2nd Battalion, The Royal Scots (Lothian Regiment)
Kumaon Rifles
1st Battalion, The Duke of Cambridge's Own Middlesex Regiment, Sham Shui Po (machine-gun)
Hong Kong Volunteer Defence Corps
Hong Kong Volunteer Defence Corps Signal Company
Hong Kong Volunteer Defence Corps Armoured Car Platoon
1st Company, Hong Kong Volunteer Defence Corps, RAF Kai Tak
2nd (Scottish) Company, Hong Kong Volunteer Defence Corps, Sheko
3rd (Eurasian) Company, Hong Kong Volunteer Defence Corps, Stonecutters Island
4th (Chinese) Company, Hong Kong Volunteer Defence Corps, High West
5th Company, Hong Kong Volunteer Defence Corps, Mount Davis
6th (Portuguese) Company, Hong Kong Volunteer Defence Corps, North Shin Naval Yard
7th Company, Hong Kong Volunteer Defence Corps, Magasin Gap
Stanley Platoon, Hong Kong Volunteer Defence Corps, Stanley
The Hugh's Group (Highsiliers), Hong Kong Volunteer Defence Corps, Northern Point
1st Battery, Hong Kong Volunteer Defence Corps, Cape D'Aguilar
2nd Battery, Hong Kong Volunteer Defence Corps, Bluff Head
3rd Battery, Hong Kong Volunteer Defence Corps, Aberdeen Island
4th Battery, Hong Kong Volunteer Defence Corps, Pak Sha Wan
5th (Anti-Aircraft) Battery, Hong Kong Volunteer Defence Corps, Sai Wan Hill
Field Engineer Company, Hong Kong Volunteer Defence Corps, Fanling
Army Service Corps Company, Hong Kong Volunteer Defence Corps, Deepwater Bay
Shanghai Area
Shanghai Area, Shanghai
Headquarters, Shanghai Area commanded by Major General Frank Keith Simmons
Shanghai Area Signal Section, Royal Corps of Signals
1st Battalion, The Duke of Albany's Seaforth Highlanders (Ross-shire Buffs)
2nd Battalion, The East Surrey Regiment
Shanghai Area Detachment, Royal Engineers
Shanghai Volunteer Corps
Headquarters, Shanghai Volunteer Corps, Shanghai
Shanghai Light Horse
American Troop (cavalry)
Armoured Car Company
A (British) Company, Mih-Ho-Loong Rifles
Jewish Company
American Company
Portuguese Company
Philippine Company
Japanese Company
Interpreter Company (Chinese)
Shangai Russian Regiment, 'C' Battalion
B (British) Company
H (Reserve) Company
Shanghai Scottish Company
'C' Machine-Gun Company
Light Automatic (Air Defence) Company
Shanghai Field Company (engineers)
Transport Company
Tientsin Area
Tientsin Area, Tianjin (then romanized as Tientsin)
Headquarters, Tientsin Area commanded by Brigadier John Emilius Laurie, 6th Baronet
Tientsin Area Signal Section, Royal Corps of Signals
1st Battalion, The Durham Light Infantry
A Company + Platoon, Beijing
Tientsin Area Detachment, Royal Engineers
Malaya Command
Malaya Command covered British Malaya, British Singapore, and British Borneo.
Malaya Command, Singapore
Headquarters, Malaya Command commanded by Governor of the Straits Settlements Sir Thomas Shenton Whitelegge Thomas
2nd Battalion, 17th Dogra Regiment, Taiping
Malay Regiment
4th Battalion, Straits Settlements Volunteer Force, Malacca
Jahore Volunteer Force, Johor Bahru
Sultan Idris Infantry Company
Kedah Volunteer Force Company, Alor Setar
Kelantan Volunteer Force Company, Kota Bharu
Perak Rivers Infantry Platoon
50th Company, Royal Army Service Corps
14th Company, Royal Army Ordnance Corps
32nd Company, Royal Army Medical Corps
Penang Fortress
Penang Fortress, Fort Cornwallis
Headquarters, Penang Fortress
Penang Fortress Signal Section, Royal Corps of Signals
5th Battalion, 14th Punjab Regiment
3rd Battalion, Federated Malay States Volunteer Force
8th Heavy Battery, Hong Kong and Singapore Royal Artillery
36th Fortress Company, Royal Engineers
Federated Malay States Volunteer Force
Federated Malay States Volunteer Force, Port Dickson
Headquarters, Volunteer Forces
Federated Malay States Volunteer Force Signal Section
Federated Malay States Volunteer Force Armoured Car Squadron, Ipoh
1st Battalion, Federated Malay States Volunteer Force, Ipoh
2nd Battalion, Federated Malay States Volunteer Force, Kuala Lumpur
3rd Battalion, Federated Malay States Volunteer Force, Seremban
4th Battalion, Federated Malay States Volunteer Force, Kuantan
Light Field Battery, Federated Malay States Volunteer Force, Kuala Lumpur
Federated Malay States Volunteer Force Engineer Company
Singapore Fortress
Singapore Fortress, Singapore
Headquarters, Singapore Fortress
Malay Signal Company, Royal Corps of Signals
7th Heavy Regiment, Royal Artillery, Blakang Mati (coastal defence)
5th and 7th Hvy Btys, Hong Kong and Singapore Royal Artillery attached
9th Heavy Regiment, Royal Artillery, Changi (coastal defence)
Straits Settlements Volunteer Force Armoured Car Company
1st Battalion, Straits Settlements Volunteer Force
2nd Battalion, Straits Settlements Volunteer Force
Singapore Field Battery, Straits Settlements Volunteer Force
Singapore Field Engineer Company, Straits Settlements Volunteer Force
Singapore Fortress Engineer Company, Straits Settlements Volunteer Force
Malaya Infantry Brigade
Headquarters, Malaya Inf Bde, Singapore
2nd Battalion, The Loyal North Lancashire Regiment
2nd Battalion, Gordon Highlanders, Changi
1st Battalion, The Manchester Regiment (machine-gun)
12th Indian Infantry Brigade
Headquarters, 12th Indian Inf Bde, Singapore
2nd Battalion, Princess Louises's Argyll and Sutherland Highlanders
5th Battalion, 2nd Punjab Regiment
4th Battalion, 19th Hyderabad Regiment
22nd Mountain Regiment, Indian Artillery
15th Field Company, Bombay Sappers and Miners
Malaya Air Defences
Headquarters, Malaya Air Defences, Singapore
1st Anti-Aircraft Regiment, The Hong Kong and Singapore Artillery
2nd Anti-Aircraft Regiment, The Hong Kong and Singapore Artillery
3rd Anti-Aircraft Regiment, The Hong Kong and Singapore Artillery
Singapore Fortress Royal Engineers
Singapore Fortress Royal Engineers Headquarters, Singapore
30th Fortress Company, Royal Engineers
34th Fortress Company, Royal Engineers
35th Fortress Company, Royal Engineers
41st Fortress Company, Royal Engineers
Indian Ocean
The Indian Ocean area covered the islands of Ceylon and Mauritius.
Ceylon
Ceylon Defence Force, Colombo
Headquarters, Ceylon Defence Force commanded by Governor of Ceylon Sir Andrew Caldecott
Ceylon Signal Section, Royal Corps of Signals
Ceylon Mounted Rifles, Kandy
Ceylon Planters' Rifle Corps, Kandy
Ceylon Light Infantry
Ceylon Cadet Battalion
6th Heavy Regiment, Royal Artillery, Trincomalee
14th HAA Bty attached
Ceylon Garrison Artillery (Volunteers)
31st Fortress Company, Royal Engineers
Ceylon Engineer Company
Mauritius
British Troops on Mauritius, Port Louis
Headquarters, British Troops on Mauritius commanded by Governor of Mauritius Sir Bede Edward Hugh Clifford
Mauritius Signal Section, Royal Corps of Signals
Mauritius Territorial Force, Rodrigues
25th Heavy Battery, Royal Artillery
43rd Fortress Company, Royal Engineers
Pacific Ocean Region
The Pacific Ocean region comprised the areas of: Fiji, Sarawak, and the Gilbert and Ellice Islands Colony.
Fiji
Headquarters, Fiji Defences Forces, Suva
Fiji Defence Force Signals
1st Battalion, The Fiji Infantry Regiment
Sarawak
Sarawak Rangers
Sarawak Armed Police
Gilbert and Ellice Islands Colony
Ocean Island Defence Force, Ocean Island
Royal West African Frontier Force
The Royal West African Frontier Force or also known as the West African Force comprised troops from the areas of Colony of Nigeria, Gold Coast Protectorate, Colony of Sierra Leone, Gambia Protectorate, and the Cameroons Mandate.
Royal West African Frontier Force Headquarters commanded by Brigadier Collen Edward Melville Richards
Gold Coast Signal Section
Nigerian Signal Company, Zaria
4th Battalion, The Nigeria Regiment, Ibadan
5th Battalion, The Nigeria Regiment, Zaria
The Gold Coast Regiment (SR)
The Gambia Company, Cape Saint Mary
B Company, 3rd Battalion, The Nigeria Regiment, Victoria
Gold Coast Defence Force
Lagos Defence Force, Lagos
1st Light Nigerian Field Battery, Zaria
Light Gold Coast Field Battery, Accra
European Reserve Force Engineer Cadre, Logos
1st West African Infantry Brigade
Headquarters, 1st West African Inf Bde, Kaduna
1st Battalion, The Nigeria Regiment, Kaduna
2nd Battalion, The Nigeria Regiment, Kano
3rd Battalion, The Nigeria Regiment, Enugu (-B Co)
4th Gold Coast Infantry Brigade
Headquarters, 4th Gold Coast Inf Bde, Kumasi
1st Battalion, The Gold Coast Regiment, Kumasi
2nd Battalion, The Gold Coast Regiment, Tamale
3rd (Territorial) Battalion, The Gold Coast Regiment, Winneba
Sierra Leone Brigade
Headquarters, Sierra Leone Bde, Freetown
Sierra Leone Signal Section, Royal Corps of Signals
Sierra Leone Regiment
Sierra Leone Heavy Battery, Royal Artillery (Coastal defence)
39th Fortress Company, Royal Engineers
East African Force
The East African Force comprised troops, and was tasked with covering the following areas: Uganda Protectorate, Kenya Colony, Tanganyika Mandate, Northern Rhodesia Protectorate, Southern Rhodesia Colony, and Nyasaland Protectorate.
East African Force, Nairobi
Headquarters, East African Force commanded by Major General Douglas Povah Dickinson
East African Signals
1st Battalion, The Northern Rhodesia Regiment, Bwana Mkubwa
1st Battalion, The Rhodesian Regiment, Salisbury
2nd Battalion, The Rhodesian Regiment, Bulawayo
7th (Uganda Territorial Force) Battalion, The King's African Rifles, Bombo
C Company, 2nd (Kenya) Battalion, The King's African Rifles, Zomba
Nyasaland Volunteer Reserve, Zomba
East African Supplies and Transport Depot Company
1st (East African) Infantry Brigade
Headquarters, 1st East African Inf Bde, Nairobi
Northern Area Signal Company
3rd (Kenya) Battalion, The King's African Rifles
4th (Uganda) Battalion, The King's African Rifles, Mombasa
5th (Kenya) Battalion, The King's African Rifles, Meru
1st Battalion, The Kenyan Regiment
Coast Defence Infantry Company, King's African Rifles, Mombasa
Kenya Defence Force
22nd Mountain Battery, Indian Artillery (en-route)
Southern Infantry Brigade
Headquarters, Southern Inf Bde, Dar es Salaam
Southern Area Signal Company
1st (Tanganiyka Territory) Battalion, The King's African Rifles, Tabora
2nd (Nyasaland) Battalion, The King's African Rifles, Iringa
6th (Tanganiyka Territory) Battalion, The King's African Rifles
References
Bibliography
J.B.M. Frederick, Lineage Book of British Land Forces 1660-1978, Volume I, 1984: Microform Academic Publishers, Wakefield. .
J.B.M. Frederick, Lineage Book of British Land Forces 1660-1978, Volume II, 1984: Microform Academic Publishers, Wakefield. .
Charles D. Pettibone, The Organization and Order of Battle of Militaries in World War II, Volume II - The British Commonwealth Trafford Publishing, Victoria, Canada/Rochester, United States. 2006. .
H. F. Joslen, Orders of Battle; Second World War 1939-1945, Reprinted in Middletown, Delaware by Permission of Her Majesty's Stationery Office, London, United Kingdom, (1960 edition), 2009, (re-printed, 2019). .
Normand E. H. Litchfield, The Territorial Artillery 1908 - 1988, 1992: The Sherwood Press, Nottingham, UK. .
Cliff Lord & Graham E. Watson, The Royal Corps of Signals: Unit Histories of the Corps (1920–2001) and its Antecedents, Helion & Company, Solihull, UK, 2002. .
Major General Reginald Francis Heaton Nalder, The Royal Corps of Signals: A History of its Antecedents and Development, Royal Signals Institution, London, 1955. .
Dr. Leo Niehorster, British Army, 3 September 1939
Rob Palmer, British Army Military History Website.
Brigadier N.W. Routledge, History of the Royal Regiment of Artillery: Anti-Aircraft Artillery 1914–55, London: Royal Artillery Institution/Brassey's, 1994. .
The Monthly Army List, September 1939.
The Monthly Army List, October 1939.
.
British Army in World War II
World War II orders of battle
|
```swift
//
// BleExtensions.swift
//
// Created by Przemysaw Lenart on 05/08/16.
//
import Foundation
import CoreBluetooth
extension RestoredState {
var asJSObject: [AnyHashable: Any] {
return [
"connectedPeripherals": peripherals.map { $0.asJSObject() }
]
}
}
extension ScannedPeripheral {
var mtu: Int {
return 23
}
var asJSObject: [AnyHashable: Any] {
var serviceData: [String: String]?
if let advServiceData = advertisementData.serviceData {
var data = [String: String]()
for (key, value) in advServiceData {
data[key.fullUUIDString] = value.base64
}
serviceData = data
}
let manufacturerData = advertisementData
.manufacturerData?
.base64
let serviceUUIDs = advertisementData
.serviceUUIDs?
.map { (uuid: CBUUID) in uuid.fullUUIDString }
let overflowServiceUUIDs = advertisementData
.overflowServiceUUIDs?
.map { (uuid: CBUUID) in uuid.fullUUIDString }
let solicitedServiceUUIDs = advertisementData
.solicitedServiceUUIDs?
.map { (uuid: CBUUID) in uuid.fullUUIDString }
let advertisementDataDict: [AnyHashable: Any] = [
"id": peripheral.identifier.uuidString,
"name": peripheral.name as Any,
"rssi": rssi,
"mtu": mtu,
"localName": advertisementData.localName as Any,
"manufacturerData": manufacturerData as Any,
"serviceData": serviceData as Any,
"serviceUUIDs": serviceUUIDs as Any,
"txPowerLevel": advertisementData.txPowerLevel as Any,
"solicitedServiceUUIDs": solicitedServiceUUIDs as Any,
"isConnectable": advertisementData.isConnectable as Any,
"overflowServiceUUIDs": overflowServiceUUIDs as Any
]
let advertisementDataJSON = try? JSONSerialization.data(withJSONObject: advertisementDataDict, options: [])
let advertisementDataBase64 = advertisementDataJSON?.base64EncodedString()
return [
"id": peripheral.identifier.uuidString,
"name": peripheral.name as Any,
"rssi": rssi,
"mtu": mtu,
"localName": advertisementData.localName as Any,
"manufacturerData": manufacturerData as Any,
"serviceData": serviceData as Any,
"serviceUUIDs": serviceUUIDs as Any,
"txPowerLevel": advertisementData.txPowerLevel as Any,
"solicitedServiceUUIDs": solicitedServiceUUIDs as Any,
"isConnectable": advertisementData.isConnectable as Any,
"overflowServiceUUIDs": overflowServiceUUIDs as Any,
"rawScanRecord": advertisementDataBase64 as Any
]
}
}
extension Peripheral {
var mtu: Int {
if #available(iOS 9.0, *) {
return maximumWriteValueLength(for: .withoutResponse) + 3
} else {
return 23
}
}
func asJSObject(withRssi: Int? = nil) -> [AnyHashable: Any] {
return [
"id": identifier.uuidString,
"name": name as Any,
"rssi": withRssi as Any,
"mtu": mtu,
"manufacturerData": NSNull(),
"serviceData": NSNull(),
"serviceUUIDs": NSNull(),
"localName": NSNull(),
"txPowerLevel": NSNull(),
"solicitedServiceUUIDs": NSNull(),
"isConnectable": NSNull(),
"overflowServiceUUIDs": NSNull(),
"rawScanRecord": NSNull()
]
}
}
extension Service {
var jsIdentifier: Double {
return Double(UInt64(objectId) & ((1 << 53) - 1))
}
var asJSObject: [AnyHashable: Any] {
return [
"id": jsIdentifier,
"uuid": uuid.fullUUIDString,
"deviceID": peripheral.identifier.uuidString,
"isPrimary": isPrimary
]
}
}
extension Characteristic {
var valueBase64: String? {
return value?.base64
}
var jsIdentifier: Double {
return Double(UInt64(objectId) & ((1 << 53) - 1))
}
var asJSObject: [AnyHashable: Any] {
return [
"id": jsIdentifier,
"uuid": uuid.fullUUIDString,
"serviceID": service.jsIdentifier,
"serviceUUID": service.uuid.fullUUIDString,
"deviceID": service.peripheral.identifier.uuidString,
"isReadable": properties.contains(.read),
"isWritableWithResponse": properties.contains(.write),
"isWritableWithoutResponse": properties.contains(.writeWithoutResponse),
"isNotifiable": properties.contains(.notify),
"isNotifying": isNotifying,
"isIndicatable": properties.contains(.indicate),
"value": valueBase64 as Any
]
}
}
extension Descriptor {
var valueBase64: String? {
guard let value = self.value else { return nil }
switch uuid.uuidString {
case CBUUIDCharacteristicExtendedPropertiesString,
CBUUIDClientCharacteristicConfigurationString,
CBUUIDServerCharacteristicConfigurationString:
return convertNSNumberToBase64(value)
case CBUUIDCharacteristicUserDescriptionString:
return convertStringToBase64(value)
case CBUUIDCharacteristicFormatString,
CBUUIDCharacteristicAggregateFormatString:
return convertDataToBase64(value)
default:
if Descriptor.Constants.gattDescriptors.keys.contains(uuid.uuidString) {
return convertDataToBase64(value)
}
return nil
}
}
var jsIdentifier: Double {
return Double(UInt64(objectId) & ((1 << 53) - 1))
}
var asJSObject: [AnyHashable: Any] {
return [
"id": jsIdentifier,
"uuid": uuid.fullUUIDString,
"characteristicUUID": characteristic.uuid.fullUUIDString,
"characteristicID": characteristic.jsIdentifier,
"serviceID": characteristic.service.jsIdentifier,
"serviceUUID": characteristic.service.uuid.fullUUIDString,
"deviceID": characteristic.service.peripheral.identifier.uuidString,
"value": valueBase64 as Any
]
}
}
extension RxBluetoothKitLog.LogLevel {
var asJSObject: Any {
switch self {
case .none: return "None"
case .verbose: return "Verbose"
case .debug: return "Debug"
case .info: return "Info"
case .warning: return "Warning"
case .error: return "Error"
}
}
init(jsObject: String) {
switch jsObject {
case "Verbose": self = .verbose
case "Debug": self = .debug
case "Info": self = .info
case "Warning": self = .warning
case "Error": self = .error
default:
self = .none
}
}
}
extension BluetoothState {
var asJSObject: Any {
switch self {
case .unknown: return "Unknown"
case .resetting: return "Resetting"
case .unsupported: return "Unsupported"
case .unauthorized: return "Unauthorized"
case .poweredOff: return "PoweredOff"
case .poweredOn: return "PoweredOn"
}
}
}
```
|
Hotel Finlen is a historic hotel in Butte, Montana, United States, built in 1924.
History
The Hotel Finlen was established by James Finlen, the son of Miles Finlen, an Irish immigrant who had opened the McDermitt Hotel in Butte in 1889. The Hotel Finlen opened on January 1, 1924, and was architecturally inspired by the Astor Hotel in New York City. It was completed on a budget of $750,000 (). The tallest tower on the building was finished in 1924, and construction on a second tower began in 1927, but went unfinished due to the stock market crash of 1929.
In 2018, the hotel was acquired by a group of four investors led by J. J. Adams, a professor at Montana Tech, by the Taras family, who had owned the hotel for approximately 40 years.
Notable guests
The hotel was visited by various notable guests throughout the 20th century, including aviator Charles Lindbergh and Presidents Harry S. Truman and John F. Kennedy.
References
External links
1924 establishments in Montana
Beaux-Arts architecture in Montana
Hotels in Montana
|
```shell
#!/usr/bin/env bash
# Tags: no-parallel
# Tag no-parallel: It uses system.errors values which are global
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
# Simply calling a table function correctly should not increase system.errors
OLD_ERROR_QUANTITY=$(${CLICKHOUSE_CLIENT} --query "SELECT sum(value) FROM system.errors WHERE name = 'UNKNOWN_TABLE'")
${CLICKHOUSE_CLIENT} --query "SELECT count() FROM numbers(10)"
${CLICKHOUSE_CLIENT} --query "SELECT sum(value) = ${OLD_ERROR_QUANTITY} FROM system.errors WHERE name = 'UNKNOWN_TABLE'"
```
|
```smalltalk
using Teamified.Api.Teams.Models;
namespace Teamified.Api.Diagnostics;
public static class DiagnosticsModule
{
public static IEndpointRouteBuilder MapDiagnosticsEndpoints(this IEndpointRouteBuilder endpoints)
{
endpoints.MapGet("/ping", () => new Ping {
Id = Guid.NewGuid(),
Now = DateTime.Now.ToString()
})
.Produces<Ping>(200)
.WithName("Ping")
.WithTags("DiagnosticsModule")
.AllowAnonymous();
return endpoints;
}
}
```
|
Gwangju AI Peppers () is a South Korean women's professional volleyball team, founded in 2021. They are based in Gwangju and are members of the Korea Volleyball Federation (KOVO). Their home arena is Yeomju Gymnasium in Gwangju.
Season-by-season records
Players
2023−24 team
References
External links
Official website
Volleyball clubs established in 2021
Sport in Gwangju
Women's volleyball teams in South Korea
2021 establishments in South Korea
|
O Rei dos Ciganos is a Brazilian telenovela produced and broadcast by TV Globo. It premiered on 12 September 1966 and ended on 20 February 1967. It's the second "novela das oito" to be aired on the timeslot.
Cast
References
TV Globo telenovelas
1966 Brazilian television series debuts
1967 Brazilian television series endings
1966 telenovelas
Portuguese-language telenovelas
|
```go
package sarama
type CoordinatorType int8
const (
CoordinatorGroup CoordinatorType = iota
CoordinatorTransaction
)
type FindCoordinatorRequest struct {
Version int16
CoordinatorKey string
CoordinatorType CoordinatorType
}
func (f *FindCoordinatorRequest) encode(pe packetEncoder) error {
if err := pe.putString(f.CoordinatorKey); err != nil {
return err
}
if f.Version >= 1 {
pe.putInt8(int8(f.CoordinatorType))
}
return nil
}
func (f *FindCoordinatorRequest) decode(pd packetDecoder, version int16) (err error) {
if f.CoordinatorKey, err = pd.getString(); err != nil {
return err
}
if version >= 1 {
f.Version = version
coordinatorType, err := pd.getInt8()
if err != nil {
return err
}
f.CoordinatorType = CoordinatorType(coordinatorType)
}
return nil
}
func (f *FindCoordinatorRequest) key() int16 {
return 10
}
func (f *FindCoordinatorRequest) version() int16 {
return f.Version
}
func (r *FindCoordinatorRequest) headerVersion() int16 {
return 1
}
func (f *FindCoordinatorRequest) requiredVersion() KafkaVersion {
switch f.Version {
case 1:
return V0_11_0_0
default:
return V0_8_2_0
}
}
```
|
Russoft, headquartered in Saint-Petersburg, is an association of software companies from Russia, Ukraine and Belarus. It was founded on September 9, 1999 and has merged with the Fort-Ross Consortium in May 2004. Today Russoft unites more than 80 companies with 7000+ programmers and software engineers with degrees in Technology & Computer Science.
Similarly to Indian NASSCOM, Russoft was created to represent Russian software development companies on the global market, to enhance marketing and PR activities of its members, and to lobby their interests in their countries' governments.
Members of Russoft are companies meeting certain requirements of size and experience and paying an annual fee. Companies may be either full or associate members.
Russoft is a part of the Russian Information and Computer Industry Association (APKIT) where it plays the role of Software Development and Export Committee. Being a part of APKIT enhances Russoft's abilities to lobby the Government to support the IT industry.
Since 2001, in June every year, RUSSOFT has organized R.O.S.S. - or the 'Russian Outsourcing and Software Summit' - in St-Petersburg.
References
External links
Russoft: Official Web Site (English section, links to Russian-language version)
Russoft: 3rd Annual survey on Russian export market of software products, services and solutions
Russoft: 4th Annual survey on Russian export market of software products, services and solutions
Russoft: 6th Annual survey on Russian export market of software products, services and solutions
Trade associations based in Russia
Technology trade associations
|
Capital Match is a invoice financing platform for small and medium enterprises (SMEs) in Southeast Asia. Headquartered in Singapore, it operates an online platform for SMEs to seek funds from investors.
History
Capital Match was incorporated in 2014 and launched operationally in early 2015.
In early 2017, Capital Match’s subsidiary, CM Advisers Pte. Ltd., obtained a CMS Licence with the Monetary Authority of Singapore (MAS).
As of June 2017, Capital Match claims to have processed financing of more than S$40 million in cumulative origination. Capital Match has received funding from investors that include Dymon Asia Ventures, Innosight Ventures and Crystal Horse Investments, among others.
On 11 May 2023, Capital Match announced to investors that it is going into liquidation.
Business model
Capital Match provides an online platform for SMEs to obtain invoice financing from individual and corporate investors
Investors can browse the facilities on the platform and make a minimum commitment of S$1,000 per facility and earn interest on their investments. Capital Match earns by charging borrowers a processing fee and late payment fee (in the case whereby repayments from the borrower are delayed) and investors a commission fee.
Controversy
In February 2022, several reports appeared in the Singapore financial press about large losses for users of Capital Match due to weak invoice verification processes.
Also in February 2022, Monetary Authority of Singapore (MAS) has put Capital Match on the Investor Alert List published on its website.
References
External links
Financial services companies established in 2014
2014 establishments in Singapore
Privately held companies of Singapore
Peer-to-peer lending companies
Crowdfunding platforms of Singapore
|
Camille Thurman (born December 22, 1986) is an American jazz saxophonist, singer, composer, and member of the Jazz at Lincoln Center Orchestra. Her first two albums, released by Chesky Records in 2018 and 2017, peaked at #3 and #25 respectively on the Billboard Jazz Albums Chart. She has performed at the Kennedy Center, and was a runner up for the 2013 Sarah Vaughan International Vocal Competition.
Early life
Thurman took up music at a young age, as she grew up in the St. Albans section of Queens, New York, practicing vocals, piano, and flute before attending Fiorello H. LaGuardia High School of Music & Art and the Performing Arts. She first picked up the tenor saxophone, the instrument she is best known for playing, at the age of 15. She went on to earn a bachelor's degree in geological & environmental science from Binghamton University.
Musical career
Thurman moved back to New York City following her graduation, and played with a wide array of jazz musicians, particularly crediting saxophone player Tia Fuller and vocalist/bassist Mimi Jones with helping her in those early years. Thurman went on to place as a finalist in the 2013 Sarah Vaughan International Vocal Competition, garnering much attention, and leading to her first record deal.
Later in 2013, Thurman released her first album, Origins, on Jones' label, Hot Tone Music. She followed up with her second album on Hot Tone, Spirit Child, in 2014.
Over December 2014 to January 2015 Thurman appeared alongside Charenee Wade, Cyrille Aimée, Allan Harris and an eight-piece band including bassist Mimi Jones in Alex Webb (musician)'s jazz theatre show Cafe Society Swing, at New York's 59E59 Theaters, which received a Critic's Pick from the New York Times.
Thurman later signed to Chesky Records, and released her third album, Inside the Moment, on May 19, 2017, which debuted at #25 on the Billboard Jazz Albums Chart.
Thurman released her fourth album, Waiting for the Sunrise, through Chesky Records on August 24, 2018, and the album debuted at #2 on the Billboard Traditional Jazz Albums Chart.
Awards and honors
16th Independent Music Award Nominated - Jazz Song with Vocals "Cherokee"
17th Independent Music Award - Jazz Album with Vocals - Waiting for the Sunrise
17th Independent Music Award - Jazz Song with Vocals - "The Nearness of You"
NAACP 50th Image Awards Nominated - Outstanding Jazz Album
References
1986 births
African-American women composers
African-American jazz composers
African-American jazz musicians
African-American women singer-songwriters
21st-century American composers
Binghamton University alumni
Women jazz saxophonists
Living people
People from St. Albans, Queens
Fiorello H. LaGuardia High School alumni
Jazz musicians from New York (state)
|
Family policy in Spain refers to the implementation of public policy measures that aim to support the social actions carried out by families, as well as define family roles and relationships within Spain. These laws and services provide Spanish families with provisions regarding parental leave, childcare, family allowances, marriage, divorce, and cohabitation.
History
Franco era
Spain is categorized within the Southern European social model, due largely in part to its strong dependence on family assistance and support. Rather than promoting state reliance, the predominance of the male breadwinner model and the family-oriented nature of social measures in Spain has hindered the development of effective family policies, according to the South European Society and Politics journal. In Francoist Spain from 1939 until 1975, strong state intervention established social protections for families; however, these programs provided fragmented coverage for male industrial workers and their families exclusively. Those working in the agriculture sector as well as women, who were highly unemployed, received little to no benefits in regards to family protections. Family policy during this time mainly served to encourage large families, especially through the promotion of measures such as the 1943, Large Family Law which rewarded families with the largest number of children.
Restoration to democracy
After Spain became a democracy and established its Constitution in 1978, family policy profoundly changed to reflect a new emphasis on promoting work-life balance. This led to the elimination of payments for marriage and for those given after the birth of each child. For employed individuals, the main benefit was payments transferred monthly for those with dependent children, as well as various extensions of maternity leave and childcare provisions. These policies gave women the chance to possess a more participatory role within Spain's overall workforce, rather than remaining solely in the domestic sphere. Bringing together family and employment obligations through family policy, however, still took a number of years to fully develop. The legacy of Francoist Spain, in which married women were strongly encouraged to stay home, continued to hamper women's efforts in gaining employment and receiving state-paid family assistance.
Current situation
Recent efforts to improve family protections have largely been undermined by the presence of fragmented coverage and drastic budget cuts. The current economic crisis that began in 2007, has led the Spanish government to implement various austerity measures which have directly hindered the development of Spanish family policies. These measures were meant to curtail the ill effects of the economic downturn, however, they also worked to instigate a resurgence of the belief that family life is a private, rather than a public, matter. Alongside this, the lack of sufficient family protections have also had effects on Spain's overall fertility rate. Since the latter half of the 1970s, the fertility rate has experienced a steady decline, going from a rate of 2.78 to a low of 1.323 in the mid 2000s. The average age of the Spanish at their first birth has also been rising, having increased by 6 years from the 1980s to the mid 2000s. These trends are due in part to Spain's underdeveloped family policies, which have incentivized new parents to return to work at a quicker pace, and have also required families to manage the expensive costs of child-rearing on their own.
References
Spain
Policy
Politics of Spain
|
Ballyquirk () is a townland in the Barony of Ormond Lower, County Tipperary, Ireland. It is located in the civil parish of Lorrha, north of Carrigahorig.
Ballyquirk Castle, located in the townland, is a single storey over basement property with three bays and a rear tower. It is all that is left following alterations made in the nineteenth century to the original two storey over basement property which featured four towers. Ruins of an earlier castle stand nearby. The castle appears on North Tipperary County Council's Record of Protected Structures (ref S69)
The woods at Ballyquirk form a part of Borrisokane Forest which consists of several widely dispersed small areas of woodland managed by Coillte, the state sponsored forestry company.
See also
Carrigahorig, a small hamlet partially in the townland
References
Castles in County Tipperary
Buildings and structures in County Tipperary
Townlands of County Tipperary
Lorrha
|
```objective-c
/*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``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 APPLE INC. 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.
*/
#pragma once
#if ENABLE(DFG_JIT)
#include "JITOperations.h"
#include "PutKind.h"
namespace JSC { namespace DFG {
struct OSRExitBase;
extern "C" {
JSCell* JIT_OPERATION operationStringFromCharCode(ExecState*, int32_t) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationStringFromCharCodeUntyped(ExecState*, EncodedJSValue) WTF_INTERNAL;
// These routines are provide callbacks out to C++ implementations of operations too complex to JIT.
JSCell* JIT_OPERATION operationObjectConstructor(ExecState*, JSGlobalObject*, EncodedJSValue encodedTarget) WTF_INTERNAL;
JSCell* JIT_OPERATION operationCreateThis(ExecState*, JSObject* constructor, int32_t inlineCapacity) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationToThis(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationToThisStrict(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitAnd(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitOr(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitXor(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitLShift(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitRShift(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueBitURShift(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueAddNotNumber(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationValueDiv(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
double JIT_OPERATION operationArithAbs(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
int32_t JIT_OPERATION operationArithClz32(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithCos(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithTan(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithFRound(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithLog(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithSin(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
double JIT_OPERATION operationArithSqrt(ExecState*, EncodedJSValue encodedOp1) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArithRound(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArithFloor(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArithCeil(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArithTrunc(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByVal(ExecState*, EncodedJSValue encodedBase, EncodedJSValue encodedProperty) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByValCell(ExecState*, JSCell*, EncodedJSValue encodedProperty) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByValArrayInt(ExecState*, JSArray*, int32_t) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByValStringInt(ExecState*, JSString*, int32_t) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationToPrimitive(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationToNumber(ExecState*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByIdWithThis(ExecState*, EncodedJSValue, EncodedJSValue, UniquedStringImpl*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationGetByValWithThis(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewArray(ExecState*, Structure*, void*, size_t) WTF_INTERNAL;
char* JIT_OPERATION operationNewArrayBuffer(ExecState*, Structure*, size_t, size_t) WTF_INTERNAL;
char* JIT_OPERATION operationNewEmptyArray(ExecState*, Structure*) WTF_INTERNAL;
char* JIT_OPERATION operationNewArrayWithSize(ExecState*, Structure*, int32_t, Butterfly*) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt8ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt8ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt16ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt16ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt32ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewInt32ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint8ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint8ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint8ClampedArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint8ClampedArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint16ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint16ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint32ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewUint32ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewFloat32ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewFloat32ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
char* JIT_OPERATION operationNewFloat64ArrayWithSize(ExecState*, Structure*, int32_t, char*) WTF_INTERNAL;
char* JIT_OPERATION operationNewFloat64ArrayWithOneArgument(ExecState*, Structure*, EncodedJSValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValStrict(ExecState*, EncodedJSValue encodedBase, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValNonStrict(ExecState*, EncodedJSValue encodedBase, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValCellStrict(ExecState*, JSCell*, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValCellNonStrict(ExecState*, JSCell*, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValBeyondArrayBoundsStrict(ExecState*, JSObject*, int32_t index, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValBeyondArrayBoundsNonStrict(ExecState*, JSObject*, int32_t index, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectBeyondArrayBoundsNonStrict(ExecState*, JSObject*, int32_t index, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectStrict(ExecState*, EncodedJSValue encodedBase, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectNonStrict(ExecState*, EncodedJSValue encodedBase, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectCellStrict(ExecState*, JSCell*, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectCellNonStrict(ExecState*, JSCell*, EncodedJSValue encodedProperty, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectBeyondArrayBoundsStrict(ExecState*, JSObject*, int32_t index, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValDirectBeyondArrayBoundsNonStrict(ExecState*, JSObject*, int32_t index, EncodedJSValue encodedValue) WTF_INTERNAL;
void JIT_OPERATION operationPutDoubleByValBeyondArrayBoundsStrict(ExecState*, JSObject*, int32_t index, double value) WTF_INTERNAL;
void JIT_OPERATION operationPutDoubleByValBeyondArrayBoundsNonStrict(ExecState*, JSObject*, int32_t index, double value) WTF_INTERNAL;
void JIT_OPERATION operationPutByIdWithThis(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue, UniquedStringImpl*) WTF_INTERNAL;
void JIT_OPERATION operationPutByIdWithThisStrict(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue, UniquedStringImpl*) WTF_INTERNAL;
void JIT_OPERATION operationPutByValWithThis(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue, EncodedJSValue) WTF_INTERNAL;
void JIT_OPERATION operationPutByValWithThisStrict(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue, EncodedJSValue) WTF_INTERNAL;
void JIT_OPERATION operationDefineDataProperty(ExecState*, JSObject*, EncodedJSValue, EncodedJSValue, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineDataPropertyString(ExecState*, JSObject*, JSString*, EncodedJSValue, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineDataPropertyStringIdent(ExecState*, JSObject*, UniquedStringImpl*, EncodedJSValue, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineDataPropertySymbol(ExecState*, JSObject*, Symbol*, EncodedJSValue, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineAccessorProperty(ExecState*, JSObject*, EncodedJSValue, JSObject*, JSObject*, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineAccessorPropertyString(ExecState*, JSObject*, JSString*, JSObject*, JSObject*, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineAccessorPropertyStringIdent(ExecState*, JSObject*, UniquedStringImpl*, JSObject*, JSObject*, int32_t) WTF_INTERNAL;
void JIT_OPERATION operationDefineAccessorPropertySymbol(ExecState*, JSObject*, Symbol*, JSObject*, JSObject*, int32_t) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArrayPush(ExecState*, EncodedJSValue encodedValue, JSArray*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArrayPushDouble(ExecState*, double value, JSArray*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArrayPop(ExecState*, JSArray*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationArrayPopAndRecoverLength(ExecState*, JSArray*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationRegExpExecString(ExecState*, JSGlobalObject*, RegExpObject*, JSString*) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationRegExpExec(ExecState*, JSGlobalObject*, RegExpObject*, EncodedJSValue) WTF_INTERNAL;
EncodedJSValue JIT_OPERATION operationRegExpExecGeneric(ExecState*, JSGlobalObject*, EncodedJSValue, EncodedJSValue) WTF_INTERNAL;
// These comparisons return a boolean within a size_t such that the value is zero extended to fill the register.
size_t JIT_OPERATION operationRegExpTestString(ExecState*, JSGlobalObject*, RegExpObject*, JSString*) WTF_INTERNAL;
size_t JIT_OPERATION operationRegExpTest(ExecState*, JSGlobalObject*, RegExpObject*, EncodedJSValue) WTF_INTERNAL;
size_t JIT_OPERATION operationRegExpTestGeneric(ExecState*, JSGlobalObject*, EncodedJSValue, EncodedJSValue) WTF_INTERNAL;
size_t JIT_OPERATION operationCompareStrictEqCell(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
size_t JIT_OPERATION operationCompareStrictEq(ExecState*, EncodedJSValue encodedOp1, EncodedJSValue encodedOp2) WTF_INTERNAL;
JSCell* JIT_OPERATION operationCreateActivationDirect(ExecState*, Structure*, JSScope*, SymbolTable*, EncodedJSValue);
JSCell* JIT_OPERATION operationCreateDirectArguments(ExecState*, Structure*, int32_t length, int32_t minCapacity);
JSCell* JIT_OPERATION operationCreateDirectArgumentsDuringExit(ExecState*, InlineCallFrame*, JSFunction*, int32_t argumentCount);
JSCell* JIT_OPERATION operationCreateScopedArguments(ExecState*, Structure*, Register* argumentStart, int32_t length, JSFunction* callee, JSLexicalEnvironment*);
JSCell* JIT_OPERATION operationCreateClonedArgumentsDuringExit(ExecState*, InlineCallFrame*, JSFunction*, int32_t argumentCount);
JSCell* JIT_OPERATION operationCreateClonedArguments(ExecState*, Structure*, Register* argumentStart, int32_t length, JSFunction* callee);
JSCell* JIT_OPERATION operationCreateRest(ExecState*, Register* argumentStart, unsigned numberOfArgumentsToSkip, unsigned arraySize);
double JIT_OPERATION operationFModOnInts(int32_t, int32_t) WTF_INTERNAL;
size_t JIT_OPERATION operationObjectIsObject(ExecState*, JSGlobalObject*, JSCell*) WTF_INTERNAL;
size_t JIT_OPERATION operationObjectIsFunction(ExecState*, JSGlobalObject*, JSCell*) WTF_INTERNAL;
JSCell* JIT_OPERATION operationTypeOfObject(ExecState*, JSGlobalObject*, JSCell*) WTF_INTERNAL;
int32_t JIT_OPERATION operationTypeOfObjectAsTypeofType(ExecState*, JSGlobalObject*, JSCell*) WTF_INTERNAL;
char* JIT_OPERATION operationAllocateSimplePropertyStorageWithInitialCapacity(ExecState*) WTF_INTERNAL;
char* JIT_OPERATION operationAllocateSimplePropertyStorage(ExecState*, size_t newSize) WTF_INTERNAL;
char* JIT_OPERATION operationAllocateComplexPropertyStorageWithInitialCapacity(ExecState*, JSObject*) WTF_INTERNAL;
char* JIT_OPERATION operationAllocateComplexPropertyStorage(ExecState*, JSObject*, size_t newSize) WTF_INTERNAL;
char* JIT_OPERATION operationEnsureInt32(ExecState*, JSCell*);
char* JIT_OPERATION operationEnsureDouble(ExecState*, JSCell*);
char* JIT_OPERATION operationEnsureContiguous(ExecState*, JSCell*);
char* JIT_OPERATION operationEnsureArrayStorage(ExecState*, JSCell*);
StringImpl* JIT_OPERATION operationResolveRope(ExecState*, JSString*);
JSString* JIT_OPERATION operationSingleCharacterString(ExecState*, int32_t);
JSString* JIT_OPERATION operationToLowerCase(ExecState*, JSString*, uint32_t);
int32_t JIT_OPERATION operationMapHash(ExecState*, EncodedJSValue input);
JSCell* JIT_OPERATION operationJSMapFindBucket(ExecState*, JSCell*, EncodedJSValue, int32_t);
JSCell* JIT_OPERATION operationJSSetFindBucket(ExecState*, JSCell*, EncodedJSValue, int32_t);
EncodedJSValue JIT_OPERATION operationParseIntNoRadixGeneric(ExecState*, EncodedJSValue);
EncodedJSValue JIT_OPERATION operationParseIntStringNoRadix(ExecState*, JSString*);
EncodedJSValue JIT_OPERATION operationParseIntString(ExecState*, JSString*, int32_t);
EncodedJSValue JIT_OPERATION operationParseIntGeneric(ExecState*, EncodedJSValue, int32_t);
JSCell* JIT_OPERATION operationNewStringObject(ExecState*, JSString*, Structure*);
JSCell* JIT_OPERATION operationToStringOnCell(ExecState*, JSCell*);
JSCell* JIT_OPERATION operationToString(ExecState*, EncodedJSValue);
JSCell* JIT_OPERATION operationCallStringConstructorOnCell(ExecState*, JSCell*);
JSCell* JIT_OPERATION operationCallStringConstructor(ExecState*, EncodedJSValue);
JSCell* JIT_OPERATION operationMakeRope2(ExecState*, JSString*, JSString*);
JSCell* JIT_OPERATION operationMakeRope3(ExecState*, JSString*, JSString*, JSString*);
JSCell* JIT_OPERATION operationStrCat2(ExecState*, EncodedJSValue, EncodedJSValue);
JSCell* JIT_OPERATION operationStrCat3(ExecState*, EncodedJSValue, EncodedJSValue, EncodedJSValue);
char* JIT_OPERATION operationFindSwitchImmTargetForDouble(ExecState*, EncodedJSValue, size_t tableIndex);
char* JIT_OPERATION operationSwitchString(ExecState*, size_t tableIndex, JSString*);
int32_t JIT_OPERATION operationSwitchStringAndGetBranchOffset(ExecState*, size_t tableIndex, JSString*);
uintptr_t JIT_OPERATION operationCompareStringImplLess(StringImpl*, StringImpl*);
uintptr_t JIT_OPERATION operationCompareStringImplLessEq(StringImpl*, StringImpl*);
uintptr_t JIT_OPERATION operationCompareStringImplGreater(StringImpl*, StringImpl*);
uintptr_t JIT_OPERATION operationCompareStringImplGreaterEq(StringImpl*, StringImpl*);
uintptr_t JIT_OPERATION operationCompareStringLess(ExecState*, JSString*, JSString*);
uintptr_t JIT_OPERATION operationCompareStringLessEq(ExecState*, JSString*, JSString*);
uintptr_t JIT_OPERATION operationCompareStringGreater(ExecState*, JSString*, JSString*);
uintptr_t JIT_OPERATION operationCompareStringGreaterEq(ExecState*, JSString*, JSString*);
void JIT_OPERATION operationNotifyWrite(ExecState*, WatchpointSet*);
void JIT_OPERATION operationThrowStackOverflowForVarargs(ExecState*) WTF_INTERNAL;
int32_t JIT_OPERATION operationSizeOfVarargs(ExecState*, EncodedJSValue arguments, int32_t firstVarArgOffset);
void JIT_OPERATION operationLoadVarargs(ExecState*, int32_t firstElementDest, EncodedJSValue arguments, int32_t offset, int32_t length, int32_t mandatoryMinimum);
int32_t JIT_OPERATION operationHasOwnProperty(ExecState*, JSObject*, EncodedJSValue);
JSCell* JIT_OPERATION operationSpreadFastArray(ExecState*, JSCell*);
JSCell* JIT_OPERATION operationSpreadGeneric(ExecState*, JSCell*);
JSCell* JIT_OPERATION operationNewArrayWithSpreadSlow(ExecState*, void*, uint32_t);
JSCell* JIT_OPERATION operationResolveScope(ExecState*, JSScope*, UniquedStringImpl*);
EncodedJSValue JIT_OPERATION operationGetDynamicVar(ExecState*, JSObject* scope, UniquedStringImpl*, unsigned);
void JIT_OPERATION operationPutDynamicVar(ExecState*, JSObject* scope, EncodedJSValue, UniquedStringImpl*, unsigned);
int64_t JIT_OPERATION operationConvertBoxedDoubleToInt52(EncodedJSValue);
int64_t JIT_OPERATION operationConvertDoubleToInt52(double);
size_t JIT_OPERATION operationDefaultHasInstance(ExecState*, JSCell* value, JSCell* proto);
char* JIT_OPERATION operationNewRawObject(ExecState*, Structure*, int32_t, Butterfly*) WTF_INTERNAL;
JSCell* JIT_OPERATION operationNewObjectWithButterfly(ExecState*, Structure*, Butterfly*) WTF_INTERNAL;
JSCell* JIT_OPERATION your_sha256_hash(ExecState*, Structure*, unsigned length, Butterfly*) WTF_INTERNAL;
void JIT_OPERATION operationProcessTypeProfilerLogDFG(ExecState*) WTF_INTERNAL;
void JIT_OPERATION debugOperationPrintSpeculationFailure(ExecState*, void*, void*) WTF_INTERNAL;
void JIT_OPERATION triggerReoptimizationNow(CodeBlock*, OSRExitBase*) WTF_INTERNAL;
#if USE(JSVALUE32_64)
double JIT_OPERATION operationRandom(JSGlobalObject*);
#endif
#if ENABLE(FTL_JIT)
void JIT_OPERATION triggerTierUpNow(ExecState*) WTF_INTERNAL;
void JIT_OPERATION triggerTierUpNowInLoop(ExecState*, unsigned bytecodeIndex) WTF_INTERNAL;
char* JIT_OPERATION triggerOSREntryNow(ExecState*, unsigned bytecodeIndex) WTF_INTERNAL;
#endif // ENABLE(FTL_JIT)
} // extern "C"
inline P_JITOperation_EStZP operationNewTypedArrayWithSizeForType(TypedArrayType type)
{
switch (type) {
case TypeInt8:
return operationNewInt8ArrayWithSize;
case TypeInt16:
return operationNewInt16ArrayWithSize;
case TypeInt32:
return operationNewInt32ArrayWithSize;
case TypeUint8:
return operationNewUint8ArrayWithSize;
case TypeUint8Clamped:
return operationNewUint8ClampedArrayWithSize;
case TypeUint16:
return operationNewUint16ArrayWithSize;
case TypeUint32:
return operationNewUint32ArrayWithSize;
case TypeFloat32:
return operationNewFloat32ArrayWithSize;
case TypeFloat64:
return operationNewFloat64ArrayWithSize;
case NotTypedArray:
case TypeDataView:
break;
}
RELEASE_ASSERT_NOT_REACHED();
return 0;
}
inline P_JITOperation_EStJ operationNewTypedArrayWithOneArgumentForType(TypedArrayType type)
{
switch (type) {
case TypeInt8:
return operationNewInt8ArrayWithOneArgument;
case TypeInt16:
return operationNewInt16ArrayWithOneArgument;
case TypeInt32:
return operationNewInt32ArrayWithOneArgument;
case TypeUint8:
return operationNewUint8ArrayWithOneArgument;
case TypeUint8Clamped:
return operationNewUint8ClampedArrayWithOneArgument;
case TypeUint16:
return operationNewUint16ArrayWithOneArgument;
case TypeUint32:
return operationNewUint32ArrayWithOneArgument;
case TypeFloat32:
return operationNewFloat32ArrayWithOneArgument;
case TypeFloat64:
return operationNewFloat64ArrayWithOneArgument;
case NotTypedArray:
case TypeDataView:
break;
}
RELEASE_ASSERT_NOT_REACHED();
return 0;
}
} } // namespace JSC::DFG
#endif
```
|
```java
package com.laifeng.sopcastsdk.stream.sender.rtmp.packets;
import com.laifeng.sopcastsdk.stream.sender.rtmp.Util;
import com.laifeng.sopcastsdk.stream.sender.rtmp.io.SessionInfo;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Window Acknowledgement Size
*
* Also known as ServerBW ("Server bandwidth") in some RTMP implementations.
*
* @author francois
*/
public class WindowAckSize extends Chunk {
private int acknowledgementWindowSize;
public WindowAckSize(ChunkHeader header) {
super(header);
}
public WindowAckSize(int acknowledgementWindowSize) {
super(new ChunkHeader(ChunkType.TYPE_0_FULL, SessionInfo.RTMP_CONTROL_CHANNEL, MessageType.WINDOW_ACKNOWLEDGEMENT_SIZE));
this.acknowledgementWindowSize = acknowledgementWindowSize;
}
public int getAcknowledgementWindowSize() {
return acknowledgementWindowSize;
}
public void setAcknowledgementWindowSize(int acknowledgementWindowSize) {
this.acknowledgementWindowSize = acknowledgementWindowSize;
}
@Override
public void readBody(InputStream in) throws IOException {
acknowledgementWindowSize = Util.readUnsignedInt32(in);
}
@Override
protected void writeBody(OutputStream out) throws IOException {
Util.writeUnsignedInt32(out, acknowledgementWindowSize);
}
@Override
public String toString() {
return "RTMP Window Acknowledgment Size";
}
}
```
|
```objective-c
/*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkPdfJavascriptActionDictionary_DEFINED
#define SkPdfJavascriptActionDictionary_DEFINED
#include "SkPdfDictionary_autogen.h"
// Additional entries specific to a JavaScript action
class SkPdfJavascriptActionDictionary : public SkPdfDictionary {
public:
public:
SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() {return this;}
const SkPdfJavascriptActionDictionary* asJavascriptActionDictionary() const {return this;}
private:
SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return (SkPdfALinkAnnotationDictionary*)this;}
const SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() const {return (const SkPdfALinkAnnotationDictionary*)this;}
SkPdfActionDictionary* asActionDictionary() {return (SkPdfActionDictionary*)this;}
const SkPdfActionDictionary* asActionDictionary() const {return (const SkPdfActionDictionary*)this;}
SkPdfAlternateImageDictionary* asAlternateImageDictionary() {return (SkPdfAlternateImageDictionary*)this;}
const SkPdfAlternateImageDictionary* asAlternateImageDictionary() const {return (const SkPdfAlternateImageDictionary*)this;}
SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() {return (SkPdfAnnotationActionsDictionary*)this;}
const SkPdfAnnotationActionsDictionary* asAnnotationActionsDictionary() const {return (const SkPdfAnnotationActionsDictionary*)this;}
SkPdfAnnotationDictionary* asAnnotationDictionary() {return (SkPdfAnnotationDictionary*)this;}
const SkPdfAnnotationDictionary* asAnnotationDictionary() const {return (const SkPdfAnnotationDictionary*)this;}
SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() {return (SkPdfAppearanceCharacteristicsDictionary*)this;}
const SkPdfAppearanceCharacteristicsDictionary* asAppearanceCharacteristicsDictionary() const {return (const SkPdfAppearanceCharacteristicsDictionary*)this;}
SkPdfAppearanceDictionary* asAppearanceDictionary() {return (SkPdfAppearanceDictionary*)this;}
const SkPdfAppearanceDictionary* asAppearanceDictionary() const {return (const SkPdfAppearanceDictionary*)this;}
SkPdfApplicationDataDictionary* asApplicationDataDictionary() {return (SkPdfApplicationDataDictionary*)this;}
const SkPdfApplicationDataDictionary* asApplicationDataDictionary() const {return (const SkPdfApplicationDataDictionary*)this;}
SkPdfArtifactsDictionary* asArtifactsDictionary() {return (SkPdfArtifactsDictionary*)this;}
const SkPdfArtifactsDictionary* asArtifactsDictionary() const {return (const SkPdfArtifactsDictionary*)this;}
SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() {return (SkPdfAttributeObjectDictionary*)this;}
const SkPdfAttributeObjectDictionary* asAttributeObjectDictionary() const {return (const SkPdfAttributeObjectDictionary*)this;}
SkPdfBeadDictionary* asBeadDictionary() {return (SkPdfBeadDictionary*)this;}
const SkPdfBeadDictionary* asBeadDictionary() const {return (const SkPdfBeadDictionary*)this;}
SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() {return (SkPdfBlockLevelStructureElementsDictionary*)this;}
const SkPdfBlockLevelStructureElementsDictionary* asBlockLevelStructureElementsDictionary() const {return (const SkPdfBlockLevelStructureElementsDictionary*)this;}
SkPdfBorderStyleDictionary* asBorderStyleDictionary() {return (SkPdfBorderStyleDictionary*)this;}
const SkPdfBorderStyleDictionary* asBorderStyleDictionary() const {return (const SkPdfBorderStyleDictionary*)this;}
SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() {return (SkPdfBoxColorInformationDictionary*)this;}
const SkPdfBoxColorInformationDictionary* asBoxColorInformationDictionary() const {return (const SkPdfBoxColorInformationDictionary*)this;}
SkPdfBoxStyleDictionary* asBoxStyleDictionary() {return (SkPdfBoxStyleDictionary*)this;}
const SkPdfBoxStyleDictionary* asBoxStyleDictionary() const {return (const SkPdfBoxStyleDictionary*)this;}
SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() {return (SkPdfCIDFontDescriptorDictionary*)this;}
const SkPdfCIDFontDescriptorDictionary* asCIDFontDescriptorDictionary() const {return (const SkPdfCIDFontDescriptorDictionary*)this;}
SkPdfCIDFontDictionary* asCIDFontDictionary() {return (SkPdfCIDFontDictionary*)this;}
const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return (const SkPdfCIDFontDictionary*)this;}
SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() {return (SkPdfCIDSystemInfoDictionary*)this;}
const SkPdfCIDSystemInfoDictionary* asCIDSystemInfoDictionary() const {return (const SkPdfCIDSystemInfoDictionary*)this;}
SkPdfCMapDictionary* asCMapDictionary() {return (SkPdfCMapDictionary*)this;}
const SkPdfCMapDictionary* asCMapDictionary() const {return (const SkPdfCMapDictionary*)this;}
SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() {return (SkPdfCalgrayColorSpaceDictionary*)this;}
const SkPdfCalgrayColorSpaceDictionary* asCalgrayColorSpaceDictionary() const {return (const SkPdfCalgrayColorSpaceDictionary*)this;}
SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() {return (SkPdfCalrgbColorSpaceDictionary*)this;}
const SkPdfCalrgbColorSpaceDictionary* asCalrgbColorSpaceDictionary() const {return (const SkPdfCalrgbColorSpaceDictionary*)this;}
SkPdfCatalogDictionary* asCatalogDictionary() {return (SkPdfCatalogDictionary*)this;}
const SkPdfCatalogDictionary* asCatalogDictionary() const {return (const SkPdfCatalogDictionary*)this;}
SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() {return (SkPdfCcittfaxdecodeFilterDictionary*)this;}
const SkPdfCcittfaxdecodeFilterDictionary* asCcittfaxdecodeFilterDictionary() const {return (const SkPdfCcittfaxdecodeFilterDictionary*)this;}
SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() {return (SkPdfCheckboxFieldDictionary*)this;}
const SkPdfCheckboxFieldDictionary* asCheckboxFieldDictionary() const {return (const SkPdfCheckboxFieldDictionary*)this;}
SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() {return (SkPdfChoiceFieldDictionary*)this;}
const SkPdfChoiceFieldDictionary* asChoiceFieldDictionary() const {return (const SkPdfChoiceFieldDictionary*)this;}
SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() {return (SkPdfComponentsWithMetadataDictionary*)this;}
const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() const {return (const SkPdfComponentsWithMetadataDictionary*)this;}
SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() {return (SkPdfDctdecodeFilterDictionary*)this;}
const SkPdfDctdecodeFilterDictionary* asDctdecodeFilterDictionary() const {return (const SkPdfDctdecodeFilterDictionary*)this;}
SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() {return (SkPdfDeviceNColorSpaceDictionary*)this;}
const SkPdfDeviceNColorSpaceDictionary* asDeviceNColorSpaceDictionary() const {return (const SkPdfDeviceNColorSpaceDictionary*)this;}
SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() {return (SkPdfDocumentCatalogActionsDictionary*)this;}
const SkPdfDocumentCatalogActionsDictionary* asDocumentCatalogActionsDictionary() const {return (const SkPdfDocumentCatalogActionsDictionary*)this;}
SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() {return (SkPdfDocumentInformationDictionary*)this;}
const SkPdfDocumentInformationDictionary* asDocumentInformationDictionary() const {return (const SkPdfDocumentInformationDictionary*)this;}
SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() {return (SkPdfEmbeddedFileParameterDictionary*)this;}
const SkPdfEmbeddedFileParameterDictionary* asEmbeddedFileParameterDictionary() const {return (const SkPdfEmbeddedFileParameterDictionary*)this;}
SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() {return (SkPdfEmbeddedFileStreamDictionary*)this;}
const SkPdfEmbeddedFileStreamDictionary* asEmbeddedFileStreamDictionary() const {return (const SkPdfEmbeddedFileStreamDictionary*)this;}
SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() {return (SkPdfEmbeddedFontStreamDictionary*)this;}
const SkPdfEmbeddedFontStreamDictionary* asEmbeddedFontStreamDictionary() const {return (const SkPdfEmbeddedFontStreamDictionary*)this;}
SkPdfEncodingDictionary* asEncodingDictionary() {return (SkPdfEncodingDictionary*)this;}
const SkPdfEncodingDictionary* asEncodingDictionary() const {return (const SkPdfEncodingDictionary*)this;}
SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() {return (SkPdfEncryptedEmbeddedFileStreamDictionary*)this;}
const SkPdfEncryptedEmbeddedFileStreamDictionary* asEncryptedEmbeddedFileStreamDictionary() const {return (const SkPdfEncryptedEmbeddedFileStreamDictionary*)this;}
SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() {return (SkPdfEncryptionCommonDictionary*)this;}
const SkPdfEncryptionCommonDictionary* asEncryptionCommonDictionary() const {return (const SkPdfEncryptionCommonDictionary*)this;}
SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() {return (SkPdfFDFCatalogDictionary*)this;}
const SkPdfFDFCatalogDictionary* asFDFCatalogDictionary() const {return (const SkPdfFDFCatalogDictionary*)this;}
SkPdfFDFDictionary* asFDFDictionary() {return (SkPdfFDFDictionary*)this;}
const SkPdfFDFDictionary* asFDFDictionary() const {return (const SkPdfFDFDictionary*)this;}
SkPdfFDFFieldDictionary* asFDFFieldDictionary() {return (SkPdfFDFFieldDictionary*)this;}
const SkPdfFDFFieldDictionary* asFDFFieldDictionary() const {return (const SkPdfFDFFieldDictionary*)this;}
SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() {return (SkPdfFDFFileAnnotationDictionary*)this;}
const SkPdfFDFFileAnnotationDictionary* asFDFFileAnnotationDictionary() const {return (const SkPdfFDFFileAnnotationDictionary*)this;}
SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() {return (SkPdfFDFNamedPageReferenceDictionary*)this;}
const SkPdfFDFNamedPageReferenceDictionary* asFDFNamedPageReferenceDictionary() const {return (const SkPdfFDFNamedPageReferenceDictionary*)this;}
SkPdfFDFPageDictionary* asFDFPageDictionary() {return (SkPdfFDFPageDictionary*)this;}
const SkPdfFDFPageDictionary* asFDFPageDictionary() const {return (const SkPdfFDFPageDictionary*)this;}
SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() {return (SkPdfFDFTemplateDictionary*)this;}
const SkPdfFDFTemplateDictionary* asFDFTemplateDictionary() const {return (const SkPdfFDFTemplateDictionary*)this;}
SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() {return (SkPdfFDFTrailerDictionary*)this;}
const SkPdfFDFTrailerDictionary* asFDFTrailerDictionary() const {return (const SkPdfFDFTrailerDictionary*)this;}
SkPdfFieldDictionary* asFieldDictionary() {return (SkPdfFieldDictionary*)this;}
const SkPdfFieldDictionary* asFieldDictionary() const {return (const SkPdfFieldDictionary*)this;}
SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() {return (SkPdfFileAttachmentAnnotationDictionary*)this;}
const SkPdfFileAttachmentAnnotationDictionary* asFileAttachmentAnnotationDictionary() const {return (const SkPdfFileAttachmentAnnotationDictionary*)this;}
SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() {return (SkPdfFileSpecificationDictionary*)this;}
const SkPdfFileSpecificationDictionary* asFileSpecificationDictionary() const {return (const SkPdfFileSpecificationDictionary*)this;}
SkPdfFileTrailerDictionary* asFileTrailerDictionary() {return (SkPdfFileTrailerDictionary*)this;}
const SkPdfFileTrailerDictionary* asFileTrailerDictionary() const {return (const SkPdfFileTrailerDictionary*)this;}
SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() {return (SkPdfFontDescriptorDictionary*)this;}
const SkPdfFontDescriptorDictionary* asFontDescriptorDictionary() const {return (const SkPdfFontDescriptorDictionary*)this;}
SkPdfFontDictionary* asFontDictionary() {return (SkPdfFontDictionary*)this;}
const SkPdfFontDictionary* asFontDictionary() const {return (const SkPdfFontDictionary*)this;}
SkPdfType0FontDictionary* asType0FontDictionary() {return (SkPdfType0FontDictionary*)this;}
const SkPdfType0FontDictionary* asType0FontDictionary() const {return (const SkPdfType0FontDictionary*)this;}
SkPdfType1FontDictionary* asType1FontDictionary() {return (SkPdfType1FontDictionary*)this;}
const SkPdfType1FontDictionary* asType1FontDictionary() const {return (const SkPdfType1FontDictionary*)this;}
SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfMultiMasterFontDictionary*)this;}
const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return (const SkPdfMultiMasterFontDictionary*)this;}
SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;}
const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;}
SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return (SkPdfFormFieldActionsDictionary*)this;}
const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return (const SkPdfFormFieldActionsDictionary*)this;}
SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {return (SkPdfFreeTextAnnotationDictionary*)this;}
const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() const {return (const SkPdfFreeTextAnnotationDictionary*)this;}
SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() {return (SkPdfFunctionCommonDictionary*)this;}
const SkPdfFunctionCommonDictionary* asFunctionCommonDictionary() const {return (const SkPdfFunctionCommonDictionary*)this;}
SkPdfGoToActionDictionary* asGoToActionDictionary() {return (SkPdfGoToActionDictionary*)this;}
const SkPdfGoToActionDictionary* asGoToActionDictionary() const {return (const SkPdfGoToActionDictionary*)this;}
SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() {return (SkPdfGraphicsStateDictionary*)this;}
const SkPdfGraphicsStateDictionary* asGraphicsStateDictionary() const {return (const SkPdfGraphicsStateDictionary*)this;}
SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() {return (SkPdfGroupAttributesDictionary*)this;}
const SkPdfGroupAttributesDictionary* asGroupAttributesDictionary() const {return (const SkPdfGroupAttributesDictionary*)this;}
SkPdfHideActionDictionary* asHideActionDictionary() {return (SkPdfHideActionDictionary*)this;}
const SkPdfHideActionDictionary* asHideActionDictionary() const {return (const SkPdfHideActionDictionary*)this;}
SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() {return (SkPdfIccProfileStreamDictionary*)this;}
const SkPdfIccProfileStreamDictionary* asIccProfileStreamDictionary() const {return (const SkPdfIccProfileStreamDictionary*)this;}
SkPdfIconFitDictionary* asIconFitDictionary() {return (SkPdfIconFitDictionary*)this;}
const SkPdfIconFitDictionary* asIconFitDictionary() const {return (const SkPdfIconFitDictionary*)this;}
SkPdfImportDataActionDictionary* asImportDataActionDictionary() {return (SkPdfImportDataActionDictionary*)this;}
const SkPdfImportDataActionDictionary* asImportDataActionDictionary() const {return (const SkPdfImportDataActionDictionary*)this;}
SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() {return (SkPdfInkAnnotationDictionary*)this;}
const SkPdfInkAnnotationDictionary* asInkAnnotationDictionary() const {return (const SkPdfInkAnnotationDictionary*)this;}
SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() {return (SkPdfInlineLevelStructureElementsDictionary*)this;}
const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDictionary() const {return (const SkPdfInlineLevelStructureElementsDictionary*)this;}
SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() {return (SkPdfInteractiveFormDictionary*)this;}
const SkPdfInteractiveFormDictionary* asInteractiveFormDictionary() const {return (const SkPdfInteractiveFormDictionary*)this;}
SkPdfJavascriptDictionary* asJavascriptDictionary() {return (SkPdfJavascriptDictionary*)this;}
const SkPdfJavascriptDictionary* asJavascriptDictionary() const {return (const SkPdfJavascriptDictionary*)this;}
SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() {return (SkPdfJbig2DecodeFilterDictionary*)this;}
const SkPdfJbig2DecodeFilterDictionary* asJbig2DecodeFilterDictionary() const {return (const SkPdfJbig2DecodeFilterDictionary*)this;}
SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() {return (SkPdfLabColorSpaceDictionary*)this;}
const SkPdfLabColorSpaceDictionary* asLabColorSpaceDictionary() const {return (const SkPdfLabColorSpaceDictionary*)this;}
SkPdfLaunchActionDictionary* asLaunchActionDictionary() {return (SkPdfLaunchActionDictionary*)this;}
const SkPdfLaunchActionDictionary* asLaunchActionDictionary() const {return (const SkPdfLaunchActionDictionary*)this;}
SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() {return (SkPdfLineAnnotationDictionary*)this;}
const SkPdfLineAnnotationDictionary* asLineAnnotationDictionary() const {return (const SkPdfLineAnnotationDictionary*)this;}
SkPdfListAttributeDictionary* asListAttributeDictionary() {return (SkPdfListAttributeDictionary*)this;}
const SkPdfListAttributeDictionary* asListAttributeDictionary() const {return (const SkPdfListAttributeDictionary*)this;}
SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() {return (SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;}
const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary* asLzwdecodeAndFlatedecodeFiltersDictionary() const {return (const SkPdfLzwdecodeAndFlatedecodeFiltersDictionary*)this;}
SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() {return (SkPdfMacOsFileInformationDictionary*)this;}
const SkPdfMacOsFileInformationDictionary* asMacOsFileInformationDictionary() const {return (const SkPdfMacOsFileInformationDictionary*)this;}
SkPdfMarkInformationDictionary* asMarkInformationDictionary() {return (SkPdfMarkInformationDictionary*)this;}
const SkPdfMarkInformationDictionary* asMarkInformationDictionary() const {return (const SkPdfMarkInformationDictionary*)this;}
SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() {return (SkPdfMarkedContentReferenceDictionary*)this;}
const SkPdfMarkedContentReferenceDictionary* asMarkedContentReferenceDictionary() const {return (const SkPdfMarkedContentReferenceDictionary*)this;}
SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() {return (SkPdfMarkupAnnotationsDictionary*)this;}
const SkPdfMarkupAnnotationsDictionary* asMarkupAnnotationsDictionary() const {return (const SkPdfMarkupAnnotationsDictionary*)this;}
SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() {return (SkPdfMetadataStreamDictionary*)this;}
const SkPdfMetadataStreamDictionary* asMetadataStreamDictionary() const {return (const SkPdfMetadataStreamDictionary*)this;}
SkPdfMovieActionDictionary* asMovieActionDictionary() {return (SkPdfMovieActionDictionary*)this;}
const SkPdfMovieActionDictionary* asMovieActionDictionary() const {return (const SkPdfMovieActionDictionary*)this;}
SkPdfMovieActivationDictionary* asMovieActivationDictionary() {return (SkPdfMovieActivationDictionary*)this;}
const SkPdfMovieActivationDictionary* asMovieActivationDictionary() const {return (const SkPdfMovieActivationDictionary*)this;}
SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() {return (SkPdfMovieAnnotationDictionary*)this;}
const SkPdfMovieAnnotationDictionary* asMovieAnnotationDictionary() const {return (const SkPdfMovieAnnotationDictionary*)this;}
SkPdfMovieDictionary* asMovieDictionary() {return (SkPdfMovieDictionary*)this;}
const SkPdfMovieDictionary* asMovieDictionary() const {return (const SkPdfMovieDictionary*)this;}
SkPdfNameDictionary* asNameDictionary() {return (SkPdfNameDictionary*)this;}
const SkPdfNameDictionary* asNameDictionary() const {return (const SkPdfNameDictionary*)this;}
SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() {return (SkPdfNameTreeNodeDictionary*)this;}
const SkPdfNameTreeNodeDictionary* asNameTreeNodeDictionary() const {return (const SkPdfNameTreeNodeDictionary*)this;}
SkPdfNamedActionsDictionary* asNamedActionsDictionary() {return (SkPdfNamedActionsDictionary*)this;}
const SkPdfNamedActionsDictionary* asNamedActionsDictionary() const {return (const SkPdfNamedActionsDictionary*)this;}
SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() {return (SkPdfNumberTreeNodeDictionary*)this;}
const SkPdfNumberTreeNodeDictionary* asNumberTreeNodeDictionary() const {return (const SkPdfNumberTreeNodeDictionary*)this;}
SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() {return (SkPdfObjectReferenceDictionary*)this;}
const SkPdfObjectReferenceDictionary* asObjectReferenceDictionary() const {return (const SkPdfObjectReferenceDictionary*)this;}
SkPdfOpiVersionDictionary* asOpiVersionDictionary() {return (SkPdfOpiVersionDictionary*)this;}
const SkPdfOpiVersionDictionary* asOpiVersionDictionary() const {return (const SkPdfOpiVersionDictionary*)this;}
SkPdfOutlineDictionary* asOutlineDictionary() {return (SkPdfOutlineDictionary*)this;}
const SkPdfOutlineDictionary* asOutlineDictionary() const {return (const SkPdfOutlineDictionary*)this;}
SkPdfOutlineItemDictionary* asOutlineItemDictionary() {return (SkPdfOutlineItemDictionary*)this;}
const SkPdfOutlineItemDictionary* asOutlineItemDictionary() const {return (const SkPdfOutlineItemDictionary*)this;}
SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() {return (SkPdfPDF_XOutputIntentDictionary*)this;}
const SkPdfPDF_XOutputIntentDictionary* asPDF_XOutputIntentDictionary() const {return (const SkPdfPDF_XOutputIntentDictionary*)this;}
SkPdfPSXobjectDictionary* asPSXobjectDictionary() {return (SkPdfPSXobjectDictionary*)this;}
const SkPdfPSXobjectDictionary* asPSXobjectDictionary() const {return (const SkPdfPSXobjectDictionary*)this;}
SkPdfPageLabelDictionary* asPageLabelDictionary() {return (SkPdfPageLabelDictionary*)this;}
const SkPdfPageLabelDictionary* asPageLabelDictionary() const {return (const SkPdfPageLabelDictionary*)this;}
SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() {return (SkPdfPageObjectActionsDictionary*)this;}
const SkPdfPageObjectActionsDictionary* asPageObjectActionsDictionary() const {return (const SkPdfPageObjectActionsDictionary*)this;}
SkPdfPageObjectDictionary* asPageObjectDictionary() {return (SkPdfPageObjectDictionary*)this;}
const SkPdfPageObjectDictionary* asPageObjectDictionary() const {return (const SkPdfPageObjectDictionary*)this;}
SkPdfPagePieceDictionary* asPagePieceDictionary() {return (SkPdfPagePieceDictionary*)this;}
const SkPdfPagePieceDictionary* asPagePieceDictionary() const {return (const SkPdfPagePieceDictionary*)this;}
SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() {return (SkPdfPageTreeNodeDictionary*)this;}
const SkPdfPageTreeNodeDictionary* asPageTreeNodeDictionary() const {return (const SkPdfPageTreeNodeDictionary*)this;}
SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() {return (SkPdfPopUpAnnotationDictionary*)this;}
const SkPdfPopUpAnnotationDictionary* asPopUpAnnotationDictionary() const {return (const SkPdfPopUpAnnotationDictionary*)this;}
SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() {return (SkPdfPrinterMarkAnnotationDictionary*)this;}
const SkPdfPrinterMarkAnnotationDictionary* asPrinterMarkAnnotationDictionary() const {return (const SkPdfPrinterMarkAnnotationDictionary*)this;}
SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() {return (SkPdfPrinterMarkFormDictionary*)this;}
const SkPdfPrinterMarkFormDictionary* asPrinterMarkFormDictionary() const {return (const SkPdfPrinterMarkFormDictionary*)this;}
SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() {return (SkPdfRadioButtonFieldDictionary*)this;}
const SkPdfRadioButtonFieldDictionary* asRadioButtonFieldDictionary() const {return (const SkPdfRadioButtonFieldDictionary*)this;}
SkPdfReferenceDictionary* asReferenceDictionary() {return (SkPdfReferenceDictionary*)this;}
const SkPdfReferenceDictionary* asReferenceDictionary() const {return (const SkPdfReferenceDictionary*)this;}
SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() {return (SkPdfRemoteGoToActionDictionary*)this;}
const SkPdfRemoteGoToActionDictionary* asRemoteGoToActionDictionary() const {return (const SkPdfRemoteGoToActionDictionary*)this;}
SkPdfResetFormActionDictionary* asResetFormActionDictionary() {return (SkPdfResetFormActionDictionary*)this;}
const SkPdfResetFormActionDictionary* asResetFormActionDictionary() const {return (const SkPdfResetFormActionDictionary*)this;}
SkPdfResourceDictionary* asResourceDictionary() {return (SkPdfResourceDictionary*)this;}
const SkPdfResourceDictionary* asResourceDictionary() const {return (const SkPdfResourceDictionary*)this;}
SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() {return (SkPdfRubberStampAnnotationDictionary*)this;}
const SkPdfRubberStampAnnotationDictionary* asRubberStampAnnotationDictionary() const {return (const SkPdfRubberStampAnnotationDictionary*)this;}
SkPdfSeparationDictionary* asSeparationDictionary() {return (SkPdfSeparationDictionary*)this;}
const SkPdfSeparationDictionary* asSeparationDictionary() const {return (const SkPdfSeparationDictionary*)this;}
SkPdfShadingDictionary* asShadingDictionary() {return (SkPdfShadingDictionary*)this;}
const SkPdfShadingDictionary* asShadingDictionary() const {return (const SkPdfShadingDictionary*)this;}
SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return (SkPdfType1ShadingDictionary*)this;}
const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {return (const SkPdfType1ShadingDictionary*)this;}
SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return (SkPdfType2ShadingDictionary*)this;}
const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return (const SkPdfType2ShadingDictionary*)this;}
SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return (SkPdfType3ShadingDictionary*)this;}
const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {return (const SkPdfType3ShadingDictionary*)this;}
SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return (SkPdfType4ShadingDictionary*)this;}
const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {return (const SkPdfType4ShadingDictionary*)this;}
SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return (SkPdfType5ShadingDictionary*)this;}
const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return (const SkPdfType5ShadingDictionary*)this;}
SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return (SkPdfType6ShadingDictionary*)this;}
const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {return (const SkPdfType6ShadingDictionary*)this;}
SkPdfSignatureDictionary* asSignatureDictionary() {return (SkPdfSignatureDictionary*)this;}
const SkPdfSignatureDictionary* asSignatureDictionary() const {return (const SkPdfSignatureDictionary*)this;}
SkPdfSoftMaskDictionary* asSoftMaskDictionary() {return (SkPdfSoftMaskDictionary*)this;}
const SkPdfSoftMaskDictionary* asSoftMaskDictionary() const {return (const SkPdfSoftMaskDictionary*)this;}
SkPdfSoundActionDictionary* asSoundActionDictionary() {return (SkPdfSoundActionDictionary*)this;}
const SkPdfSoundActionDictionary* asSoundActionDictionary() const {return (const SkPdfSoundActionDictionary*)this;}
SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() {return (SkPdfSoundAnnotationDictionary*)this;}
const SkPdfSoundAnnotationDictionary* asSoundAnnotationDictionary() const {return (const SkPdfSoundAnnotationDictionary*)this;}
SkPdfSoundObjectDictionary* asSoundObjectDictionary() {return (SkPdfSoundObjectDictionary*)this;}
const SkPdfSoundObjectDictionary* asSoundObjectDictionary() const {return (const SkPdfSoundObjectDictionary*)this;}
SkPdfSourceInformationDictionary* asSourceInformationDictionary() {return (SkPdfSourceInformationDictionary*)this;}
const SkPdfSourceInformationDictionary* asSourceInformationDictionary() const {return (const SkPdfSourceInformationDictionary*)this;}
SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() {return (SkPdfSquareOrCircleAnnotation*)this;}
const SkPdfSquareOrCircleAnnotation* asSquareOrCircleAnnotation() const {return (const SkPdfSquareOrCircleAnnotation*)this;}
SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() {return (SkPdfStandardSecurityHandlerDictionary*)this;}
const SkPdfStandardSecurityHandlerDictionary* asStandardSecurityHandlerDictionary() const {return (const SkPdfStandardSecurityHandlerDictionary*)this;}
SkPdfStandardStructureDictionary* asStandardStructureDictionary() {return (SkPdfStandardStructureDictionary*)this;}
const SkPdfStandardStructureDictionary* asStandardStructureDictionary() const {return (const SkPdfStandardStructureDictionary*)this;}
SkPdfStreamCommonDictionary* asStreamCommonDictionary() {return (SkPdfStreamCommonDictionary*)this;}
const SkPdfStreamCommonDictionary* asStreamCommonDictionary() const {return (const SkPdfStreamCommonDictionary*)this;}
SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() {return (SkPdfStructureElementAccessDictionary*)this;}
const SkPdfStructureElementAccessDictionary* asStructureElementAccessDictionary() const {return (const SkPdfStructureElementAccessDictionary*)this;}
SkPdfStructureElementDictionary* asStructureElementDictionary() {return (SkPdfStructureElementDictionary*)this;}
const SkPdfStructureElementDictionary* asStructureElementDictionary() const {return (const SkPdfStructureElementDictionary*)this;}
SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() {return (SkPdfStructureTreeRootDictionary*)this;}
const SkPdfStructureTreeRootDictionary* asStructureTreeRootDictionary() const {return (const SkPdfStructureTreeRootDictionary*)this;}
SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() {return (SkPdfSubmitFormActionDictionary*)this;}
const SkPdfSubmitFormActionDictionary* asSubmitFormActionDictionary() const {return (const SkPdfSubmitFormActionDictionary*)this;}
SkPdfTableAttributesDictionary* asTableAttributesDictionary() {return (SkPdfTableAttributesDictionary*)this;}
const SkPdfTableAttributesDictionary* asTableAttributesDictionary() const {return (const SkPdfTableAttributesDictionary*)this;}
SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() {return (SkPdfTextAnnotationDictionary*)this;}
const SkPdfTextAnnotationDictionary* asTextAnnotationDictionary() const {return (const SkPdfTextAnnotationDictionary*)this;}
SkPdfTextFieldDictionary* asTextFieldDictionary() {return (SkPdfTextFieldDictionary*)this;}
const SkPdfTextFieldDictionary* asTextFieldDictionary() const {return (const SkPdfTextFieldDictionary*)this;}
SkPdfThreadActionDictionary* asThreadActionDictionary() {return (SkPdfThreadActionDictionary*)this;}
const SkPdfThreadActionDictionary* asThreadActionDictionary() const {return (const SkPdfThreadActionDictionary*)this;}
SkPdfThreadDictionary* asThreadDictionary() {return (SkPdfThreadDictionary*)this;}
const SkPdfThreadDictionary* asThreadDictionary() const {return (const SkPdfThreadDictionary*)this;}
SkPdfTransitionDictionary* asTransitionDictionary() {return (SkPdfTransitionDictionary*)this;}
const SkPdfTransitionDictionary* asTransitionDictionary() const {return (const SkPdfTransitionDictionary*)this;}
SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() {return (SkPdfTransparencyGroupDictionary*)this;}
const SkPdfTransparencyGroupDictionary* asTransparencyGroupDictionary() const {return (const SkPdfTransparencyGroupDictionary*)this;}
SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() {return (SkPdfTrapNetworkAnnotationDictionary*)this;}
const SkPdfTrapNetworkAnnotationDictionary* asTrapNetworkAnnotationDictionary() const {return (const SkPdfTrapNetworkAnnotationDictionary*)this;}
SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() {return (SkPdfTrapNetworkAppearanceStreamDictionary*)this;}
const SkPdfTrapNetworkAppearanceStreamDictionary* asTrapNetworkAppearanceStreamDictionary() const {return (const SkPdfTrapNetworkAppearanceStreamDictionary*)this;}
SkPdfType0FunctionDictionary* asType0FunctionDictionary() {return (SkPdfType0FunctionDictionary*)this;}
const SkPdfType0FunctionDictionary* asType0FunctionDictionary() const {return (const SkPdfType0FunctionDictionary*)this;}
SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() {return (SkPdfType10HalftoneDictionary*)this;}
const SkPdfType10HalftoneDictionary* asType10HalftoneDictionary() const {return (const SkPdfType10HalftoneDictionary*)this;}
SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() {return (SkPdfType16HalftoneDictionary*)this;}
const SkPdfType16HalftoneDictionary* asType16HalftoneDictionary() const {return (const SkPdfType16HalftoneDictionary*)this;}
SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() {return (SkPdfType1HalftoneDictionary*)this;}
const SkPdfType1HalftoneDictionary* asType1HalftoneDictionary() const {return (const SkPdfType1HalftoneDictionary*)this;}
SkPdfType1PatternDictionary* asType1PatternDictionary() {return (SkPdfType1PatternDictionary*)this;}
const SkPdfType1PatternDictionary* asType1PatternDictionary() const {return (const SkPdfType1PatternDictionary*)this;}
SkPdfType2FunctionDictionary* asType2FunctionDictionary() {return (SkPdfType2FunctionDictionary*)this;}
const SkPdfType2FunctionDictionary* asType2FunctionDictionary() const {return (const SkPdfType2FunctionDictionary*)this;}
SkPdfType2PatternDictionary* asType2PatternDictionary() {return (SkPdfType2PatternDictionary*)this;}
const SkPdfType2PatternDictionary* asType2PatternDictionary() const {return (const SkPdfType2PatternDictionary*)this;}
SkPdfType3FunctionDictionary* asType3FunctionDictionary() {return (SkPdfType3FunctionDictionary*)this;}
const SkPdfType3FunctionDictionary* asType3FunctionDictionary() const {return (const SkPdfType3FunctionDictionary*)this;}
SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() {return (SkPdfType5HalftoneDictionary*)this;}
const SkPdfType5HalftoneDictionary* asType5HalftoneDictionary() const {return (const SkPdfType5HalftoneDictionary*)this;}
SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() {return (SkPdfType6HalftoneDictionary*)this;}
const SkPdfType6HalftoneDictionary* asType6HalftoneDictionary() const {return (const SkPdfType6HalftoneDictionary*)this;}
SkPdfURIActionDictionary* asURIActionDictionary() {return (SkPdfURIActionDictionary*)this;}
const SkPdfURIActionDictionary* asURIActionDictionary() const {return (const SkPdfURIActionDictionary*)this;}
SkPdfURIDictionary* asURIDictionary() {return (SkPdfURIDictionary*)this;}
const SkPdfURIDictionary* asURIDictionary() const {return (const SkPdfURIDictionary*)this;}
SkPdfURLAliasDictionary* asURLAliasDictionary() {return (SkPdfURLAliasDictionary*)this;}
const SkPdfURLAliasDictionary* asURLAliasDictionary() const {return (const SkPdfURLAliasDictionary*)this;}
SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() {return (SkPdfVariableTextFieldDictionary*)this;}
const SkPdfVariableTextFieldDictionary* asVariableTextFieldDictionary() const {return (const SkPdfVariableTextFieldDictionary*)this;}
SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() {return (SkPdfViewerPreferencesDictionary*)this;}
const SkPdfViewerPreferencesDictionary* asViewerPreferencesDictionary() const {return (const SkPdfViewerPreferencesDictionary*)this;}
SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() {return (SkPdfWebCaptureCommandDictionary*)this;}
const SkPdfWebCaptureCommandDictionary* asWebCaptureCommandDictionary() const {return (const SkPdfWebCaptureCommandDictionary*)this;}
SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() {return (SkPdfWebCaptureCommandSettingsDictionary*)this;}
const SkPdfWebCaptureCommandSettingsDictionary* asWebCaptureCommandSettingsDictionary() const {return (const SkPdfWebCaptureCommandSettingsDictionary*)this;}
SkPdfWebCaptureDictionary* asWebCaptureDictionary() {return (SkPdfWebCaptureDictionary*)this;}
const SkPdfWebCaptureDictionary* asWebCaptureDictionary() const {return (const SkPdfWebCaptureDictionary*)this;}
SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() {return (SkPdfWebCaptureImageSetDictionary*)this;}
const SkPdfWebCaptureImageSetDictionary* asWebCaptureImageSetDictionary() const {return (const SkPdfWebCaptureImageSetDictionary*)this;}
SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() {return (SkPdfWebCaptureInformationDictionary*)this;}
const SkPdfWebCaptureInformationDictionary* asWebCaptureInformationDictionary() const {return (const SkPdfWebCaptureInformationDictionary*)this;}
SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() {return (SkPdfWebCapturePageSetDictionary*)this;}
const SkPdfWebCapturePageSetDictionary* asWebCapturePageSetDictionary() const {return (const SkPdfWebCapturePageSetDictionary*)this;}
SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() {return (SkPdfWidgetAnnotationDictionary*)this;}
const SkPdfWidgetAnnotationDictionary* asWidgetAnnotationDictionary() const {return (const SkPdfWidgetAnnotationDictionary*)this;}
SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() {return (SkPdfWindowsLaunchActionDictionary*)this;}
const SkPdfWindowsLaunchActionDictionary* asWindowsLaunchActionDictionary() const {return (const SkPdfWindowsLaunchActionDictionary*)this;}
SkPdfXObjectDictionary* asXObjectDictionary() {return (SkPdfXObjectDictionary*)this;}
const SkPdfXObjectDictionary* asXObjectDictionary() const {return (const SkPdfXObjectDictionary*)this;}
SkPdfImageDictionary* asImageDictionary() {return (SkPdfImageDictionary*)this;}
const SkPdfImageDictionary* asImageDictionary() const {return (const SkPdfImageDictionary*)this;}
SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return (SkPdfSoftMaskImageDictionary*)this;}
const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return (const SkPdfSoftMaskImageDictionary*)this;}
SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDictionary*)this;}
const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const SkPdfType1FormDictionary*)this;}
public:
bool valid() const {return true;}
SkString S(SkPdfNativeDoc* doc);
bool has_S() const;
bool isJSAString(SkPdfNativeDoc* doc);
SkString getJSAsString(SkPdfNativeDoc* doc);
bool isJSAStream(SkPdfNativeDoc* doc);
SkPdfStream* getJSAsStream(SkPdfNativeDoc* doc);
bool has_JS() const;
};
#endif // SkPdfJavascriptActionDictionary_DEFINED
```
|
The following is a list of moths of the family Uraniidae of Nepal. Twenty-three different species are listed.
This list is primarily based on Colin Smith's 2010 "Lepidoptera of Nepal", which is based on Toshiro Haruta's "Moths of Nepal (Vol. 1-6)" with some recent additions and a modernized classification.
Subfamily Auzeinae
Auzea arenosa
Auzea rufifrontata
Dirades theclata
Subfamily Epipleminae
Epiplema adamantina
Epiplema arcuata
Epiplema bicaudata
Epiplema fulvilinea
Epiplema fuscifrons
Epiplema himala
Epiplema indignaria
Epiplema nivea
Epiplema ocusta
Epiplema puncticulosa
Epiplema restricta
Epiplema reticulata
Epiplema ruptaria
Gathynia simulans
Metorthocheilus emarginata
Orudiza protheclaria
Paradecetia albistellaria
Subfamily Microniinae
Micronia aculeata
Micronia simplicata
Subfamily Uraniinae
Lyssa zampa zampa
See also
List of butterflies of Nepal
Odonata of Nepal
Cerambycidae of Nepal
Wildlife of Nepal
References
01
N
Uraniidae
Insects of Nepal
Nepal
|
```c
/* tasn_dec.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2000.
*/
/* ====================================================================
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. All advertising materials mentioning features or use of this
* software must display the following acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit. (path_to_url"
*
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
* endorse or promote products derived from this software without
* prior written permission. For written permission, please contact
* licensing@OpenSSL.org.
*
* 5. Products derived from this software may not be called "OpenSSL"
* nor may "OpenSSL" appear in their names without prior written
* permission of the OpenSSL Project.
*
* 6. Redistributions of any form whatsoever must retain the following
* acknowledgment:
* "This product includes software developed by the OpenSSL Project
* for use in the OpenSSL Toolkit (path_to_url"
*
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
* EXPRESSED 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 OpenSSL PROJECT OR
* ITS 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 product includes cryptographic software written by Eric Young
* (eay@cryptsoft.com). This product includes software written by Tim
* Hudson (tjh@cryptsoft.com).
*
*/
#include <stddef.h>
#include <string.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include <openssl/buffer.h>
#include <openssl/err.h>
static int asn1_check_eoc(const unsigned char **in, long len);
static int asn1_find_end(const unsigned char **in, long len, char inf);
static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
char inf, int tag, int aclass, int depth);
static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen);
static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass,
char *inf, char *cst,
const unsigned char **in, long len,
int exptag, int expclass, char opt, ASN1_TLC *ctx);
static int asn1_template_ex_d2i(ASN1_VALUE **pval,
const unsigned char **in, long len,
const ASN1_TEMPLATE *tt, char opt,
ASN1_TLC *ctx);
static int asn1_template_noexp_d2i(ASN1_VALUE **val,
const unsigned char **in, long len,
const ASN1_TEMPLATE *tt, char opt,
ASN1_TLC *ctx);
static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
const unsigned char **in, long len,
const ASN1_ITEM *it,
int tag, int aclass, char opt,
ASN1_TLC *ctx);
/* Table to convert tags to bit values, used for MSTRING type */
static const unsigned long tag2bit[32] = {
/* tags 0 - 3 */
0, 0, 0, B_ASN1_BIT_STRING,
/* tags 4- 7 */
B_ASN1_OCTET_STRING, 0, 0, B_ASN1_UNKNOWN,
/* tags 8-11 */
B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN,
/* tags 12-15 */
B_ASN1_UTF8STRING, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN, B_ASN1_UNKNOWN,
/* tags 16-19 */
B_ASN1_SEQUENCE, 0, B_ASN1_NUMERICSTRING, B_ASN1_PRINTABLESTRING,
/* tags 20-22 */
B_ASN1_T61STRING, B_ASN1_VIDEOTEXSTRING, B_ASN1_IA5STRING,
/* tags 23-24 */
B_ASN1_UTCTIME, B_ASN1_GENERALIZEDTIME,
/* tags 25-27 */
B_ASN1_GRAPHICSTRING, B_ASN1_ISO64STRING, B_ASN1_GENERALSTRING,
/* tags 28-31 */
B_ASN1_UNIVERSALSTRING, B_ASN1_UNKNOWN, B_ASN1_BMPSTRING, B_ASN1_UNKNOWN,
};
unsigned long ASN1_tag2bit(int tag)
{
if ((tag < 0) || (tag > 30))
return 0;
return tag2bit[tag];
}
/* Macro to initialize and invalidate the cache */
#define asn1_tlc_clear(c) if (c) (c)->valid = 0
/* Version to avoid compiler warning about 'c' always non-NULL */
#define asn1_tlc_clear_nc(c) (c)->valid = 0
/*
* Decode an ASN1 item, this currently behaves just like a standard 'd2i'
* function. 'in' points to a buffer to read the data from, in future we
* will have more advanced versions that can input data a piece at a time and
* this will simply be a special case.
*/
ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval,
const unsigned char **in, long len,
const ASN1_ITEM *it)
{
ASN1_TLC c;
ASN1_VALUE *ptmpval = NULL;
if (!pval)
pval = &ptmpval;
asn1_tlc_clear_nc(&c);
if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0)
return *pval;
return NULL;
}
int ASN1_template_d2i(ASN1_VALUE **pval,
const unsigned char **in, long len,
const ASN1_TEMPLATE *tt)
{
ASN1_TLC c;
asn1_tlc_clear_nc(&c);
return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
}
/*
* Decode an item, taking care of IMPLICIT tagging, if any. If 'opt' set and
* tag mismatch return -1 to handle OPTIONAL
*/
int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
const ASN1_ITEM *it,
int tag, int aclass, char opt, ASN1_TLC *ctx)
{
const ASN1_TEMPLATE *tt, *errtt = NULL;
const ASN1_COMPAT_FUNCS *cf;
const ASN1_EXTERN_FUNCS *ef;
const ASN1_AUX *aux = it->funcs;
ASN1_aux_cb *asn1_cb;
const unsigned char *p = NULL, *q;
unsigned char *wp = NULL; /* BIG FAT WARNING! BREAKS CONST WHERE USED */
unsigned char imphack = 0, oclass;
char seq_eoc, seq_nolen, cst, isopt;
long tmplen;
int i;
int otag;
int ret = 0;
ASN1_VALUE **pchptr, *ptmpval;
int combine = aclass & ASN1_TFLG_COMBINE;
aclass &= ~ASN1_TFLG_COMBINE;
if (!pval)
return 0;
if (aux && aux->asn1_cb)
asn1_cb = aux->asn1_cb;
else
asn1_cb = 0;
switch (it->itype) {
case ASN1_ITYPE_PRIMITIVE:
if (it->templates) {
/*
* tagging or OPTIONAL is currently illegal on an item template
* because the flags can't get passed down. In practice this
* isn't a problem: we include the relevant flags from the item
* template in the template itself.
*/
if ((tag != -1) || opt) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I,
ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE);
goto err;
}
return asn1_template_ex_d2i(pval, in, len,
it->templates, opt, ctx);
}
return asn1_d2i_ex_primitive(pval, in, len, it,
tag, aclass, opt, ctx);
break;
case ASN1_ITYPE_MSTRING:
p = *in;
/* Just read in tag and class */
ret = asn1_check_tlen(NULL, &otag, &oclass, NULL, NULL,
&p, len, -1, 0, 1, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
/* Must be UNIVERSAL class */
if (oclass != V_ASN1_UNIVERSAL) {
/* If OPTIONAL, assume this is OK */
if (opt)
return -1;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_MSTRING_NOT_UNIVERSAL);
goto err;
}
/* Check tag matches bit map */
if (!(ASN1_tag2bit(otag) & it->utype)) {
/* If OPTIONAL, assume this is OK */
if (opt)
return -1;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_MSTRING_WRONG_TAG);
goto err;
}
return asn1_d2i_ex_primitive(pval, in, len, it, otag, 0, 0, ctx);
case ASN1_ITYPE_EXTERN:
/* Use new style d2i */
ef = it->funcs;
return ef->asn1_ex_d2i(pval, in, len, it, tag, aclass, opt, ctx);
case ASN1_ITYPE_COMPAT:
/* we must resort to old style evil hackery */
cf = it->funcs;
/* If OPTIONAL see if it is there */
if (opt) {
int exptag;
p = *in;
if (tag == -1)
exptag = it->utype;
else
exptag = tag;
/*
* Don't care about anything other than presence of expected tag
*/
ret = asn1_check_tlen(NULL, NULL, NULL, NULL, NULL,
&p, len, exptag, aclass, 1, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
if (ret == -1)
return -1;
}
/*
* This is the old style evil hack IMPLICIT handling: since the
* underlying code is expecting a tag and class other than the one
* present we change the buffer temporarily then change it back
* afterwards. This doesn't and never did work for tags > 30. Yes
* this is *horrible* but it is only needed for old style d2i which
* will hopefully not be around for much longer. FIXME: should copy
* the buffer then modify it so the input buffer can be const: we
* should *always* copy because the old style d2i might modify the
* buffer.
*/
if (tag != -1) {
wp = *(unsigned char **)in;
imphack = *wp;
if (p == NULL) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
*wp = (unsigned char)((*p & V_ASN1_CONSTRUCTED)
| it->utype);
}
ptmpval = cf->asn1_d2i(pval, in, len);
if (tag != -1)
*wp = imphack;
if (ptmpval)
return 1;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
case ASN1_ITYPE_CHOICE:
if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it, NULL))
goto auxerr;
if (*pval) {
/* Free up and zero CHOICE value if initialised */
i = asn1_get_choice_selector(pval, it);
if ((i >= 0) && (i < it->tcount)) {
tt = it->templates + i;
pchptr = asn1_get_field_ptr(pval, tt);
ASN1_template_free(pchptr, tt);
asn1_set_choice_selector(pval, -1, it);
}
} else if (!ASN1_item_ex_new(pval, it)) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
/* CHOICE type, try each possibility in turn */
p = *in;
for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) {
pchptr = asn1_get_field_ptr(pval, tt);
/*
* We mark field as OPTIONAL so its absence can be recognised.
*/
ret = asn1_template_ex_d2i(pchptr, &p, len, tt, 1, ctx);
/* If field not present, try the next one */
if (ret == -1)
continue;
/* If positive return, read OK, break loop */
if (ret > 0)
break;
/* Otherwise must be an ASN1 parsing error */
errtt = tt;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
/* Did we fall off the end without reading anything? */
if (i == it->tcount) {
/* If OPTIONAL, this is OK */
if (opt) {
/* Free and zero it */
ASN1_item_ex_free(pval, it);
return -1;
}
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_NO_MATCHING_CHOICE_TYPE);
goto err;
}
asn1_set_choice_selector(pval, i, it);
if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it, NULL))
goto auxerr;
*in = p;
return 1;
case ASN1_ITYPE_NDEF_SEQUENCE:
case ASN1_ITYPE_SEQUENCE:
p = *in;
tmplen = len;
/* If no IMPLICIT tagging set to SEQUENCE, UNIVERSAL */
if (tag == -1) {
tag = V_ASN1_SEQUENCE;
aclass = V_ASN1_UNIVERSAL;
}
/* Get SEQUENCE length and update len, p */
ret = asn1_check_tlen(&len, NULL, NULL, &seq_eoc, &cst,
&p, len, tag, aclass, opt, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
} else if (ret == -1)
return -1;
if (aux && (aux->flags & ASN1_AFLG_BROKEN)) {
len = tmplen - (p - *in);
seq_nolen = 1;
}
/* If indefinite we don't do a length check */
else
seq_nolen = seq_eoc;
if (!cst) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_SEQUENCE_NOT_CONSTRUCTED);
goto err;
}
if (!*pval && !ASN1_item_ex_new(pval, it)) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
}
if (asn1_cb && !asn1_cb(ASN1_OP_D2I_PRE, pval, it, NULL))
goto auxerr;
/* Free up and zero any ADB found */
for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) {
if (tt->flags & ASN1_TFLG_ADB_MASK) {
const ASN1_TEMPLATE *seqtt;
ASN1_VALUE **pseqval;
seqtt = asn1_do_adb(pval, tt, 1);
pseqval = asn1_get_field_ptr(pval, seqtt);
ASN1_template_free(pseqval, seqtt);
}
}
/* Get each field entry */
for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) {
const ASN1_TEMPLATE *seqtt;
ASN1_VALUE **pseqval;
seqtt = asn1_do_adb(pval, tt, 1);
if (!seqtt)
goto err;
pseqval = asn1_get_field_ptr(pval, seqtt);
/* Have we ran out of data? */
if (!len)
break;
q = p;
if (asn1_check_eoc(&p, len)) {
if (!seq_eoc) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_UNEXPECTED_EOC);
goto err;
}
len -= p - q;
seq_eoc = 0;
q = p;
break;
}
/*
* This determines the OPTIONAL flag value. The field cannot be
* omitted if it is the last of a SEQUENCE and there is still
* data to be read. This isn't strictly necessary but it
* increases efficiency in some cases.
*/
if (i == (it->tcount - 1))
isopt = 0;
else
isopt = (char)(seqtt->flags & ASN1_TFLG_OPTIONAL);
/*
* attempt to read in field, allowing each to be OPTIONAL
*/
ret = asn1_template_ex_d2i(pseqval, &p, len, seqtt, isopt, ctx);
if (!ret) {
errtt = seqtt;
goto err;
} else if (ret == -1) {
/*
* OPTIONAL component absent. Free and zero the field.
*/
ASN1_template_free(pseqval, seqtt);
continue;
}
/* Update length */
len -= p - q;
}
/* Check for EOC if expecting one */
if (seq_eoc && !asn1_check_eoc(&p, len)) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_MISSING_EOC);
goto err;
}
/* Check all data read */
if (!seq_nolen && len) {
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_SEQUENCE_LENGTH_MISMATCH);
goto err;
}
/*
* If we get here we've got no more data in the SEQUENCE, however we
* may not have read all fields so check all remaining are OPTIONAL
* and clear any that are.
*/
for (; i < it->tcount; tt++, i++) {
const ASN1_TEMPLATE *seqtt;
seqtt = asn1_do_adb(pval, tt, 1);
if (!seqtt)
goto err;
if (seqtt->flags & ASN1_TFLG_OPTIONAL) {
ASN1_VALUE **pseqval;
pseqval = asn1_get_field_ptr(pval, seqtt);
ASN1_template_free(pseqval, seqtt);
} else {
errtt = seqtt;
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_FIELD_MISSING);
goto err;
}
}
/* Save encoding */
if (!asn1_enc_save(pval, *in, p - *in, it))
goto auxerr;
if (asn1_cb && !asn1_cb(ASN1_OP_D2I_POST, pval, it, NULL))
goto auxerr;
*in = p;
return 1;
default:
return 0;
}
auxerr:
ASN1err(ASN1_F_ASN1_ITEM_EX_D2I, ASN1_R_AUX_ERROR);
err:
if (combine == 0)
ASN1_item_ex_free(pval, it);
if (errtt)
ERR_add_error_data(4, "Field=", errtt->field_name,
", Type=", it->sname);
else
ERR_add_error_data(2, "Type=", it->sname);
return 0;
}
/*
* Templates are handled with two separate functions. One handles any
* EXPLICIT tag and the other handles the rest.
*/
static int asn1_template_ex_d2i(ASN1_VALUE **val,
const unsigned char **in, long inlen,
const ASN1_TEMPLATE *tt, char opt,
ASN1_TLC *ctx)
{
int flags, aclass;
int ret;
long len;
const unsigned char *p, *q;
char exp_eoc;
if (!val)
return 0;
flags = tt->flags;
aclass = flags & ASN1_TFLG_TAG_CLASS;
p = *in;
/* Check if EXPLICIT tag expected */
if (flags & ASN1_TFLG_EXPTAG) {
char cst;
/*
* Need to work out amount of data available to the inner content and
* where it starts: so read in EXPLICIT header to get the info.
*/
ret = asn1_check_tlen(&len, NULL, NULL, &exp_eoc, &cst,
&p, inlen, tt->tag, aclass, opt, ctx);
q = p;
if (!ret) {
ASN1err(ASN1_F_ASN1_TEMPLATE_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
return 0;
} else if (ret == -1)
return -1;
if (!cst) {
ASN1err(ASN1_F_ASN1_TEMPLATE_EX_D2I,
ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED);
return 0;
}
/* We've found the field so it can't be OPTIONAL now */
ret = asn1_template_noexp_d2i(val, &p, len, tt, 0, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_TEMPLATE_EX_D2I, ERR_R_NESTED_ASN1_ERROR);
return 0;
}
/* We read the field in OK so update length */
len -= p - q;
if (exp_eoc) {
/* If NDEF we must have an EOC here */
if (!asn1_check_eoc(&p, len)) {
ASN1err(ASN1_F_ASN1_TEMPLATE_EX_D2I, ASN1_R_MISSING_EOC);
goto err;
}
} else {
/*
* Otherwise we must hit the EXPLICIT tag end or its an error
*/
if (len) {
ASN1err(ASN1_F_ASN1_TEMPLATE_EX_D2I,
ASN1_R_EXPLICIT_LENGTH_MISMATCH);
goto err;
}
}
} else
return asn1_template_noexp_d2i(val, in, inlen, tt, opt, ctx);
*in = p;
return 1;
err:
ASN1_template_free(val, tt);
return 0;
}
static int asn1_template_noexp_d2i(ASN1_VALUE **val,
const unsigned char **in, long len,
const ASN1_TEMPLATE *tt, char opt,
ASN1_TLC *ctx)
{
int flags, aclass;
int ret;
const unsigned char *p, *q;
if (!val)
return 0;
flags = tt->flags;
aclass = flags & ASN1_TFLG_TAG_CLASS;
p = *in;
q = p;
if (flags & ASN1_TFLG_SK_MASK) {
/* SET OF, SEQUENCE OF */
int sktag, skaclass;
char sk_eoc;
/* First work out expected inner tag value */
if (flags & ASN1_TFLG_IMPTAG) {
sktag = tt->tag;
skaclass = aclass;
} else {
skaclass = V_ASN1_UNIVERSAL;
if (flags & ASN1_TFLG_SET_OF)
sktag = V_ASN1_SET;
else
sktag = V_ASN1_SEQUENCE;
}
/* Get the tag */
ret = asn1_check_tlen(&len, NULL, NULL, &sk_eoc, NULL,
&p, len, sktag, skaclass, opt, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ERR_R_NESTED_ASN1_ERROR);
return 0;
} else if (ret == -1)
return -1;
if (!*val)
*val = (ASN1_VALUE *)sk_new_null();
else {
/*
* We've got a valid STACK: free up any items present
*/
STACK_OF(ASN1_VALUE) *sktmp = (STACK_OF(ASN1_VALUE) *)*val;
ASN1_VALUE *vtmp;
while (sk_ASN1_VALUE_num(sktmp) > 0) {
vtmp = sk_ASN1_VALUE_pop(sktmp);
ASN1_item_ex_free(&vtmp, ASN1_ITEM_ptr(tt->item));
}
}
if (!*val) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ERR_R_MALLOC_FAILURE);
goto err;
}
/* Read as many items as we can */
while (len > 0) {
ASN1_VALUE *skfield;
q = p;
/* See if EOC found */
if (asn1_check_eoc(&p, len)) {
if (!sk_eoc) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I,
ASN1_R_UNEXPECTED_EOC);
goto err;
}
len -= p - q;
sk_eoc = 0;
break;
}
skfield = NULL;
if (!ASN1_item_ex_d2i(&skfield, &p, len,
ASN1_ITEM_ptr(tt->item), -1, 0, 0, ctx)) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I,
ERR_R_NESTED_ASN1_ERROR);
goto err;
}
len -= p - q;
if (!sk_ASN1_VALUE_push((STACK_OF(ASN1_VALUE) *)*val, skfield)) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ERR_R_MALLOC_FAILURE);
goto err;
}
}
if (sk_eoc) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ASN1_R_MISSING_EOC);
goto err;
}
} else if (flags & ASN1_TFLG_IMPTAG) {
/* IMPLICIT tagging */
ret = ASN1_item_ex_d2i(val, &p, len,
ASN1_ITEM_ptr(tt->item), tt->tag, aclass, opt,
ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
} else if (ret == -1)
return -1;
} else {
/* Nothing special */
ret = ASN1_item_ex_d2i(val, &p, len, ASN1_ITEM_ptr(tt->item),
-1, tt->flags & ASN1_TFLG_COMBINE, opt, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_TEMPLATE_NOEXP_D2I, ERR_R_NESTED_ASN1_ERROR);
goto err;
} else if (ret == -1)
return -1;
}
*in = p;
return 1;
err:
ASN1_template_free(val, tt);
return 0;
}
static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
const unsigned char **in, long inlen,
const ASN1_ITEM *it,
int tag, int aclass, char opt, ASN1_TLC *ctx)
{
int ret = 0, utype;
long plen;
char cst, inf, free_cont = 0;
const unsigned char *p;
BUF_MEM buf = { 0, NULL, 0 };
const unsigned char *cont = NULL;
long len;
if (!pval) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ASN1_R_ILLEGAL_NULL);
return 0; /* Should never happen */
}
if (it->itype == ASN1_ITYPE_MSTRING) {
utype = tag;
tag = -1;
} else
utype = it->utype;
if (utype == V_ASN1_ANY) {
/* If type is ANY need to figure out type from tag */
unsigned char oclass;
if (tag >= 0) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ASN1_R_ILLEGAL_TAGGED_ANY);
return 0;
}
if (opt) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE,
ASN1_R_ILLEGAL_OPTIONAL_ANY);
return 0;
}
p = *in;
ret = asn1_check_tlen(NULL, &utype, &oclass, NULL, NULL,
&p, inlen, -1, 0, 0, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ERR_R_NESTED_ASN1_ERROR);
return 0;
}
if (oclass != V_ASN1_UNIVERSAL)
utype = V_ASN1_OTHER;
}
if (tag == -1) {
tag = utype;
aclass = V_ASN1_UNIVERSAL;
}
p = *in;
/* Check header */
ret = asn1_check_tlen(&plen, NULL, NULL, &inf, &cst,
&p, inlen, tag, aclass, opt, ctx);
if (!ret) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ERR_R_NESTED_ASN1_ERROR);
return 0;
} else if (ret == -1)
return -1;
ret = 0;
/* SEQUENCE, SET and "OTHER" are left in encoded form */
if ((utype == V_ASN1_SEQUENCE)
|| (utype == V_ASN1_SET) || (utype == V_ASN1_OTHER)) {
/*
* Clear context cache for type OTHER because the auto clear when we
* have a exact match wont work
*/
if (utype == V_ASN1_OTHER) {
asn1_tlc_clear(ctx);
}
/* SEQUENCE and SET must be constructed */
else if (!cst) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE,
ASN1_R_TYPE_NOT_CONSTRUCTED);
return 0;
}
cont = *in;
/* If indefinite length constructed find the real end */
if (inf) {
if (!asn1_find_end(&p, plen, inf))
goto err;
len = p - cont;
} else {
len = p - cont + plen;
p += plen;
}
} else if (cst) {
if (utype == V_ASN1_NULL || utype == V_ASN1_BOOLEAN
|| utype == V_ASN1_OBJECT || utype == V_ASN1_INTEGER
|| utype == V_ASN1_ENUMERATED) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ASN1_R_TYPE_NOT_PRIMITIVE);
return 0;
}
/* Free any returned 'buf' content */
free_cont = 1;
/*
* Should really check the internal tags are correct but some things
* may get this wrong. The relevant specs say that constructed string
* types should be OCTET STRINGs internally irrespective of the type.
* So instead just check for UNIVERSAL class and ignore the tag.
*/
if (!asn1_collect(&buf, &p, plen, inf, -1, V_ASN1_UNIVERSAL, 0)) {
goto err;
}
len = buf.length;
/* Append a final null to string */
if (!BUF_MEM_grow_clean(&buf, len + 1)) {
ASN1err(ASN1_F_ASN1_D2I_EX_PRIMITIVE, ERR_R_MALLOC_FAILURE);
goto err;
}
buf.data[len] = 0;
cont = (const unsigned char *)buf.data;
} else {
cont = p;
len = plen;
p += plen;
}
/* We now have content length and type: translate into a structure */
/* asn1_ex_c2i may reuse allocated buffer, and so sets free_cont to 0 */
if (!asn1_ex_c2i(pval, cont, len, utype, &free_cont, it))
goto err;
*in = p;
ret = 1;
err:
if (free_cont && buf.data)
OPENSSL_free(buf.data);
return ret;
}
/* Translate ASN1 content octets into a structure */
int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
int utype, char *free_cont, const ASN1_ITEM *it)
{
ASN1_VALUE **opval = NULL;
ASN1_STRING *stmp;
ASN1_TYPE *typ = NULL;
int ret = 0;
const ASN1_PRIMITIVE_FUNCS *pf;
ASN1_INTEGER **tint;
pf = it->funcs;
if (pf && pf->prim_c2i)
return pf->prim_c2i(pval, cont, len, utype, free_cont, it);
/* If ANY type clear type and set pointer to internal value */
if (it->utype == V_ASN1_ANY) {
if (!*pval) {
typ = ASN1_TYPE_new();
if (typ == NULL)
goto err;
*pval = (ASN1_VALUE *)typ;
} else
typ = (ASN1_TYPE *)*pval;
if (utype != typ->type)
ASN1_TYPE_set(typ, utype, NULL);
opval = pval;
pval = &typ->value.asn1_value;
}
switch (utype) {
case V_ASN1_OBJECT:
if (!c2i_ASN1_OBJECT((ASN1_OBJECT **)pval, &cont, len))
goto err;
break;
case V_ASN1_NULL:
if (len) {
ASN1err(ASN1_F_ASN1_EX_C2I, ASN1_R_NULL_IS_WRONG_LENGTH);
goto err;
}
*pval = (ASN1_VALUE *)1;
break;
case V_ASN1_BOOLEAN:
if (len != 1) {
ASN1err(ASN1_F_ASN1_EX_C2I, ASN1_R_BOOLEAN_IS_WRONG_LENGTH);
goto err;
} else {
ASN1_BOOLEAN *tbool;
tbool = (ASN1_BOOLEAN *)pval;
*tbool = *cont;
}
break;
case V_ASN1_BIT_STRING:
if (!c2i_ASN1_BIT_STRING((ASN1_BIT_STRING **)pval, &cont, len))
goto err;
break;
case V_ASN1_INTEGER:
case V_ASN1_ENUMERATED:
tint = (ASN1_INTEGER **)pval;
if (!c2i_ASN1_INTEGER(tint, &cont, len))
goto err;
/* Fixup type to match the expected form */
(*tint)->type = utype | ((*tint)->type & V_ASN1_NEG);
break;
case V_ASN1_OCTET_STRING:
case V_ASN1_NUMERICSTRING:
case V_ASN1_PRINTABLESTRING:
case V_ASN1_T61STRING:
case V_ASN1_VIDEOTEXSTRING:
case V_ASN1_IA5STRING:
case V_ASN1_UTCTIME:
case V_ASN1_GENERALIZEDTIME:
case V_ASN1_GRAPHICSTRING:
case V_ASN1_VISIBLESTRING:
case V_ASN1_GENERALSTRING:
case V_ASN1_UNIVERSALSTRING:
case V_ASN1_BMPSTRING:
case V_ASN1_UTF8STRING:
case V_ASN1_OTHER:
case V_ASN1_SET:
case V_ASN1_SEQUENCE:
default:
if (utype == V_ASN1_BMPSTRING && (len & 1)) {
ASN1err(ASN1_F_ASN1_EX_C2I, ASN1_R_BMPSTRING_IS_WRONG_LENGTH);
goto err;
}
if (utype == V_ASN1_UNIVERSALSTRING && (len & 3)) {
ASN1err(ASN1_F_ASN1_EX_C2I,
ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH);
goto err;
}
/* All based on ASN1_STRING and handled the same */
if (!*pval) {
stmp = ASN1_STRING_type_new(utype);
if (!stmp) {
ASN1err(ASN1_F_ASN1_EX_C2I, ERR_R_MALLOC_FAILURE);
goto err;
}
*pval = (ASN1_VALUE *)stmp;
} else {
stmp = (ASN1_STRING *)*pval;
stmp->type = utype;
}
/* If we've already allocated a buffer use it */
if (*free_cont) {
if (stmp->data)
OPENSSL_free(stmp->data);
stmp->data = (unsigned char *)cont; /* UGLY CAST! RL */
stmp->length = len;
*free_cont = 0;
} else {
if (!ASN1_STRING_set(stmp, cont, len)) {
ASN1err(ASN1_F_ASN1_EX_C2I, ERR_R_MALLOC_FAILURE);
ASN1_STRING_free(stmp);
*pval = NULL;
goto err;
}
}
break;
}
/* If ASN1_ANY and NULL type fix up value */
if (typ && (utype == V_ASN1_NULL))
typ->value.ptr = NULL;
ret = 1;
err:
if (!ret) {
ASN1_TYPE_free(typ);
if (opval)
*opval = NULL;
}
return ret;
}
/*
* This function finds the end of an ASN1 structure when passed its maximum
* length, whether it is indefinite length and a pointer to the content. This
* is more efficient than calling asn1_collect because it does not recurse on
* each indefinite length header.
*/
static int asn1_find_end(const unsigned char **in, long len, char inf)
{
int expected_eoc;
long plen;
const unsigned char *p = *in, *q;
/* If not indefinite length constructed just add length */
if (inf == 0) {
*in += len;
return 1;
}
expected_eoc = 1;
/*
* Indefinite length constructed form. Find the end when enough EOCs are
* found. If more indefinite length constructed headers are encountered
* increment the expected eoc count otherwise just skip to the end of the
* data.
*/
while (len > 0) {
if (asn1_check_eoc(&p, len)) {
expected_eoc--;
if (expected_eoc == 0)
break;
len -= 2;
continue;
}
q = p;
/* Just read in a header: only care about the length */
if (!asn1_check_tlen(&plen, NULL, NULL, &inf, NULL, &p, len,
-1, 0, 0, NULL)) {
ASN1err(ASN1_F_ASN1_FIND_END, ERR_R_NESTED_ASN1_ERROR);
return 0;
}
if (inf)
expected_eoc++;
else
p += plen;
len -= p - q;
}
if (expected_eoc) {
ASN1err(ASN1_F_ASN1_FIND_END, ASN1_R_MISSING_EOC);
return 0;
}
*in = p;
return 1;
}
/*
* This function collects the asn1 data from a constructred string type into
* a buffer. The values of 'in' and 'len' should refer to the contents of the
* constructed type and 'inf' should be set if it is indefinite length.
*/
#ifndef ASN1_MAX_STRING_NEST
/*
* This determines how many levels of recursion are permitted in ASN1 string
* types. If it is not limited stack overflows can occur. If set to zero no
* recursion is allowed at all. Although zero should be adequate examples
* exist that require a value of 1. So 5 should be more than enough.
*/
# define ASN1_MAX_STRING_NEST 5
#endif
static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len,
char inf, int tag, int aclass, int depth)
{
const unsigned char *p, *q;
long plen;
char cst, ininf;
p = *in;
inf &= 1;
/*
* If no buffer and not indefinite length constructed just pass over the
* encoded data
*/
if (!buf && !inf) {
*in += len;
return 1;
}
while (len > 0) {
q = p;
/* Check for EOC */
if (asn1_check_eoc(&p, len)) {
/*
* EOC is illegal outside indefinite length constructed form
*/
if (!inf) {
ASN1err(ASN1_F_ASN1_COLLECT, ASN1_R_UNEXPECTED_EOC);
return 0;
}
inf = 0;
break;
}
if (!asn1_check_tlen(&plen, NULL, NULL, &ininf, &cst, &p,
len, tag, aclass, 0, NULL)) {
ASN1err(ASN1_F_ASN1_COLLECT, ERR_R_NESTED_ASN1_ERROR);
return 0;
}
/* If indefinite length constructed update max length */
if (cst) {
if (depth >= ASN1_MAX_STRING_NEST) {
ASN1err(ASN1_F_ASN1_COLLECT, ASN1_R_NESTED_ASN1_STRING);
return 0;
}
if (!asn1_collect(buf, &p, plen, ininf, tag, aclass, depth + 1))
return 0;
} else if (plen && !collect_data(buf, &p, plen))
return 0;
len -= p - q;
}
if (inf) {
ASN1err(ASN1_F_ASN1_COLLECT, ASN1_R_MISSING_EOC);
return 0;
}
*in = p;
return 1;
}
static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen)
{
int len;
if (buf) {
len = buf->length;
if (!BUF_MEM_grow_clean(buf, len + plen)) {
ASN1err(ASN1_F_COLLECT_DATA, ERR_R_MALLOC_FAILURE);
return 0;
}
memcpy(buf->data + len, *p, plen);
}
*p += plen;
return 1;
}
/* Check for ASN1 EOC and swallow it if found */
static int asn1_check_eoc(const unsigned char **in, long len)
{
const unsigned char *p;
if (len < 2)
return 0;
p = *in;
if (!p[0] && !p[1]) {
*in += 2;
return 1;
}
return 0;
}
/*
* Check an ASN1 tag and length: a bit like ASN1_get_object but it sets the
* length for indefinite length constructed form, we don't know the exact
* length but we can set an upper bound to the amount of data available minus
* the header length just read.
*/
static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass,
char *inf, char *cst,
const unsigned char **in, long len,
int exptag, int expclass, char opt, ASN1_TLC *ctx)
{
int i;
int ptag, pclass;
long plen;
const unsigned char *p, *q;
p = *in;
q = p;
if (ctx && ctx->valid) {
i = ctx->ret;
plen = ctx->plen;
pclass = ctx->pclass;
ptag = ctx->ptag;
p += ctx->hdrlen;
} else {
i = ASN1_get_object(&p, &plen, &ptag, &pclass, len);
if (ctx) {
ctx->ret = i;
ctx->plen = plen;
ctx->pclass = pclass;
ctx->ptag = ptag;
ctx->hdrlen = p - q;
ctx->valid = 1;
/*
* If definite length, and no error, length + header can't exceed
* total amount of data available.
*/
if (!(i & 0x81) && ((plen + ctx->hdrlen) > len)) {
ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_TOO_LONG);
asn1_tlc_clear(ctx);
return 0;
}
}
}
if (i & 0x80) {
ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_BAD_OBJECT_HEADER);
asn1_tlc_clear(ctx);
return 0;
}
if (exptag >= 0) {
if ((exptag != ptag) || (expclass != pclass)) {
/*
* If type is OPTIONAL, not an error: indicate missing type.
*/
if (opt)
return -1;
asn1_tlc_clear(ctx);
ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_WRONG_TAG);
return 0;
}
/*
* We have a tag and class match: assume we are going to do something
* with it
*/
asn1_tlc_clear(ctx);
}
if (i & 1)
plen = len - (p - q);
if (inf)
*inf = i & 1;
if (cst)
*cst = i & V_ASN1_CONSTRUCTED;
if (olen)
*olen = plen;
if (oclass)
*oclass = pclass;
if (otag)
*otag = ptag;
*in = p;
return 1;
}
```
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="path_to_url"
xmlns:x="path_to_url"
x:Class="Xamarin.Forms.Controls.XamStore.FlyoutHeader"
HeightRequest="143">
<ContentView.Content>
<Grid BackgroundColor="Black">
<Image Aspect="AspectFill" Source="xamarinstore.jpg" Opacity="0.6" />
<Label Margin="0, 40, 0, 0" Text="Hello XamStore" TextColor="White" FontAttributes="Bold" VerticalTextAlignment="Center" />
</Grid>
</ContentView.Content>
</ContentView>
```
|
Mabel Marie "Dolly" Staton (née: Landry) (born November 20, 1932) is a retired American track and field athlete, specializing in long jump and sprints. She represented the United States at the 1952 Olympics.
Career
During the preliminary round in 152, she set the Olympic record in the long jump at , which only lasted temporarily as Yvette Williams demolished her record with later in the same round. Landry finished seventh in the final, only managing one legal jump.
She also was part of the American team at the 1955 Pan American Games, winning a bronze medal in the 60 meters and a gold medal in the 4×100 meters relay anchoring a team with Isabelle Daniels, Mae Faggs, and Barbara Jones. She was a four time United States champion in the long jump. She also won two outdoor titles in the now defunct 50 meter dash. Indoors, she won the national title in the 60 yard dash twice, but did not have the opportunity to duplicate her wins in the outdoor long jump because in the 1950s, women only competed in the standing long jump.
Through her career she competed for the Chicago CYO as their only member initially. Her notoriety encouraged the all-white Hurricanes to want to join her, creating one of the first integrated track teams. She attended DePaul University on an academic scholarship before spending a career as a teacher. At age 16, on her way to the 1949 National Championships in Odessa, Texas, her coach purchased a sleeping compartment for the star athlete to rest. At 6 a.m. she was awakened by the engineer ""Get out. We just crossed the Mason–Dixon line. You have to get up front with the other coloreds." The incident led to a successful civil rights lawsuit by the CYO against the Illinois Central Railroad.
Post-career
In 2008, she was presented with the DePaul University letterman's jacket. She never competed for her alma mater because at the time they did not have a track team for women, a common situation in that era. She was selected into the Chicagoland Sports Hall of Fame.
References
Living people
1932 births
Track and field athletes from Chicago
American female long jumpers
American female sprinters
African-American female track and field athletes
Olympic track and field athletes for the United States
Athletes (track and field) at the 1952 Summer Olympics
Pan American Games medalists in athletics (track and field)
Athletes (track and field) at the 1955 Pan American Games
Pan American Games gold medalists for the United States
Pan American Games bronze medalists for the United States
USA Outdoor Track and Field Championships winners
USA Indoor Track and Field Championships winners
Medalists at the 1955 Pan American Games
21st-century African-American people
21st-century African-American women
20th-century African-American sportspeople
20th-century African-American women
|
```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.
*******************************************************************************/
#include <vector>
#include <gtest/gtest.h>
#include "oneapi/dnnl/dnnl_graph.hpp"
#include "oneapi/dnnl/dnnl_graph_ocl.hpp"
#include "api/test_api_common.hpp"
#include "test_allocator.hpp"
using namespace dnnl::graph;
#if DNNL_GPU_RUNTIME == DNNL_RUNTIME_OCL
#define GRAPH_TEST_OCL_CHECK(x) \
do { \
cl_int s = (x); \
if (s != CL_SUCCESS) { \
std::cout << "[" << __FILE__ << ":" << __LINE__ << "] '" << #x \
<< "' failed (status code: " << s << ")." << std::endl; \
exit(1); \
} \
} while (0)
static void *ocl_malloc_shared(
size_t size, size_t alignment, cl_device_id dev, cl_context ctx) {
using F = void *(*)(cl_context, cl_device_id, cl_ulong *, size_t, cl_uint,
cl_int *);
if (size == 0) return nullptr;
cl_platform_id platform;
GRAPH_TEST_OCL_CHECK(clGetDeviceInfo(
dev, CL_DEVICE_PLATFORM, sizeof(platform), &platform, nullptr));
const char *f_name = "clSharedMemAllocINTEL";
auto f = reinterpret_cast<F>(
clGetExtensionFunctionAddressForPlatform(platform, f_name));
cl_int err;
void *p = f(ctx, dev, nullptr, size, static_cast<cl_uint>(alignment), &err);
GRAPH_TEST_OCL_CHECK(err);
return p;
}
static void ocl_free(
void *ptr, cl_device_id dev, cl_context ctx, cl_event event) {
if (event != nullptr) clWaitForEvents(1, &event);
if (nullptr == ptr) return;
using F = cl_int (*)(cl_context, void *);
cl_platform_id platform;
GRAPH_TEST_OCL_CHECK(clGetDeviceInfo(
dev, CL_DEVICE_PLATFORM, sizeof(platform), &platform, nullptr));
const char *f_name = "clMemFreeINTEL";
auto f = reinterpret_cast<F>(
clGetExtensionFunctionAddressForPlatform(platform, f_name));
GRAPH_TEST_OCL_CHECK(f(ctx, ptr));
}
TEST(OCLApi, Engine) {
dnnl::engine::kind ekind
= static_cast<dnnl::engine::kind>(api_test_engine_kind);
SKIP_IF(ekind != dnnl::engine::kind::gpu,
"skip ocl api test for non-gpu engine.");
cl_uint num_platforms = 0;
GRAPH_TEST_OCL_CHECK(clGetPlatformIDs(0, nullptr, &num_platforms));
std::vector<cl_platform_id> platforms(num_platforms);
if (num_platforms > 0) {
GRAPH_TEST_OCL_CHECK(
clGetPlatformIDs(num_platforms, platforms.data(), nullptr));
} else {
throw "Cannot find openCL platform!";
}
std::vector<cl_device_id> gpu_device_ids;
for (cl_platform_id &platform_id : platforms) {
cl_uint num_devices;
if (!clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU, 0, nullptr,
&num_devices)) {
std::vector<cl_device_id> device_ids(num_devices);
GRAPH_TEST_OCL_CHECK(clGetDeviceIDs(platform_id, CL_DEVICE_TYPE_GPU,
num_devices, device_ids.data(), nullptr));
gpu_device_ids.insert(
gpu_device_ids.end(), device_ids.begin(), device_ids.end());
}
}
if (gpu_device_ids.empty()) { throw "Cannot find OpenCL device!"; }
cl_device_id device_id = gpu_device_ids[0]; // select a device
cl_int err = 0;
auto ctx = clCreateContext(nullptr, 1, &device_id, nullptr, nullptr, &err);
GRAPH_TEST_OCL_CHECK(err);
EXPECT_NO_THROW({
auto alloc = ocl_interop::make_allocator(ocl_malloc_shared, ocl_free);
auto eng = ocl_interop::make_engine_with_allocator(
device_id, ctx, alloc);
});
auto alloc = ocl_interop::make_allocator(ocl_malloc_shared, ocl_free);
{
auto cache_blob
= dnnl::ocl_interop::get_engine_cache_blob_id(device_id);
EXPECT_NO_THROW({
ocl_interop::make_engine_with_allocator(
device_id, ctx, alloc, cache_blob);
});
}
{
auto eng = dnnl::ocl_interop::make_engine(device_id, ctx);
auto cache_blob = dnnl::ocl_interop::get_engine_cache_blob(eng);
EXPECT_NO_THROW({
ocl_interop::make_engine_with_allocator(
device_id, ctx, alloc, cache_blob);
});
}
}
#endif
```
|
```c++
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* ---
* This module gets enough CPU information to optimize the
* atomicops module on x86.
*/
#include "base/atomicops.h"
#include "base/basictypes.h"
#include "base/googleinit.h"
#include "base/logging.h"
#include <string.h>
// This file only makes sense with atomicops-internals-x86.h -- it
// depends on structs that are defined in that file. If atomicops.h
// doesn't sub-include that file, then we aren't needed, and shouldn't
// try to do anything.
#ifdef BASE_ATOMICOPS_INTERNALS_X86_H_
// Inline cpuid instruction. In PIC compilations, %ebx contains the address
// of the global offset table. To avoid breaking such executables, this code
// must preserve that register's value across cpuid instructions.
#if defined(__i386__)
#define cpuid(a, b, c, d, inp) \
asm ("mov %%ebx, %%edi\n" \
"cpuid\n" \
"xchg %%edi, %%ebx\n" \
: "=a" (a), "=D" (b), "=c" (c), "=d" (d) : "a" (inp))
#elif defined (__x86_64__)
#define cpuid(a, b, c, d, inp) \
asm ("mov %%rbx, %%rdi\n" \
"cpuid\n" \
"xchg %%rdi, %%rbx\n" \
: "=a" (a), "=D" (b), "=c" (c), "=d" (d) : "a" (inp))
#endif
#if defined(cpuid) // initialize the struct only on x86
// Set the flags so that code will run correctly and conservatively
// until InitGoogle() is called.
struct AtomicOps_x86CPUFeatureStruct AtomicOps_Internalx86CPUFeatures = {
false, // no SSE2
false // no cmpxchg16b
};
// Initialize the AtomicOps_Internalx86CPUFeatures struct.
static void AtomicOps_Internalx86CPUFeaturesInit() {
uint32 eax;
uint32 ebx;
uint32 ecx;
uint32 edx;
// Get vendor string (issue CPUID with eax = 0)
cpuid(eax, ebx, ecx, edx, 0);
char vendor[13];
memcpy(vendor, &ebx, 4);
memcpy(vendor + 4, &edx, 4);
memcpy(vendor + 8, &ecx, 4);
vendor[12] = 0;
// get feature flags in ecx/edx, and family/model in eax
cpuid(eax, ebx, ecx, edx, 1);
int family = (eax >> 8) & 0xf; // family and model fields
int model = (eax >> 4) & 0xf;
if (family == 0xf) { // use extended family and model fields
family += (eax >> 20) & 0xff;
model += ((eax >> 16) & 0xf) << 4;
}
// edx bit 26 is SSE2 which we use to tell use whether we can use mfence
AtomicOps_Internalx86CPUFeatures.has_sse2 = ((edx >> 26) & 1);
// ecx bit 13 indicates whether the cmpxchg16b instruction is supported
AtomicOps_Internalx86CPUFeatures.has_cmpxchg16b = ((ecx >> 13) & 1);
}
REGISTER_MODULE_INITIALIZER(atomicops_x86, {
AtomicOps_Internalx86CPUFeaturesInit();
});
#endif
#endif /* ifdef BASE_ATOMICOPS_INTERNALS_X86_H_ */
```
|
```xml
import { useCallback } from 'react';
import { c } from 'ttag';
import { Button } from '@proton/atoms';
import { Icon, TwitterButton, useNotifications } from '@proton/components';
import { useUserSettings } from '@proton/components/hooks';
import { textToClipboard } from '@proton/shared/lib/helpers/browser';
import throttle from '@proton/utils/throttle';
const InviteShareLink = () => {
const [userSettings, loadingUserSettings] = useUserSettings();
const { createNotification } = useNotifications();
const referrerLink = userSettings.Referral?.Link || '';
const onCopyButtonClick = useCallback(
throttle(
() => {
textToClipboard(referrerLink);
createNotification({
text: c('Info').t`Referral link copied to your clipboard`,
});
},
1500,
{ leading: true, trailing: false }
),
[referrerLink]
);
if (loadingUserSettings) {
return null;
}
return (
<div>
<h2 className="h3 text-bold">{c('Label').t`Your referral link`}</h2>
<div className="invite-section-share-link flex items-stretch gap-2">
<div
className="flex-1 flex items-center p-2 user-select border rounded"
title={referrerLink}
>
<span className="text-ellipsis">{referrerLink}</span>
</div>
<div className="flex gap-2 flex-nowrap justify-end">
<Button color="norm" onClick={onCopyButtonClick} title={c('Info').t`Copy your referral link`}>
<span className="flex flex-nowrap items-center">
<Icon name="link" className="mr-1 shrink-0" /> {c('Button').t`Copy`}
</span>
</Button>
<TwitterButton
href={encodeURI(
'path_to_url +
c('Info')
.t`Ive been using @ProtonMail and thought you might like it. Its a secure email service that protects your privacy. Sign up with my referral link to get 1 month of premium features for free: ${referrerLink}`
)}
target="_blank"
>
<span className="flex flex-nowrap items-center">
<Icon name="brand-twitter" className="mr-1 shrink-0" /> {c('Button').t`Tweet`}
</span>
</TwitterButton>
</div>
</div>
</div>
);
};
export default InviteShareLink;
```
|
```smalltalk
namespace Ocelot.DownstreamRouteFinder.UrlMatcher;
public class PlaceholderNameAndValue
{
public PlaceholderNameAndValue(string name, string value)
{
Name = name;
Value = value;
}
public string Name { get; }
public string Value { get; }
public override string ToString() => $"[{{{Name}}}={Value}]";
}
```
|
```xml
import cn from 'classnames';
import { bind } from 'decko';
import * as React from 'react';
import { getFormattedDateTime } from 'shared/utils/formatters/dateTime';
import { Icon } from 'shared/view/elements/Icon/Icon';
import Popup from 'shared/view/elements/Popup/Popup';
import Table from 'shared/view/elements/Table/Table';
import { IObservationsValues } from 'shared/models/Observation';
import styles from './ObservationButton.module.css';
interface ILocalProps {
attributeKey: string;
values: IObservationsValues[];
additionalClassname?: string;
}
interface ILocalState {
isModalOpen: boolean;
}
class ObservationButton extends React.PureComponent<ILocalProps, ILocalState> {
public state: ILocalState = {
isModalOpen: false,
};
public render() {
const { attributeKey, values, additionalClassname } = this.props;
const iconType = 'binoculars-tilted';
const epochColumn = {
type: 'epochNumber',
title: 'Epoch number',
width: '33%',
render: ({ epochNumber }: { epochNumber: string | number }) => (
<span>{epochNumber}</span>
),
};
return (
<div>
<Popup
title={`Observations - ${attributeKey}`}
titleIcon={iconType}
contentLabel="observations-action"
isOpen={this.state.isModalOpen}
onRequestClose={this.handleCloseModal}
>
<div className={styles.popupContent}>
{attributeKey && (
<Table
dataRows={values.map(obs => {
return {
...obs,
epochNumber:
obs.epochNumber === undefined ? '-' : obs.epochNumber,
timeStamp: getFormattedDateTime(obs.timeStamp),
};
})}
getRowKey={this.getRowKey}
columnDefinitions={(this.isWithEpoch(values)
? [epochColumn]
: []
).concat([
{
type: 'timeStamp',
title: 'TimeStamp',
width: '33%',
render: ({ timeStamp }: any) => <span>{timeStamp}</span>,
},
{
type: 'value',
title: 'Value',
width: '34%',
render: ({ value }: any) => <span>{value}</span>,
},
])}
/>
)}
</div>
</Popup>
<div
className={cn(styles.attribute_link, styles.attribute_item)}
onClick={this.showModal}
>
<div
className={cn(styles.attribute_wrapper, additionalClassname)}
title="view observations"
>
<div className={styles.notif}>
<Icon className={styles.notif_icon} type={iconType} />
</div>
<div className={styles.attributeKey}>{attributeKey}</div>
</div>
</div>
</div>
);
}
@bind
private isWithEpoch(values: IObservationsValues[]) {
return values.some(d => d.epochNumber !== undefined);
}
@bind
private getRowKey(row: { timeStamp: string; epochNumber: string | number }) {
return row.timeStamp;
}
@bind
private handleCloseModal() {
this.setState({ isModalOpen: false });
}
@bind
private showModal() {
this.setState({ isModalOpen: true });
}
}
export default ObservationButton;
```
|
This is a list of transfers involving German football clubs during the 2020 summer transfer window. Only transfers of the Bundesliga and 2. Bundesliga are included.
Due to the COVID-19 pandemic in Germany and the resulting impact on the scheduling of the 2019–20 and 2020–21 seasons, the German Football Association modified the dates for the summer transfer window. To allow for the registration of players based on previously signed contracts, the window opened on 1 July 2020 for a single day. The transfer window then re-opened on 15 July and closed on 5 October 2020.
Bundesliga
Note: Flags indicate national team as has been defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.
Bayern Munich
In:
Out:
Borussia Dortmund
In:
Out:
RB Leipzig
In:
Out:
Borussia Mönchengladbach
In:
Out:
Bayer Leverkusen
In:
Out:
1899 Hoffenheim
In:
Out:
VfL Wolfsburg
In:
Out:
SC Freiburg
In:
Out:
Eintracht Frankfurt
In:
Out:
Hertha BSC
In:
Out:
Union Berlin
In:
Out:
Schalke 04
In:
Out:
Mainz 05
In:
Out:
1. FC Köln
In:
Out:
FC Augsburg
In:
Out:
Werder Bremen
In:
Out:
Arminia Bielefeld
In:
Out:
VfB Stuttgart
In:
Out:
2. Bundesliga
Fortuna Düsseldorf
In:
Out:
SC Paderborn
In:
Out:
1. FC Heidenheim
In:
Out:
Hamburger SV
In:
Out:
Darmstadt 98
In:
Out:
Hannover 96
In:
Out:
Erzgebirge Aue
In:
Out:
VfL Bochum
In:
Out:
Greuther Fürth
In:
Out:
SV Sandhausen
In:
Out:
Holstein Kiel
In:
Out:
Jahn Regensburg
In:
Out:
VfL Osnabrück
In:
Out:
FC St. Pauli
In:
Out:
Karlsruher SC
In:
Out:
1. FC Nürnberg
In:
Out:
Würzburger Kickers
In:
Out:
Eintracht Braunschweig
In:
Out:
See also
2020–21 Bundesliga
2020–21 2. Bundesliga
References
External links
Official site of the DFB
Kicker.de
Official site of the Bundesliga
Official site of the Bundesliga
Football transfers summer 2020
Trans
2020
|
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* specific language governing permissions and limitations
*/
package io.ballerina;
import org.eclipse.lsp4j.TextDocumentIdentifier;
/**
* Request format for performance analyzer request.
*
* @since 2.0.0
*/
public class PerformanceAnalyzerRequest {
private TextDocumentIdentifier documentIdentifier;
private boolean isWorkerSupported;
public TextDocumentIdentifier getDocumentIdentifier() {
return documentIdentifier;
}
public void setDocumentIdentifier(TextDocumentIdentifier documentIdentifier) {
this.documentIdentifier = documentIdentifier;
}
public boolean isWorkerSupported() {
return isWorkerSupported;
}
public void setWorkerSupported(boolean workerSupported) {
isWorkerSupported = workerSupported;
}
}
```
|
La Brea Avenue is a prominent north-south thoroughfare in the City of Los Angeles and in Los Angeles County, California.
La Brea is known for having diverse ethnic communities, and many shops and restaurants along its route.
History
La Brea is the Spanish phrase meaning "the tar." The La Brea Tar Pits, which the 1828 Mexican land grant Rancho La Brea was named for, are to the west of its intersection with Wilshire Boulevard in the Mid-Wilshire area.
In its early history, its northern section followed Arroyo La Brea, a former creek fed by springs in the Santa Monica Mountains that flowed south into Ballona Creek. Originally the southern section of La Brea Avenue within Inglewood was named Commercial Street.
Route
One end of La Brea Avenue is north of the Century Boulevard intersection in Inglewood, as a continuation of Hawthorne Boulevard in the 17-city South Bay area of Los Angeles County. It continues north through the View Park-Windsor Hills, Ladera Heights, and Baldwin Hills neighborhoods. It also passes through the eastern low Baldwin Hills mountain range, by Kenneth Hahn State Recreation Area and the remnant Inglewood Oil Field.
Further north, La Brea passes through Crenshaw and the West Adams neighborhood, and then through the Central Los Angeles area with the Mid-City West, Park La Brea, and Hancock Park neighborhoods. It is the dividing border of eastern West Hollywood and the city of Los Angeles.
The northern end of the avenue is just north of Franklin Avenue, at the foot of the Hollywood Hills in central Hollywood.
La Brea turns into Hawthorne Boulevard or California State Route 107 and terminates in the Palos Verdes Peninsula.
Transportation
Metro Local lines 40 and 212 operate on La Brea Avenue. Line 212 serves the majority of La Brea Avenue and Line 40 starts at Florence Avenue.
An elevated light rail station for the Metro E Line is located at the intersection with Exposition Boulevard in the West Adams neighborhood. Another light rail station for the Metro K Line at Downtown Inglewood is located nearby within Florence Avenue in the city of Inglewood.
An underground station for the Metro D Line at Wilshire Boulevard is currently under construction and is due to open in 2023.
Landmarks
Ray Charles Station, West Adams Post Office — honoring Ray Charles, on La Brea at Washington Boulevard in the Crenshaw District.
La Brea near Wilshire is at the eastern end of Museum Row in the Miracle Mile district, which includes the Los Angeles County Museum of Art, George C. Page Museum, Craft Contemporary, Petersen Automotive Museum, and Academy Museum of Motion Pictures (in 2017).
La Brea Avenue north of Wilshire Boulevard and south of Melrose Avenue has numerous designer boutiques, antiques and clothing stores, and cafés. The La Brea Bakery and the Lyric Theatre Los Angeles are on La Brea between Wilshire and 5th Street.
Pink's Hot Dogs — on North La Brea Avenue, Hollywood.
Charlie Chaplin Studios — built in 1918 on North La Brea Avenue, Hollywood. Later the A&M Records studios, and the present day Jim Henson Studios. A Los Angeles Historic-Cultural Monument.
References
External links
Streets in Los Angeles
Streets in Los Angeles County, California
Central Los Angeles
Crenshaw, Los Angeles
Baldwin Hills (mountain range)
Baldwin Hills, Los Angeles
Fairfax, Los Angeles
Streets in Hollywood, Los Angeles
Mid-City, Los Angeles
Mid-Wilshire, Los Angeles
West Adams, Los Angeles
Streets in West Hollywood, California
Westside (Los Angeles County)
|
For 2006, at least 13 European countries have joined together to create the Silver Series for Europe. The theme for 2006 is distinguished European figures. The following are the countries that issue a Europa Coin in 2006:
See also
References
External links
The €uro Collection Forum
Coins of the Eurozone
|
Pleiacanthus is a monotypic genus of flowering plants in the family Asteraceae containing the single species Pleiacanthus spinosus (formerly Stephanomeria spinosa), which is known by the common name thorn skeletonweed, or thorny skeletonweed. It is native to the western United States from Montana and Idaho to southern California and Arizona, where it grows in many types of mostly dry habitat from deserts to mountains. It is a spindly subshrub producing several slender stems up to 40 or 50 centimeters tall from a woody caudex. The stems divide many times into short, rigid branches which narrow to sharp thorn-tips. The plant is mostly hairless except for brownish woolly tufts at the base and below the basal leaves. The leaves are small and linear on the lower stem, and reduced to scale-like growths on the upper branches. Flower heads occur near the ends of the branches. Each has a cylindrical base wrapped in one layer of phyllaries. The head contains 3 to 5 ray florets, each with an elongated tube and a pale to bright pink ligule. The fruit is an achene tipped with a cluster of pappus bristles which are not plumelike as are those of the Stephanomeria species with which this plant was once classified.
References
External links
Jepson Manual Treatment
USDA Plants Profile
Flora of North America
Photo gallery
Cichorieae
Monotypic Asteraceae genera
Flora of Arizona
Flora of California
Flora of Idaho
Flora of Montana
|
```c++
// Boost.TypeErasure library
//
//
// accompanying file LICENSE_1_0.txt or copy at
// path_to_url
//
// $Id$
#include <boost/type_erasure/any.hpp>
#include <boost/type_erasure/tuple.hpp>
#include <boost/type_erasure/binding_of.hpp>
#include <string>
#include <vector>
namespace mpl = boost::mpl;
using namespace boost::type_erasure;
void construction1() {
//[construction1
/*`
The library provides the __constructible concept to
allow an __any to capture constructors. The single
template argument should be a function signature.
The return type must be a placeholder specifying
the type to be constructed. The arguments are
the arguments of the constructor.
*/
typedef mpl::vector<
copy_constructible<_a>,
copy_constructible<_b>,
copy_constructible<_c>,
constructible<_a(const _b&, const _c&)>
> construct;
typedef mpl::map<
mpl::pair<_a, std::vector<double> >,
mpl::pair<_b, std::size_t>,
mpl::pair<_c, double>
> types;
any<construct, _b> size(std::size_t(10), make_binding<types>());
any<construct, _c> val(2.5, make_binding<types>());
any<construct, _a> v(size, val);
// v holds std::vector<double>(10, 2.5);
//]
}
void construction3() {
//[construction3
/*`
Now, suppose that we want a default constructor?
We can't have the default constructor of __any
call the default constructor of the contained type,
because it would have no way of knowing what the
contained type is. So, we'll need to pass
the placeholder binding information explicitly.
*/
typedef mpl::vector<
copy_constructible<>,
constructible<_self()>
> construct;
any<construct> x(std::string("Test"));
any<construct> y(binding_of(x)); // y == ""
//]
}
void construction4() {
//[construction4
/*`
This method is not restricted to the default constructor. If
the constructor takes arguments, they can be passed after the
bindings.
*/
typedef mpl::vector<
copy_constructible<>,
constructible<_self(std::size_t, char)>
> construct;
any<construct> x(std::string("Test"));
any<construct> y(binding_of(x), 5, 'A');
//]
}
//[construction
//` (For the source of the examples in this section see
//` [@boost:/libs/type_erasure/example/construction.cpp construction.cpp])
//` [construction1]
//` [construction3]
//` [construction4]
//]
```
|
```java
*
* 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 org.flowable.spring.security;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.flowable.idm.api.Group;
import org.flowable.idm.api.User;
import org.springframework.security.core.GrantedAuthority;
/**
* A flowable implementation of {@link org.springframework.security.core.userdetails.UserDetails}.
*
* @author Filip Hrisafov
*/
public class FlowableUser extends org.springframework.security.core.userdetails.User implements FlowableUserDetails {
private static final long serialVersionUID = 1L;
protected final User user;
protected final List<Group> groups;
public FlowableUser(User user, boolean active, List<? extends Group> groups, Collection<? extends GrantedAuthority> authorities) {
super(user.getId(), user.getPassword() == null ? "" : user.getPassword(), active, active, active, active, authorities);
this.user = user;
this.groups = Collections.unmodifiableList(groups);
}
public FlowableUser(User user, String username, boolean enabled,
List<? extends Group> groups, Collection<? extends GrantedAuthority> authorities) {
super(username, user.getPassword() == null ? "" : user.getPassword(), enabled, true, true, true, authorities);
this.user = user;
this.groups = Collections.unmodifiableList(groups);
}
@Override
public User getUser() {
return user;
}
@Override
public List<Group> getGroups() {
return groups;
}
@Override
public void eraseCredentials() {
super.eraseCredentials();
user.setPassword(null);
}
}
```
|
Carlotta J. Thompkins, also known as Lottie Deno (April 21, 1844 – February 9, 1934), was a famous gambler in Texas and New Mexico during the nineteenth century known for her poker skills as well as her courage.
She was born in Kentucky and traveled a great deal in her early adulthood before coming to Texas. Much of her earlier life and even her real name at birth are a matter of debate among historians, but her fame as a poker player in the Southwest is not. According to author Johnny Hughes, "In the late 1800s Texas' most famous poker player was Lottie Deno (a shortened form of 'dinero' - Spanish for money)."
Early life
Carlotta J. Thompkins (her presumed real name) was born on April 21, 1844, in Warsaw, Kentucky. Her family was reportedly quite wealthy and her father, a racehorse breeder and prominent gambler, is said to have traveled extensively with Lottie, teaching her the secrets of winning at cards at some of the finest casinos. After her father's death in the Civil War, Lottie's mother sent her to Detroit to find a husband. She was accompanied by Mary Poindexter, her loyal slave and nanny. After running out of money in Detroit, Thompkins fell into a life of gambling, traveling the Mississippi River. Poindexter, reportedly seven feet tall and formidable, acted as Thompkins' protector during their travels.
Gambling days in Texas
Lottie arrived in San Antonio in 1865. She became a house gambler at the University Club working for the Thurmond family from Georgia. It was during this time that she met and fell in love with Frank Thurmond, a fellow gambler.
After being accused of murder, Frank fled San Antonio and Lottie followed. The pair traveled for many years throughout the frontier areas of Texas, including Fort Concho, Jacksboro, San Angelo, Denison, Fort Worth, and Fort Griffin. Their travels occurred during a local economic boom on the Texas frontier, as demand for bison hides spiked in the mid and late 1870s. Cowboys and traders flush with cash during the period became targets for gamblers in frontier communities. It was at Fort Griffin, where Lottie lingered for some time, that her notoriety and legend became most established. Fort Griffin, a frontier outpost west of Fort Worth near the Texas Panhandle, was known for its saloons and the rough element it attracted. Gaining fame as a gambler, Lottie became associated with various Old West personalities, including Doc Holliday.
During her travels, she gained numerous nicknames. In San Antonio she was known as the "Angel of San Antonio." At Fort Concho she became known as "Mystic Maud." At Fort Griffin she was called "Queen of the Pasteboards" and "Lottie Deno." It was this last moniker by which she became best known. Her escapades during this period became part of the folklore of the American Wild West.
Later life
Lottie and Frank moved to Kingston, New Mexico, in 1877, where they ran a gambling room in the Victorio Hotel. Lottie later became the owner of the Broadway Restaurant in Silver City.
In 1880, Lottie and Frank were married in Silver City. In 1882 they moved to Deming, New Mexico, where they settled permanently and gave up their gambling life. They became upstanding citizens in the community, with Frank eventually becoming vice president of Deming National Bank and Lottie helping to found St. Luke's Episcopal Church.
Lottie died on February 9, 1934, and was buried in Deming as Charlotte Thurmond.
Legacy
Miss Kitty Russell, a character from the long-running American radio and television show Gunsmoke, starring James Arness, is based on Lottie Deno.
Lisa Gaye played Deno in the episode "Lottie's Legacy" of the syndicated anthology series Death Valley Days, hosted by Robert Taylor. In the dramatization, Lottie falls in love with the Reverend Peter Green (John Clarke), who does not know the details of her past.
See also
History of vice in Texas
Notes
References
External links
Texas Escapes: Lottie Deno: Queen of the Paste Board Flippers
Frontier Gamblers: Lottie Deno
1844 births
1934 deaths
American gamblers
Female poker players
People of the American Old West
People from Warsaw, Kentucky
People from San Antonio
|
Anthem of the Peaceful Army is the debut studio album by American rock band Greta Van Fleet. The album was released on October 19, 2018, and follows the band's two EP releases, Black Smoke Rising and From the Fires. The first single, "When the Curtain Falls", was released in July 2018. A second single, "You're the One" was released around the time of the album's release.
The album was the top selling album in its debut week in the US, selling 87,000 copies. Factoring in album equivalent units, it debuted at number three on the Billboard 200.
Background
The band had formed in 2012, but was largely relegated to local live shows and touring until 2017, with the band's release of the EPs Black Smoke Rising and From the Fires. The band found success with the releases, namely with the singles "Highway Tune" and "Safari Song", which both topped the Billboard Mainstream Rock chart, for five and three weeks respectively. With the songs' success, they moved to record a full-length album, while still actively touring in support of the EPs.
Writing and recording
The band's original plan had been to quickly record songs they had written over the course of the last three to five years, of which the band had amassed a large number. However, upon entering the studio, the band opted to write and record mostly new music, all during a short two week stint in the studio. It was later clarified that about 75% of the album was written during the 2018 sessions. They experimented more in the studio with different tones and instruments than they did recording the EPs. A lap steel guitar was used on "Anthem" and a guitar modified to sound like a sitar in "Watching Over". The name of the album comes from a poem Josh Kiszka wrote on the tour bus after having words come to him as he drifted in and out of sleep. In the studio, the project became what Sam Kiszka admitted was a concept album that addressed ecological concerns as well as themes of hate, greed and evil. "It kind of dives into roots and beliefs. I think it asks fairly large questions. What are we doing to ourselves? What are we doing to our environment? What are we doing to each other? Why must there be hate? And why must there be greed and evil? I think it simply asks the question of why can't we all be one? We're all people. We all look up at the same sky, breathing the same air. We all come from the same place." Additional songs were written during a stay at a cabin deep in the woods of Chattanooga, Tennessee. According to Jake Kiszka he would stay up late at night editing and mixing and "very clearly" hear footsteps behind him that only stopped when he commanded them to. Danny Wagner also reported hearing the laugh of a little girl while alone in the cabin. Jake said these incidents ended up influencing some of the tracks. In an interview for Rolling Stone Josh said "If there’s a haunted fucking cabin, this would be the one. It was quite an experience. We set the drums up in this big room in front of a fireplace. We wanted to get out into more of a wilderness setting because that’s where these things become clear. Jake would get nice and drunk and talk to the spirits. I’d step out on the balcony and look down, and he’d just be drunk and talking off into space like nothing existed." Sam also said he has "very specific memories of "Age of Man" being written and coming to life there." and went on to agree he believed the cabin was haunted. "Age of Man" also contains the line "lands of ice and snow", a probable quote of the Led Zeppelin song "Immigrant Song". When asked if this was intentional, Josh said "In some ways it was a bit of a wink..."
Release and promotion
The album's first single, "When the Curtain Falls", was released in July 2018, along with the band promoting the song with their live national television debut on The Tonight Show Starring Jimmy Fallon. In November 2018, the single peaked at number 1 on the Billboard Mainstream Rock songs chart. The album's title, Anthem of the Peaceful Army, and release date, October 19, 2018, was announced in early September 2018. A small album teaser, along with a new song, "Watching Over", were also released around the time of the announcement. Further songs "Lover, Leaver", "Anthem" and "You're the One" were released ahead of the album on September 21, October 5 and 16, respectively. The day before the album came out, the band setup an online promotion that allowed users to listen to the song "Age of Man" if they walked to a local park and opened a link on their mobile phone. Digital versions have a slightly different tracklist than physical copies, due to including an alternate version of "Lover Leaver".
Reception
Critical reviews of Anthem of the Peaceful Army were mixed, the album garnering an aggregate Metacritic score of 53 out of 100 based on thirteen reviews. Classic Rock magazine strongly praised the album, concluding that it was "one of the most exciting records released by a new band in recent years...partly a result of the amount of money and attention that's being thrown at them – this is the first time in years that a rock band has been given a genuine fighting chance by a major label – but it's mostly down to the youthful, unmanufacturable exhilaration that courses through its 10 tracks." Conversely, Esquire reasoned that "the state of guitar music in general [had] been waiting for another Black Keys or Kings of Leon to come along to revive interest in a rapidly aging sound," explaining the praise towards the album, but the actual music was "bad and [the band's] entire aesthetic feels disingenuous" because it was released by a major label. Jeremy D. Larson of Pitchfork heavily criticized the album, calling it "half-baked boomer fetishism" and an "interminable 49-minute drag." Larson's statements were met with controversy and criticism by some, with Tyler Sharp of Loudwire noting that the response was 'unparalleled in terms of rock music criticism in 2018'. In a negative review, YouTube music reviewer Anthony Fantano accused the album of being unoriginal and of ripping off the sound of Led Zeppelin, and said that "it spits in the face of artistic evolution."
Despite the mixed reception, the album was nominated for a Kerrang! Award for 'Best Album'.
Track listing
Sources:
Personnel
Credits adapted from Tidal.
Greta Van Fleet
Joshua Kiszka – vocals; acoustic guitar (10)
Jacob Kiszka – guitar, backing vocals
Samuel Kiszka – bass guitar, keyboards, backing vocals
Daniel Wagner – drums, backing vocals
Production
Al Sutton – production, recording engineer, mixing
Marlon Young – production, mixing
Herschel Boone – production
Tanner Peters – assistant recording engineer
Jason Mott – assistant recording engineer
Ryan Smith – mastering
Eliot Lee Hazel – photography
Kyledidthis – art direction and design
Ashley Pawlak – art direction and design
Charts
Weekly charts
Year-end charts
Certifications
References
2018 debut albums
Greta Van Fleet albums
Republic Records albums
|
```java
package com.weibo.api.motan.transport.netty.admin;
import com.weibo.api.motan.admin.AdminHandler;
import com.weibo.api.motan.admin.AdminServer;
import com.weibo.api.motan.admin.AdminServerFactory;
import com.weibo.api.motan.core.extension.SpiMeta;
import com.weibo.api.motan.exception.MotanFrameworkException;
import com.weibo.api.motan.rpc.URL;
import org.jboss.netty.handler.codec.http.HttpServerCodec;
/**
* @author zhanglei28
* @date 2023/11/3.
*/
@SpiMeta(name = "netty3")
public class NettyAdminServerFactory implements AdminServerFactory {
@Override
public AdminServer createServer(URL url, AdminHandler adminHandler) {
if (adminHandler == null) {
throw new MotanFrameworkException("AdminHandler can not be null");
}
String protocol = url.getProtocol();
if ("http".equals(protocol)) {
return new AdminHttpServer(url, adminHandler);
} else if ("motan2".equals(protocol)) {
return new AdminRpcServer(url, adminHandler);
}
throw new MotanFrameworkException("unsupported admin server protocol: " + protocol);
}
}
```
|
```shell
The `setuid` permission
Executing commands with `sudo` without password
Granting `root` access to a user
Set file permissions for users
Run previous command as root
```
|
The Battle of Alamance, which took place on May 16, 1771, was the final battle of the Regulator Movement, a rebellion in colonial North Carolina over issues of taxation and local control, considered by some to be the opening salvo of the American Revolution. Named for nearby Great Alamance Creek, the battle took place in what was then Orange County and has since become Alamance County in the central Piedmont area, about south of present-day Burlington, North Carolina.
Background
In the spring of 1771, North Carolina Governor William Tryon left New Bern, mustering and marching approximately 1,000 militia troops westwards to address a rebellion that had been brewing in western counties for several years. It had up to this point included only minor, scattered acts of violence, followed by refusals to pay fees, disruptions of court proceedings, and continued harassment of government officials.
About 2,000 so-called "regulators" had gathered, hoping to gain concessions from Tryon by intimidating him with a show of superior force. Funded £6,000 by council member and wealthy merchant Samuel Cornell, on May 11, Tryon left the county seat of Hillsborough with his militia to confront the Regulators, who had made camp south of Great Alamance Creek in western Orange County.
Battle
On the evening of May 15, Tryon received word that the Regulators were camped about six miles away. The next morning, at about 8:00 am, Tryon's troops set out to a field about one-half mile from the camp of the Regulators. He formed two lines, and divided his artillery between the wings and the center of the first line. The Regulators remained disorganized, with no leadershipno officer ranked higher than captainand no anticipation of an attack, expecting that their superior numbers would frighten Tryon's militia.
Tryon sent one of his aides-de-camp, Captain Philemon Hawkins II, and the Sheriff of Orange County with a proclamation:
Alamance Camp, Thursday, May 16, 1771.
To Those Who Style Themselves "Regulators": In reply to your petition of yesterday, I am to acquaint you that I have ever been attentive to the interests of your County and to every individual residing therein. I lament the fatal necessity to which you have now reduced me by withdrawing yourselves from the mercy of the crown and from the laws of your country. To require you who are now assembled as Regulators, to quietly lay down your arms, to surrender up your leaders, to the laws of your country and rest on the leniency of the Government. By accepting these terms within one hour from the delivery of this dispatch, you will prevent an effusion of blood, as you are at this time in a state of rebellion against your King, your country, and your laws.
(Signed) William Tryon.
While the terms were being read, Tryon's troops began to move forward. Shortly after that, Tryon was informed that the Regulators had rejected his terms. Herman Husband, a Quaker, realizing violence was about to take place, left the area.
By midday the hour had expired. Tryon sent one final warning:
Gentlemen and Regulators: Those of you who are not too far committed should desist and quietly return to your homes, those of you who have laid yourselves liable should submit without resistance. I and others promise to obtain for you the best possible terms. The Governor will grant you nothing. You are unprepared for war! You have no cannon! You have no military training! You have no commanding officers to lead you in battle. You have no ammunition. You will be defeated!
Some of the Regulators petitioned Tryon to give up seven captured Regulators in exchange for two of his men that they had captured the previous day. Tryon agreed, but after a half an hour, the captured officers did not appear. He became suspicious that his positions were being flanked and ordered the militia to march within 30 yards of the Regulators. Shortly thereafter, a large crowd of Regulators appeared in front of the militia, waving their hats and daring the militia to open fire. At about this time, two men who had been attempting to negotiate a peace between the two sides left Tryon's camp: Reverend David Caldwell and Robert Thompson. Caldwell made it to the field between the two lines, but was warned by the Regulators, who saw that the Governor was about to open fire. Thompson was detained by Tryon as a prisoner. Tryon, in a moment of anger, took a musket from a militiaman and shot Thompson dead. Realizing what he had done, he sent a flag bearer named Donald Malcolm with a white flag in hopes of calming things quickly. The flag bearer was himself fired upon by the Regulators, who called out, "Fire and be damned".
The Regulators lacked the leadership, organization, and ammunition that Tryon had, but the early course of the battle went well for them. They employed what was referred to as "Indian style" fighting, hiding behind trees and avoiding structure and lines. This allowed two of the Regulators, brothers named McPherson, to capture one of Tryon's three cannons. Unfortunately for them, the Regulators had no ammunition and it could not be used. A man considered one of the principal military leaders of the Regulators, Captain Montgomery, was killed by a shell at about the same time a bullet hit Tryon's hat. The Governor sent a second white flag, but the aide-de-camp was killed while regulator Patrick Muller called for his fellow insurgents to cease fire. Outraged at the disregard of a second white flag, the Governor rallied his troops against the insurgents, whose ammunition was running out. Many of the Regulators fled the field. Delays prevented the 300 reinforcements under Captain Benjamin Merrill from arriving in time. Some of the Regulators remained behind to continue firing upon the militia. Tryon then ordered the woods to be set on fire.
Aftermath
Losses for both sides are disputed. Tryon reported nine dead and 61 wounded among the militia. Other historians indicate much greater numbers, between 15 and 27 killed. Both sides counted nine dead among the Regulators and from dozens to approximately two-hundred wounded. Tryon took 13 prisoners. One of them, James Few, was executed at the camp, and six were executed later in nearby Hillsborough. Many Regulators traveled on to frontier areas beyond North Carolina. Tryon pardoned others and allowed them to stay on the condition that they pledge an oath of allegiance to the royal government. The battle took place in what was then Orange County. During the American Revolution a decade later, the same section of Orange County (subdivided into Alamance County in 1849) saw several minor skirmishes, including the infamous Pyle's Hacking Match in 1781. Recent archaeological studies at the site have shown that the area now known as Alamance Battleground was also the site of another skirmish in the revolutionary war and of a civil war era Confederate encampment.
Order of battle
Provincial militia
According to Tryon's journal, the following men served under his command:
Major-generals: John Ashe and Thomas Lloyd
Lieutenant-generals: John Rutherford, Lewis Henry deRosset, John Sampson, Robert Palmer, Benjamin Heron, and Samuel Strudwick
Majors of brigade: Abner Nash and Robert Howe
Colonels: Alexander Osborne, Edmund Fanning, Robert Harris, James Sampson, Samuel Spencer, James Moore, and Maurice Moore
Lieutenant-colonels: John Frohock, Moses Alexander, Alexander Lillington, John Gray, Samuel Benton, and Robert Schaw
Majors: William Bullock, Walter Lindsay, Thomas Lloyd, Martin Fifer, and John Hinton
Alexander Lillington and James Moore were both American patriots at the Battle of Moore's Creek Bridge
Richard Caswell was delegate to the Continental Congress in Philadelphia, one of the principal authors of the 1776 constitution of North Carolina, and the first governor of the newly independent state
Francis Nash, whose guilt for extortion precipitated the Regulator Movement, fought and died as an American patriot in the Revolution
Griffith Rutherford served as a brigadier general in Salisbury District Brigade of the North Carolina militia
Regulators
The following individuals were numbered as members of the Regulators:
Herman Husband
James Hunter – So-called "General of the Regulators", whose 1901 statue is now found at Alamance Battleground
James Few – executed at camp after the battle
Charles Harrington – died from wounds received at the battle
Abraham and John Helton
The following were excepted from pardons by Tryon:
Samuel Jones
Joshua Teague
Samuel Waggoner
Simon Dunn Jr.
Abraham Creson
Benjamin Merrit [Merrill]
James Wilkerson Sr.
Edward Smith
Malachi Fyke
John Bumpass
Joseph Boring
William Rankin
William Robeson
John Winkler
John Wilcox
Six men were found guilty of treason, but were pardoned at Tryon's behest:
Forest Mercer
James Stewart
James Emerson – later signed the Revolutionary War Patriots' Muster Roll as James Emison (Emmerson)
Hermon (or Harmon) Cox – his powder horn is now on display at Alamance Battleground
William Brown
James Copeland
Six men were found guilty of treason and were sentenced to be hanged, drawn and quartered, although in practice, they were only hanged:
Benjamin Merrill
Robert Matear (Matter)
Pugh
Captain Robert Messer
Peter Craven
Marmaduke Vickery
Historiography
Some historians in the late nineteenth and early twentieth centuries considered the battle to be a forerunner to the American Revolutionary War, and contemporaneous locals agreed with this assessment. Yet, this has been questioned by present-day historians arguing that the Regulators (though viewed in the eyes of Tryon and his allies as being in rebellion against King, country, and law) were not intending a complete overthrow of His Majesty's Government in North Carolina. They were only standing up against those certain local officials who had become corrupt and unworthy tools of the King, and they only turned to riot and armed rebellion as a last resort when all other peaceful means through petitions, elections to the Assembly, etc. had failed to redress their grievances. Many surviving ex-Regulators became loyalists during the Revolution, and several anti-Regulators [e.g. William Hooper, Alexander Martin, Francis Nash, and Samuel Johnston] became patriots during the Revolution.
Legacy
Visitors to Alamance Battleground State Historic Site may view the field of battle, memorialized in 1880 with a granite monument and a second monument in 1903. Today the site contains exhibits, period cannon, and colored flags representing troop positions. The visitors' center offers exhibits, artifacts, and a presentation on the battle. Visitors may also tour the onsite Allen House, a restored frontier farmstead of the period. The Battle of Alamance is further memorialized through an annual battle reenactment.
The battle features in the Diana Gabaldon novel, The Fiery Cross, and is depicted in the television adaptation, Outlander, in the fifth season's episode "The Ballad of Roger Mac" which first aired in 2020.
See also
Overmountain Men
Watauga Association
References
Breaking Loose Together: The Regulator Rebellion in Pre-Revolutionary North Carolina by Marjoleine Kars.
External links
, dead link
Military history of the Thirteen Colonies
Pre-statehood history of North Carolina
Pre-statehood history of South Carolina
Pre-statehood history of Tennessee
Tax resistance in the United States
1760s in the Thirteen Colonies
1770 in the Thirteen Colonies
1771 in the Thirteen Colonies
Battles in North Carolina
Conflicts in 1770
Conflicts in 1771
Regulator Movement
1771 in North Carolina
|
The Palliser novels are six novels written in series by Anthony Trollope. They were more commonly known as the Parliamentary novels prior to their 1974 television dramatisation by the BBC broadcast as The Pallisers. Marketed as "polite literature" during their initial publication, the novels encompass several literary genres including: family saga, bildungsroman, picaresque, as well as satire and parody of Victorian (or English) life, and criticism of the British government's predilection for attracting corrupt and corruptible people to power.
The common characters throughout the series are the wealthy aristocrat and politician Plantagenet Palliser, and his wife, Lady Glencora. The plots involve British and Irish politics in varying degrees, specifically in and around Parliament. The Pallisers themselves do not always play major roles, and in The Eustace Diamonds they merely comment on the main action.
The series overlaps with Trollope's Chronicles of Barsetshire, also a series of six novels, which deal with life in the fictional county Barsetshire where the Palliser family is politically important.
Trollope considered Can You Forgive Her?, Phineas Finn, Phineas Redux and The Prime Minister to be the four novels that constitute the Palliser series. In his autobiography he wrote:
Plantagenet Palliser
Plantagenet Palliser is a main character in the Palliser novels. First introduced as a minor character in The Small House at Allington, one of the Barsetshire novels, Palliser is the heir presumptive to the Duke of Omnium. Palliser is a quiet, hardworking and conscientious man whose chief ambition in life is to become Chancellor of the Exchequer. After an unwise flirtation with the married Lady Dumbello (daughter of Dr Grantly, and granddaughter of the Reverend Mr Harding, characters in The Warden and Barchester Towers), he agrees to an arranged marriage with the great heiress of the day, the free-spirited, spontaneous Lady Glencora M'Cluskie. At first she finds him boring, and considers running away with her other suitor prior to her marriage, the dashing but penniless Burgo Fitzgerald. After he learns of his wife's feelings and plans, Palliser persuades her to travel in Europe to cement their relationship, and is promptly offered the post of Chancellor, which he declines with great regret, since his first priority is his wife. Despite their greatly different natures, the couple settle down to a happy married life. The last book of the series, The Duke's Children, deals with the lives and loves of their three children.
Palliser is eventually offered the post of Chancellor of the Exchequer anyway. However, upon inheriting the dukedom, he is forced to relinquish the beloved post, as it is against constitutional convention for a member of the House of Lords to hold it. In The Prime Minister, when neither the Liberals nor the Conservatives are able to form a majority, a weak coalition government is the only solution. Palliser is asked to become Prime Minister because he is a non-divisive figure, but he is too sensitive to enjoy his tenure. Socially awkward, he is especially vexed by his wife's lavish parties, which represent her attempt to help influence others to support him. Due to the fragile nature of the coalition, Palliser accomplishes little other than to keep the country on an even keel. By the time he leaves office it is with regret, since he has grown accustomed to the power of his position and is greatly disappointed that he has not been able to do more. He declines a place in the Liberal cabinet which follows his, feeling it inappropriate to serve in a cabinet once he has led one, but after some thought he leaves the door open to a return to participation in the government in future. When the Liberals form a government some years later at the end of The Duke's Children, he accepts a cabinet post as Lord President of the Council.
When the Duchess dies unexpectedly, Palliser comes to realise how necessary she has been to his happiness. She has been his only true friend: all others were either merely political allies or her friends. The widower is left to deal with the marriages of two of his three grown children, neither of which initially meets with his approval.
The Omnium Government (characters mentioned in novels only)
Cabinet members
Duke of Omnium (Plantagenet Palliser): Prime Minister and First Lord of the Treasury, and Leader of the House of Lords
Lord Ramsden: Lord Chancellor
Duke of St Bungay: Lord President of the Council
Lord Drummond: Secretary of State for the Colonies
Sir Orlando Drought: First Lord of the Admiralty and Leader of the House of Commons
Joshua Monk: Chancellor of the Exchequer
Barrington Erle, Postmaster General
Non-cabinet
Phineas Finn: Chief Secretary for Ireland
Sir Gregory Grogram: Attorney General
Sir Timothy Beeswax: Solicitor General
Mr Rattler: Patronage Secretary
Thomas Roby: Undersecretary for the Admiralty
Changes
Sir Orlando Drought resigns, ostensibly over disagreements with government policy, but in reality because he believes that the Leader of the House of Commons should be Prime Minister given Palliser's place in the House of Lords, and his political ambitions have been frustrated. He is replaced as First Lord of the Admiralty by Phineas Finn and as Leader of the House of Commons by Joshua Monk, who concurrently retains his post as Chancellor of the Exchequer. The name of Finn's replacement as Chief Secretary for Ireland is not mentioned.
Sir Timothy Beeswax resigns over the County Suffrage Bill. No replacement for him is mentioned.
List of other characters
A
Marchioness of Auld Reekie. Lady Glencora's aunt. The Marchioness pressures Glencora to marry Plantagenet Palliser.
B
Lady Baldock. Violet Effingham's aunt.
Ezekiel Boncassen Father of Isabel. A learned American, he is spoken of as a potential President of the United States.
Isabel Boncassen Love interest of Silverbridge in The Duke's Children. Marries him after being assured that his father approves of the match.
Mrs Boncassen Mother of Isabel. Portrayed as somewhat ridiculous in London society, but her great love for her daughter is stressed.
Mr Bott. A somewhat overbearing and fawning member of Parliament, he shadows Palliser. He offends Lady Glencora by watching her dance with Burgo Fitzgerald, and also loses his seat in Parliament during the election held while the Pallisers are abroad.
Mr and Mrs Bunce. Phineas Finn's landlady and her husband.
C
Miss Cassewary. Companion of Lady Mabel Grex.
Oswald Standish, Lord Chiltern. Aggressive brother of Lady Laura Standish. He was thought at the time to be based on Spencer Cavendish, 8th Duke of Devonshire.
D
Mr Daubeny: Conservative Leader of the House of Commons and later Prime Minister. Believed to be based on Benjamin Disraeli.
Lady Rosina de Courcy. A shrivelled-up old woman whose aristocratic family is now impoverished. She lives in a small cottage near her old home. Plantagenet enjoys her company, although Glencora scornfully reminds her husband that Lady Rosina once tried to marry a brewer to solve her financial troubles.
Lord de Terrier: Conservative leader, Prime Minister at the time of Phineas Finn's entry into the Commons, but ousted soon afterwards; based on Lord Derby
Sir Orlando Drought Conservative MP, Leader of the House of Commons and First Lord of the Admiralty in the Omnium government. He believes that as Leader of the House of Commons, he should be Prime Minister, but finds that the Duke of Omnium is not friendly to his views. Resigns, ostensibly over a matter of principle. Appears to have returned to the Conservative Front Bench during the Drummond government.
Lord Drummond Secretary of State for the Colonies in the Omnium Government; later becomes Conservative Prime Minister, but his government falls near the end of The Duke's Children.
E
Violet Effingham. Love interest of Phineas Finn in Phineas Finn. Later the wife of Oswald Standish, Lord Chiltern.
Barrington Erle Liberal MP and minor Cabinet minister. Postmaster General in the Omnium government.
Lizzie, Lady Eustace. Formerly Lizzie Greystock, the protagonist of The Eustace Diamonds. The apparent theft of her diamonds rivets society, but at the end of the novel her lies are exposed. She later appears in Phineas Redux and also in The Prime Minister, in which she repels Ferdinand Lopez's advances and attempts to obtain her money.
F
Marie Finn: Originally appears in Phineas Finn as Madame Max Goesler, a Viennese widow, and becomes a close friend and confidant to the old Duke of Omnium. At his death she is left diamonds, which she refuses to take. She marries Phineas Finn. An intimate friend of Lady Glencora, and thereafter of her daughter Mary, she is shunned by Glencora's widower Plantagenet, now Duke of Omnium, when he believes that she has encouraged the marriage between Lady Mary and Frank Tregear. Later, she and the Duke reconcile.
Burgo Fitzgerald. Loved by Lady Glencora before she enters into an arranged marriage with Plantagenet Palliser. Handsome but penniless, he nearly persuades Lady Glencora to run away with her. By the time she encounters him again in a German gambling town, she feels only pity for him, and Palliser arranges for a small pension to be paid to him there.
Arthur Fletcher. Elected MP for Silverbridge after Grey resigns; marries Emily Lopez (née Wharton) whom he has long loved.
G
Mrs Arabella Greenow. Daughter of Squire Vavasor, sister of John and aunt of George, Kate and Alice. Married a rich elderly man, Mr Greenow, and was soon his widow. Shows an interest in her niece Kate and takes her to Yarmouth with her. Mrs Greenow is courted by the dashing wastrel Captain Bellfield and also by the less attractive but well-off Mr Cheesacre.
Mr. Gresham. Liberal leader and friendly rival of Mr. Daubeny. Prime Minister, succeeding the Duke of Omnium. Believed to be based on William Ewart Gladstone.
Lady Mabel Grex. Initial love interest of Lord Silverbridge in The Duke's Children. While not in love with Silverbridge, but with Frank Tregear, she plays Silverbridge along in the hope of becoming Duchess of Omnium, but he soon becomes infatuated with Isabel Boncassen. The death of her father, the dissipated Lord Grex, leaves her impoverished, and she is left alone with her companion Miss Cassewary, two old maids together.
John Grey. Love interest of Alice Vavasor, who later marries him. A wealthy gentleman farmer, he becomes member of Parliament for Silverbridge after Palliser gives up that seat to become member for Barsetshire instead, county seats being more prestigious.
J
Mary Jones. Childhood sweetheart, and eventually first wife, of Phineas Finn. She dies soon after they marry.
K
Robert Kennedy: Member of Parliament and Phineas Finn's rival for the affections of Lady Laura Standish. He eventually becomes insane.
Sarah Kennedy. Elderly mother of Robert Kennedy, whom she survives.
L
Lady Linlithgow. Acerbic aunt of Lizzie Eustace.
Ferdinand Lopez: Of doubtful origins, he marries Emily Wharton for her money. Persuades Glencora, Duchess of Omnium, to back him as a candidate in the Silverbridge by-election, which is won by Arthur Fletcher. When in dire financial straits, he throws himself beneath a train at the Tenway Junction.
M
Mrs Marsham. She was a friend of Plantagenet Palliser's mother but is disliked by Lady Glencora. Mrs Marsham eventually marries Mr Bott, to Plantagenet's disgust.
Miss McNulty. Companion of Lady Linlithgow, Lizzie Eustace's aunt, and afterwards of Lizzie herself.
Countess of Midlothian. A meddlesome old woman who helped to pressure Lady Glencora to marry Plantagenet Palliser. The Countess also interferes in Alice Vavasor's life, though Alice indignantly rejects her advice.
William Mildmay: Liberal Prime Minister early in the series, greatly admired by Palliser; based on Lord John Russell
Joshua Monk. Radical member of Parliament for the Potteries, risen from humble origins. Later becomes Chancellor of the Exchequer in the Omnium government, and Prime Minister as the series ends.
O
George Plantagenet Palliser, Duke of Omnium; Plantagenet Palliser's uncle. Never married; responsible for the building of the monstrous Gatherum Castle, with some love affairs in his younger years. Former member of Parliament for Silverbridge. Considers marrying Madame Max Goesler (later Marie Finn) but she refuses his offer. Dies, leaving Madame Goesler money and all of his jewels. She does not accept the bequest.
P
Lord Gerald Palliser. Second son and second child of the Duke and Duchess of Omnium. Is sent down from Cambridge for unexcused absences, but is later enrolled at Oxford. Loses money at cards.
Lady Glencora Palliser (daughter). Mentioned once in The Prime Minister and never before or after as Plantagenet and Glencora Palliser's eldest daughter. Possible oversight by Trollope as there is no mention of her death and in The Duke's Children it is made clear that the Omniums have only three children, Lord Silverbridge, Lord Gerald and Lady Mary.
Jeffrey Palliser. Cousin of Plantagenet Palliser and at the time of Can You Forgive Her? next in line to the dukedom of Omnium after him. Later marries and lives in Gloucestershire.
Lady Mary Palliser. Youngest child and daughter of Plantagenet and Glencora. Falls in love with Frank Tregear. Her father's initial refusal to accept the match and gradual reconciliation to it forms much of the plot of The Duke's Children.
Plantagenet Palliser (father). See main article.
Plantagenet Palliser (son), holds the courtesy title Earl of Silverbridge. See under "Earl of Silverbridge".
Sexty Parker. Partner of Ferdinand Lopez in The Prime Minister and ruined by him.
S
Duke of St Bungay. Liberal politician, who offers Palliser the post of Chancellor of the Exchequer in Can You Forgive Her? Is spoken of as a possible prime minister in Phineas Finn. Serves in a variety of Cabinet posts, and is a close friend and confidant of Palliser.
Plantagenet Palliser, Earl of Silverbridge Eldest child of Plantagenet and Glencora Palliser. His love initially for Lady Mabel Grex and later for Isabel Boncassen forms much of the plot of The Duke's Children. Involved in a betting scandal. He serves initially as a Conservative, but later as a Liberal Member of Parliament.
Lady Laura Standish. Friend and love interest of Phineas Finn in Phineas Finn.
T
Frank Tregear. Falls in love with Lady Mary Palliser. Her father's objections to the match are gradually worn down, especially once Tregear is elected as a member of Parliament.
V
Alice Vavasor. A friend and cousin of Lady Glencora's; eventually marries John Grey after long rejecting him.
Arabella Vavasor. Daughter of Squire Vavasor. See under Greenow, Mrs Arabella.
George Adam St George Vavasor. A ne'er do well, who takes money from his cousin Alice to finance ruinously expensive runs for Parliament. Briefly sits in the Commons, but is disinherited by his grandfather and eventually flees to America.
John Vavasor. Alice's father and George's uncle. Heir to the Vavasor fortune after George is disinherited.
Kate Vavasor. Sister of George Vavasor and cousin of Alice Vavasor.
Squire Vavasor. Strong-willed father of John and grandfather of George, Kate and Alice. Though a strong believer in primogeniture, he eventually disinherits George shortly before his own death.
W
Emily Wharton. Marries Ferdinand Lopez and is widowed when he kills himself. Later marries Arthur Fletcher.
Everett Wharton. Emily's brother.
Mr. Abel Wharton. Emily's father, an attorney in commercial law.
Adaptations
In 1974 the BBC adapted the Palliser novels as a twenty-six part serial The Pallisers, using some material from Trollope's Barsetshire novel The Small House at Allington (1864). This was in turn novelised in a single volume by John Garforth under the alias Tony Hussey.
There was also a 12-part BBC Radio 4 "Classic Serial" dramatisation in 2004, which has been re-broadcast a number of times on BBC Radio 4 Extra. The serial was narrated by David Troughton as Trollope, with Ben Miles as Plantagenet Palliser and Sophie Thompson as Lady Glencora. A new six-part adaptation by Mike Harris under the title The Pallisers began on BBC Radio 4 on 10 November 2019.
The 2017 novel Rich People Problems by Kevin Kwan makes numerous references to the Palliser novels. A secondary character, Colette Bing, marries Lucien Plantagenet Montagu-Scott, Earl of Palliser, son of the Duke of Glencora, whose family seat is located in Barchester in the county of Barsetshire.
References
External links
Book series introduced in 1864
Hexalogies
Novel series
British novels adapted into television shows
|
```smalltalk
/*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Klocman.Properties;
namespace Klocman.IO
{
public struct FileSize : IXmlSerializable, IComparable<FileSize>, IEquatable<FileSize>, IComparable
{
public enum SizeRange
{
None = 0,
Kb,
Mb,
Gb,
Tb
}
public static FileSize SumFileSizes(IEnumerable<FileSize> sizes)
{
return FromKilobytes(sizes.Sum(x => x.GetKbSize()));
}
public static readonly FileSize Empty = new(0);
private long _sizeInKb;
public FileSize(long kiloBytes)
{
_sizeInKb = kiloBytes;
}
public static bool operator !=(FileSize a, FileSize b)
{
return !a.Equals(b);
}
public static FileSize operator +(FileSize a, FileSize b)
{
return new FileSize(a._sizeInKb + b._sizeInKb);
}
public static FileSize operator -(FileSize a, FileSize b)
{
return new FileSize(a._sizeInKb - b._sizeInKb);
}
public static bool operator ==(FileSize a, FileSize b)
{
return a.Equals(b);
}
public static FileSize FromBytes(long bytes)
{
if (bytes < 0)
bytes = 0;
return new FileSize(bytes / 1024);
}
public static FileSize FromKilobytes(long kiloBytes)
{
if (kiloBytes < 0)
kiloBytes = 0;
return new FileSize(kiloBytes);
}
public int CompareTo(object obj)
{
return obj is FileSize other ? CompareTo(other) : 0;
}
public override bool Equals(object obj)
{
return obj is FileSize other && Equals(other);
}
public override int GetHashCode()
{
return _sizeInKb.GetHashCode();
}
public int CompareTo(FileSize other)
{
return _sizeInKb.CompareTo(other._sizeInKb);
}
public bool Equals(FileSize other)
{
return _sizeInKb == other._sizeInKb;
}
/// <summary>
/// Empty items return long.MaxValue. For use in sorting
/// </summary>
public long GetKbSize(bool treatEmptyAsLargest = false)
{
if (treatEmptyAsLargest && _sizeInKb <= 0)
return long.MaxValue;
return _sizeInKb;
}
/// <summary>
/// Returns string representation of the unif of this FileSize.
/// (eg. Megabytes, Kilobytes)
/// </summary>
public string GetUnitName()
{
return GetUnitName(_sizeInKb);
}
/// <inheritdoc cref="GetUnitName()"/>
public static string GetUnitName(long sizeInKb)
{
var tempSize = sizeInKb;
if (tempSize <= 0)
return string.Empty;
if (tempSize < 1000)
return Localisation.FileSize_KB_Long;
tempSize /= 1024;
if (tempSize < 1000)
return Localisation.FileSize_MB_Long;
tempSize /= 1024;
if (tempSize < 1000)
return Localisation.FileSize_GB_Long;
return Localisation.FileSize_TB_Long;
}
public float GetCompactSize(out SizeRange sizeRange)
{
sizeRange = SizeRange.None;
if (_sizeInKb <= 0)
return 0;
sizeRange = SizeRange.Kb;
var tempSize = (double)_sizeInKb;
if (tempSize < 1024)
return (float)tempSize;
sizeRange = SizeRange.Mb;
tempSize /= 1024;
if (tempSize < 1024)
return (float)tempSize;
sizeRange = SizeRange.Gb;
tempSize /= 1024;
if (tempSize < 1024)
return (float)tempSize;
sizeRange = SizeRange.Tb;
tempSize /= 1024;
return (float)tempSize;
}
/// <summary>
/// Returns string representation of the filesize in format "Number.Decimal ShortName"
/// (eg. 32,51 MB, 1021 KB)
/// </summary>
public override string ToString()
{
return ToString(false);
}
/// <summary>
/// Returns string representation of the filesize in format "Number.Decimal LongName"
/// (eg. 32,51 Megabytes, 1021 Kilobytes)
/// </summary>
public string ToString(bool longFormat)
{
var value = GetCompactSize(out var range);
if (range == SizeRange.None || value <= 0)
return string.Empty;
return string.Format("{0} {1}", Math.Round(value, 2), GetRangeString(range, longFormat));
}
private static string GetRangeString(SizeRange range, bool longString)
{
if (range == SizeRange.None)
return string.Empty;
string rangeName;
switch (range)
{
case SizeRange.Tb:
rangeName = longString ? Localisation.FileSize_TB_Long : Localisation.FileSize_TB_Short;
break;
case SizeRange.Gb:
rangeName = longString ? Localisation.FileSize_GB_Long : Localisation.FileSize_GB_Short;
break;
case SizeRange.Mb:
rangeName = longString ? Localisation.FileSize_MB_Long : Localisation.FileSize_MB_Short;
break;
case SizeRange.Kb:
rangeName = longString ? Localisation.FileSize_KB_Long : Localisation.FileSize_KB_Short;
break;
default:
throw new ArgumentOutOfRangeException(nameof(range), range, @"Unknown range");
}
return rangeName;
}
public XmlSchema GetSchema() { return null; }
public void ReadXml(XmlReader reader)
{
if (reader.MoveToContent() == XmlNodeType.Element)
{
reader.Read();
if (reader.HasValue)
{
_sizeInKb = long.Parse(reader.Value);
reader.Read();
}
reader.ReadEndElement();
}
}
public void WriteXml(XmlWriter writer)
{
writer.WriteValue(_sizeInKb);
}
public long GetRoundedKbSize()
{
var size = _sizeInKb;
if (size <= 0) return 0;
var result = 1;
while(size >= 1024)
{
size /= 1024;
result *= 1024;
}
return result;
}
}
}
```
|
The Watler Cemetery is a historic cemetery located in Prospect, Grand Cayman. It was donated to the National Trust for the Cayman Islands by the Watler family in 1991.
Although the graves in the cemetery date from the beginning of the 19th century, the site was in use before that time, as Watlers have lived in the Cayman Islands since the 17th century and are among the original settlers of Cayman. It is thought that the name is derived from the fact that in Wales were craftsmen who specialized in the construction of wattles, a form of thatched roofing.
Watler Cemetery is notable for the number of traditionally Welsh constructed graves which still stand today. Shaped like houses, the memorials are constructed from a combination of crushed coral and limestone daub. Similar markers dating to the Middle Ages, have been found in both England and Wales, and markers in this style dating to the 17th century may be seen across the British West Indies. Boulders are heavy enough that only the most violent storms can dislodge them. Some graves may have had a mahogany tablet set into one wall, but this fact is disputed. More modern stones may cover numerous burials, but these structures were designed for only one body each.
Today this cemetery is enclosed by a stone wall. The original entrance is now filled in, but evidence of its original location can be seen almost directly across from the current entrance. Mature trees surround the graveyard, and the Prospect Youth Centre is located on the eastern side of the cemetery. The centre is run by the United Church.
The cemetery is almost all that remains of Prospect, although residents still identify the area by name when describing their neighborhood.
Cemetery markers
The National Trust of the Cayman Islands placed several plaques in the Watler Cemetery. The plaques are described below:
The Watler Cemetery – a typical family cemetery
As the plaque asserts, it was the custom of early island settlers to set aside a portion of their land as family graveyard. The Watler Cemetery is a good example of a typical Caymanian family graveyard. The graves date from the early 19th Century, but it is believed that it was in use for a considerable period before that. According to Hirst's Notes on the History of the Cayman Islands, many of the pioneers were of British and Welsh descent and are buried at Prospect.
The Watlers were among the earliest settlers in Cayman. Some have asserted that the first Watler was a deserter from Cromwell's army. However, with the advent of the Internet and widespread access to authentic documentation of genealogical history & migration, this assertion has been found to be a myth.
The surname "Watler" is of Welsh origin. As is the case with most Anglo-Saxon surnames, the name originates as a description of the familial vocational craft. In this case, it was he who built wattles: A Watler.
This small family cemetery was donated to the National Trust by the Watler family in 1991.
House-shaped graves
Characteristically, most of the graves are marked by house-shaped tombs. Tomb structures of this nature originated in England where karst made grave digging for underground burial impractical. This is also the case in many British West Indies islands where "iron shore," which are coral geological conditions, also make underground graves impractical. Upon BWI island settlement from the 1600s onward, this method of burial was simply an exported custom, along with many other customs familiar to the settlers.
Some assert these tombs once exhibited an unusual feature: A hardwood marker bearing the name and other information about the deceased. It is further alleged that these hardwood headmarkers were used instead of inscribing in the stone because the early settlers were carpenters and shipbuilders rather than stonemasons. This is disputed by others.
Early settlement and the work of the church at Prospect
The Prospect area is one of the oldest settlements in Grand Cayman. It rose to residential prominence in the 18th century before Bodden Town or perhaps even George Town. However, several factors led to its population decrease. Its geographical position left it vulnerable to bad weather, especially during nor'westor storms, resulting in roads that were frequently washed out. Further, what little harbor exists is shallow, thus further isolating its residents from sea access, which even today continues to be a substantial means of transportation between island locales. The lack of any substantial barrier reef that offers other island towns at least some protection against these elements, further left the area vulnerable.
Church records show ministers were assigned to Prospect from Reverend Elmsie's time in 1846 until 1936. This helped to substantially increase the population, at which time, it is noted, church membership peaked at Prospect. In 1915 the cornerstone was laid for the chapel still sitting on the site. In addition to regular church services, Sunday School, Christian Endeavour, Prayer Meetings and other social functions were held in this building. Gas lights were used at for the very popular evening "Magic Lantern" shows (slide shows) organized by Mr. A. C. Panton, the schoolteacher at nearby Spotts.
However, the infamous hurricane of 1932 destroyed nearby Red Bay and led to the exodus from the area of some families to places like Crewe Road (outskirts of George Town) and Savannah. The United Church kept the Prospect Chapel, and in the 1990s, work was finally undertaken to rehabilitate the building. A service of dedication was held on the site in June, 1992. Today the chapel is still used for devotions and services by campers at the Prospect Youth Centre.
Notes and references
External links
National Trust page
Cemeteries in the Cayman Islands
History of the Cayman Islands
Grand Cayman
|
Public General Acts
|-
| {{|Pensioners' Payments and Social Security Act 1979|public|48|26-07-1979|An Act to make provision for lump sum payments to pensioners and to modify section 125 of the Social Security Act 1975.}}
|-
| {{|Education Act 1979|public|49|26-07-1979|maintained=y|An Act to repeal sections 1, 2 and 3 of the Education Act 1976 and to make provision as to certain proposals submitted or transmitted to the Secretary of State under the said section 2.}}
|-
| {{|European Parliament (Pay and Pensions) Act 1979|note1=|public|50|26-07-1979|maintained=y|An Act to make provision for the payment of salaries and pensions, and the provision of allowances and facilities, to or in respect of Representatives to the Assembly of the European Communities.}}
|-
| {{|Appropriation (No. 2) Act 1979|public|51|27-07-1979|An Act to apply a sum out of the Consolidated Fund to the service of the year ending on 31st March 1980, to appropriate the supplies granted in this Session of Parliament, and to repeal certain Consolidated Fund and Appropriation Acts.}}
|-
| {{|Southern Rhodesia Act 1979|public|52|14-11-1979|maintained=y|An Act to provide for the grant of a constitution for Zimbabwe to come into effect on the attainment by Southern Rhodesia, under any Act hereafter passed for that purpose, of fully responsible status as a Republic under the name of Zimbabwe, and to make other provision with respect to Southern Rhodesia.}}
|-
| {{|Charging Orders Act 1979|public|53|06-12-1979|maintained=y|An Act to make provision for imposing charges to secure payment of money due, or to become due, under judgments or orders of court; to provide for restraining and prohibiting dealings with, and the making of payments in respect of, certain securities; and for connected purposes.}}
|-
| {{|Sale of Goods Act 1979|public|54|06-12-1979|maintained=y|An Act to consolidate the law relating to the sale of goods.}}
|-
| {{|Justices of the Peace Act 1979|public|55|06-12-1979|maintained=y|An Act to consolidate certain enactments relating to justices of the peace (including stipendiary magistrates), justices' clerks and the administrative and financial arrangements for magistrates' courts, and to matters connected therewith, with amendments to give effect to recommendations of the Law Commission.}}
|-
| {{|Consolidated Fund (No. 2) Act 1979|public|56|20-12-1979|An Act to apply certain sums out of the Consolidated Fund to the service of the years ending on 31st March 1980 and 1981.}}
|-
| {{|European Communities (Greek Accession) Act 1979|public|57|20-12-1979|maintained=y|An Act to extend the meaning in Acts, Measures and subordinate legislation of "the Treaties" and "the Community Treaties" in connection with the accession of the Hellenic Republic to the European Communities.}}
|-
| {{|Isle of Man Act 1979|public|58|20-12-1979|maintained=y|An Act to make such amendments of the law relating to customs and excise, value added tax, car tax and the importation and exportation of goods as are required for giving effect to an Agreement between the government of the United Kingdom and the government of the Isle of Man signed on 15th October 1979; to make other amendments as respects the Isle of Man in the law relating to those matters; to provide for the transfer of functions vested in the Lieutenant Governor of the Isle of Man or, as respects that Island, in the Commissioners of Customs and Excise; and for purposes connected with those matters.}}
|-
| {{|Shipbuilding Act 1979|public|59|20-12-1979|maintained=y|An Act to raise the limits imposed by section 11 of the Aircraft and Shipbuilding Industries Act 1977 in relation to the finances of British Shipbuilders and its wholly owned subsidiaries; and to extend the application of section 10 of the Industry Act 1972 to include the alteration of completed and partially constructed ships and mobile offshore installations.}}
|-
| {{|Zimbabwe Act 1979|public|60|20-12-1979|maintained=y|An Act to make provision for, and in connection with, the attainment by Zimbabwe of fully responsible status as a Republic.}}
|-
| {{|Petroleum Revenue Tax Act 1980|public|1|31-01-1980|maintained=y|An Act to make new provision in respect of petroleum revenue tax so as to require payments on account of tax to be made in advance of the making of an assessment, to bring forward the date from which interest is payable on unpaid and overpaid tax and to provide for altering the rate at which such interest is payable.}}
|-
| {{|Papua New Guinea, Western Samoa and Nauru (Miscellaneous Provisions) Act 1980|public|2|31-01-1980|maintained=y|An Act to make provision in connection with the attainment by Papua New Guinea of independence within the Commonwealth and with the membership of the Commonwealth of Western Samoa and Nauru.}}
|-
| {{|Representation of the People Act 1980|public|3|31-01-1980|An Act to make further provision with respect to the registration for electoral purposes of persons having a service qualification and the correction of registers of electors; and for purposes connected with those matters.}}
|-
| {{|Bail etc. (Scotland) Act 1980|public|4|31-01-1980|maintained=y|An Act to amend the law of Scotland relating to bail and the interim liberation of persons who have been arrested and to make provision in respect of the sittings of the sheriff and district courts.}}
|-
| {{|Child Care Act 1980|public|5|31-01-1980|maintained=y|An Act to consolidate certain enactments relating to the care of children by local authorities or voluntary organisations and certain other enactments relating to the care of children.}}
|-
| {{|Foster Children Act 1980|public|6|31-01-1980|maintained=y|An Act to consolidate certain enactments relating to foster children as they have effect in England and Wales.}}
|-
| {{|Residential Homes Act 1980|public|7|20-03-1980|maintained=y|An Act to consolidate certain enactments relating to the registration, inspection and conduct of residential homes for disabled, old or mentally disordered persons and to the provision by district councils of meals and recreation for old people.}}
|-
| {{|Gaming (Amendment) Act 1980|public|8|20-03-1980|maintained=y|An Act to amend subsection (3) of section 20 of the Gaming Act 1968 to enable the Secretary of State, by order, to amend the limit of £1,000 therein.}}
|-
| {{|Reserve Forces Act 1980|public|9|20-03-1980|maintained=y|An Act to consolidate certain enactments relating to the reserve and auxiliary forces, and the lieutenancies, with amendments to give effect to a recommendation of the Law Commission; and to repeal certain obsolete enactments relating to those forces.}}
|-
| {{|Police Negotiating Board Act 1980|public|10|20-03-1980|maintained=y|An Act to provide for a Police Negotiating Board for the United Kingdom in place of the Police Council for the United Kingdom.}}
|-
| {{|Protection of Trading Interests Act 1980|public|11|20-03-1980|maintained=y|An Act to provide protection from requirements, prohibitions and judgments imposed or given under the laws of countries outside the United Kingdom and affecting the trading or other interests of persons in the United Kingdom.}}
|-
| {{|Bees Act 1980|public|12|20-03-1980|maintained=y|An Act to make new provision for the control of pests and diseases affecting bees.}}
|-
| {{|Slaughter of Animals (Scotland) Act 1980|public|13|20-03-1980|maintained=y|An Act to consolidate certain enactments relating to slaughterhouses, knackers' yards and the slaughter of animals in Scotland.}}
|-
| {{|Consolidated Fund Act 1980|public|14|20-03-1980|An Act to apply certain sums out of the Consolidated Fund to the service of the years ending on 31st March 1979 and 1980.}}
|-
| {{|National Health Service (Invalid Direction) Act 1980|public|15|20-03-1980|An Act to give temporary effect to an instrument purporting to be a direction given by the Secretary of State for Social Services.}}
|-
| {{|New Hebrides Act 1980|public|16|20-03-1980|maintained=y|An Act to make provision in connection with the attainment by the New Hebrides of independence within the Commonwealth.}}
|-
| {{|National Heritage Act 1980|public|17|31-03-1980|maintained=y|An Act to establish a National Heritage Memorial Fund for providing financial assistance for the acquisition, maintenance and preservation of land, buildings and objects of outstanding historic and other interest; to make new provision in relation to the arrangements for accepting property in satisfaction of capital transfer tax and estate duty; to provide for payments out of public funds in respect of the loss of or damage to objects loaned to or displayed in local museums and other institutions; and for purposes connected with those matters.}}
|-
| {{|Betting, Gaming and Lotteries (Amendment) Act 1980|public|18|31-03-1980|maintained=y|An Act to amend the provisions of the Betting, Gaming and Lotteries Acts 1963 to 1971 in relation to the number of races on which betting may take place on dog racecourses on any day and in relation to the number of special betting days.}}
|-
| {{|Highlands and Islands Air Services (Scotland) Act 1980|public|19|03-04-1980|maintained=y|An Act to make further provision for assistance by way of grants or loans in connection with air services serving the Highlands and Islands, and for connected purposes.}}
|-
| {{|Education Act 1980|public|20|03-04-1980|maintained=y|An Act to amend the law relating to education.}}
|-
| {{|Competition Act 1980|public|21|03-04-1980|maintained=y|An Act to abolish the Price Commission; to make provision for the control of anti-competitive practices in the supply and acquisition of goods and the supply and securing of services; to provide for references of certain public bodies and other persons to the Monopolies and Mergers Commission; to provide for the investigation of prices and charges by the Director General of Fair Trading; to provide for the making of grants to certain bodies; to amend and provide for the amendment of the Fair Trading Act 1973; to make amendments with respect to the Restrictive Trade Practices Act 1976; to repeal the remaining provisions of the Counter-Inflation Act 1973; and for purposes connected therewith.}}
|-
| {{|Companies Act 1980|public|22|01-05-1980|maintained=y|An Act to amend the law relating to companies.}}
|-
| {{|Consular Fees Act 1980|public|23|01-05-1980|maintained=y|An Act to re-enact with amendments so much of the Consular Salaries and Fees Act 1891 as relates to consular fees together with certain enactments amending that Act.}}
|-
| {{|Limitation Amendment Act 1980|public|24|01-05-1980|maintained=y|An Act to amend the law with respect to the limitation of actions and arbitrations and with respect to the liability of a debtor who becomes his creditor's executor by representation or administrator.}}
|-
| {{|Insurance Companies Act 1980|public|25|01-05-1980|maintained=y|An Act to extend the Insurance Companies Act 1974 to Northern Ireland, to amend that Act with respect to the functions of the Industrial Assurance Commissioner, and for connected purposes.}}
|-
| {{|British Aerospace Act 1980|public|26|01-05-1980|maintained=y|An Act to provide for the vesting of all the property, rights, liabilities and obligations of British Aerospace in a company nominated by the Secretary of State and the subsequent dissolution of British Aerospace; and to make provision with respect to the finances of that company.}}
|-
| {{|Import of Live Fish (England and Wales) Act 1980|public|27|15-05-1980|maintained=y|An Act to restrict in England and Wales the import, keeping or release of live fish or shellfish or the live eggs or milt of fish or shellfish of certain species.}}
|-
| {{|Iran (Temporary Powers) Act 1980|public|28|15-05-1980|An Act to enable provision to be made in consequence of breaches of international law by Iran in connection with or arising out of the detention of members of the embassy of the United States of America.}}
|-
| {{|Concessionary Travel For Handicapped Persons (Scotland) Act 1980|public|29|23-05-1980|maintained=y|An Act to enable local authorities in Scotland to provide concessionary travel schemes for handicapped persons; and for connected purposes.}}
|-
| {{|Social Security Act 1980|public|30|23-05-1980|maintained=y|An Act to amend the law relating to social security and the Pensions Appeal Tribunals Act 1943.}}
|-
| {{|Port of London (Financial Assistance) Act 1980|public|31|30-06-1980|An Act to provide financial assistance for and in connection with measures taken by the Port of London Authority to restore the profitability of their undertaking by reducing the number of persons employed by them.}}
|-
| {{|Licensed Premises (Exclusion of Certain Persons) Act 1980|public|32|30-06-1980|maintained=y|An Act to empower the courts to make orders excluding certain categories of convicted persons from licensed premises.}}
|-
| {{|Industry Act 1980|public|33|30-06-1980|maintained=y|An Act to make further provision in relation to the National Enterprise Board, the Scottish Development Agency, the Welsh Development Agency and the English Industrial Estates Corporation; to authorise the Secretary of State to acquire securities of, make loans to and provide guarantees for companies in which he acquires shares from the National Enterprise Board; to amend the Industry Act 1972 and the Industry Act 1975; to authorise the provision by the Secretary of State of an advisory service; to remove the requirement for a register of the financial interests of members of British Shipbuilders; and for connected purposes.}}
|-
| {{|Transport Act 1980|public|34|30-06-1980|maintained=y|An Act to amend the law relating to public service vehicles; to make provision for and in connection with the transfer of the undertaking of the National Freight Corporation to a company; to provide for the making of payments by the Minister of Transport in aid of certain railway and other pension schemes; to amend Part VI of the Road Traffic Act 1972 as regards car-sharing arrangements; to make amendments about articulated vehicles; to prohibit the display of certain roof-signs on vehicles other than taxis; to abolish the Freight Integration Council and the Railways and Coastal Shipping Committee; to repeal certain provisions about special authorisations for the use of large goods vehicles and about charges on independent tramways, trolley vehicles and the like; and for connected purposes.}}
|-
| {{|Sea Fish Industry Act 1980|public|35|30-06-1980|An Act to enable the White Fish Authority to impose a levy in respect of white fish and white fish products trans-shipped within British fishery limits.}}
|-
| {{|New Towns Act 1980|public|36|30-06-1980|An Act to increase the limit imposed by section 43 of the New Towns Act 1965 on the amounts which may be borrowed by development corporations and the Commission for the New Towns.}}
|-
| {{|Gas Act 1980|public|37|30-06-1980|An Act to provide that the supply of gas to any premises at an annual rate in excess of 25,000 therms shall be subject to the special agreement of the British Gas Corporation and that charges for therms supplied to any premises in excess of 25,000 therms a year may be fixed by the Corporation under section 25(3) of the Gas Act 1972 without regard to the requirements of section 24(1) or 25(5) of that Act.}}
|-
| {{|Coroners Act 1980|public|38|17-07-1980|An Act to abolish the obligation of coroners under the law of England and Wales to view the bodies on which they hold inquests; to make fresh provision for inquests to be held in districts other than that in which the body lies; to confer new powers for the exhumation of bodies; and for connected purposes.}}
|-
| {{|Social Security (No. 2) Act 1980|public|39|17-07-1980|An Act to amend the law relating to social security for the purpose of reducing or abolishing certain benefits and of relaxing or abolishing certain duties to increase sums.}}
|-
| {{|Licensing (Amendment) Act 1980|public|40|17-07-1980|maintained=y|An Act to amend the Licensing Act 1964 in relation to special hours certificates and the extension of existing on-licences to additional types of liquor.}}
|-
| {{|Films Act 1980|public|41|17-07-1980|maintained=y|An Act to amend the enactments relating to the financing and exhibition of films.}}
|-
| {{|Employment Act 1980|public|42|01-08-1980|maintained=y|An Act to provide for payments out of public funds towards trade unions' expenditure in respect of ballots, for the use of employers' premises in connection with ballots, and for the issue by the Secretary of State of Codes of Practice for the improvement of industrial relations; to make provision in respect of exclusion or expulsion from trade unions and otherwise to amend the law relating to workers, employers, trade unions and employers' associations; to repeal section 1A of the Trade Union and Labour Relations Act 1974; and for connected purposes.}}
|-
| {{|Magistrates' Courts Act 1980|public|43|01-08-1980|maintained=y|An Act to consolidate certain enactments relating to the jurisdiction of, and the practice and procedure before, magistrates' courts and the functions of justices' clerks, and to matters connected therewith, with amendments to give effect to recommendations of the Law Commission.}}
|-
| {{|Education (Scotland) Act 1980|public|44|01-08-1980|maintained=y|An Act to consolidate certain enactments relating to education in Scotland with amendments to give effect to recommendations of the Scottish Law Commission.}}
|-
| {{|Water (Scotland) Act 1980|public|45|01-08-1980|maintained=y|An Act to consolidate the enactments relating to water in Scotland.}}
|-
| {{|Solicitors (Scotland) Act 1980|public|46|01-08-1980|maintained=y|An Act to consolidate certain enactments relating to solicitors and notaries public in Scotland.}}
|-
| {{|Criminal Appeal (Northern Ireland) Act 1980|public|47|01-08-1980|maintained=y|An Act to consolidate the Criminal Appeal (Northern Ireland) Act 1968 and related enactments.}}
|-
| {{|Finance Act 1980|public|48|01-08-1980|maintained=y|An Act to grant certain duties, to alter other duties, and to amend the law relating to the National Debt and the Public Revenue, and to make further provision in connection with Finance.}}
|-
| {{|Deer Act 1980|public|49|08-08-1980|maintained=y|An Act to prevent the poaching of deer; to control the sale and purchase of venison; to amend the Deer Act 1963; and for purposes connected therewith.}}
|-
| {{|Coal Industry Act 1980|public|50|08-08-1980|maintained=y|An Act to increase the limit on the borrowing powers of the National Coal Board and otherwise to amend the law with respect to loans to the Board; to make new provision for grants by the Secretary of State to the Board and to provide a new limit for those grants and for grants to the Board and other persons under certain existing powers; to amend the Coal Industry Act 1977; and to increase the limit on grants by the Secretary of State to the Board under section 1 of the Coal Industry Act 1975.}}
|-
| {{|Housing Act 1980|public|51|08-08-1980|maintained=y|An Act to give security of tenure, and the right to buy their homes, to tenants of local authorities and other bodies; to make other provision with respect to those and other tenants; to amend the law about housing finance in the public sector; to make other provision with respect to housing; to restrict the discretion of the court in making orders for possession of land; and for connected purposes.}}
|-
| {{|Tenants' Rights, Etc. (Scotland) Act 1980|public|52|08-08-1980|maintained=y|An Act to make provision for Scotland, in relation to dwelling-houses let by islands and district councils and by certain other bodies, for a tenant's right to purchase the dwelling-house which he occupies; to make provision, in relation to dwelling-houses let by islands and district councils and by certain other bodies, for a tenant's right to security of tenure and to a written lease; in relation to private sector tenancies, to make provision for a new category of short tenancies; and to make other provision in relation to housing, rents and connected matters.}}
|-
| {{|Health Services Act 1980|public|53|08-08-1980|maintained=y|An Act to make further provision with respect to the health services in England, Wales and Scotland and their use by private patients and with respect to hospitals and nursing homes outside those services; to dissolve or make further provision with respect to certain bodies connected with or with persons providing services within those health services; and for connected purposes.}}
|-
| {{|Appropriation Act 1980|public|54|08-08-1980|An Act to apply a sum out of the Consolidated Fund to the service of the year ending on 31st March 1981, to appropriate the further supplies granted in this Session of Parliament, and to repeal certain Consolidated Fund and Appropriation Acts.}}
|-
| {{|Law Reform (Miscellaneous Provisions) (Scotland) Act 1980|public|55|29-10-1980|maintained=y|An Act to make new provision for Scotland as respects the law relating to the qualification of jurors; to amend the law relating to jury service in Scotland; to make further provision for Scotland in respect of prior rights in the estates of deceased persons; to dispense with caution as regards certain executors-dative; to provide a procedure whereby an heir of provision may establish entitlement to act as trustee; to amend provisions of the Judicial Factors Act 1849 and the Trusts (Scotland) Act 1961 relating to the actings of judicial factors; to remove an obligation to preserve inventories of the estates of deceased persons in Scotland; to make further provision in respect of performance of the duties of sheriff principal; to amend the law relating to the jurisdiction and powers of the sheriff court; to empower Senators of the College of Justice to act as arbiters and oversmen in commercial disputes; to make further provision in respect of awards of compensation by the Lands Tribunal for Scotland; to remove the right of a vexatious litigant to appeal against a Lord Ordinary's refusal to allow the institution of legal proceedings; to amend the law relating to the jurisdiction of the Court of Session in actions for reduction; to amend the provisions of the Licensing (Scotland) Act 1976 relating to liability for offences committed by clubs; to amend provisions of the Marriage (Scotland) Act 1977 relating to the validity of marriages; to amend the provisions of the Prescription and Limitation (Scotland) Act 1973 relating to limitation of actions; to amend the law relating to the constitution and powers of the Scottish Solicitors' Discipline Tribunal; to make further provision as regards Scottish solicitors' clients' accounts; to enable amendments to be made to provisions of the Legal Aid (Scotland) Act 1967 relating to contributions from assisted persons; to make minor amendments to the Betting, Gaming and Lotteries Act 1963, the Lotteries and Amusements Act 1976 and the Licensing (Scotland) Act 1976; and for connected purposes.}}
|-
| {{|Married Women's Policies of Assurance (Scotland) (Amendment) Act 1980|public|56|29-10-1980|maintained=y|An Act to amend the Married Women's Policies of Assurance (Scotland) Act 1880, and for connected purposes.}}
|-
| {{|Imprisonment (Temporary Provisions) Act 1980|public|57|29-10-1980|maintained=y|An Act to make provision with respect to the detention of persons who may lawfully be detained in penal institutions in England and Wales and the release from custody of such persons; to make provision for reducing the numbers committed to such institutions; to modify the law relating to remands; and for connected purposes.}}
|-
| {{|Limitation Act 1980|public|58|13-11-1980|maintained=y|An Act to consolidate the Limitation Acts 1939 to 1980.}}
|-
| {{|Statute Law Revision (Northern Ireland) Act 1980|public|59|13-11-1980|An Act to revise the statute law of Northern Ireland by repealing obsolete, spent, unnecessary or superseded enactments.}}
|-
| {{|Civil Aviation Act 1980|public|60|13-11-1980|maintained=y|An Act to provide for the reduction of the public dividend capital of the British Airways Board and otherwise to make provision in relation to the finances of the Board; to provide for the subsequent dissolution of the Board and the vesting of all its property, rights, liabilities and obligations in a company nominated by the Secretary of State; to make provision with respect to the finances of that company; to amend the Civil Aviation Act 1971; to amend section 4 of the Civil Aviation (Eurocontrol) Act 1962; to require soundproofing grants to be taken into account in determining compensation for depreciation due to the use of aerodromes; to make further provision with respect to the investigation of accidents arising out of or in the course of air navigation; to amend the Protection of Aircraft Act 1973; to extend the powers of the British Airports Authority in relation to aerodromes outside Great Britain and clarify its powers in certain other respects; to enable that Authority to acquire certain land by agreement; and to enable the owners and managers of certain aerodromes to make byelaws in relation to lost property found at those aerodromes.}}
|-
| {{|Tenants' Rights, Etc. (Scotland) Amendment Act 1980|public|61|13-11-1980|An Act to provide for authorisation by the Secretary of State of refusal to sell certain dwelling-houses, provided for elderly persons, under the Tenants' Rights, Etc. (Scotland) Act 1980; and to make minor amendments to that Act.}}
|-
| {{|Criminal Justice (Scotland) Act 1980|public|62|13-11-1980|maintained=y|An Act to make further provision as regards criminal justice in Scotland; and for connected purposes.}}
|-
| {{|Overseas Development and Co-operation Act 1980|public|63|13-11-1980|maintained=y|An Act to consolidate certain enactments relating to overseas development and co-operation and to repeal, as unnecessary, section 16(1) and (2) of the West Indies Act 1967.}}
|-
| {{|Broadcasting Act 1980|public|64|13-11-1980|An Act to amend and supplement the Independent Broadcasting Authority Act 1973 in connection with the provision by the Independent Broadcasting Authority of a second television service and otherwise in connection with the functions of the Authority; to make provision as to the arrangements for the broadcasting of television programmes for reception in Wales, with power to make different provision as to those arrangements by order; to establish a Broadcasting Complaints Commission; and for connected purposes.}}
|-
| {{|Local Government, Planning and Land Act 1980|public|65|13-11-1980|maintained=y|An Act to relax controls over local and certain other authorities; to amend the law relating to the publication of information, the undertaking of works and the payment of allowances by local authorities and other bodies; to make further provision with respect to rates and to grants for local authorities and other persons and for controlling the expenditure of local authorities; to amend the law relating to planning; to make provision for a register of public land and the disposal of land on it; to repeal the Community Land Act 1975; to continue the Land Authority for Wales; to make further provision in relation to land compensation, development land, derelict land and public bodies' acquisitions and disposals of land; to amend the law relating to town development and new towns; to provide for the establishment of corporations to regenerate urban areas; to make further provision in relation to gipsies and their caravan sites; to abolish the Clean Air Councils and certain restrictions on the Greater London Council; to empower certain further authorities to confer honorary distinctions; and for connected purposes.}}
|-
| {{|Highways Act 1980|public|66|13-11-1980|maintained=y|An Act to consolidate the Highways Acts 1959 to 1971 and related enactments, with amendments to give effect to recommendations of the Law Commission.}}
}}
Local Acts
|-
| {{|Ipswich Port Authority Act 1979|local|9|26-07-1979|An Act to extend the time for the completion of the works authorised by the Ipswich Dock Act 1971; to increase the borrowing powers of the Ipswich Port Authority; and for connected purposes.}}
|-
| {{|British Railways (Selby) Act 1979|local|10|26-07-1979|An Act to empower the British Railways Board to construct works and to acquire lands in the district of Selby in the county of North Yorkshire; to confer further powers on the Board; and for other purposes.}}
|-
| {{|Van Diemen's Land Company Act 1979|local|11|14-11-1979|An Act to confer additional powers on The Van Diemen's Land Company and to make further provision for the regulation and management of the affairs of the Company; and for purposes connected therewith.}}
|-
| {{|Greater London Council (Money) Act 1979|local|12|06-12-1979|An Act to regulate the expenditure on capital account and on lending to other persons by the Greater London Council during the financial period from 1st April 1979 to 30th September 1980; and for other purposes.}}
|-
| {{|Sheffield General Cemetery Act 1979|local|13|06-12-1979|An Act to transfer the Sheffield General Cemetery to the Council of the city of Sheffield, to provide for the removal of restrictions attaching to the cemetery; and for other purposes.}}
|-
| {{|Scottish Equitable Life Assurance Society Act 1979|local|14|06-12-1979|An Act to repeal the Scottish Equitable Life Assurance Society's Act 1902 and to make new provision for the regulation and management of the Society; and for other purposes.}}
|-
| {{|Severn-Trent Water Authority Act 1979|local|15|06-12-1979|An Act to repeal the Dudley Sewage Act 1879; to confer powers on the Severn-Trent Water Authority; and for other purposes.}}
|-
| {{|Felixstowe Dock and Railway Act 1979|local|16|06-12-1979|An Act to empower the Felixstowe Dock and Railway Company to construct works; to authorise the raising of additional capital and to provide for the capitalising of reserves and other funds; to extend and alter the limits of the dock; to confer further powers on the Company, and for other purposes.}}
|-
| {{|Stirling District Council Order Confirmation Act 1979|local|17|20-12-1979|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Stirling District Council.|po1=Stirling District Council Order 1979|Provisional Order to confer powers on the Stirling District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Dumbarton District Council Order Confirmation Act 1979|local|18|20-12-1979|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Dumbarton District Council.|po1=Dumbarton District Council Order 1979|Provisional Order to confer powers on the Dumbarton District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Greater Glasgow Passenger Transport Order Confirmation Act 1979|local|19|20-12-1979|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Greater Glasgow Passenger Transport.|po1=Greater Glasgow Passenger Transport Order 1979|Provisional Order to confer further powers upon the Greater Glasgow Passenger Transport Executive; and for other purposes.}}
|-
| {{|Kilmarnock and Loudoun District Council Order Confirmation Act 1979|local|20|20-12-1979|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Kilmarnock and Loudoun District Council.|po1=Kilmarnock and Loudoun District Council Order 1979|Provisional Order to confer powers on the Kilmarnock and Loudoun District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Scots Episcopal Fund Order Confirmation Act 1979|local|21|20-12-1979|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to the Scots Episcopal Fund.|po1=Scots Episcopal Fund Order 1979|Provisional Order to provide for the disposal of the trust funds held by the Trustees incorporated by the Scots Episcopal Fund Act 1864, for the dissolution of the trust thereby constituted and for the repeal of the said Act; and for purposes connected therewith.}}
|-
| {{|University College London Act 1979|local|22|20-12-1979|An Act to transfer the rights, properties and liabilities of that part of the University of London formerly known as University of London, University College to the Corporation of University College London and to achieve the re-unification of University College London and University College Hospital Medical School; and for other purposes.}}
|-
| {{|Greater London Council (General Powers) Act 1979|local|23|20-12-1979|An Act to confer further powers upon the Greater London Council and other authorities; and for other purposes.}}
|-
| {{|City of London (Various Powers) Act 1979|local|24|20-12-1979|An Act to empower the Conservators of Epping Forest to grant to the Minister of Transport interests or rights in land for road purposes; to provide for the alteration of the site of Billingsgate Market; to empower the Board of Governors of the Museum of London to make charges for admission; to make further provision with respect to Tower Bridge and Spitalfields Market; and for other purposes.}}
|-
| {{|Ardveenish Harbour Order Confirmation Act 1980|local|1|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Ardveenish Harbour.|po1=Ardveenish Harbour Order 1980|Provisional Order to authorise the Highlands and Islands Development Board to construct works at Ardveenish in the island of Barra in the Western Isles; to establish the Board as a harbour authority in respect of the harbour at Ardveenish; to provide for harbour limits and authorise the exercise of harbour jurisdiction; and for other purposes.}}
|-
| {{|Forth Ports Authority Order Confirmation Act 1980|local|2|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to the Forth Ports Authority.|po1=Forth Ports Authority Order 1980|Provisional Order to confer further powers upon the Forth Ports Authority and their harbourmaster; and for other purposes.}}
|-
| {{|Forth Ports Authority (No. 2) Order Confirmation Act 1980|local|3|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Forth Ports Authority (No. 2).|po1=Forth Ports Authority (No. 2) Order 1980|Provisional Order to remove a disqualification as to the appointment by the Secretary of State of paid officers or servants of the Forth Ports Authority as members of that Authority.}}
|-
| {{|Inverness District Council Order Confirmation Act 1980|local|4|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Inverness District Council.|po1=Inverness District Council Order 1980|Provisional Order to confer powers on the Inverness District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Kirkcaldy District Council Order Confirmation Act 1980|local|5|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Kirkcaldy District Council.|po1=Kirkcaldy District Council Order 1980|Provisional Order to confer powers on the Kirkcaldy District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Lochaber District Council Order Confirmation Act 1980|local|6|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Lochaber District Council.|po1=Lochaber District Council Order 1980|Provisional Order to confer powers on the Lochaber District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|Strathkelvin District Council Order Confirmation Act 1980|local|7|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Strathkelvin District Council.|po1=Strathkelvin District Council Order 1980|Provisional Order to confer powers on the Strathkelvin District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|West Lothian District Council Order Confirmation Act 1980|local|8|31-01-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to West Lothian District Council.|po1=West Lothian District Council Order 1980|Provisional Order to confer powers on the West Lothian District Council with respect to stray dogs; and for other purposes.}}
|-
| {{|British Railways Act 1980|local|9|31-01-1980|An Act to empower the British Railways Board to construct works and to acquire lands; to extend the time for the compulsory purchase of certain lands; to empower the Fishguard and Rosslare Railways and Harbours Company to construct works and to acquire lands; to confer further powers on the Board and the company; and for other purposes.}}
|-
| {{|County of Merseyside Act 1980|local|10|20-03-1980|maintained=y|An Act to re-enact with amendments and to extend certain local statutory provisions in force within the county of Merseyside; to confer further powers on the Merseyside County Council, the Liverpool City Council and the councils of the boroughs of Knowsley, St. Helens, Sefton and Wirral; to make further provision with respect to the local government, improvement and finances of the county and those local authorities; and for other purposes.}}
|-
| {{|West Midlands County Council Act 1980|local|11|20-03-1980|An Act to re-enact with amendments and to extend certain local enactments in force within the county of West Midlands; to confer further powers upon the West Midlands County Council, the Birmingham City Council, the Coventry City Council, the Borough Council of Dudley, the Sandwell Borough Council, the Solihull Borough Council, the Walsall Borough Council and the Wolverhampton Borough Council; to make further provision in regard to the improvement, health and local government of that county; and for other purposes.}}
|-
| {{|Cane Hill Cemetery Act 1980|local|12|31-03-1980|An Act to provide for the removal of restrictions attaching to the Cane Hill Cemetery in the London borough of Croydon; to authorise the use thereof for other purposes; and for purposes incidental thereto.}}
|-
| {{|Cheshire County Council Act 1980|local|13|03-04-1980|maintained=y|An Act to re-enact with amendments and to extend certain local enactments in force within the county of Cheshire; to confer further powers on the Cheshire County Council and local authorities in the county; to make further provision in regard to the environment, local government, improvement, health and finances of the county and those local authorities; and for other purposes.}}
|-
| {{|West Yorkshire Act 1980|local|14|01-05-1980|An Act to re-enact with amendments and to extend certain local enactments in force within the metropolitan county of West Yorkshire; to confer further powers on the West Yorkshire Metropolitan County Council, the City of Bradford Metropolitan Council, the Borough Council of Calderdale, the Council of the Borough of Kirklees, the Leeds City Council and the Council of the City of Wakefield; to make further provision with regard to the environment, local government and improvement of the county; and for other purposes.}}
|-
| {{|Isle of Wight Act 1980|local|15|15-05-1980|An Act to re-enact with amendments and to extend certain local enactments in force within the county of Isle of Wight; to confer further powers upon the Isle of Wight County Council, the Medina Borough Council and the South Wight Borough Council; to make further provision in regard to the improvement, health and local government of that county; and for other purposes.}}
|-
| {{|British Railways (Castlefield) Act 1980|local|16|30-06-1980|An Act to empower the British Railways Board to construct works and to acquire lands in the cities of Manchester and Salford in the metropolitan county of Greater Manchester; to confer further powers on the Board; and for other purposes.}}
|-
| {{|Bangor Market Act 1980|local|17|30-06-1980|An Act to confer powers on the Bangor Market Company Limited in relation to the capital and management of their undertaking; to confer further powers on the Company; and for other purposes.}}
|-
| {{|Wesley's Chapel, City Road Act 1980|local|18|30-06-1980|An Act to authorise the use of the burial ground of Wesley's Chapel situate in City Road in the London borough of Islington for other purposes.}}
|-
| {{|Pier and Harbour Order (Brighton West Pier) Confirmation Act 1980|local|19|17-07-1980|An Act to confirm a Provisional Order made by the Minister of Transport under the General Pier and Harbour Act 1861 relating to Brighton West Pier.|po1=Brighton West Pier Order 1979|po1note1=|Provisional Order to confer powers upon The Brighton West Pier Society Limited under the Brighton West Pier Acts and Order 1866 to 1954.}}
|-
| {{|Greater Manchester Passenger Transport Act 1980|local|20|17-07-1980|An Act to confer further powers on the Greater Manchester Passenger Transport Executive; and for other purposes.}}
|-
| {{|Friends Meeting House (Reigate) Act 1980|local|21|17-07-1980|An Act to provide for the demolition of the Reigate Meeting House of The Religious Society of Friends; to authorise the disposal of the site thereof together with all land and appurtenances held and enjoyed therewith including the site of a disused burial ground; to use for other purposes the said site, lands, appurtenances and burial ground; and for purposes connected therewith.}}
|-
| {{|Clifton Suspension Bridge Act 1980|local|22|17-07-1980|An Act to alter the constitution of the Trustees of the Clifton Suspension Bridge Trust; to make provision as to the investment of moneys of the Trust and for the repeal and amendment of certain provisions of the Clifton Suspension Bridge Act 1952; and for other purposes.}}
|-
| {{|British Olivetti Limited Act 1980|local|23|17-07-1980|An Act to make provision for the transfer to England of the registered office of British Olivetti Limited; and for other purposes incidental thereto.}}
|-
| {{|Eagle & Globe Steel Limited Act 1980|local|24|17-07-1980|An Act to make provision for the transfer to the State of New South Wales in the Commonwealth of Australia of the registered office of Eagle & Globe Steel Limited; for the cesser of application to that company of provisions of the Companies Acts 1948 to 1980; and for other purposes incidental thereto.}}
|-
| {{|Yorkshire Woollen District Transport Act 1980|local|25|17-07-1980|An Act to release the Yorkshire Woollen District Transport Company Limited from liability to make payments to the councils of the city of Wakefield and the borough of Kirklees under the Yorkshire (Woollen District) Transport Act 1931 and the Dewsbury and Ossett Passenger Transport Act 1933; and for other purposes.}}
|-
| {{|Standard Life Assurance Company Act 1980|local|26|17-07-1980|An Act to authorise The Standard Life Assurance Company to carry on business in Canada under a French name; and for other purposes.}}
|-
| {{|Breasclete Harbour Order Confirmation Act 1980|local|27|01-08-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Breasclete Harbour.|po1=Breasclete Harbour Order 1980|Provisional Order to establish the Highlands and Islands Development Board as a harbour authority in respect of the harbour at Breasclete, East Loch Roag, Lewis, in the Western Isles; to provide for harbour limits and authorise the exercise of harbour jurisdiction; and for other purposes.}}
|-
| {{|British Railways Order Confirmation Act 1980|local|28|01-08-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to British Railways.|po1=British Railways Order 1980|Provisional Order to amend section 53 of the British Transport Commission Act 1949 in its application to Scotland.}}
|-
| {{|Greater London Council (Money) Act 1980|local|29|01-08-1980|An Act to regulate the expenditure on capital account and on lending to other persons by the Greater London Council during the financial period from 1st April 1980 to 30th September 1981; and for other purposes.}}
|-
| {{|Salvation Army Act 1980|local|30|01-08-1980|An Act to revise and consolidate the constitution of The Salvation Army; to make further provision respecting The Salvation Army Trustee Company and respecting the investment of funds of The Salvation Army; to repeal or amend certain provisions of the Salvation Army Acts 1931 to 1968 and to revoke certain deeds poll relating to The Salvation Army; and for other purposes.}}
|-
| {{|Falmouth Container Terminal Act 1980|local|31|01-08-1980|An Act to extend the time for the completion of the works authorised by the Falmouth Container Terminal Act 1971; and for connected purposes.}}
|-
| {{|London Transport Act 1980|local|32|01-08-1980|An Act to empower the London Transport Executive to construct works and to acquire lands; to extend the time for the compulsory purchase of certain lands; to confer further powers on the Executive; and for other purposes.}}
|-
| {{|Pier and Harbour Order (Great Yarmouth Wellington Pier) Confirmation Act 1980|local|33|08-08-1980|An Act to confirm a Provisional Order made by the Minister of Transport under the General Pier and Harbour Act 1861 relating to Great Yarmouth Wellington Pier.|po1=Great Yarmouth Wellington Pier Order 1980|Provisional Order to authorise the Great Yarmouth Borough Council to lease or sell the undertaking relating to the pier authorised by the Great Yarmouth Wellington Pier Order 1901; to repeal and amend certain enactments relating to that pier and for other purposes.}}
|-
| {{|Dundee Port Authority Order Confirmation Act 1980|local|34|08-08-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Dundee Port Authority.|po1=Dundee Port Authority Order 1980|Provisional Order to confer further powers on the Dundee Port Authority; and for other purposes.}}
|-
| {{|Scottish Widows' Fund and Life Assurance Society Act 1980|local|35|08-08-1980|An Act to repeal The Scottish Widows' Fund and Life Assurance Society's Act 1926; to make further provision for the regulation and management of the Society; and for other purposes.}}
|-
| {{|British Transport Docks Act 1980|local|36|08-08-1980|An Act to extend the time for the compulsory purchase of certain lands by the British Transport Docks Board; to confer further powers on the Board; and for other purposes.}}
|-
| {{|South Yorkshire Act 1980|local|37|08-08-1980|An Act to re-enact with amendments and to extend certain local enactments in force within the county of South Yorkshire; to confer further powers on the South Yorkshire County Council and local authorities in the county; to make further provision with regard to the environment, local government and improvement of the county; and for other purposes.}}
|-
| {{|Southern Water Authority Act 1980|local|38|08-08-1980|An Act to dissolve the Commissioners for the Newhaven and Seaford Sea Defence Works and the Shoreham and Lancing Sea Defence Commissioners; to confer further powers on the Southern Water Authority; and for other purposes.}}
|-
| {{|Eastbourne Harbour Act 1980|local|39|08-08-1980|An Act to authorise Eastbourne Harbour Company Limited to construct works; and for other purposes.}}
|-
| {{|Inverclyde District Council Order Confirmation Act 1980|local|40|29-10-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to Inverclyde District Council.|po1=Inverclyde District Council Order 1980|Provisional Order to amend certain provisions of the Greenock Corporation Order 1952; to amend certain penalties for offences prescribed by that Order; and for other purposes.}}
|-
| {{|City of Dundee District Council Order Confirmation Act 1980|local|41|29-10-1980|An Act to confirm a Provisional Order under the Private Legislation Procedure (Scotland) Act 1936, relating to the City of Dundee District Council.|po1=City of Dundee District Council Order 1980|Provisional Order to confer powers on the City of Dundee District Council with respect to stray dogs and the supply of refreshments; and for other purposes.}}
|-
| {{|United Reformed Church Lion Walk Colchester Act 1980|local|42|29-10-1980|An Act to authorise The Essex Incorporated Congregational Union to use land comprising the United Reformed Church Lion Walk Colchester for building or otherwise free from restrictions; and for other purposes.}}
|-
| {{|Tyne and Wear Act 1980|local|43|13-11-1980|An Act to re-enact with amendments and to extend certain local enactments in force within the county of Tyne and Wear; to confer further powers on the county council of Tyne and Wear and the councils of the city of Newcastle upon Tyne and the boroughs of Gateshead, North Tyneside, South Tyneside and Sunderland; to make further provision in regard to the environment, local government, improvement and finances of the county and those councils; and for other purposes.}}
}}
Personal Act
}}
Notes
References
Lists of Acts of the Parliament of the United Kingdom
|
```c++
/*
* 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,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* specific language governing permissions and limitations
*/
/*!
* \file src/contrib/msc/core/transform/set_expr_layout.cc
* \brief Pass for setting layout for expr and constant.
*/
#include <tvm/relax/expr.h>
#include <tvm/relax/expr_functor.h>
#include <tvm/relax/transform.h>
#include "../utils.h"
#include "layout_utils.h"
namespace tvm {
namespace relax {
using namespace tvm::contrib::msc;
std::tuple<int64_t, int64_t> AccumulateMatch(const std::vector<int64_t>& in_shape,
const std::vector<int64_t>& out_shape, size_t in_start,
size_t out_start) {
// find input position in_pos and output position out_pos
// cumsum(in_shape[in_start:in_ops])==cumsum(out_shape[out_start:out_pos])
int64_t in_pos = -1;
int64_t out_pos = -1;
int64_t in_accumulate = 1;
int64_t out_accumulate = 1;
for (size_t i = in_start; i < in_shape.size(); i++) {
in_accumulate *= in_shape[i];
out_accumulate = 1;
for (size_t j = out_start; j < out_shape.size(); j++) {
out_accumulate *= out_shape[j];
if (in_accumulate == out_accumulate) {
in_pos = i;
out_pos = j;
break;
} else if (out_accumulate > in_accumulate) {
break;
}
}
if (in_pos >= 0) {
break;
}
}
// append tailed 1s
if (in_pos >= 0) {
int64_t in_size = static_cast<int64_t>(in_shape.size());
int64_t out_size = static_cast<int64_t>(out_shape.size());
while (in_pos < in_size - 1 && in_shape[in_pos + 1] == 1) {
in_pos++;
}
while (out_pos < out_size - 1 && out_shape[out_pos + 1] == 1) {
out_pos++;
}
}
return std::make_tuple(in_pos, out_pos);
}
std::vector<size_t> InferReduceAxes(const Array<PrimExpr>& input_shape,
const Array<PrimExpr>& output_shape) {
std::vector<size_t> reduce_axes, out_axes;
std::vector<int64_t> in_shape, out_shape;
for (const auto& s : input_shape) {
in_shape.push_back(Downcast<Integer>(s)->value);
}
for (const auto& s : output_shape) {
out_shape.push_back(Downcast<Integer>(s)->value);
}
size_t start = 0;
while (start < in_shape.size() && out_axes.size() < out_shape.size()) {
if (in_shape[start] == out_shape[out_axes.size()]) {
out_axes.push_back(start);
start++;
} else {
int64_t in_pos, out_pos;
size_t out_start = out_axes.size();
std::tie(in_pos, out_pos) = AccumulateMatch(in_shape, out_shape, start, out_start);
if (in_pos == -1) {
return std::vector<size_t>();
}
for (size_t i = out_start; i < static_cast<size_t>(out_pos) + 1; i++) {
out_axes.push_back(i + 1);
}
start = in_pos + 1;
}
}
if (out_axes.size() != out_shape.size()) {
return std::vector<size_t>();
}
std::set<size_t> out_axes_set;
for (const auto& a : out_axes) {
out_axes_set.insert(a);
}
for (size_t i = 0; i < in_shape.size(); i++) {
if (!out_axes_set.count(i)) {
reduce_axes.push_back(i);
}
}
return reduce_axes;
}
std::vector<size_t> InferExpandAxes(const Array<PrimExpr>& input_shape,
const Array<PrimExpr>& output_shape) {
std::vector<size_t> expand_axes;
std::vector<int64_t> in_shape, out_shape;
for (const auto& s : input_shape) {
in_shape.push_back(Downcast<Integer>(s)->value);
}
for (const auto& s : output_shape) {
out_shape.push_back(Downcast<Integer>(s)->value);
}
size_t start = 0;
while (start < in_shape.size() && expand_axes.size() + in_shape.size() < out_shape.size()) {
if (in_shape[start] == out_shape[start + expand_axes.size()]) {
start++;
} else {
int64_t in_pos, out_pos;
size_t out_start = start + expand_axes.size();
std::tie(in_pos, out_pos) = AccumulateMatch(in_shape, out_shape, start, out_start);
if (in_pos == -1) {
return std::vector<size_t>();
}
size_t expand_size = out_pos - in_pos - expand_axes.size();
for (size_t i = 0; i < expand_size; i++) {
expand_axes.push_back(out_start + i);
}
start = in_pos + 1;
}
}
if (expand_axes.size() + in_shape.size() != out_shape.size()) {
return std::vector<size_t>();
}
return expand_axes;
}
// Forward and Backward infer
InferLayoutOutput MSCInferLayoutConv(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision data_layout, kernel_layout, out_layout;
const String& op_name = Downcast<Op>(call->op)->name;
if (op_name == "relax.nn.conv1d") {
const auto* attrs = call->attrs.as<Conv1DAttrs>();
data_layout = LayoutDecision(attrs->data_layout);
kernel_layout = LayoutDecision(attrs->kernel_layout);
out_layout = LayoutDecision(attrs->out_layout);
} else if (op_name == "relax.nn.conv2d") {
const auto* attrs = call->attrs.as<Conv2DAttrs>();
data_layout = LayoutDecision(attrs->data_layout);
kernel_layout = LayoutDecision(attrs->kernel_layout);
out_layout = LayoutDecision(attrs->out_layout);
}
return InferLayoutOutput({data_layout, kernel_layout}, {out_layout}, Attrs());
}
InferLayoutOutput MSCInferLayoutPool2d(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision layout, out_layout;
const String& op_name = Downcast<Op>(call->op)->name;
if (op_name == "relax.nn.adaptive_avg_pool2d") {
const auto* attrs = call->attrs.as<AdaptivePool2DAttrs>();
layout = LayoutDecision(attrs->layout);
out_layout = LayoutDecision(attrs->out_layout);
} else {
const auto* attrs = call->attrs.as<Pool2DAttrs>();
layout = LayoutDecision(attrs->layout);
out_layout = LayoutDecision(attrs->out_layout);
}
return InferLayoutOutput({layout}, {out_layout}, Attrs());
}
InferLayoutOutput MSCInferLayoutResize2d(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
const auto* attrs = call->attrs.as<Resize2DAttrs>();
const auto& data_layout = LayoutDecision(attrs->layout);
const auto& shape_layout = LayoutDecision("O");
return InferLayoutOutput({data_layout, shape_layout}, {data_layout}, Attrs());
}
// Forward Infer
InferLayoutOutput ForwardInferLayoutCommon(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
Array<NLayout> input_layouts;
LayoutDecision layout_hint;
for (const auto& arg : call->args) {
const auto& in_layout = LayoutUtils::InferLayoutDecision(arg, var_layout_map);
if (in_layout->layout.defined()) {
layout_hint = in_layout;
}
input_layouts.push_back(in_layout);
}
if (!layout_hint.defined()) {
return InferLayoutOutput();
}
std::vector<NLayout> output_layouts;
const auto& sinfo = GetStructInfo(call);
if (sinfo->IsInstance<TensorStructInfoNode>()) {
output_layouts.push_back(layout_hint);
} else if (const auto* tuple_sinfo = sinfo.as<TupleStructInfoNode>()) {
for (size_t i = 0; i < tuple_sinfo->fields.size(); i++) {
output_layouts.push_back(layout_hint);
}
} else {
return InferLayoutOutput();
}
return InferLayoutOutput(input_layouts, {output_layouts}, Attrs());
}
InferLayoutOutput ForwardInferLayoutBinary(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
const auto& output = ForwardInferLayoutCommon(call, desired_layouts, var_layout_map);
if (!output.defined()) {
return output;
}
std::vector<NLayout> input_layouts;
for (size_t i = 0; i < call->args.size(); i++) {
const auto& sinfo = GetStructInfo(call->args[i]);
if (const auto* t_info = sinfo.as<TensorStructInfoNode>()) {
if (t_info->ndim == 0) {
input_layouts.push_back(LayoutDecision(""));
} else if (t_info->ndim == 1) {
const auto& ref_layout = output->output_layouts[0].LeafValue()->layout;
input_layouts.push_back(LayoutDecision(ref_layout[ref_layout.ndim() - 1].name()));
} else {
input_layouts.push_back(output->input_layouts[i]);
}
} else {
LOG(FATAL) << "Binary input should be tensor, get " << sinfo->GetTypeKey();
}
}
return InferLayoutOutput(input_layouts, output->output_layouts, Attrs());
}
InferLayoutOutput ForwardInferLayoutInplace(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
return ForwardInferLayoutCommon(call, desired_layouts, var_layout_map);
}
InferLayoutOutput ForwardInferLayoutArgMaxMin(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<ArgmaxArgminAttrs>();
if (attrs->keepdims) {
return InferLayoutOutput({input_layout}, {input_layout}, Attrs());
}
if (!attrs->axis.defined()) {
return InferLayoutOutput({input_layout}, {LayoutDecision("")}, Attrs());
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
std::vector<size_t> axes;
axes.push_back(CommonUtils::GetIndex(Downcast<Integer>(attrs->axis)->value, input_shape.size()));
LayoutDecision output_layout = LayoutUtils::ReduceLayout(input_layout, axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutBatchNorm(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
LayoutDecision in_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!in_layout->layout.defined()) {
if (input_shape.size() == 4) {
in_layout = LayoutDecision("NCHW");
} else if (input_shape.size() == 3) {
in_layout = LayoutDecision("NCD");
}
}
LayoutDecision g_layout = LayoutDecision("O");
return InferLayoutOutput({in_layout, g_layout, g_layout, g_layout, g_layout},
{{in_layout, g_layout, g_layout}}, Attrs());
}
InferLayoutOutput ForkwardInferLayoutExpandDims(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<ExpandDimsAttrs>();
std::vector<size_t> expand_axes;
for (const auto& s : attrs->axis) {
expand_axes.push_back(CommonUtils::GetIndex(s->value, input_shape.size()));
}
LayoutDecision output_layout = LayoutUtils::ExpandLayout(input_layout, expand_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutNormalize(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
LayoutDecision in_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!in_layout->layout.defined()) {
if (input_shape.size() == 4) {
in_layout = LayoutDecision("NCHW");
} else if (input_shape.size() == 3) {
in_layout = LayoutDecision("NCD");
}
}
LayoutDecision g_layout = LayoutDecision("O");
return InferLayoutOutput({in_layout, g_layout, g_layout}, {in_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutMatmul(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
Array<PrimExpr> empty;
const auto& a_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
const auto& b_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[1]))->GetShape().value_or(empty);
if (a_shape.size() == 0) {
return InferLayoutOutput();
}
LayoutDecision a_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!a_layout->layout.defined()) {
if (a_shape.size() == 4) {
a_layout = LayoutDecision("NCHW");
} else if (a_shape.size() == 3) {
a_layout = LayoutDecision("NCD");
} else if (a_shape.size() == 2) {
a_layout = LayoutDecision("NC");
}
}
size_t start = a_layout->layout.ndim() - b_shape.size();
String pre_layout;
for (size_t i = start; i < a_layout->layout.ndim() - 2; i++) {
pre_layout = pre_layout + a_layout->layout[i].name();
}
LayoutDecision b_layout = LayoutDecision(pre_layout + "IO");
return InferLayoutOutput({a_layout, b_layout}, {a_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutPermute(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
std::vector<size_t> permute_axes;
const auto* attrs = call->attrs.as<PermuteDimsAttrs>();
if (!attrs->axes.defined()) {
for (size_t i = input_layout->layout.ndim(); i > 0; i--) {
permute_axes.push_back(i - 1);
}
} else {
for (const auto& a : attrs->axes.value()) {
permute_axes.push_back(a->value);
}
}
LayoutDecision output_layout = LayoutUtils::PermuteLayout(input_layout, permute_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutReduceAxis(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<StatisticalAttrs>();
if (attrs->keepdims) {
return InferLayoutOutput({input_layout}, {input_layout}, Attrs());
}
if (!attrs->axis.defined()) {
return InferLayoutOutput({input_layout}, {LayoutDecision("")}, Attrs());
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
std::vector<size_t> axes;
for (const auto& s : attrs->axis.value()) {
axes.push_back(CommonUtils::GetIndex(s->value, input_shape.size()));
}
LayoutDecision output_layout = LayoutUtils::ReduceLayout(input_layout, axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutReshape(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
const auto& output_shape =
Downcast<TensorStructInfo>(GetStructInfo(call))->GetShape().value_or(empty);
if (input_shape.size() == 0 || output_shape.size() == 0) {
return InferLayoutOutput();
}
LayoutDecision output_layout;
if (input_shape.size() == output_shape.size()) {
output_layout = input_layout;
} else if (input_shape.size() > output_shape.size()) {
const auto& reduce_axes = InferReduceAxes(input_shape, output_shape);
if (reduce_axes.size() == 0) {
return InferLayoutOutput();
}
output_layout = LayoutUtils::ReduceLayout(input_layout, reduce_axes);
} else {
const auto& expand_axes = InferExpandAxes(input_shape, output_shape);
if (expand_axes.size() == 0) {
return InferLayoutOutput();
}
output_layout = LayoutUtils::ExpandLayout(input_layout, expand_axes);
}
return InferLayoutOutput({input_layout, LayoutDecision("O")}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutSqueeze(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[0], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<SqueezeAttrs>();
std::vector<size_t> reduce_axes;
if (attrs->axis.defined()) {
for (const auto& s : attrs->axis.value()) {
size_t v_index = CommonUtils::GetIndex(s->value, input_shape.size());
if (Downcast<Integer>(input_shape[v_index])->value == 1) {
reduce_axes.push_back(v_index);
}
}
} else {
for (size_t i = 0; i < input_shape.size(); i++) {
if (Downcast<Integer>(input_shape[i])->value == 1) {
reduce_axes.push_back(i);
}
}
}
LayoutDecision output_layout = LayoutUtils::ReduceLayout(input_layout, reduce_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutTake(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision input_layout = LayoutUtils::InferLayoutDecision(call->args[1], var_layout_map);
if (!input_layout->layout.defined()) {
return InferLayoutOutput();
}
LayoutDecision output_layout = LayoutUtils::ExpandLayout(input_layout, std::vector<size_t>{0});
return InferLayoutOutput({LayoutDecision("WE"), input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput ForwardInferLayoutPlugin(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
if (!call->args[0]->IsInstance<ExternFuncNode>()) {
return InferLayoutOutput();
}
const auto& name = Downcast<ExternFunc>(call->args[0])->global_symbol;
const auto* pf = runtime::Registry::Get("msc.plugin.op.InferLayout" + name);
if (pf == nullptr) {
return InferLayoutOutput();
}
const auto& args = Downcast<Tuple>(call->args[1]);
return (*pf)(args->fields, var_layout_map);
}
TVM_REGISTER_OP("relax.nn.conv1d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutConv);
TVM_REGISTER_OP("relax.nn.conv2d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutConv);
TVM_REGISTER_OP("relax.nn.max_pool2d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.nn.avg_pool2d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.nn.adaptive_avg_pool2d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.image.resize2d")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", MSCInferLayoutResize2d);
// reduce axis ops
TVM_REGISTER_OP("relax.argmax")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutArgMaxMin);
TVM_REGISTER_OP("relax.argmin")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutArgMaxMin);
TVM_REGISTER_OP("relax.max")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.min")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.mean")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.sum")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.prod")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.std")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReduceAxis);
// binary ops
TVM_REGISTER_OP("relax.add")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.divide")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.floor_divide")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.multiply")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.power")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.subtract")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.equal")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.greater")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.greater_equal")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.less")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.less_equal")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.not_equal")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.maximum")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.minimum")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_and")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_or")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_xor")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_and")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_or")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_xor")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBinary);
// math ops
TVM_REGISTER_OP("relax.expand_dims")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForkwardInferLayoutExpandDims);
TVM_REGISTER_OP("relax.matmul")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutMatmul);
TVM_REGISTER_OP("relax.permute_dims")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutPermute);
TVM_REGISTER_OP("relax.reshape")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutReshape);
TVM_REGISTER_OP("relax.squeeze")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutSqueeze);
TVM_REGISTER_OP("relax.take")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutTake);
// nn ops
TVM_REGISTER_OP("relax.nn.batch_norm")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutBatchNorm);
TVM_REGISTER_OP("relax.nn.group_norm")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutNormalize);
TVM_REGISTER_OP("relax.nn.layer_norm")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutNormalize);
// plugin op
TVM_REGISTER_OP("relax.call_dps_packed")
.set_attr<FRelaxInferLayout>("FMSCForwardInferLayout", ForwardInferLayoutPlugin);
// Backward Infer
InferLayoutOutput BackwardInferLayoutCommon(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
NLayout output_layout = LayoutUtils::InferNLayout(call, var_layout_map);
LayoutDecision layout_hint;
if (output_layout.IsLeaf()) {
layout_hint = output_layout.LeafValue();
} else {
for (const auto& l : output_layout.NestedArray()) {
if (l.IsLeaf() && l.LeafValue()->layout.defined()) {
layout_hint = l.LeafValue();
}
}
}
if (!layout_hint->layout.defined()) {
return InferLayoutOutput();
}
Array<NLayout> input_layouts;
for (const auto& arg : call->args) {
const auto& saved_layout = LayoutUtils::InferLayoutDecision(arg, var_layout_map);
if (saved_layout->layout.defined()) {
input_layouts.push_back(saved_layout);
} else {
input_layouts.push_back(layout_hint);
}
}
return InferLayoutOutput(input_layouts, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutBinary(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
const auto& output = BackwardInferLayoutCommon(call, desired_layouts, var_layout_map);
if (!output.defined()) {
return output;
}
std::vector<NLayout> input_layouts;
for (size_t i = 0; i < call->args.size(); i++) {
const auto& sinfo = GetStructInfo(call->args[i]);
if (const auto* t_info = sinfo.as<TensorStructInfoNode>()) {
if (t_info->ndim == 0) {
input_layouts.push_back(LayoutDecision(""));
} else if (t_info->ndim == 1) {
const auto& ref_layout = output->output_layouts[0].LeafValue()->layout;
input_layouts.push_back(LayoutDecision(ref_layout[ref_layout.ndim() - 1].name()));
} else {
input_layouts.push_back(output->input_layouts[i]);
}
} else {
LOG(FATAL) << "Binary input should be tensor, get " << sinfo->GetTypeKey();
}
}
return InferLayoutOutput(input_layouts, output->output_layouts, Attrs());
}
InferLayoutOutput BackwardInferLayoutInplace(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
return BackwardInferLayoutCommon(call, desired_layouts, var_layout_map);
}
InferLayoutOutput BackwardInferLayoutArgMaxMin(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<ArgmaxArgminAttrs>();
if (attrs->keepdims) {
return InferLayoutOutput({output_layout}, {output_layout}, Attrs());
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
std::vector<size_t> axes;
axes.push_back(CommonUtils::GetIndex(Downcast<Integer>(attrs->axis)->value, input_shape.size()));
LayoutDecision input_layout = LayoutUtils::ExpandLayout(output_layout, axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutBatchNorm(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecisionAt(call, var_layout_map, 0);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
LayoutDecision g_layout = LayoutDecision("O");
return InferLayoutOutput({output_layout, g_layout, g_layout, g_layout, g_layout},
{{output_layout, g_layout, g_layout}}, Attrs());
}
InferLayoutOutput BackwardInferLayoutExpandDims(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<ExpandDimsAttrs>();
std::vector<size_t> expand_axes;
for (const auto& s : attrs->axis) {
expand_axes.push_back(CommonUtils::GetIndex(s->value, input_shape.size()));
}
LayoutDecision input_layout = LayoutUtils::ReduceLayout(output_layout, expand_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutNormalize(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecisionAt(call, var_layout_map, 0);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
LayoutDecision g_layout = LayoutDecision("O");
return InferLayoutOutput({output_layout, g_layout, g_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutMatmul(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& b_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[1]))->GetShape().value_or(empty);
if (b_shape.size() == 0) {
return InferLayoutOutput();
}
size_t start = output_layout->layout.ndim() - b_shape.size();
String pre_layout;
for (size_t i = start; i < output_layout->layout.ndim() - 2; i++) {
pre_layout = pre_layout + output_layout->layout[i].name();
}
LayoutDecision b_layout = LayoutDecision(pre_layout + "IO");
return InferLayoutOutput({output_layout, b_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutPermute(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
std::vector<size_t> permute_axes;
const auto* attrs = call->attrs.as<PermuteDimsAttrs>();
if (!attrs->axes.defined()) {
for (size_t i = output_layout->layout.ndim(); i > 0; i--) {
permute_axes.push_back(i - 1);
}
} else {
std::vector<int> attr_axes;
for (const auto& s : attrs->axes.value()) {
attr_axes.push_back(s->value);
}
for (size_t i = 0; i < output_layout->layout.ndim(); i++) {
int pos = ArrayUtils::IndexOf(attr_axes, static_cast<int>(i));
if (pos >= 0) {
permute_axes.push_back(pos);
} else {
permute_axes.push_back(i);
}
}
}
LayoutDecision input_layout = LayoutUtils::PermuteLayout(output_layout, permute_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutReduceAxis(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<StatisticalAttrs>();
if (attrs->keepdims) {
return InferLayoutOutput({output_layout}, {output_layout}, Attrs());
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
std::vector<size_t> axes;
for (const auto& s : attrs->axis.value()) {
axes.push_back(CommonUtils::GetIndex(s->value, input_shape.size()));
}
LayoutDecision input_layout = LayoutUtils::ExpandLayout(output_layout, axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutReshape(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
const auto& output_shape =
Downcast<TensorStructInfo>(GetStructInfo(call))->GetShape().value_or(empty);
if (input_shape.size() == 0 || output_shape.size() == 0) {
return InferLayoutOutput();
}
LayoutDecision input_layout;
if (input_shape.size() == output_shape.size()) {
input_layout = output_layout;
} else if (input_shape.size() > output_shape.size()) {
const auto& reduce_axes = InferReduceAxes(input_shape, output_shape);
if (reduce_axes.size() == 0) {
return InferLayoutOutput();
}
input_layout = LayoutUtils::ExpandLayout(output_layout, reduce_axes);
} else {
const auto& expand_axes = InferExpandAxes(input_shape, output_shape);
if (expand_axes.size() == 0) {
return InferLayoutOutput();
}
input_layout = LayoutUtils::ReduceLayout(output_layout, expand_axes);
}
return InferLayoutOutput({input_layout, LayoutDecision("O")}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutSqueeze(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
Array<PrimExpr> empty;
const auto& input_shape =
Downcast<TensorStructInfo>(GetStructInfo(call->args[0]))->GetShape().value_or(empty);
if (input_shape.size() == 0) {
return InferLayoutOutput();
}
const auto* attrs = call->attrs.as<SqueezeAttrs>();
std::vector<size_t> reduce_axes;
if (attrs->axis.defined()) {
for (const auto& s : attrs->axis.value()) {
size_t v_index = CommonUtils::GetIndex(s->value, input_shape.size());
if (Downcast<Integer>(input_shape[v_index])->value == 1) {
reduce_axes.push_back(v_index);
}
}
} else {
for (size_t i = 0; i < input_shape.size(); i++) {
if (Downcast<Integer>(input_shape[i])->value == 1) {
reduce_axes.push_back(i);
}
}
}
LayoutDecision input_layout = LayoutUtils::ExpandLayout(output_layout, reduce_axes);
return InferLayoutOutput({input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutTake(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
LayoutDecision input_layout = LayoutUtils::ReduceLayout(output_layout, std::vector<size_t>{0});
return InferLayoutOutput({LayoutDecision("WE"), input_layout}, {output_layout}, Attrs());
}
InferLayoutOutput BackwardInferLayoutTupleInputs(const Call& call,
const Map<String, Array<String>>& desired_layouts,
const VarLayoutMap& var_layout_map) {
LayoutDecision output_layout = LayoutUtils::InferLayoutDecision(call, var_layout_map);
if (!output_layout->layout.defined()) {
return InferLayoutOutput();
}
std::vector<NLayout> input_layouts;
if (const auto* t_node = GetStructInfo(call->args[0]).as<TupleStructInfoNode>()) {
for (size_t i = 0; i < t_node->fields.size(); i++) {
input_layouts.push_back(output_layout);
}
} else {
LOG_FATAL << "Expected input as tuple, get " << call->args[0];
}
return InferLayoutOutput(input_layouts, {output_layout}, Attrs());
}
TVM_REGISTER_OP("relax.nn.conv1d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutConv);
TVM_REGISTER_OP("relax.nn.conv2d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutConv);
TVM_REGISTER_OP("relax.nn.max_pool2d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.nn.avg_pool2d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.nn.adaptive_avg_pool2d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutPool2d);
TVM_REGISTER_OP("relax.image.resize2d")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", MSCInferLayoutResize2d);
// reduce axis ops
TVM_REGISTER_OP("relax.argmax")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutArgMaxMin);
TVM_REGISTER_OP("relax.argmin")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutArgMaxMin);
TVM_REGISTER_OP("relax.max")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.min")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.mean")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.sum")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.prod")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
TVM_REGISTER_OP("relax.std")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReduceAxis);
// binary ops
TVM_REGISTER_OP("relax.add")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.divide")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.floor_divide")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.multiply")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.power")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.subtract")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.equal")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.greater")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.greater_equal")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.less")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.less_equal")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.not_equal")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.maximum")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.minimum")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_and")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_or")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.logical_xor")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_and")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_or")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
TVM_REGISTER_OP("relax.bitwise_xor")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBinary);
// math ops
TVM_REGISTER_OP("relax.concat")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutTupleInputs);
TVM_REGISTER_OP("relax.expand_dims")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutExpandDims);
TVM_REGISTER_OP("relax.matmul")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutMatmul);
TVM_REGISTER_OP("relax.permute_dims")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutPermute);
TVM_REGISTER_OP("relax.reshape")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutReshape);
TVM_REGISTER_OP("relax.squeeze")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutSqueeze);
TVM_REGISTER_OP("relax.take")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutTake);
// nn ops
TVM_REGISTER_OP("relax.nn.batch_norm")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutBatchNorm);
TVM_REGISTER_OP("relax.nn.group_norm")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutNormalize);
TVM_REGISTER_OP("relax.nn.layer_norm")
.set_attr<FRelaxInferLayout>("FMSCBackwardInferLayout", BackwardInferLayoutNormalize);
class LayoutInfer : public ExprVisitor {
public:
explicit LayoutInfer(const IRModule& ref_module) : ref_module_(ref_module) { Reset(); }
void Reset() {
infered_ = false;
var_map_.clear();
ordered_exprs_.clear();
}
void RecordExpr(const Var& var, const Expr& expr) {
var_map_.Set(var, expr);
ordered_exprs_.push_back(expr);
}
Expr Infer(const Expr& expr) {
Reset();
ForwardInfer(expr);
BackwardInfer();
return expr;
}
void ForwardInfer(const Expr& expr) { ExprVisitor::VisitExpr(expr); }
void BackwardInfer() {
for (size_t e_idx = ordered_exprs_.size(); e_idx > 0; e_idx--) {
const Expr& expr = ordered_exprs_[e_idx - 1];
if (expr->IsInstance<TupleNode>()) {
continue;
}
if (expr->IsInstance<TupleGetItemNode>()) {
continue;
}
if (expr->IsInstance<ShapeExprNode>()) {
continue;
}
if (!expr->IsInstance<CallNode>()) {
continue;
}
const Call& call = Downcast<Call>(expr);
if (const auto* v_node = call->op.as<GlobalVarNode>()) {
const auto& func = Downcast<Function>(ref_module_->Lookup(v_node->name_hint));
BackwardInferFunc(func, call);
continue;
} else if (call->op->IsInstance<VarNode>() && local_funcs_.count(call->op)) {
BackwardInferFunc(local_funcs_[call->op], call);
continue;
}
size_t infered_num = 0;
for (const auto& arg : call->args) {
if (IsArgInfered(arg)) {
infered_num++;
}
}
if (call->args.size() == 0 || infered_num == call->args.size() ||
!call->op->IsInstance<OpNode>() || LayoutUtils::HasUnknownDimTensor(call->args)) {
continue;
}
const OpNode* op_node = call->op.as<OpNode>();
if (op_node == nullptr) {
continue;
}
// Infer by op_node
Op op = Downcast<Op>(GetRef<Op>(op_node));
InferLayoutOutput infered_layout;
const auto& msc_infer_map = Op::GetAttrMap<FRelaxInferLayout>("FMSCBackwardInferLayout");
try {
if (msc_infer_map.count(op)) {
FRelaxInferLayout f = msc_infer_map[op];
infered_layout = f(call, Map<String, Array<String>>(), var_layout_map_);
} else {
infered_layout =
BackwardInferLayoutCommon(call, Map<String, Array<String>>(), var_layout_map_);
}
} catch (runtime::InternalError& err) {
LOG(WARNING) << "Failed to backward infer layout " << expr << " : " << err.message();
infered_layout = InferLayoutOutput();
}
try {
if (infered_layout.defined()) {
SetInputLayouts(call, infered_layout->input_layouts);
}
} catch (runtime::InternalError& err) {
LOG(WARNING) << "Failed to backward set inputs layout for " << call << " : "
<< err.message();
}
}
}
void VisitBinding_(const VarBindingNode* binding, const CallNode* call_node) final {
ExprVisitor::VisitBinding_(binding, call_node);
const auto& call = GetRef<Call>(call_node);
if (const auto* v_node = call->op.as<GlobalVarNode>()) {
const auto& func = Downcast<Function>(ref_module_->Lookup(v_node->name_hint));
RecordExpr(binding->var, call);
ForwardInferFunc(func, call, binding->var);
} else if (call->op->IsInstance<VarNode>() && local_funcs_.count(call->op)) {
RecordExpr(binding->var, call);
ForwardInferFunc(local_funcs_[call->op], call, binding->var);
} else {
// infer call
bool infer_outputs = true;
RecordExpr(binding->var, call);
if (LayoutUtils::LayoutInfered(call)) {
infer_outputs = false;
}
if (call->args.size() == 0 || !call->op->IsInstance<OpNode>() ||
LayoutUtils::HasUnknownDimTensor(call->args)) {
infer_outputs = false;
}
const OpNode* op_node = call->op.as<OpNode>();
if (op_node == nullptr) {
infer_outputs = false;
}
if (infer_outputs) {
// infer layouts
Op op = Downcast<Op>(GetRef<Op>(op_node));
InferLayoutOutput infered_layout;
const auto& msc_infer_map = Op::GetAttrMap<FRelaxInferLayout>("FMSCForwardInferLayout");
const auto& relax_infer_map = Op::GetAttrMap<FRelaxInferLayout>("FRelaxInferLayout");
bool set_inputs = true;
try {
if (msc_infer_map.count(op)) {
FRelaxInferLayout f = msc_infer_map[op];
infered_layout = f(call, Map<String, Array<String>>(), var_layout_map_);
} else if (!relax_infer_map.count(op)) {
infered_layout =
ForwardInferLayoutCommon(call, Map<String, Array<String>>(), var_layout_map_);
}
if (relax_infer_map.count(op) && !infered_layout.defined()) {
FRelaxInferLayout f = relax_infer_map[op];
infered_layout = f(call, Map<String, Array<String>>(), var_layout_map_);
set_inputs = false;
}
} catch (runtime::InternalError& err) {
LOG(WARNING) << "Failed to forward infer layout for " << binding->var << " : "
<< binding->value << ", reason: " << err.message();
infered_layout = InferLayoutOutput();
}
if (infered_layout.defined() && infered_layout->output_layouts.size() == 1) {
try {
SetExprLayout(binding->var, infered_layout->output_layouts[0]);
} catch (runtime::InternalError& err) {
LOG(WARNING) << "Failed to forward set output layout for " << binding->var << " : "
<< binding->value << ", reason: " << err.message();
}
}
if (set_inputs && infered_layout.defined()) {
try {
SetInputLayouts(call, infered_layout->input_layouts);
} catch (runtime::InternalError& err) {
LOG(WARNING) << "Failed to forward set inputs layout for " << call << " : "
<< err.message();
}
}
}
}
}
void VisitBinding_(const VarBindingNode* binding, const FunctionNode* val) final {
local_funcs_.Set(binding->var, GetRef<Function>(val));
}
void VisitBinding_(const VarBindingNode* binding, const TupleNode* val) final {
ExprVisitor::VisitBinding_(binding, val);
RecordExpr(binding->var, GetRef<Tuple>(val));
if (IsNestedTensor(binding->var)) {
Array<NLayout> input_layouts;
for (const auto& field : val->fields) {
input_layouts.push_back(LayoutUtils::InferLayoutDecision(field, var_layout_map_));
}
SetExprLayout(binding->var, input_layouts);
}
}
void VisitBinding_(const VarBindingNode* binding, const TupleGetItemNode* val) final {
ExprVisitor::VisitBinding_(binding, val);
RecordExpr(binding->var, GetRef<TupleGetItem>(val));
const auto& out_layout = LayoutUtils::InferLayoutDecisionAt(GetRef<TupleGetItem>(val)->tuple,
var_layout_map_, val->index);
SetExprLayout(binding->var, out_layout);
}
void VisitBinding_(const VarBindingNode* binding, const ShapeExprNode* val) final {
ExprVisitor::VisitBinding_(binding, val);
RecordExpr(binding->var, GetRef<ShapeExpr>(val));
SetExprLayout(binding->var, LayoutDecision("O"));
}
bool infered() { return infered_; }
private:
bool IsArgInfered(const Expr& arg) {
if (arg->IsInstance<VarNode>() && var_map_.count(Downcast<Var>(arg))) {
if (LayoutUtils::LayoutInfered(var_map_[Downcast<Var>(arg)]) > 0) {
return true;
}
} else if (const auto* tuple_node = arg.as<TupleNode>()) {
for (const auto& field : tuple_node->fields) {
if (!IsArgInfered(field)) {
return false;
}
}
return true;
} else if (LayoutUtils::LayoutInfered(arg)) {
return true;
}
return false;
}
void SetExprLayout(const Expr& expr, const NLayout& layout) {
if (expr->IsInstance<VarNode>()) {
const auto& var = Downcast<Var>(expr);
var_layout_map_[var] = layout;
if (LayoutUtils::SetLayout(var, layout)) {
infered_ = true;
}
if (var_map_.count(var) && LayoutUtils::SetLayout(var_map_[var], layout)) {
infered_ = true;
}
} else if (LayoutUtils::SetLayout(expr, layout)) {
infered_ = true;
}
}
void SetInputLayouts(const Call& call, const Array<NLayout>& input_layouts) {
if (input_layouts.size() == call->args.size()) {
for (size_t i = 0; i < input_layouts.size(); i++) {
SetExprLayout(call->args[i], input_layouts[i]);
}
}
}
void ForwardInferFunc(const Function& func, const Call& call, const Var& ret) {
for (size_t i = 0; i < call->args.size(); i++) {
if (call->args[i]->IsInstance<VarNode>() &&
var_layout_map_.count(Downcast<Var>(call->args[i]))) {
SetExprLayout(func->params[i], var_layout_map_[Downcast<Var>(call->args[i])]);
}
}
ForwardInfer(func);
for (size_t i = 0; i < func->params.size(); i++) {
if (var_layout_map_.count(func->params[i])) {
SetExprLayout(call->args[i], var_layout_map_[func->params[i]]);
}
}
if (func->body->body->IsInstance<VarNode>() &&
var_layout_map_.count(Downcast<Var>(func->body->body))) {
SetExprLayout(ret, var_layout_map_[Downcast<Var>(func->body->body)]);
}
}
void BackwardInferFunc(const Function& func, const Call& call) {
for (size_t i = 0; i < func->params.size(); i++) {
if (var_layout_map_.count(func->params[i])) {
const auto& param_layout = var_layout_map_[func->params[i]];
SetExprLayout(call->args[i], param_layout);
if (call->args[i]->IsInstance<VarNode>() && var_map_.count(Downcast<Var>(call->args[i]))) {
const auto& producer = var_map_[Downcast<Var>(call->args[i])];
if (producer->IsInstance<CallNode>() &&
local_funcs_.count(Downcast<Call>(producer)->op)) {
const auto& caller = local_funcs_[Downcast<Call>(producer)->op];
if (caller->body->body->IsInstance<VarNode>() &&
var_map_.count(Downcast<Var>(caller->body->body))) {
SetExprLayout(caller->body->body, param_layout);
}
}
}
}
}
}
IRModule ref_module_;
bool infered_;
Map<Var, Expr> var_map_;
Array<Expr> ordered_exprs_;
std::unordered_map<Var, NLayout> var_layout_map_;
Map<Expr, Function> local_funcs_;
}; // class LayoutInfer
class LayoutChecker : public ExprVisitor {
public:
LayoutChecker() { missing_num_ = 0; }
void Check(const Expr& expr) {
ExprVisitor::VisitExpr(expr);
ICHECK_EQ(missing_num_, 0) << "Some layout is missing";
}
void VisitExpr_(const CallNode* call) final {
ExprVisitor::VisitExpr_(call);
if (!LayoutUtils::LayoutInfered(GetRef<Call>(call))) {
missing_num_++;
}
}
void VisitExpr_(const ConstantNode* cn) final {
ExprVisitor::VisitExpr_(cn);
if (!LayoutUtils::LayoutInfered(GetRef<Constant>(cn))) {
missing_num_++;
}
}
private:
size_t missing_num_;
}; // class LayoutChecker
void SetExprLayout(const IRModule& ref_module, const Expr& func, bool allow_missing) {
auto layout_infer = LayoutInfer(ref_module);
auto new_func = layout_infer.Infer(func);
if (!allow_missing) {
LayoutChecker().Check(new_func);
}
}
namespace transform {
Pass SetExprLayout(bool allow_missing, const String& entry_name) {
runtime::TypedPackedFunc<IRModule(IRModule, PassContext)> pass_func = [=](IRModule m,
PassContext pc) {
relax::SetExprLayout(m, m->Lookup(entry_name), allow_missing);
return m;
};
return CreateModulePass(pass_func, 0, "SetExprLayout", {});
}
TVM_REGISTER_GLOBAL("relax.transform.SetExprLayout").set_body_typed(SetExprLayout);
} // namespace transform
} // namespace relax
} // namespace tvm
```
|
```java
/*******************************************************************************
*
*
* 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.
*
* Contributors:
* Markus Alexander Kuppe - initial API and implementation
******************************************************************************/
package tlc2.tool.suite;
public class Test56 extends SuiteTestCase {
public Test56() {
super("9", "6", "0", "3");
}
}
```
|
The Pulverturm in Templin is a tower on the old town fortifications of Templin in Brandenburg.
It is located in the eastern part of Templin's Altstadt not far from the Prenzlau Gate. The tower was built in the early 15th century from an old semi-circular defensive structure called a Wiekhaus in the Templin town wall, which itself is a protected monument. It is made of brick and was covered by a massive brick conical spire. Because the roof was solid, it was nonflammable and acted as a powder tower for the storage of gunpowder.
Literature
Kristina Krüger, Dehio, Handbuch der Deutschen Kunstdenkmäler, Brandenburg, Deutscher Kunstverlag München Berlin 2000, , p. 1046.
Max Lobedan, Helmut Schmertosch, Templin und Umgebung, Stadt-Bild-Verlag Leipzig 1998, , page 19.
Round towers
Brick Gothic
Templin
15th-century architecture
Gothic architecture in Germany
Fortified towers in Germany
Buildings and structures in Uckermark (district)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.