text
stringlengths
1
22.8M
Dichomeris malacodes is a moth in the family Gelechiidae. It was described by Edward Meyrick in 1910. It is found on Borneo and in southern India, Sri Lanka, Taiwan and Yunnan, China. The wingspan is . The forewings are yellow ochreous, variably spotted and blotched with fuscous except towards the costa anteriorly, especially around the stigmata, along the dorsum and termen, and towards the costa beyond the middle, but these markings are sometimes little developed. The costa is dotted with dark fuscous on the anterior half, the edge black towards the base. The stigmata is black, distinct, with the plical obliquely before the first discal. The hindwings are light grey. References Moths described in 1910 malacodes
The Battle of Rajmahal () was a battle that took place between the Mughal Empire and the Karrani Dynasty that ruled the Sultanate of Bengal in the 16th century. The battle resulted in a decisive victory for the Mughals. During the battle, the last Sultan of Bengal, Daud Khan Karrani, was captured and later executed by the Mughals. Background The battle of Rajmahal introduced the Mughal regime in Bengal. After the death of the last sultan of Hussain Shahi dynasty Ghiyasuddin Mahmud Shah in 1538, the liberated sultanate of Bengal reached its end. Despite occupying the capital city of Gaur, Humayun, the second emperor of the Mughal Empire, was able to hold the control for only a short period of time. The founder of the Sur Dynasty, Sher Shah Suri defeated Humayun in the Battle of Chausa and took control over Bengal. Later, the Karrani dynasty emerged in Bengal. The last ruler of the Karranis, Sultan Daud Khan Karrani refused to hail Akbar and clashed with the Mughals. Daud Khan was defeated by the Mughal general Munim Khan at the Battle of Tukaroi. On April 12, 1575, the Treaty of Katak concluded the malevolence between the two parties. Consequently, Daud Khan failed to hold control over Bengal and Bihar. Only the rights of Orissa were left to him. The treaty however did not go on for long. Isa Khan, the chief of the Baro-Bhuians, expelled the Mughal Navy from Bengal. After the death of the Mughal general Munim Khan, Daud Khan started a campaign to conquer the lost territory. He was able to conquer North and West Bengal. Battle Akbar sent his general Khan-i-Jahan Husain Quli Beg to conquer Bengal from Daud Khan. Daud Khan's generals were Kalapahar, Junaid and Qutlu Khan. Khan gathered about three thousand troops at Teliagarhi. The Afghans fought with the Mughals at Teliagarhi. In the battle, the Mughals captured Teliagarhi. The Mughals then proceeded towards Rajmahal. Rajmahal was under siege for about four months by the Mughal general Husain Quli Beg. As an additional aid to the Mughals, Muzaffar Khan Turbati, the ruler of Bihar, came forward with five thousand cavalry and supplies by sea. Although the Mughals were ahead in terms of strength, they fell into climatic problems. Then the battle took place between the combined forces of the Mughals and the Karranis in Rajmahal on 12 July 1576. Daud Khan, Junaid, Kalapahar and Qutlu Khan led the middle, left, right and front of the army respectively. Aftermath The Karranis were defeated in this battle. Daud Khan was captured and killed. With the fall of the Karrani dynasty, the Bengal Sultanate came to an end and Bengal became a subah or province of the Mughal Empire. However, under the leadership of Isa Khan, the Baro-Bhuyans continued to resist the Mughals. As a result, the Mughals could not get full control over Bengal until Isa Khan's death in 1599. See also Battle of Plassey References Bengal Subah Raj Mahal Rajmahal 1576 Rajmahal 1576 1576 in the Mughal Empire Military history of the Bengal Sultanate
The following is a list of episodes for the first season to the anime television series, Aikatsu!, which aired between October 8, 2012 and September 26, 2013. The series, produced by Sunrise in collaboration with Bandai, follows Ichigo Hoshimiya and her friends as they participate in idol activities at Starlight Academy, a school for budding idols. The season uses four pieces of theme music. The opening theme for episode 1-25 is "Signalize!" by Waka, Fūri, Sunao and Risuko while the ending theme is by Waka, Fūri and Sunao. For episodes 26-50, the opening theme is by Waka, Fūri and Sunao while the ending is by Waka, Fūri, Sunao, Remi, Moe, Eri, Yuna, and Risuko. The ending theme for episode 44 is by Rey. Daisuki began streaming the season in September 2014, and are also streaming the series on YouTube until the end of 2014. Episodes References 2012 Japanese television seasons Aikatsu! Aikatsu! episode lists
```php <?php /* * This file is part of Psy Shell. * * (c) 2012-2015 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy\Readline; use Psy\Exception\BreakException; /** * An array-based Readline emulation implementation. */ class Transient implements Readline { private $history; private $historySize; private $eraseDups; /** * Transient Readline is always supported. * * {@inheritdoc} */ public static function isSupported() { return true; } /** * Transient Readline constructor. */ public function __construct($historyFile = null, $historySize = 0, $eraseDups = false) { // don't do anything with the history file... $this->history = array(); $this->historySize = $historySize; $this->eraseDups = $eraseDups; } /** * {@inheritdoc} */ public function addHistory($line) { if ($this->eraseDups) { if (($key = array_search($line, $this->history)) !== false) { unset($this->history[$key]); } } $this->history[] = $line; if ($this->historySize > 0) { $histsize = count($this->history); if ($histsize > $this->historySize) { $this->history = array_slice($this->history, $histsize - $this->historySize); } } $this->history = array_values($this->history); return true; } /** * {@inheritdoc} */ public function clearHistory() { $this->history = array(); return true; } /** * {@inheritdoc} */ public function listHistory() { return $this->history; } /** * {@inheritdoc} */ public function readHistory() { return true; } /** * {@inheritdoc} * * @throws BreakException if user hits Ctrl+D * * @return string */ public function readline($prompt = null) { echo $prompt; return rtrim(fgets($this->getStdin(), 1024)); } /** * {@inheritdoc} */ public function redisplay() { // noop } /** * {@inheritdoc} */ public function writeHistory() { return true; } /** * Get a STDIN file handle. * * @throws BreakException if user hits Ctrl+D * * @return resource */ private function getStdin() { if (!isset($this->stdin)) { $this->stdin = fopen('php://stdin', 'r'); } if (feof($this->stdin)) { throw new BreakException('Ctrl+D'); } return $this->stdin; } } ```
```java package com.omkarmoghe.pokemap.controllers.net; import com.google.gson.annotations.SerializedName; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Headers; import retrofit2.http.POST; import retrofit2.http.Url; /** * Created by vanshilshah on 20/07/16. */ public interface NianticService { @Headers("User-Agent: Niantic") @GET("login?service=path_to_url") Call<LoginValues> getLoginValues(); @Headers("User-Agent: Niantic") @POST Call<LoginResponse> login(@Url String url); @Headers("User-Agent: Niantic") @POST Call<ResponseBody> requestToken(@Url String url); class LoginValues { private String lt; private String execution; public LoginValues(){ } public String getLt() { return lt; } public String getExecution() { return execution; } } class LoginResponse{ public LoginResponse(){ } } class LoginError{ private String[] errors; } } ```
Julij Taŭbin (September 15, 1911 – October 30, 1937) was a Belarusian poet, translator. Biography Julij Taŭbin was born on September 15, 1911, in Ostrogozhsk. In 1921 he moved with his parents to Mscisłaŭ. Until 1928 he studied at the local school. From 1928 to 1931 he studied at the local Pedagogical College and from 1931 to 1933 at the Pedagogical University in Minsk. At this time, Taŭbin became a member of the Belarusian Association of Proletarian Writers and the informal literary group TAVIZ, abbreviation of Tavarystva Amataraw Vypic' i Zakusic' (English: Society of those who Like to Drink Alcohol and Eat Snacks Afterwards). Taŭbin was arrested on February 25, 1933. On August 10, 1933 he was sentenced to two years of exile in the Ural region. During the exile he lived in Tyumen. According to one of the poet's contemporaries, the reason for the first arrest was a letter from the poet’s aunt who allegedly moved from Poland to America. On November 4, 1936 Taŭbin was arrested once again and transferred to Minsk. On October 29, 1937 The Military Collegium of the Supreme Court of the Soviet Union sentenced him to capital punishment. On the night of October 29, 1937 Taŭbin and 25 other Belarusian writers were executed in the courtyard of an NKVD prison. He was politically rehabilitated in the first case on August 24, 1956, and in the second case on July 29, 1957. Writing Julij Taŭbin is a representative of the Belarusian urban poetry of the 1920–1930's. His course towards assimilation of European classical poetry was a continuation of the tradition of Maxim Bogdanovich and early Alexander Pushkin. Taŭbin read and understood the original poems of English, French, German and Polish writers. He also got acquainted in the original with Italian and Dutch poetry. He translated poetry of foreign authors almost flawlessly, although he practically did not learn the grammar of these languages. Taŭbin began to publish in 1926 in various periodicals. In the particularly fruitful period of 1930–1932, the poet published five books: collections of poems "Lights" (Belarusian: Агні; 1930), "To live, sing and not grow old..." (Belarusian: Каб жыць, спяваць і не старэць...; 1931), "Three poems" (Belarusian: Тры паэмы; 1931), "My second book" (Belarusian: Мая другая кніга; 1932) and the poem "Taurida" (Belarusian: Таўрыда; 1932). After the poet's death, two of his anthologies were published: "Selected Poems" (Belarusian: Выбраныя вершы; 1957) and "Poems" (Belarusian: Вершы; 1969). The poem "Doctor Baturin" (Belarusian: Доктар Батурын) remained unfinished. The prepared book "Lyrics. Epic" (Belarusian: Лірыка. Эпас) was never published. Being exiled to Tyumen, Taŭbin started writing in Russian. In 1934–1935 he created two poems: "Mikhailo" (Russian: Михайло) and "The Siege" (Russian: Осада). Also in print were two of his Russian-language poems – "To Friends" (Russian: Друзьям; Znamya, 1936, No. 5) and "Teddy" (Russian: Тедди; Ogoniok, 1936, No. 22). Shortly before his arrest, he sent to the Leningrad branch of the "Khudozhestvennaya Literatura" publishing house a selection of Russian translations of poems by Alfred Edward Housman, William Butler Yeats and Gilbert Keith Chesterton, which were later included in the Anthology of New English Poetry collection (published 20 days after the poet was executed). The first collection of Taŭbin's works after political rehabilitation was published in 1957 by his friend Arkadi Kuleshov. References External links Юлі Таўбін. З паэмы «Таўрыда» Грахоўскі С. Жывуць у памяці маёй (Успаміны. Публіцыстыка) Юлі Таўбін (1911-1937). Адкрытая лекцыя Андрэя Хадановіч 20th-century Belarusian poets 1911 births 1937 deaths People from Ostrogozhsky District
```php <?php namespace PragmaRX\Health\Checkers; use Illuminate\Support\Facades\Cache as IlluminateCache; use PragmaRX\Health\Support\Result; class Cache extends Base { /** * @return Result */ public function check() { try { $checker = $this->getChecker(); $value1 = $this->getCached(); $value2 = $this->getCached(); if ($value1 !== $value2 || $value2 !== $checker()) { return $this->makeResult( false, $this->target->getErrorMessage() ); } return $this->makeHealthyResult(); } catch (\Exception $exception) { report($exception); return $this->makeResultFromException($exception); } } private function getCached() { $checker = $this->getChecker(); return IlluminateCache::remember( $this->target->key, $this->target->seconds, $checker ); } private function getChecker() { return function () { return 'DUMMY DATA'; }; } } ```
The Putting Students First Act (also known by its former name, Bill 115) (the Act) is an act passed by the Legislative Assembly of Ontario. The law allows the provincial government to set rules that local school boards must adhere to when negotiating with local unions and to impose a collective agreement on the board, employee bargaining agent, and the employees of the board represented by the employee bargaining agent if negotiations are not completed by December 31, 2012. This bill also limits the legality of teachers' unions and support staff going on strike. In April 2016, the law was found to be unconstitutional. Bill 115 was given its first reading in the Legislative Assembly of Ontario on August 28, 2012, and received Royal Assent on September 11, 2012. The bill was supported by the Ontario Liberal Party and the Progressive Conservative Party of Ontario and opposed by members of the NDP. The result of the vote was 82-15 in favour of the bill. The act took effect immediately after approval and school boards, teachers, and support staff continued to engage in collective bargaining until December 31, 2012. Collective bargaining is ongoing in an attempt to have the government's education partners reach agreements that respect local circumstances while remaining within limitations established in the legislation. The Putting Students First Act was intended to ensure that school contracts fit the government's financial and policy priorities, and aims to prevent labour disruptions during 2013 and 2014. It was claimed that the law would save the province of Ontario billion and would prevent spending million, a reduction the government claimed to be crucial. The Minister of Education has the power to withhold approval of collective labour contracts and the parties involved will risk having an agreement imposed if a proposed deal does not meet the standards of the legislation. Background Collective bargaining was ongoing in an attempt to have the government's education partners reach agreements that respected local circumstances while remaining within limitations established in the legislation. Bill 115 was intended to ensure that school contracts fit the government's financial and policy priorities and aimed to prevent labour disruptions during 2013 and 2014. The Act purportedly saved the province of Ontario and will have prevented the spending of $473 million, a reduction in spending the government said to be crucial. The Minister of Education was given the power to withhold approval of collective labour contracts and the parties involved risked having an agreement imposed if a proposed deal did not meet the standards of the legislation. Enforcement and repeal When tabled in the legislature, section 22 of Bill 115 stated that "This Act comes into force on a day to be named by proclamation of the Lieutenant Governor", while section 20 said "This Act is repealed". Royal Assent was granted to the bill by Lieutenant Governor of Ontario David Onley on September 11, 2012, and, at the direction of the Executive Council and despite the wording of section 22, the date of the enforcement of only sections 1 to 19 and 21 was proclaimed on the following day. Another proclamation was issued by Order in Council on January 21, 2013, bringing section 20 of the act into force. Terms and conditions of contracts of the Act The Ontario Labour Relations Board is prohibited from inquiring into whether the Act is constitutionally valid, or if it is in conflict with the Ontario Human Rights Code. No arbitrator or arbitration board is permitted to inquire into whether the Act is constitutionally valid, or if it is in conflict with the Ontario Human Rights Code. No terms or conditions included in a collective agreement under this act may be questioned or reviewed in any court. All teachers are subject to a two-year pay freeze. A restructured short-term sick leave plan that would include up to 10 sick days. No salary increases in the 2012-2014 school years. All teachers will receive a 1.5% pay cut in the form of three unpaid professional development days (PD days) This bill also limits the legality of teachers' unions and support staff going on strike. Opposition Many union leaders believe that Bill 115 is a threat to unionized employees as well as democratic rights and values, due to its power to limit strike action and impose a collective agreement without negotiation. Some union members are concerned that future legislative acts could further restrict teachers' bargaining options. Protests took place in many places in Ontario in an attempt to bring Dalton McGuinty's attention to this Bill and try to stop it from being passed. On September 14, 2012, teachers in Ottawa, Ontario protested with signs outside of Dalton McGuinty's office. The rally was organized by the secondary school teachers' federation and had close to 800 people attend, including students who left classes to support their teachers. The Elementary Teachers' Federation of Ontario has suggested that its members take a "pause" in after-school programs. Many teachers in both elementary and secondary schools have withdrawn from supervising any after-school activities. On December 15, 2012, high school students from the York and Toronto region participated in a walkout against Bill 115. Students then travelled from their schools to Queen's Park to protest the Act. Several hundred to a few thousand students across the city were estimated to have attended. Canadian Union of Public Employees More than 55,000 members of the Canadian Union of Public Employees (CUPE) are also affected by Bill 115. They are the support staff working for school boards in Ontario. Some custodians, maintenance staff, secretaries, educational assistants, early childhood educators, and library technicians are campaigning against Bill 115. Union members are meeting across the province of Ontario to discuss this issue. CUPE has also initiated legal action to contest the validity of Bill 115. Strike action On December 10, 2012, elementary school teachers from the Avon Maitland District School Board and the District School Board Ontario North East begins the one-day, rotating strikes in Ontario elementary schools. It continued until Christmas break. The union representing elementary school teachers from across the province planned a walkout for January 11, 2013. The strike would affect over 900,000 students. Ontario Premier Dalton McGuinty called it an illegal strike. Sam Hammond, president of the Elementary Teachers' Federation of Ontario, called it a one-day protest. Progressive Conservative education critic Lisa MacLeod "blasted" the Liberals for being "so vague" in their response. The New Democratic Party stated that they believe the teacher unions actions are legal and blamed the government for creating "chaos in schools". The union representing Ontario high school teachers announced that they have planned a walkout for January 16, 2013. The provincial government went to the Ontario Labour Relations Board on January 10, 2013 at 3 PM to try to stop the planned walkout action by Ontario's elementary and high school teachers. The Ontario Labour Relations Board ruled that the walkout was an illegal strike on January 11, 2013 at 4 AM. The elementary and high school teachers' union called off the strike after the decision. The Toronto District School Board and Halton District School Board were originally closing all elementary schools regardless of the labour relations board's decision. However, management from the two school boards changed their minds and opened elementary schools. Elementary schools in the Greater Essex County District School Board were closed. Disobeying the order would have placed the union and teachers in contempt of court and fines of up to $25,000 for the unions and up to $2,000 for individual teachers. Court ruling On April 20, 2016, the Ontario Superior Court of Justice found, "that between the fall of 2011 and the passage of the Putting Students First Act, Ontario infringed on the applicants' right, under the Charter of Rights and Freedoms, to meaningful collective bargaining." Judge Lederer ruled, " When reviewed in the context of the Charter and the rights it provides, it becomes apparent that the process engaged in was fundamentally flawed. It could not, by its design, provide meaningful collective bargaining. Ontario, on its own, devised a process. It set the parameters which would allow it to meet fiscal restraints it determined and then set a program which limited the ability of the others parties to take part in a meaningful way." Chronology of events See also Elementary Teachers' Federation of Ontario Ontario Secondary School Teachers' Federation Education in Ontario References Education in Ontario Ontario provincial legislation 2012 in Canadian law Labour disputes in Ontario 2012 in Ontario
```ruby require "rails_helper" RSpec.describe Badges::AwardContributorFromGithub, :vcr, type: :service do let(:badge) { create(:badge, title: "DEV Contributor") } before do badge omniauth_mock_github_payload allow(Settings::Authentication).to receive(:providers).and_return([:github]) stub_const("#{described_class}::REPOSITORIES", ["forem/DEV-Android"]) end it "won't work without Github oauth configured" do allow(Settings::Authentication).to receive(:providers).and_return([]) user = create(:user, :with_identity, identities: ["github"], uid: "389169") expect { described_class.call }.not_to change(user.badge_achievements, :count) end it "awards contributor badge" do user = create(:user, :with_identity, identities: ["github"], uid: "389169") Timecop.freeze("2021-08-16T13:49:20Z") do expect do VCR.use_cassette("github_client_commits_contributor_badge") do described_class.call end end.to change(user.badge_achievements, :count).by(1) end end it "awards contributor badge once" do user = create(:user, :with_identity, identities: ["github"], uid: "389169") Timecop.freeze("2021-08-16T13:49:20Z") do expect do VCR.use_cassette("github_client_commits_contributor_badge_twice") do described_class.call described_class.call end end.to change(user.badge_achievements, :count).by(1) end end it "awards bronze contributor badge" do badge = create(:badge, title: "4x Commit Club") user = create(:user, :with_identity, identities: ["github"], uid: "459464") Timecop.freeze("2021-08-16T13:49:20Z") do VCR.use_cassette("github_client_commits_contributor_badge") do expect do described_class.call end.to change(user.badge_achievements.where(badge: badge), :count).by(1) end end end it "awards silver contributor badge" do badge = create(:badge, title: "8x Commit Club") user = create(:user, :with_identity, identities: ["github"], uid: "6045239") Timecop.freeze("2021-08-16T13:49:20Z") do VCR.use_cassette("github_client_commits_contributor_badge") do expect do described_class.call end.to change(user.badge_achievements.where(badge: badge), :count).by(1) end end end it "awards gold contributor badge" do badge = create(:badge, title: "16x-commit-club") user = create(:user, :with_identity, identities: ["github"], uid: "15793250") Timecop.freeze("2021-08-16T13:49:20Z") do VCR.use_cassette("github_client_commits_contributor_badge") do expect do described_class.call end.to change(user.badge_achievements.where(badge: badge), :count).by(1) end end end # rubocop:disable RSpec/AnyInstance it "awards single commit contributors" do stub_const("#{described_class}::REPOSITORIES", ["forem/forem"]) user = create(:user, :with_identity, identities: ["github"], uid: "49699333") Timecop.freeze("2021-08-16T13:49:20Z") do VCR.use_cassette("awards_single_commit_contributors") do allow_any_instance_of(described_class).to receive(:award_multi_commit_contributors) expect do described_class.call end.to change(user.badge_achievements, :count).by(1) end end end # rubocop:enable RSpec/AnyInstance end ```
Shirshasana (Sanskrit: शीर्षासन, IAST: śīrṣāsana) Salamba Shirshasana, or Yoga Headstand is an inverted asana in modern yoga as exercise; it was described as both an asana and a mudra in classical hatha yoga, under different names. It has been called the king of all asanas. Its many variations can be combined into Mandalasana, in which the legs are progressively swept from one variation to the next in a full circle around the body. Etymology and origins The name Salamba Shirshasana comes from the Sanskrit words सालम्ब Sālamba meaning "supported", शीर्ष, Śīrṣa meaning "head", and आसन, Āsana meaning "posture" or "seat". The name Śīrṣāsana is relatively recent; the pose itself is much older, but had other names and purposes. Like other inversions, it was practised as Viparita Karani, described as a mudra in the 15th century Hatha Yoga Pradipika and other classical texts on haṭha yoga. Viparita Karani, "the Inverter", holds the head down and the feet up for hours at a time, so as to cause gravity to retain the prana. The practice is claimed by the Dattatreya Yoga Shastra to destroy all diseases. to increase the digestive fire, and to banish signs of ageing. The pose is described and illustrated in halftone as Viparita Karani in the 1905 Yogasopana purvacatusca. Hemacandra's 11th century Yogaśāstra names it Duryodhanāsana ("Duryodhana's pose") or Kapālīkarana ("head technique"), while the 18th century Joga Pradīpikā calls it Kapālī āsana, head posture; it is number 17 of the set of 84 asanas described and illustrated there. However, the 19th century Sritattvanidhi uses the name Śīrṣāsana as well as Kapālāsana, while the Malla Purana, a 13th-century manual for wrestlers, names but does not describe 18 asanas including Śīrṣāsana. Description In the Supported Headstand (Salamba Shirshasana), the body is completely inverted, and held upright supported by the forearms and the crown of the head. In his Light on Yoga, B. K. S. Iyengar uses a forearm support, with the fingers interlocked around the head, for the basic posture Shirshasana I and its variations; he demonstrates a Western-style tripod headstand, the palms of the hands on the ground with raised elbows, for Shirshasana II and III; and other supports for further variants. Iyengar names and illustrates ten variants in all, as well as several preparatory and transitional poses. The yoga headstand is nicknamed "king" of all the asanas. A variety of other asanas can be used to build the required upper body strength and balance. Shirshasana, alongside Sarvangasana and Padmasana, is one of the asanas most often reported as the cause of an injury. Variations Shirshasana permits many variations, including: Mandalasana, Circle pose, is not a single variation but a sequence of movements in Shirshasana in which the legs move in a full circle around the body from one of these headstand variations to the next. See also List of asanas Notes References Further reading External links Step by Step Instruction Inverted asanas Articles containing video clips Medieval Hatha Yoga asanas ru:Перевёрнутые асаны#Ширшасана
```java package com.ctrip.xpipe.redis.core.server; import com.ctrip.xpipe.simpleserver.AbstractIoAction; import com.ctrip.xpipe.simpleserver.SocketAware; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.util.ArrayList; import java.util.List; /** * @author wenchao.meng * * Aug 26, 2016 */ public abstract class AbstractRedisAction extends AbstractIoAction implements SocketAware{ private byte[] OK = "+OK\r\n".getBytes(); private byte[] ERR = "-ERR \r\n".getBytes(); private String line; private boolean slaveof = false; private List<String> slaveOfCommands = new ArrayList<String>(); protected boolean capaRordb = false; public AbstractRedisAction(Socket socket) { super(socket); } @Override protected Object doRead(InputStream ins) throws IOException { line = readLine(ins); if(line != null){ line = line.trim().toLowerCase(); } if(logger.isInfoEnabled()){ logger.info("[doRead]" + getLogInfo() + ":" + line); } if(slaveof && !line.startsWith("$") && !line.startsWith("*")){ slaveOfCommands.add(line); } return line; } protected String getLogInfo() { return socket.toString(); } @Override protected void doWrite(OutputStream ous, Object readResult) throws IOException { if(line == null){ logger.error("[doWrite]" + line); return; } byte []towrite = null; if(line.startsWith("replconf")){ towrite = handleReplconf(line); } if (line.startsWith("config get")) { towrite = handleConfigGet(line); } if(line.equalsIgnoreCase("PING")){ towrite = "+PONG\r\n".getBytes(); } if(line.equalsIgnoreCase("INFO")){ String info = getInfo(); String infoCommand = "$" + info.length() + "\r\n" + info + "\r\n"; towrite = infoCommand.getBytes(); } if(line.equalsIgnoreCase("PUBLISH")){ towrite = ":1\r\n".getBytes(); } if(line.equalsIgnoreCase("setname")){ towrite = "+OK\r\n".getBytes(); } if(line.equalsIgnoreCase("MULTI")){ towrite = "+OK\r\n".getBytes(); } if(line.equalsIgnoreCase("slaveof")){ towrite = "+QUEUED\r\n".getBytes(); slaveof = true; slaveOfCommands.clear(); slaveOfCommands.add(line); } if(slaveof && line.startsWith("*")){ slaveof = false; slaveof(slaveOfCommands); } if(line.equalsIgnoreCase("kill") || line.equalsIgnoreCase("rewrite") ){ towrite = "+QUEUED\r\n".getBytes(); } if(line.equalsIgnoreCase("exec")){ towrite = OK; } boolean writeToWrite = true; if(line.startsWith("psync")){ try { writeToWrite = false; handlePsync(ous, line); } catch (InterruptedException e) { logger.error("[handlepsync]", e); } } if(writeToWrite){ if(towrite != null){ ous.write(towrite); ous.flush(); }else{ ous.write("-unsupported command\r\n".getBytes()); ous.flush(); } } } protected byte[] handleConfigGet(String line) throws NumberFormatException, IOException { return "*0\r\n".getBytes(); } protected byte[] handleReplconf(String line) throws NumberFormatException, IOException{ String []sp = line.split("\\s+"); String option = sp[1]; if(option.equals("ack")){ try { replconfAck(Long.parseLong(sp[2])); } catch (InterruptedException e) { logger.error("[handleReplconf]", e); } return null; } if(option.equals("keeper")){ if(!isKeeper()){ return ERR; }else{ return OK; } } if (option.equals("capa")) { for (int i = 2; i < sp.length; i++) { if (sp[i].equalsIgnoreCase("rordb")) this.capaRordb = true; } } return OK; } protected boolean isKeeper(){ return false; } protected void replconfAck(long ackPos) throws IOException, InterruptedException { } protected void handlePsync(OutputStream ous, String line) throws IOException, InterruptedException { } protected void slaveof(List<String> slaveOfCommands2) { } protected abstract String getInfo(); } ```
```javascript (function () { 'use strict'; angular.module('ariaNg').factory('ariaNgCommonService', ['$window', '$location', '$timeout', 'base64', 'moment', 'SweetAlert', 'ariaNgConstants', 'ariaNgLocalizationService', function ($window, $location, $timeout, base64, moment, SweetAlert, ariaNgConstants, ariaNgLocalizationService) { var getTimeOption = function (time) { var name = ''; var value = time; if (time < 1000) { value = time; name = (value === 1 ? 'format.time.millisecond' : 'format.time.milliseconds'); } else if (time < 1000 * 60) { value = time / 1000; name = (value === 1 ? 'format.time.second' : 'format.time.seconds'); } else if (time < 1000 * 60 * 24) { value = time / 1000 / 60; name = (value === 1 ? 'format.time.minute' : 'format.time.minutes'); } else { value = time / 1000 / 60 / 24; name = (value === 1 ? 'format.time.hour' : 'format.time.hours'); } return { name: name, value: value, optionValue: time }; }; var showDialog = function (title, text, type, callback, options) { $timeout(function () { SweetAlert.swal({ title: title, text: text, type: type, confirmButtonText: options && options.confirmButtonText || null }, function () { if (callback) { callback(); } }); }, 100); }; var showConfirmDialog = function (title, text, type, callback, notClose, extendSettings) { var options = { title: title, text: text, type: type, showCancelButton: true, showLoaderOnConfirm: !!notClose, closeOnConfirm: !notClose, confirmButtonText: extendSettings && extendSettings.confirmButtonText || null, cancelButtonText: extendSettings && extendSettings.cancelButtonText || null }; if (type === 'warning') { options.confirmButtonColor = '#F39C12'; } SweetAlert.swal(options, function (isConfirm) { if (!isConfirm) { return; } if (callback) { callback(); } }); } return { getFullPageUrl: function () { return $window.location.protocol + '//' + $window.location.host + $window.location.pathname + ($window.location.search ? $window.location.search : ''); }, base64Encode: function (value) { return base64.encode(value); }, base64Decode: function (value) { return base64.decode(value); }, base64UrlEncode: function (value) { return base64.urlencode(value); }, base64UrlDecode: function (value) { return base64.urldecode(value); }, generateUniqueId: function () { var sourceId = ariaNgConstants.appPrefix + '_' + Math.round(new Date().getTime() / 1000) + '_' + Math.random(); var hashedId = this.base64Encode(sourceId); return hashedId; }, showDialog: function (title, text, type, callback, extendSettings) { if (!extendSettings) { extendSettings = {}; } if (title) { title = ariaNgLocalizationService.getLocalizedText(title); } if (text) { text = ariaNgLocalizationService.getLocalizedText(text, extendSettings.textParams); } extendSettings.confirmButtonText = ariaNgLocalizationService.getLocalizedText('OK'); showDialog(title, text, type, callback, extendSettings); }, showInfo: function (title, text, callback, extendSettings) { this.showDialog(title, text, 'info', callback, extendSettings); }, showError: function (text, callback, extendSettings) { this.showDialog('Error', text, 'error', callback, extendSettings); }, showOperationSucceeded: function (text, callback) { this.showDialog('Operation Succeeded', text, 'success', callback); }, confirm: function (title, text, type, callback, notClose, extendSettings) { if (!extendSettings) { extendSettings = {}; } if (title) { title = ariaNgLocalizationService.getLocalizedText(title); } if (text) { text = ariaNgLocalizationService.getLocalizedText(text, extendSettings.textParams); } extendSettings.confirmButtonText = ariaNgLocalizationService.getLocalizedText('OK'); extendSettings.cancelButtonText = ariaNgLocalizationService.getLocalizedText('Cancel'); showConfirmDialog(title, text, type, callback, notClose, extendSettings); }, closeAllDialogs: function () { SweetAlert.close(); }, getFileExtension: function (filePath) { if (!filePath || filePath.lastIndexOf('.') < 0) { return filePath; } return filePath.substring(filePath.lastIndexOf('.')); }, parseUrlsFromOriginInput: function (s) { if (!s) { return []; } var lines = s.split('\n'); var result = []; for (var i = 0; i < lines.length; i++) { var line = lines[i]; if (line.match(/^(http|https|ftp|sftp):\/\/.+$/)) { result.push(line); } else if (line.match(/^magnet:\?.+$/)) { result.push(line); } } return result; }, decodePercentEncodedString: function (s) { if (!s) { return s; } var ret = ''; for (var i = 0; i < s.length; i++) { var ch = s.charAt(i); if (ch === '%' && i < s.length - 2) { var code = s.substring(i + 1, i + 3); ret += String.fromCharCode(parseInt(code, 16)); i += 2; } else { ret += ch; } } return ret; }, extendArray: function (sourceArray, targetArray, keyProperty) { if (!targetArray || !sourceArray || sourceArray.length !== targetArray.length) { return false; } for (var i = 0; i < targetArray.length; i++) { if (targetArray[i][keyProperty] === sourceArray[i][keyProperty]) { angular.extend(targetArray[i], sourceArray[i]); } else { return false; } } return true; }, copyObjectTo: function (from, to) { if (!to) { return from; } for (var name in from) { if (!from.hasOwnProperty(name)) { continue; } var fromValue = from[name]; var toValue = to[name]; if (angular.isObject(fromValue) || angular.isArray(fromValue)) { to[name] = this.copyObjectTo(from[name], to[name]); } else { if (fromValue !== toValue) { to[name] = fromValue; } } } return to; }, pushArrayTo: function (array, items) { if (!angular.isArray(array)) { array = []; } if (!angular.isArray(items) || items.length < 1) { return array; } for (var i = 0; i < items.length; i++) { array.push(items[i]); } return array; }, combineArray: function () { var result = []; for (var i = 0; i < arguments.length; i++) { if (angular.isArray(arguments[i])) { this.pushArrayTo(result, arguments[i]); } else { result.push(arguments[i]); } } return result; }, countArray: function (array, value) { if (!angular.isArray(array) || array.length < 1) { return 0; } var count = 0; for (var i = 0; i < array.length; i++) { count += (array[i] === value ? 1 : 0); } return count; }, parseOrderType: function (value) { var values = value.split(':'); var obj = { type: values[0], order: values[1], equals: function (obj) { if (angular.isUndefined(obj.order)) { return this.type === obj.type; } else { return this.type === obj.type && this.order === obj.order; } }, getValue: function () { return this.type + ':' + this.order; } }; Object.defineProperty(obj, 'reverse', { get: function () { return this.order === 'desc'; }, set: function (value) { this.order = (value ? 'desc' : 'asc'); } }); return obj; }, getCurrentUnixTime: function () { return moment().format('X'); }, getLongTimeFromUnixTime: function (unixTime) { return moment(unixTime, 'X').format('HH:mm:ss'); }, isUnixTimeAfter: function (datetime, duration, unit) { return moment(datetime, 'X').isAfter(moment().add(duration, unit)); }, formatDateTime: function (datetime, format) { return moment(datetime).format(format); }, getTimeOption: function (time) { return getTimeOption(time); }, getTimeOptions: function (timeList, withDisabled) { var options = []; if (withDisabled) { options.push({ name: 'Disabled', value: 0, optionValue: 0 }); } if (!angular.isArray(timeList) || timeList.length < 1) { return options; } for (var i = 0; i < timeList.length; i++) { var time = timeList[i]; var option = getTimeOption(time); options.push(option); } return options; } }; }]); }()); ```
```c++ // generator.hpp // // file licence_1_0.txt or copy at path_to_url #ifndef BOOST_LEXER_GENERATOR_HPP #define BOOST_LEXER_GENERATOR_HPP #include "char_traits.hpp" // memcmp() #include <cstring> #include "partition/charset.hpp" #include "partition/equivset.hpp" #include <memory> #include <limits> #include "parser/tree/node.hpp" #include "parser/parser.hpp" #include "containers/ptr_list.hpp" #include <boost/move/unique_ptr.hpp> #include "rules.hpp" #include "state_machine.hpp" namespace boost { namespace lexer { template<typename CharT, typename Traits = char_traits<CharT> > class basic_generator { public: typedef typename detail::internals::size_t_vector size_t_vector; typedef basic_rules<CharT> rules; static void build (const rules &rules_, basic_state_machine<CharT> &state_machine_) { std::size_t index_ = 0; std::size_t size_ = rules_.statemap ().size (); node_ptr_vector node_ptr_vector_; detail::internals &internals_ = const_cast<detail::internals &> (state_machine_.data ()); bool seen_BOL_assertion_ = false; bool seen_EOL_assertion_ = false; state_machine_.clear (); for (; index_ < size_; ++index_) { internals_._lookup->push_back (static_cast<size_t_vector *>(0)); internals_._lookup->back () = new size_t_vector; internals_._dfa_alphabet.push_back (0); internals_._dfa->push_back (static_cast<size_t_vector *>(0)); internals_._dfa->back () = new size_t_vector; } for (index_ = 0, size_ = internals_._lookup->size (); index_ < size_; ++index_) { internals_._lookup[index_]->resize (sizeof (CharT) == 1 ? num_chars : num_wchar_ts, dead_state_index); if (!rules_.regexes ()[index_].empty ()) { // vector mapping token indexes to partitioned token index sets index_set_vector set_mapping_; // syntax tree detail::node *root_ = build_tree (rules_, index_, node_ptr_vector_, internals_, set_mapping_); build_dfa (root_, set_mapping_, internals_._dfa_alphabet[index_], *internals_._dfa[index_]); if (internals_._seen_BOL_assertion) { seen_BOL_assertion_ = true; } if (internals_._seen_EOL_assertion) { seen_EOL_assertion_ = true; } internals_._seen_BOL_assertion = false; internals_._seen_EOL_assertion = false; } } internals_._seen_BOL_assertion = seen_BOL_assertion_; internals_._seen_EOL_assertion = seen_EOL_assertion_; } static void minimise (basic_state_machine<CharT> &state_machine_) { detail::internals &internals_ = const_cast<detail::internals &> (state_machine_.data ()); const std::size_t machines_ = internals_._dfa->size (); for (std::size_t i_ = 0; i_ < machines_; ++i_) { const std::size_t dfa_alphabet_ = internals_._dfa_alphabet[i_]; size_t_vector *dfa_ = internals_._dfa[i_]; if (dfa_alphabet_ != 0) { std::size_t size_ = 0; do { size_ = dfa_->size (); minimise_dfa (dfa_alphabet_, *dfa_, size_); } while (dfa_->size () != size_); } } } protected: typedef detail::basic_charset<CharT> charset; typedef detail::ptr_list<charset> charset_list; typedef boost::movelib::unique_ptr<charset> charset_ptr; typedef detail::equivset equivset; typedef detail::ptr_list<equivset> equivset_list; typedef boost::movelib::unique_ptr<equivset> equivset_ptr; typedef typename charset::index_set index_set; typedef std::vector<index_set> index_set_vector; typedef detail::basic_parser<CharT> parser; typedef typename parser::node_ptr_vector node_ptr_vector; typedef std::set<const detail::node *> node_set; typedef detail::ptr_vector<node_set> node_set_vector; typedef std::vector<const detail::node *> node_vector; typedef detail::ptr_vector<node_vector> node_vector_vector; typedef typename parser::string string; typedef std::pair<string, string> string_pair; typedef typename parser::tokeniser::string_token string_token; typedef std::deque<string_pair> macro_deque; typedef std::pair<string, const detail::node *> macro_pair; typedef typename parser::macro_map::iterator macro_iter; typedef std::pair<macro_iter, bool> macro_iter_pair; typedef typename parser::tokeniser::token_map token_map; static detail::node *build_tree (const rules &rules_, const std::size_t state_, node_ptr_vector &node_ptr_vector_, detail::internals &internals_, index_set_vector &set_mapping_) { size_t_vector *lookup_ = internals_._lookup[state_]; const typename rules::string_deque_deque &regexes_ = rules_.regexes (); const typename rules::id_vector_deque &ids_ = rules_.ids (); const typename rules::id_vector_deque &unique_ids_ = rules_.unique_ids (); const typename rules::id_vector_deque &states_ = rules_.states (); typename rules::string_deque::const_iterator regex_iter_ = regexes_[state_].begin (); typename rules::string_deque::const_iterator regex_iter_end_ = regexes_[state_].end (); typename rules::id_vector::const_iterator ids_iter_ = ids_[state_].begin (); typename rules::id_vector::const_iterator unique_ids_iter_ = unique_ids_[state_].begin (); typename rules::id_vector::const_iterator states_iter_ = states_[state_].begin (); const typename rules::string &regex_ = *regex_iter_; // map of regex charset tokens (strings) to index token_map token_map_; const typename rules::string_pair_deque &macrodeque_ = rules_.macrodeque (); typename parser::macro_map macromap_; typename detail::node::node_vector tree_vector_; build_macros (token_map_, macrodeque_, macromap_, rules_.flags (), rules_.locale (), node_ptr_vector_, internals_._seen_BOL_assertion, internals_._seen_EOL_assertion); detail::node *root_ = parser::parse (regex_.c_str (), regex_.c_str () + regex_.size (), *ids_iter_, *unique_ids_iter_, *states_iter_, rules_.flags (), rules_.locale (), node_ptr_vector_, macromap_, token_map_, internals_._seen_BOL_assertion, internals_._seen_EOL_assertion); ++regex_iter_; ++ids_iter_; ++unique_ids_iter_; ++states_iter_; tree_vector_.push_back (root_); // build syntax trees while (regex_iter_ != regex_iter_end_) { // re-declare var, otherwise we perform an assignment..! const typename rules::string &regex2_ = *regex_iter_; root_ = parser::parse (regex2_.c_str (), regex2_.c_str () + regex2_.size (), *ids_iter_, *unique_ids_iter_, *states_iter_, rules_.flags (), rules_.locale (), node_ptr_vector_, macromap_, token_map_, internals_._seen_BOL_assertion, internals_._seen_EOL_assertion); tree_vector_.push_back (root_); ++regex_iter_; ++ids_iter_; ++unique_ids_iter_; ++states_iter_; } if (internals_._seen_BOL_assertion) { // Fixup BOLs typename detail::node::node_vector::iterator iter_ = tree_vector_.begin (); typename detail::node::node_vector::iterator end_ = tree_vector_.end (); for (; iter_ != end_; ++iter_) { fixup_bol (*iter_, node_ptr_vector_); } } // join trees { typename detail::node::node_vector::iterator iter_ = tree_vector_.begin (); typename detail::node::node_vector::iterator end_ = tree_vector_.end (); if (iter_ != end_) { root_ = *iter_; ++iter_; } for (; iter_ != end_; ++iter_) { node_ptr_vector_->push_back (static_cast<detail::selection_node *>(0)); node_ptr_vector_->back () = new detail::selection_node (root_, *iter_); root_ = node_ptr_vector_->back (); } } // partitioned token list charset_list token_list_; set_mapping_.resize (token_map_.size ()); partition_tokens (token_map_, token_list_); typename charset_list::list::const_iterator iter_ = token_list_->begin (); typename charset_list::list::const_iterator end_ = token_list_->end (); std::size_t index_ = 0; for (; iter_ != end_; ++iter_, ++index_) { const charset *cs_ = *iter_; typename charset::index_set::const_iterator set_iter_ = cs_->_index_set.begin (); typename charset::index_set::const_iterator set_end_ = cs_->_index_set.end (); fill_lookup (cs_->_token, lookup_, index_); for (; set_iter_ != set_end_; ++set_iter_) { set_mapping_[*set_iter_].insert (index_); } } internals_._dfa_alphabet[state_] = token_list_->size () + dfa_offset; return root_; } static void build_macros (token_map &token_map_, const macro_deque &macrodeque_, typename parser::macro_map &macromap_, const regex_flags flags_, const std::locale &locale_, node_ptr_vector &node_ptr_vector_, bool &seen_BOL_assertion_, bool &seen_EOL_assertion_) { for (typename macro_deque::const_iterator iter_ = macrodeque_.begin (), end_ = macrodeque_.end (); iter_ != end_; ++iter_) { const typename rules::string &name_ = iter_->first; const typename rules::string &regex_ = iter_->second; detail::node *node_ = parser::parse (regex_.c_str (), regex_.c_str () + regex_.size (), 0, 0, 0, flags_, locale_, node_ptr_vector_, macromap_, token_map_, seen_BOL_assertion_, seen_EOL_assertion_); macro_iter_pair map_iter_ = macromap_. insert (macro_pair (name_, static_cast<const detail::node *> (0))); map_iter_.first->second = node_; } } static void build_dfa (detail::node *root_, const index_set_vector &set_mapping_, const std::size_t dfa_alphabet_, size_t_vector &dfa_) { typename detail::node::node_vector *followpos_ = &root_->firstpos (); node_set_vector seen_sets_; node_vector_vector seen_vectors_; size_t_vector hash_vector_; // 'jam' state dfa_.resize (dfa_alphabet_, 0); closure (followpos_, seen_sets_, seen_vectors_, hash_vector_, dfa_alphabet_, dfa_); std::size_t *ptr_ = 0; for (std::size_t index_ = 0; index_ < seen_vectors_->size (); ++index_) { equivset_list equiv_list_; build_equiv_list (seen_vectors_[index_], set_mapping_, equiv_list_); for (typename equivset_list::list::const_iterator iter_ = equiv_list_->begin (), end_ = equiv_list_->end (); iter_ != end_; ++iter_) { equivset *equivset_ = *iter_; const std::size_t transition_ = closure (&equivset_->_followpos, seen_sets_, seen_vectors_, hash_vector_, dfa_alphabet_, dfa_); if (transition_ != npos) { ptr_ = &dfa_.front () + ((index_ + 1) * dfa_alphabet_); // Prune abstemious transitions from end states. if (*ptr_ && !equivset_->_greedy) continue; for (typename detail::equivset::index_vector::const_iterator equiv_iter_ = equivset_->_index_vector.begin (), equiv_end_ = equivset_->_index_vector.end (); equiv_iter_ != equiv_end_; ++equiv_iter_) { const std::size_t equiv_index_ = *equiv_iter_; if (equiv_index_ == bol_token) { if (ptr_[eol_index] == 0) { ptr_[bol_index] = transition_; } } else if (equiv_index_ == eol_token) { if (ptr_[bol_index] == 0) { ptr_[eol_index] = transition_; } } else { ptr_[equiv_index_ + dfa_offset] = transition_; } } } } } } static std::size_t closure (typename detail::node::node_vector *followpos_, node_set_vector &seen_sets_, node_vector_vector &seen_vectors_, size_t_vector &hash_vector_, const std::size_t size_, size_t_vector &dfa_) { bool end_state_ = false; std::size_t id_ = 0; std::size_t unique_id_ = npos; std::size_t state_ = 0; std::size_t hash_ = 0; if (followpos_->empty ()) return npos; std::size_t index_ = 0; boost::movelib::unique_ptr<node_set> set_ptr_ (new node_set); boost::movelib::unique_ptr<node_vector> vector_ptr_ (new node_vector); for (typename detail::node::node_vector::const_iterator iter_ = followpos_->begin (), end_ = followpos_->end (); iter_ != end_; ++iter_) { closure_ex (*iter_, end_state_, id_, unique_id_, state_, set_ptr_.get (), vector_ptr_.get (), hash_); } bool found_ = false; typename size_t_vector::const_iterator hash_iter_ = hash_vector_.begin (); typename size_t_vector::const_iterator hash_end_ = hash_vector_.end (); typename node_set_vector::vector::const_iterator set_iter_ = seen_sets_->begin (); for (; hash_iter_ != hash_end_; ++hash_iter_, ++set_iter_) { found_ = *hash_iter_ == hash_ && *(*set_iter_) == *set_ptr_; ++index_; if (found_) break; } if (!found_) { seen_sets_->push_back (static_cast<node_set *>(0)); seen_sets_->back () = set_ptr_.release (); seen_vectors_->push_back (static_cast<node_vector *>(0)); seen_vectors_->back () = vector_ptr_.release (); hash_vector_.push_back (hash_); // State 0 is the jam state... index_ = seen_sets_->size (); const std::size_t old_size_ = dfa_.size (); dfa_.resize (old_size_ + size_, 0); if (end_state_) { dfa_[old_size_] |= end_state; dfa_[old_size_ + id_index] = id_; dfa_[old_size_ + unique_id_index] = unique_id_; dfa_[old_size_ + state_index] = state_; } } return index_; } static void closure_ex (detail::node *node_, bool &end_state_, std::size_t &id_, std::size_t &unique_id_, std::size_t &state_, node_set *set_ptr_, node_vector *vector_ptr_, std::size_t &hash_) { const bool temp_end_state_ = node_->end_state (); if (temp_end_state_) { if (!end_state_) { end_state_ = true; id_ = node_->id (); unique_id_ = node_->unique_id (); state_ = node_->lexer_state (); } } if (set_ptr_->insert (node_).second) { vector_ptr_->push_back (node_); hash_ += reinterpret_cast<std::size_t> (node_); } } static void partition_tokens (const token_map &map_, charset_list &lhs_) { charset_list rhs_; fill_rhs_list (map_, rhs_); if (!rhs_->empty ()) { typename charset_list::list::iterator iter_; typename charset_list::list::iterator end_; charset_ptr overlap_ (new charset); lhs_->push_back (static_cast<charset *>(0)); lhs_->back () = rhs_->front (); rhs_->pop_front (); while (!rhs_->empty ()) { charset_ptr r_ (rhs_->front ()); rhs_->pop_front (); iter_ = lhs_->begin (); end_ = lhs_->end (); while (!r_->empty () && iter_ != end_) { typename charset_list::list::iterator l_iter_ = iter_; (*l_iter_)->intersect (*r_.get (), *overlap_.get ()); if (overlap_->empty ()) { ++iter_; } else if ((*l_iter_)->empty ()) { delete *l_iter_; *l_iter_ = overlap_.release (); overlap_.reset (new charset); ++iter_; } else if (r_->empty ()) { overlap_.swap (r_); overlap_.reset (new charset); break; } else { iter_ = lhs_->insert (++iter_, static_cast<charset *>(0)); *iter_ = overlap_.release (); overlap_.reset(new charset); ++iter_; end_ = lhs_->end (); } } if (!r_->empty ()) { lhs_->push_back (static_cast<charset *>(0)); lhs_->back () = r_.release (); } } } } static void fill_rhs_list (const token_map &map_, charset_list &list_) { typename parser::tokeniser::token_map::const_iterator iter_ = map_.begin (); typename parser::tokeniser::token_map::const_iterator end_ = map_.end (); for (; iter_ != end_; ++iter_) { list_->push_back (static_cast<charset *>(0)); list_->back () = new charset (iter_->first, iter_->second); } } static void fill_lookup (const string_token &token_, size_t_vector *lookup_, const std::size_t index_) { const CharT *curr_ = token_._charset.c_str (); const CharT *chars_end_ = curr_ + token_._charset.size (); std::size_t *ptr_ = &lookup_->front (); const std::size_t max_ = sizeof (CharT) == 1 ? num_chars : num_wchar_ts; if (token_._negated) { // $$$ FIXME JDG July 2014 $$$ // this code is problematic on platforms where wchar_t is signed // with min generating negative numbers. This crashes with BAD_ACCESS // because of the vector index below: // ptr_[static_cast<typename Traits::index_type>(curr_char_)] CharT curr_char_ = 0; // (std::numeric_limits<CharT>::min)(); std::size_t i_ = 0; while (curr_ < chars_end_) { while (*curr_ > curr_char_) { ptr_[static_cast<typename Traits::index_type> (curr_char_)] = index_ + dfa_offset; ++curr_char_; ++i_; } ++curr_char_; ++curr_; ++i_; } for (; i_ < max_; ++i_) { ptr_[static_cast<typename Traits::index_type>(curr_char_)] = index_ + dfa_offset; ++curr_char_; } } else { while (curr_ < chars_end_) { ptr_[static_cast<typename Traits::index_type>(*curr_)] = index_ + dfa_offset; ++curr_; } } } static void build_equiv_list (const node_vector *vector_, const index_set_vector &set_mapping_, equivset_list &lhs_) { equivset_list rhs_; fill_rhs_list (vector_, set_mapping_, rhs_); if (!rhs_->empty ()) { typename equivset_list::list::iterator iter_; typename equivset_list::list::iterator end_; equivset_ptr overlap_ (new equivset); lhs_->push_back (static_cast<equivset *>(0)); lhs_->back () = rhs_->front (); rhs_->pop_front (); while (!rhs_->empty ()) { equivset_ptr r_ (rhs_->front ()); rhs_->pop_front (); iter_ = lhs_->begin (); end_ = lhs_->end (); while (!r_->empty () && iter_ != end_) { typename equivset_list::list::iterator l_iter_ = iter_; (*l_iter_)->intersect (*r_.get (), *overlap_.get ()); if (overlap_->empty ()) { ++iter_; } else if ((*l_iter_)->empty ()) { delete *l_iter_; *l_iter_ = overlap_.release (); overlap_.reset (new equivset); ++iter_; } else if (r_->empty ()) { overlap_.swap (r_); overlap_.reset (new equivset); break; } else { iter_ = lhs_->insert (++iter_, static_cast<equivset *>(0)); *iter_ = overlap_.release (); overlap_.reset (new equivset); ++iter_; end_ = lhs_->end (); } } if (!r_->empty ()) { lhs_->push_back (static_cast<equivset *>(0)); lhs_->back () = r_.release (); } } } } static void fill_rhs_list (const node_vector *vector_, const index_set_vector &set_mapping_, equivset_list &list_) { typename node_vector::const_iterator iter_ = vector_->begin (); typename node_vector::const_iterator end_ = vector_->end (); for (; iter_ != end_; ++iter_) { const detail::node *node_ = *iter_; if (!node_->end_state ()) { const std::size_t token_ = node_->token (); if (token_ != null_token) { list_->push_back (static_cast<equivset *>(0)); if (token_ == bol_token || token_ == eol_token) { std::set<std::size_t> index_set_; index_set_.insert (token_); list_->back () = new equivset (index_set_, node_->greedy (), token_, node_->followpos ()); } else { list_->back () = new equivset (set_mapping_[token_], node_->greedy (), token_, node_->followpos ()); } } } } } static void fixup_bol (detail::node * &root_, node_ptr_vector &node_ptr_vector_) { typename detail::node::node_vector *first_ = &root_->firstpos (); bool found_ = false; typename detail::node::node_vector::const_iterator iter_ = first_->begin (); typename detail::node::node_vector::const_iterator end_ = first_->end (); for (; iter_ != end_; ++iter_) { const detail::node *node_ = *iter_; found_ = !node_->end_state () && node_->token () == bol_token; if (found_) break; } if (!found_) { node_ptr_vector_->push_back (static_cast<detail::leaf_node *>(0)); node_ptr_vector_->back () = new detail::leaf_node (bol_token, true); detail::node *lhs_ = node_ptr_vector_->back (); node_ptr_vector_->push_back (static_cast<detail::leaf_node *>(0)); node_ptr_vector_->back () = new detail::leaf_node (null_token, true); detail::node *rhs_ = node_ptr_vector_->back (); node_ptr_vector_->push_back (static_cast<detail::selection_node *>(0)); node_ptr_vector_->back () = new detail::selection_node (lhs_, rhs_); lhs_ = node_ptr_vector_->back (); node_ptr_vector_->push_back (static_cast<detail::sequence_node *>(0)); node_ptr_vector_->back () = new detail::sequence_node (lhs_, root_); root_ = node_ptr_vector_->back (); } } static void minimise_dfa (const std::size_t dfa_alphabet_, size_t_vector &dfa_, std::size_t size_) { const std::size_t *first_ = &dfa_.front (); const std::size_t *second_ = 0; const std::size_t *end_ = first_ + size_; std::size_t index_ = 1; std::size_t new_index_ = 1; std::size_t curr_index_ = 0; index_set index_set_; size_t_vector lookup_; std::size_t *lookup_ptr_ = 0; lookup_.resize (size_ / dfa_alphabet_, null_token); lookup_ptr_ = &lookup_.front (); *lookup_ptr_ = 0; // Only one 'jam' state, so skip it. first_ += dfa_alphabet_; for (; first_ < end_; first_ += dfa_alphabet_, ++index_) { for (second_ = first_ + dfa_alphabet_, curr_index_ = index_ + 1; second_ < end_; second_ += dfa_alphabet_, ++curr_index_) { if (index_set_.find (curr_index_) != index_set_.end ()) { continue; } // Some systems have memcmp in namespace std. using namespace std; if (memcmp (first_, second_, sizeof (std::size_t) * dfa_alphabet_) == 0) { index_set_.insert (curr_index_); lookup_ptr_[curr_index_] = new_index_; } } if (lookup_ptr_[index_] == null_token) { lookup_ptr_[index_] = new_index_; ++new_index_; } } if (!index_set_.empty ()) { const std::size_t *front_ = &dfa_.front (); size_t_vector new_dfa_ (front_, front_ + dfa_alphabet_); typename index_set::iterator set_end_ = index_set_.end (); const std::size_t *ptr_ = front_ + dfa_alphabet_; std::size_t *new_ptr_ = 0; new_dfa_.resize (size_ - index_set_.size () * dfa_alphabet_, 0); new_ptr_ = &new_dfa_.front () + dfa_alphabet_; size_ /= dfa_alphabet_; for (index_ = 1; index_ < size_; ++index_) { if (index_set_.find (index_) != set_end_) { ptr_ += dfa_alphabet_; continue; } new_ptr_[end_state_index] = ptr_[end_state_index]; new_ptr_[id_index] = ptr_[id_index]; new_ptr_[unique_id_index] = ptr_[unique_id_index]; new_ptr_[state_index] = ptr_[state_index]; new_ptr_[bol_index] = lookup_ptr_[ptr_[bol_index]]; new_ptr_[eol_index] = lookup_ptr_[ptr_[eol_index]]; new_ptr_ += dfa_offset; ptr_ += dfa_offset; for (std::size_t i_ = dfa_offset; i_ < dfa_alphabet_; ++i_) { *new_ptr_++ = lookup_ptr_[*ptr_++]; } } dfa_.swap (new_dfa_); } } }; typedef basic_generator<char> generator; typedef basic_generator<wchar_t> wgenerator; } } #endif ```
Euryanthe (minor planet designation: 527 Euryanthe) is a minor planet orbiting the Sun. It was discovered in 1904 by Max Wolf and named after the heroine of the opera Euryanthe by the German composer Carl Maria von Weber. References External links Background asteroids Euryanthe Euryanthe Cb-type asteroids (SMASS) 19040320
Barbara Jane Bedford (born November 9, 1972), who competed as BJ Bedford, currently known by her married name, Barbara Miller, is an American former competition swimmer, Olympic champion, and former world record-holder. Bedford represented the United States at the 2000 Summer Olympics in Sydney, Australia. She was a member of the U.S. team that won the Olympic gold medal in the women's 4×100-meter medley relay and set a new world record of 3:58.30 in the event final. Her record-setting teammates included Megan Quann (breaststroke), Jenny Thompson (butterfly), and Dara Torres (freestyle). Bedford attended high school at swimming powerhouse Peddie School in Hightstown, New Jersey and is the sister of competitive swimmer Fritz Bedford. See also List of Olympic medalists in swimming (women) List of University of Texas at Austin alumni List of World Aquatics Championships medalists in swimming (women) Pan American Games records in swimming World record progression 4 × 100 metres medley relay References 1972 births Living people American female backstroke swimmers American female freestyle swimmers World record setters in swimming Medalists at the FINA World Swimming Championships (25 m) Olympic gold medalists for the United States in swimming Peddie School alumni People from Hanover, New Hampshire Swimmers at the 1995 Pan American Games Swimmers at the 2000 Summer Olympics Texas Longhorns women's swimmers World Aquatics Championships medalists in swimming Medalists at the 2000 Summer Olympics Pan American Games gold medalists for the United States Pan American Games medalists in swimming Universiade medalists in swimming FISU World University Games gold medalists for the United States Medalists at the 1991 Summer Universiade Medalists at the 1993 Summer Universiade Medalists at the 1995 Pan American Games Swimmers from New Hampshire
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. path_to_url #ifndef CORE_FXGE_CFX_SUBSTFONT_H_ #define CORE_FXGE_CFX_SUBSTFONT_H_ #include "core/fxcrt/fx_string.h" class CFX_SubstFont { public: CFX_SubstFont(); ByteString m_Family; int m_Charset; int m_Weight; int m_ItalicAngle; int m_WeightCJK; bool m_bSubstCJK; bool m_bItalicCJK; #ifdef PDF_ENABLE_XFA bool m_bFlagItalic; #endif // PDF_ENABLE_XFA bool m_bFlagMM; }; #endif // CORE_FXGE_CFX_SUBSTFONT_H_ ```
```go // Code generated by smithy-go-codegen DO NOT EDIT. package kms import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/service/kms/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) // Decrypts ciphertext and then reencrypts it entirely within KMS. You can use // this operation to change the KMS key under which data is encrypted, such as when // you [manually rotate]a KMS key or change the KMS key that protects a ciphertext. You can also // use it to reencrypt ciphertext under the same KMS key, such as to change the [encryption context]of // a ciphertext. // // The ReEncrypt operation can decrypt ciphertext that was encrypted by using a // KMS key in an KMS operation, such as Encryptor GenerateDataKey. It can also decrypt ciphertext that // was encrypted by using the public key of an [asymmetric KMS key]outside of KMS. However, it cannot // decrypt ciphertext produced by other libraries, such as the [Amazon Web Services Encryption SDK]or [Amazon S3 client-side encryption]. These // libraries return a ciphertext format that is incompatible with KMS. // // When you use the ReEncrypt operation, you need to provide information for the // decrypt operation and the subsequent encrypt operation. // // - If your ciphertext was encrypted under an asymmetric KMS key, you must use // the SourceKeyId parameter to identify the KMS key that encrypted the // ciphertext. You must also supply the encryption algorithm that was used. This // information is required to decrypt the data. // // - If your ciphertext was encrypted under a symmetric encryption KMS key, the // SourceKeyId parameter is optional. KMS can get this information from metadata // that it adds to the symmetric ciphertext blob. This feature adds durability to // your implementation by ensuring that authorized users can decrypt ciphertext // decades after it was encrypted, even if they've lost track of the key ID. // However, specifying the source KMS key is always recommended as a best practice. // When you use the SourceKeyId parameter to specify a KMS key, KMS uses only the // KMS key you specify. If the ciphertext was encrypted under a different KMS key, // the ReEncrypt operation fails. This practice ensures that you use the KMS key // that you intend. // // - To reencrypt the data, you must use the DestinationKeyId parameter to // specify the KMS key that re-encrypts the data after it is decrypted. If the // destination KMS key is an asymmetric KMS key, you must also provide the // encryption algorithm. The algorithm that you choose must be compatible with the // KMS key. // // When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to // // record the KMS key and encryption algorithm that you choose. You will be // required to provide the same KMS key and encryption algorithm when you decrypt // the data. If the KMS key and algorithm do not match the values used to encrypt // the data, the decrypt operation fails. // // You are not required to supply the key ID and encryption algorithm when you // // decrypt with symmetric encryption KMS keys because KMS stores this information // in the ciphertext blob. KMS cannot store metadata in ciphertext generated with // asymmetric keys. The standard format for asymmetric key ciphertext does not // include configurable fields. // // The KMS key that you use for this operation must be in a compatible key state. // For details, see [Key states of KMS keys]in the Key Management Service Developer Guide. // // Cross-account use: Yes. The source KMS key and destination KMS key can be in // different Amazon Web Services accounts. Either or both KMS keys can be in a // different account than the caller. To specify a KMS key in a different account, // you must use its key ARN or alias ARN. // // Required permissions: // // [kms:ReEncryptFrom] // - permission on the source KMS key (key policy) // // [kms:ReEncryptTo] // - permission on the destination KMS key (key policy) // // To permit reencryption from or to a KMS key, include the "kms:ReEncrypt*" // permission in your [key policy]. This permission is automatically included in the key // policy when you use the console to create a KMS key. But you must include it // manually when you create a KMS key programmatically or when you use the PutKeyPolicy // operation to set a key policy. // // Related operations: // // # Decrypt // // # Encrypt // // # GenerateDataKey // // # GenerateDataKeyPair // // Eventual consistency: The KMS API follows an eventual consistency model. For // more information, see [KMS eventual consistency]. // // [Amazon Web Services Encryption SDK]: path_to_url // [Key states of KMS keys]: path_to_url // [asymmetric KMS key]: path_to_url#asymmetric-cmks // [key policy]: path_to_url // [Amazon S3 client-side encryption]: path_to_url // [kms:ReEncryptTo]: path_to_url // [encryption context]: path_to_url#encrypt_context // [manually rotate]: path_to_url#rotate-keys-manually // [kms:ReEncryptFrom]: path_to_url // [KMS eventual consistency]: path_to_url func (c *Client) ReEncrypt(ctx context.Context, params *ReEncryptInput, optFns ...func(*Options)) (*ReEncryptOutput, error) { if params == nil { params = &ReEncryptInput{} } result, metadata, err := c.invokeOperation(ctx, "ReEncrypt", params, optFns, c.addOperationReEncryptMiddlewares) if err != nil { return nil, err } out := result.(*ReEncryptOutput) out.ResultMetadata = metadata return out, nil } type ReEncryptInput struct { // Ciphertext of the data to reencrypt. // // This member is required. CiphertextBlob []byte // A unique identifier for the KMS key that is used to reencrypt the data. Specify // a symmetric encryption KMS key or an asymmetric KMS key with a KeyUsage value // of ENCRYPT_DECRYPT . To find the KeyUsage value of a KMS key, use the DescribeKey // operation. // // To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When // using an alias name, prefix it with "alias/" . To specify a KMS key in a // different Amazon Web Services account, you must use the key ARN or alias ARN. // // For example: // // - Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // - Key ARN: // arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab // // - Alias name: alias/ExampleAlias // // - Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias // // To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey. To get the alias name // and alias ARN, use ListAliases. // // This member is required. DestinationKeyId *string // Specifies the encryption algorithm that KMS will use to reecrypt the data after // it has decrypted it. The default value, SYMMETRIC_DEFAULT , represents the // encryption algorithm used for symmetric encryption KMS keys. // // This parameter is required only when the destination KMS key is an asymmetric // KMS key. DestinationEncryptionAlgorithm types.EncryptionAlgorithmSpec // Specifies that encryption context to use when the reencrypting the data. // // Do not include confidential or sensitive information in this field. This field // may be displayed in plaintext in CloudTrail logs and other output. // // A destination encryption context is valid only when the destination KMS key is // a symmetric encryption KMS key. The standard ciphertext format for asymmetric // KMS keys does not include fields for metadata. // // An encryption context is a collection of non-secret key-value pairs that // represent additional authenticated data. When you use an encryption context to // encrypt data, you must specify the same (an exact case-sensitive match) // encryption context to decrypt the data. An encryption context is supported only // on operations with symmetric encryption KMS keys. On operations with symmetric // encryption KMS keys, an encryption context is optional, but it is strongly // recommended. // // For more information, see [Encryption context] in the Key Management Service Developer Guide. // // [Encryption context]: path_to_url#encrypt_context DestinationEncryptionContext map[string]string // Checks if your request will succeed. DryRun is an optional parameter. // // To learn more about how to use this parameter, see [Testing your KMS API calls] in the Key Management // Service Developer Guide. // // [Testing your KMS API calls]: path_to_url DryRun *bool // A list of grant tokens. // // Use a grant token when your permission to call this operation comes from a new // grant that has not yet achieved eventual consistency. For more information, see [Grant token] // and [Using a grant token]in the Key Management Service Developer Guide. // // [Grant token]: path_to_url#grant_token // [Using a grant token]: path_to_url#using-grant-token GrantTokens []string // Specifies the encryption algorithm that KMS will use to decrypt the ciphertext // before it is reencrypted. The default value, SYMMETRIC_DEFAULT , represents the // algorithm used for symmetric encryption KMS keys. // // Specify the same algorithm that was used to encrypt the ciphertext. If you // specify a different algorithm, the decrypt attempt fails. // // This parameter is required only when the ciphertext was encrypted under an // asymmetric KMS key. SourceEncryptionAlgorithm types.EncryptionAlgorithmSpec // Specifies the encryption context to use to decrypt the ciphertext. Enter the // same encryption context that was used to encrypt the ciphertext. // // An encryption context is a collection of non-secret key-value pairs that // represent additional authenticated data. When you use an encryption context to // encrypt data, you must specify the same (an exact case-sensitive match) // encryption context to decrypt the data. An encryption context is supported only // on operations with symmetric encryption KMS keys. On operations with symmetric // encryption KMS keys, an encryption context is optional, but it is strongly // recommended. // // For more information, see [Encryption context] in the Key Management Service Developer Guide. // // [Encryption context]: path_to_url#encrypt_context SourceEncryptionContext map[string]string // Specifies the KMS key that KMS will use to decrypt the ciphertext before it is // re-encrypted. // // Enter a key ID of the KMS key that was used to encrypt the ciphertext. If you // identify a different KMS key, the ReEncrypt operation throws an // IncorrectKeyException . // // This parameter is required only when the ciphertext was encrypted under an // asymmetric KMS key. If you used a symmetric encryption KMS key, KMS can get the // KMS key from metadata that it adds to the symmetric ciphertext blob. However, it // is always recommended as a best practice. This practice ensures that you use the // KMS key that you intend. // // To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When // using an alias name, prefix it with "alias/" . To specify a KMS key in a // different Amazon Web Services account, you must use the key ARN or alias ARN. // // For example: // // - Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // - Key ARN: // arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab // // - Alias name: alias/ExampleAlias // // - Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias // // To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey. To get the alias name // and alias ARN, use ListAliases. SourceKeyId *string noSmithyDocumentSerde } type ReEncryptOutput struct { // The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, // the value is Base64-encoded. Otherwise, it is not Base64-encoded. CiphertextBlob []byte // The encryption algorithm that was used to reencrypt the data. DestinationEncryptionAlgorithm types.EncryptionAlgorithmSpec // The Amazon Resource Name ([key ARN] ) of the KMS key that was used to reencrypt the data. // // [key ARN]: path_to_url#key-id-key-ARN KeyId *string // The encryption algorithm that was used to decrypt the ciphertext before it was // reencrypted. SourceEncryptionAlgorithm types.EncryptionAlgorithmSpec // Unique identifier of the KMS key used to originally encrypt the data. SourceKeyId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata noSmithyDocumentSerde } func (c *Client) addOperationReEncryptMiddlewares(stack *middleware.Stack, options Options) (err error) { if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { return err } err = stack.Serialize.Add(&awsAwsjson11_serializeOpReEncrypt{}, middleware.After) if err != nil { return err } err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpReEncrypt{}, middleware.After) if err != nil { return err } if err := addProtocolFinalizerMiddlewares(stack, options, "ReEncrypt"); err != nil { return fmt.Errorf("add protocol finalizers: %v", err) } if err = addlegacyEndpointContextSetter(stack, options); err != nil { return err } if err = addSetLoggerMiddleware(stack, options); err != nil { return err } if err = addClientRequestID(stack); err != nil { return err } if err = addComputeContentLength(stack); err != nil { return err } if err = addResolveEndpointMiddleware(stack, options); err != nil { return err } if err = addComputePayloadSHA256(stack); err != nil { return err } if err = addRetry(stack, options); err != nil { return err } if err = addRawResponseToMetadata(stack); err != nil { return err } if err = addRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack, options); err != nil { return err } if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { return err } if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { return err } if err = addTimeOffsetBuild(stack, c); err != nil { return err } if err = addUserAgentRetryMode(stack, options); err != nil { return err } if err = addOpReEncryptValidationMiddleware(stack); err != nil { return err } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReEncrypt(options.Region), middleware.Before); err != nil { return err } if err = addRecursionDetection(stack); err != nil { return err } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } if err = addResponseErrorMiddleware(stack); err != nil { return err } if err = addRequestResponseLogging(stack, options); err != nil { return err } if err = addDisableHTTPSMiddleware(stack, options); err != nil { return err } return nil } func newServiceMetadataMiddleware_opReEncrypt(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, ServiceID: ServiceID, OperationName: "ReEncrypt", } } ```
Fast Grants is an American charity that provides funding for scientific research. The project was created in response to the COVID-19 pandemic to provide quick funding to scientists working on research projects that could help with the pandemic. History The project was launched in April 2020 by Tyler Cowen, an economics professor at George Mason University; Patrick Collison, co-founder of online payment processing platform Stripe; and Patrick Hsu, a bioengineer at the University of California. Support The project is supported by donations from Arnold Ventures, The Audacious Project, The Chan Zuckerberg Initiative, John Collison, Patrick Collison, Crankstart, Jack Dorsey, Kim and Scott Farquhar, Paul Graham, Reid Hoffman, Fiona McKean and Tobias Lütke, Yuri and Julia Milner, Elon Musk, Chris and Crystal Sacca, Schmidt Futures, and others. Grants Fast Grants provides funding between $10,000 and $500,000. The charity says they respond to applications within two days, and will also fund researchers outside the United States. As of April 2021, Fast Grants has awarded 250 grants totaling more than $50 million to researchers working on COVID-19 related projects, including testing, clinical work, surveillance, virology, drug development and trials, and PPE. Fast Grants provided initial funding for SalivaDirect, the saliva test used in the NBA “bubble” in Orlando during the 2020 season. Other notable grant recipients include Addgene, the Center for Open Science, Susan Athey, Carolyn Bertozzi, Catherine Blish, Pamela Bjorkman, Susan Daniel, Barbara Engelhardt, Laura Esserman, Judith Frydman, Amy Gladfelter, Eva Harris, Akiko Iwasaki, Kevin Kain, Yoshihiro Kawaoka, Nevan Krogan, Ronald Levy, Allison McGeer, Miriam Merad, Keith Mostov, Mihai Netea, Daniel Nomura, Melanie Ott, Bradley Pentelute, Rosalind Picard, Hidde Ploegh, Angela Rasmussen, Erica Ollmann Saphire, Katherine Seley-Radtke, Erec Stebbins, Alice Ting, Alain Townsend, David Veesler, Bert Vogelstein, Tania Watts, and Qian Zhang. As of January 2022, new Fast Grants applications have been paused due to lack of additional funding. References Charities based in the United States Organizations established for the COVID-19 pandemic Charitable activities related to the COVID-19 pandemic
Olivia Langdon Clemens (November 27, 1845 – June 5, 1904) was the wife of the American author Samuel Langhorne Clemens, better known under his pen name Mark Twain. Early life Olivia Langdon was born in 1845 in Elmira, New York, to Jervis Langdon and Olivia Lewis Langdon. Her childhood home from 1847 to 1862 was the building at what is now 413 Lake Street. Jervis was a very wealthy coal businessman. The family was religious, reformist, and abolitionist. Olivia, called Livy, was educated by a combination of home tutoring and classes at Thurston's Female Seminary and Elmira Female College. Her health was poor. She was an invalid for part of her teenage years (about six years), and she suffered from what was probably tuberculosis myelitis or Pott's disease. She continued to have health problems throughout her life. Courtship and wedding Langdon met Samuel Clemens in December 1867, through her brother Charles, then a passenger aboard Clemens's riverboat. Clemens later claimed to have fallen in love at first sight with Olivia based solely on her photograph. On their first date they attended a reading by Charles Dickens, in New York City. Clemens, ten years older than Olivia, courted her throughout 1868, mainly by letter. She rejected his first proposal of marriage, but they became engaged two months later, in November 1868. Clemens was quoted later as saying, "I do believe that young filly has broken my heart. That only leaves me with one option, for her to mend it." The engagement was announced in February 1869, and in February 1870, they were married. The wedding was in Elmira, and the ceremony was performed by the Congregational ministers Joseph Twichell and Thomas K. Beecher. Life after wedding Olivia and Samuel moved to Buffalo, New York, where they lived in a house purchased for them by Olivia's father, Jervis Langdon. Life was difficult for them at first. Jervis died of cancer in August, followed a month later by Olivia's friend Emma Nye, who died in the Clemens' home. Their first child, Langdon Clemens, was born in November but was premature. Olivia contracted typhoid fever and became very ill. The Clemens family then moved to Elmira, so that Olivia's family could watch over her and Langdon. In 1871, the family moved again, to Hartford, Connecticut, where they rented a large house in the Nook Farm neighborhood and quickly became important members of the social and literary scene there. They were well off due to Samuel Clemens' earnings from his books and lectures, and Olivia's inheritance, and they lived lavishly. In 1874, they moved into a distinctive house they had had built on land they had purchased; they lived there until 1891. Langdon, their son, died in 1872, a year and a half after his birth. Three daughters were born: Olivia Susan (called "Susy") in 1872, Clara in 1874, and Jean (called "Jane") in 1880. The family left for Europe in 1891 and lived there for four years. This was mainly prompted by financial need—Samuel's investments in a publishing company and the Paige Compositor lost money, and the family's expenses were catching up with them. They permanently closed up the Hartford house and spent the four years in various temporary accommodations. In 1894, Samuel was forced to declare bankruptcy. Olivia was given "preferred creditor" status, and all Samuel's copyrights were assigned to her. These measures saved the family's financial future. Olivia helped her husband with the editing of his books, articles, and lectures. She was a "faithful, judicious, and painstaking editor", Clemens wrote. This was one of the things that Livy had on her list of things to do, and she prided herself in helping her husband to edit these works. However, she could be critical of him at times. She continued to help her husband to edit works up until a few months before her death. Olivia was also a proponent of women's rights, and surrounded herself with influential women including Julia Beecher and Isabella Beecher Hooker. In 1895 and 1896, Olivia and her daughter, Clara, accompanied Samuel on his around-the-world lecture tour, which he undertook to pay off his debts. In 1896, their daughter Susy, who had remained at home in the US, died of spinal meningitis at age 24, a devastating blow to both Olivia and her husband. The family lived in Switzerland, Austria, and England until 1902. Other places the Clemenses lived included Sweden, Germany, France, and Italy. They then returned to the United States, lived in Riverdale, New York, and arranged to move into a house in Tarrytown, New York. Olivia's health began worsening and, advised to keep a distance from her husband in order to keep from getting overexcited, went months without seeing him. However, Twain frequently broke the rule and secretly saw her in order to exchange love letters and kisses. By the end of 1903, doctors' advice led the Clemens family to move to Italy for the warm climate where they resided in a rented villa outside of Florence. But scarcely six months later, on June 5 1904, Olivia died in Florence from heart failure. She was cremated, and her ashes are interred at Woodlawn Cemetery in Elmira. Twain, who was devastated by her death, died in 1910; he is interred beside her. Legacy Mrs. Clemens was one of the founders of the Hartford Art School which later became part of the University of Hartford. A bronze statue of Mrs. Clemens stands on the campus of Elmira College. The statue, by Gary Weisman of Newfield, New York, was a gift of the Class of 2008. A fictionalized version of Olivia appears in The Fabulous Riverboat, the second book in Philip Jose Farmer's Riverworld series. References External links Olivia Langdon Clemens ALS to Publisher Walter Bliss, 1898 Shapell Manuscript Foundation Biography of Olivia at Mark Twain Project Online Information on Olivia at Twaintimes.net 1845 births 1904 deaths Olivia Langdon People from Elmira, New York Elmira College alumni University of Hartford people Burials at Woodlawn Cemetery (Elmira, New York) 19th-century American women
```java /* * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. * * * 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 * */ package org.quartz.utils; import java.sql.Connection; import java.sql.SQLException; /** * Implementations of this interface used by <code>DBConnectionManager</code> * to provide connections from various sources. * * @see DBConnectionManager * @see PoolingConnectionProvider * @see JNDIConnectionProvider * * @author Mohammad Rezaei */ public interface ConnectionProvider { /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Interface. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /** * @return connection managed by this provider * @throws SQLException */ Connection getConnection() throws SQLException; void shutdown() throws SQLException; void initialize() throws SQLException; } ```
```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 com.haulmont.cuba.core.global; import org.springframework.context.ApplicationEvent; import org.springframework.context.ApplicationEventPublisher; /** * Interface that encapsulates application-scope event publication functionality. * Simple facade for {@link ApplicationEventPublisher}. */ public interface Events { String NAME = "cuba_Events"; /** * Defines the highest precedence for {@link org.springframework.core.Ordered} or * {@link org.springframework.core.annotation.Order} listeners added by the platform. */ int HIGHEST_PLATFORM_PRECEDENCE = 100; /** * Defines the lowest precedence for {@link org.springframework.core.Ordered} or * {@link org.springframework.core.annotation.Order} listeners added by the platform. */ int LOWEST_PLATFORM_PRECEDENCE = 1000; /** * Notify all <strong>matching</strong> listeners registered with this application of an application event. * Events may be framework events (such as RequestHandledEvent) or application-specific events. * <p> * You can use {@link org.springframework.context.PayloadApplicationEvent} to publish any object as an event. * * @param event the event to publish * @see org.springframework.web.context.support.RequestHandledEvent */ void publish(ApplicationEvent event); } ```
Hesycha microphthalma is a species of beetle in the family Cerambycidae. It was described by Martins and Galileo in 1990. It is known from Brazil. References Onciderini Beetles described in 1990
Hammes is a surname. Notable people with the surname include: Charles Léon Hammes (1898–1967), Luxembourgian lawyer, judge and the third President of the European Court of Justice Ernie Hammes (born 1968), Luxembourg trumpeter who specializes in jazz but also plays classical music George Albert Hammes (1911–1993), the eighth Roman Catholic Bishop of the Diocese of Superior, Wisconsin from 1960 to 1985 Gordon Hammes (born 1934), emeritus professor of biochemistry at Duke University and member of the United States National Academy of Sciences Hammes Company (or Hammes Co.), healthcare consulting firm Liselotte Hammes (born 1933), German operatic soprano and academic voice teacher Thomas Hammes, retired U.S. Marine officer and specialist in counter-insurgency warfare See also Hommes
AREIT may be referred to: Australian real estate investment trust (A-REIT) AREIT, Inc. A Philippine REIT company
```java /* */ package com.microsoft.sqlserver.jdbc; import java.text.MessageFormat; import java.util.concurrent.ConcurrentHashMap; /** * Maintain list of all the encryption algorithm factory classes */ final class SQLServerEncryptionAlgorithmFactoryList { private ConcurrentHashMap<String, SQLServerEncryptionAlgorithmFactory> encryptionAlgoFactoryMap; private static final SQLServerEncryptionAlgorithmFactoryList instance = new SQLServerEncryptionAlgorithmFactoryList(); private SQLServerEncryptionAlgorithmFactoryList() { encryptionAlgoFactoryMap = new ConcurrentHashMap<>(); encryptionAlgoFactoryMap.putIfAbsent(SQLServerAeadAes256CbcHmac256Algorithm.AEAD_AES_256_CBC_HMAC_SHA256, new SQLServerAeadAes256CbcHmac256Factory()); } static SQLServerEncryptionAlgorithmFactoryList getInstance() { return instance; } /** * @return list of registered algorithms separated by comma */ String getRegisteredCipherAlgorithmNames() { StringBuffer stringBuff = new StringBuffer(); boolean first = true; for (String key : encryptionAlgoFactoryMap.keySet()) { if (first) { stringBuff.append("'"); first = false; } else { stringBuff.append(", '"); } stringBuff.append(key); stringBuff.append("'"); } return stringBuff.toString(); } /** * Return instance for given algorithm * * @param key * @param encryptionType * @param algorithmName * @return instance for given algorithm * @throws SQLServerException */ SQLServerEncryptionAlgorithm getAlgorithm(SQLServerSymmetricKey key, SQLServerEncryptionType encryptionType, String algorithmName) throws SQLServerException { SQLServerEncryptionAlgorithm encryptionAlgorithm = null; SQLServerEncryptionAlgorithmFactory factory = null; if (!encryptionAlgoFactoryMap.containsKey(algorithmName)) { MessageFormat form = new MessageFormat( SQLServerException.getErrString("R_UnknownColumnEncryptionAlgorithm")); Object[] msgArgs = {algorithmName, SQLServerEncryptionAlgorithmFactoryList.getInstance().getRegisteredCipherAlgorithmNames()}; throw new SQLServerException(this, form.format(msgArgs), null, 0, false); } factory = encryptionAlgoFactoryMap.get(algorithmName); assert null != factory : "Null Algorithm Factory class detected"; encryptionAlgorithm = factory.create(key, encryptionType, algorithmName); return encryptionAlgorithm; } } ```
```objective-c #pragma once #include "fast_access_feed_view.h" #include <vespa/searchcore/proton/attribute/i_attribute_writer.h> #include <vespa/searchcore/proton/index/i_index_writer.h> namespace proton { /** * The feed view used by the searchable sub database. * * Handles inserting/updating/removing of documents to the underlying attributes, * memory index and document store. */ class SearchableFeedView : public FastAccessFeedView { using Parent = FastAccessFeedView; public: using UP = std::unique_ptr<SearchableFeedView>; using SP = std::shared_ptr<SearchableFeedView>; struct Context { const IIndexWriter::SP &_indexWriter; Context(const IIndexWriter::SP &indexWriter); ~Context(); }; private: const IIndexWriter::SP _indexWriter; const bool _hasIndexedFields; bool hasIndexedFields() const { return _hasIndexedFields; } void performIndexPut(SerialNum serialNum, search::DocumentIdT lid, const Document &doc, OnOperationDoneType onWriteDone); void performIndexPut(SerialNum serialNum, search::DocumentIdT lid, const DocumentSP &doc, OnOperationDoneType onWriteDone); void performIndexPut(SerialNum serialNum, search::DocumentIdT lid, FutureDoc doc, OnOperationDoneType onWriteDone); void performIndexRemove(SerialNum serialNum, search::DocumentIdT lid, OnRemoveDoneType onWriteDone); void performIndexRemove(SerialNum serialNum, const LidVector &lidsToRemove, OnWriteDoneType onWriteDone); void performIndexHeartBeat(SerialNum serialNum); void internalDeleteBucket(const DeleteBucketOperation &delOp, DoneCallback onDone) override; void heartBeatIndexedFields(SerialNum serialNum, DoneCallback onDone) override; void putIndexedFields(SerialNum serialNum, search::DocumentIdT lid, const DocumentSP &newDoc, OnOperationDoneType onWriteDone) override; void updateIndexedFields(SerialNum serialNum, search::DocumentIdT lid, FutureDoc newDoc, OnOperationDoneType onWriteDone) override; void removeIndexedFields(SerialNum serialNum, search::DocumentIdT lid, OnRemoveDoneType onWriteDone) override; void removeIndexedFields(SerialNum serialNum, const LidVector &lidsToRemove, OnWriteDoneType onWriteDone) override; void performIndexForceCommit(SerialNum serialNum, OnForceCommitDoneType onCommitDone); void internalForceCommit(const CommitParam & param, OnForceCommitDoneType onCommitDone) override; public: SearchableFeedView(StoreOnlyFeedView::Context storeOnlyCtx, const PersistentParams &params, const FastAccessFeedView::Context &fastUpdateCtx, Context ctx); ~SearchableFeedView() override; const IIndexWriter::SP &getIndexWriter() const { return _indexWriter; } void handleCompactLidSpace(const CompactLidSpaceOperation &op, DoneCallback onDone) override; }; } // namespace proton ```
```c++ // Boilerplate support routines for -*- C++ -*- dynamic memory management. // // This file is part of GCC. // // GCC is free software; you can redistribute it and/or modify // the Free Software Foundation; either version 2, or (at your option) // any later version. // // GCC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // along with GCC; see the file COPYING. If not, write to // the Free Software Foundation, 51 Franklin Street, Fifth Floor, // Boston, MA 02110-1301, USA. // // As a special exception, you may use this file as part of a free software // library without restriction. Specifically, if other files instantiate // templates or use macros or inline functions from this file, or you compile // this file and link it with other files to produce an executable, this // file does not by itself cause the resulting executable to be covered by // invalidate any other reasons why the executable file might be covered by #include <bits/c++config.h> #include "new" #if _GLIBCXX_HOSTED #include <cstdlib> #endif #if _GLIBCXX_HOSTED using std::free; #else // A freestanding C runtime may not provide "free" -- but there is no // other reasonable way to implement "operator delete". extern "C" void free(void *); #endif _GLIBCXX_WEAK_DEFINITION void operator delete (void *ptr) throw () { if (ptr) free (ptr); } ```
```python """ Unit tests for projects.py. """ import datetime import boto3 from botocore.exceptions import ClientError import pytest from hello import Hello @pytest.mark.parametrize( "error_code,stop_on_method", [(None, None), ("TestException", "stub_list_projects")] ) def test_hello(make_stubber, stub_runner, error_code, stop_on_method): lookoutvision_client = boto3.client("lookoutvision") lookoutvision_stubber = make_stubber(lookoutvision_client) project_name = "test-project" project_arn = "test-arn" created = datetime.datetime.now() model_version = "test-model" dataset = {"DatasetType": "testing", "StatusMessage": "nicely tested"} with stub_runner(error_code, stop_on_method) as runner: runner.add( lookoutvision_stubber.stub_list_projects, [project_name], [{"arn": project_arn, "created": created}], ) if error_code is None: Hello.list_projects(lookoutvision_client) else: with pytest.raises(ClientError) as exc_info: Hello.list_projects(lookoutvision_client) assert exc_info.value.response["Error"]["Code"] == error_code ```
```c++ // 2016 and later: Unicode, Inc. and others. /* ******************************************************************************** * Corporation and others. All Rights Reserved. ******************************************************************************** * * File WINDTFMT.CPP * ******************************************************************************** */ #include "unicode/utypes.h" #if U_PLATFORM_USES_ONLY_WIN32_API #if !UCONFIG_NO_FORMATTING #include "unicode/ures.h" #include "unicode/format.h" #include "unicode/fmtable.h" #include "unicode/datefmt.h" #include "unicode/simpleformatter.h" #include "unicode/calendar.h" #include "unicode/gregocal.h" #include "unicode/locid.h" #include "unicode/unistr.h" #include "unicode/ustring.h" #include "unicode/timezone.h" #include "unicode/utmscale.h" #include "cmemory.h" #include "uresimp.h" #include "windtfmt.h" #include "wintzimpl.h" #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif # define VC_EXTRALEAN # define NOUSER # define NOSERVICE # define NOIME # define NOMCX #include <windows.h> U_NAMESPACE_BEGIN UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Win32DateFormat) #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) #define DELETE_ARRAY(array) uprv_free((void *) (array)) #define STACK_BUFFER_SIZE 64 UnicodeString* Win32DateFormat::getTimeDateFormat(const Calendar *cal, const Locale *locale, UErrorCode &status) const { UnicodeString *result = NULL; const char *type = cal->getType(); const char *base = locale->getBaseName(); UResourceBundle *topBundle = ures_open((char *) 0, base, &status); UResourceBundle *calBundle = ures_getByKey(topBundle, "calendar", NULL, &status); UResourceBundle *typBundle = ures_getByKeyWithFallback(calBundle, type, NULL, &status); UResourceBundle *patBundle = ures_getByKeyWithFallback(typBundle, "DateTimePatterns", NULL, &status); if (status == U_MISSING_RESOURCE_ERROR) { status = U_ZERO_ERROR; typBundle = ures_getByKeyWithFallback(calBundle, "gregorian", typBundle, &status); patBundle = ures_getByKeyWithFallback(typBundle, "DateTimePatterns", patBundle, &status); } if (U_FAILURE(status)) { static const UChar defaultPattern[] = {0x007B, 0x0031, 0x007D, 0x0020, 0x007B, 0x0030, 0x007D, 0x0000}; // "{1} {0}" return new UnicodeString(defaultPattern, UPRV_LENGTHOF(defaultPattern)); } int32_t resStrLen = 0; int32_t glueIndex = DateFormat::kDateTime; int32_t patSize = ures_getSize(patBundle); if (patSize >= (DateFormat::kDateTimeOffset + DateFormat::kShort + 1)) { // Get proper date time format glueIndex = (int32_t)(DateFormat::kDateTimeOffset + (fDateStyle - DateFormat::kDateOffset)); } const UChar *resStr = ures_getStringByIndex(patBundle, glueIndex, &resStrLen, &status); result = new UnicodeString(TRUE, resStr, resStrLen); ures_close(patBundle); ures_close(typBundle); ures_close(calBundle); ures_close(topBundle); return result; } // TODO: This is copied in both winnmfmt.cpp and windtfmt.cpp, but really should // be factored out into a common helper for both. static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) { UErrorCode status = U_ZERO_ERROR; char asciiBCP47Tag[LOCALE_NAME_MAX_LENGTH] = {}; // Convert from names like "en_CA" and "de_DE@collation=phonebook" to "en-CA" and "de-DE-u-co-phonebk". (void)uloc_toLanguageTag(locale.getName(), asciiBCP47Tag, UPRV_LENGTHOF(asciiBCP47Tag), FALSE, &status); if (U_SUCCESS(status)) { // Need it to be UTF-16, not 8-bit // TODO: This seems like a good thing for a helper wchar_t bcp47Tag[LOCALE_NAME_MAX_LENGTH] = {}; int32_t i; for (i = 0; i < UPRV_LENGTHOF(bcp47Tag); i++) { if (asciiBCP47Tag[i] == '\0') { break; } else { // normally just copy the character bcp47Tag[i] = static_cast<wchar_t>(asciiBCP47Tag[i]); } } // Ensure it's null terminated if (i < (UPRV_LENGTHOF(bcp47Tag) - 1)) { bcp47Tag[i] = L'\0'; } else { // Ran out of room. bcp47Tag[UPRV_LENGTHOF(bcp47Tag) - 1] = L'\0'; } wchar_t windowsLocaleName[LOCALE_NAME_MAX_LENGTH] = {}; // Note: On Windows versions below 10, there is no support for locale name aliases. // This means that it will fail for locales where ICU has a completely different // name (like ku vs ckb), and it will also not work for alternate sort locale // names like "de-DE-u-co-phonebk". // TODO: We could add some sort of exception table for cases like ku vs ckb. int length = ResolveLocaleName(bcp47Tag, windowsLocaleName, UPRV_LENGTHOF(windowsLocaleName)); if (length > 0) { *buffer = new UnicodeString(windowsLocaleName); } else { status = U_UNSUPPORTED_ERROR; } } return status; } // TODO: Range-check timeStyle, dateStyle Win32DateFormat::Win32DateFormat(DateFormat::EStyle timeStyle, DateFormat::EStyle dateStyle, const Locale &locale, UErrorCode &status) : DateFormat(), fDateTimeMsg(NULL), fTimeStyle(timeStyle), fDateStyle(dateStyle), fLocale(locale), fZoneID(), fWindowsLocaleName(nullptr) { if (U_SUCCESS(status)) { GetEquivalentWindowsLocaleName(locale, &fWindowsLocaleName); // Note: In the previous code, it would look up the LCID for the locale, and if // the locale was not recognized then it would get an LCID of 0, which is a // synonym for LOCALE_USER_DEFAULT on Windows. // If the above method fails, then fWindowsLocaleName will remain as nullptr, and // then we will pass nullptr to API GetLocaleInfoEx, which is the same as passing // LOCALE_USER_DEFAULT. fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); uprv_memset(fTZI, 0, sizeof(TIME_ZONE_INFORMATION)); adoptCalendar(Calendar::createInstance(locale, status)); } } Win32DateFormat::Win32DateFormat(const Win32DateFormat &other) : DateFormat(other) { *this = other; } Win32DateFormat::~Win32DateFormat() { // delete fCalendar; uprv_free(fTZI); delete fDateTimeMsg; delete fWindowsLocaleName; } Win32DateFormat &Win32DateFormat::operator=(const Win32DateFormat &other) { // The following handles fCalendar DateFormat::operator=(other); // delete fCalendar; this->fDateTimeMsg = other.fDateTimeMsg == NULL ? NULL : new UnicodeString(*other.fDateTimeMsg); this->fTimeStyle = other.fTimeStyle; this->fDateStyle = other.fDateStyle; this->fLocale = other.fLocale; // this->fCalendar = other.fCalendar->clone(); this->fZoneID = other.fZoneID; this->fTZI = NEW_ARRAY(TIME_ZONE_INFORMATION, 1); *this->fTZI = *other.fTZI; this->fWindowsLocaleName = other.fWindowsLocaleName == NULL ? NULL : new UnicodeString(*other.fWindowsLocaleName); return *this; } Win32DateFormat *Win32DateFormat::clone() const { return new Win32DateFormat(*this); } // TODO: Is just ignoring pos the right thing? UnicodeString &Win32DateFormat::format(Calendar &cal, UnicodeString &appendTo, FieldPosition & /* pos */) const { FILETIME ft; SYSTEMTIME st_gmt; SYSTEMTIME st_local; TIME_ZONE_INFORMATION tzi = *fTZI; UErrorCode status = U_ZERO_ERROR; const TimeZone &tz = cal.getTimeZone(); int64_t uct, uft; setTimeZoneInfo(&tzi, tz); uct = utmscale_fromInt64((int64_t) cal.getTime(status), UDTS_ICU4C_TIME, &status); uft = utmscale_toInt64(uct, UDTS_WINDOWS_FILE_TIME, &status); ft.dwLowDateTime = (DWORD) (uft & 0xFFFFFFFF); ft.dwHighDateTime = (DWORD) ((uft >> 32) & 0xFFFFFFFF); FileTimeToSystemTime(&ft, &st_gmt); SystemTimeToTzSpecificLocalTime(&tzi, &st_gmt, &st_local); if (fDateStyle != DateFormat::kNone && fTimeStyle != DateFormat::kNone) { UnicodeString date; UnicodeString time; UnicodeString *pattern = fDateTimeMsg; formatDate(&st_local, date); formatTime(&st_local, time); if (strcmp(fCalendar->getType(), cal.getType()) != 0) { pattern = getTimeDateFormat(&cal, &fLocale, status); } SimpleFormatter(*pattern, 2, 2, status).format(time, date, appendTo, status); } else if (fDateStyle != DateFormat::kNone) { formatDate(&st_local, appendTo); } else if (fTimeStyle != DateFormat::kNone) { formatTime(&st_local, appendTo); } return appendTo; } void Win32DateFormat::parse(const UnicodeString& /* text */, Calendar& /* cal */, ParsePosition& pos) const { pos.setErrorIndex(pos.getIndex()); } void Win32DateFormat::adoptCalendar(Calendar *newCalendar) { if (fCalendar == NULL || strcmp(fCalendar->getType(), newCalendar->getType()) != 0) { UErrorCode status = U_ZERO_ERROR; if (fDateStyle != DateFormat::kNone && fTimeStyle != DateFormat::kNone) { delete fDateTimeMsg; fDateTimeMsg = getTimeDateFormat(newCalendar, &fLocale, status); } } delete fCalendar; fCalendar = newCalendar; fZoneID = setTimeZoneInfo(fTZI, fCalendar->getTimeZone()); } void Win32DateFormat::setCalendar(const Calendar &newCalendar) { adoptCalendar(newCalendar.clone()); } void Win32DateFormat::adoptTimeZone(TimeZone *zoneToAdopt) { fZoneID = setTimeZoneInfo(fTZI, *zoneToAdopt); fCalendar->adoptTimeZone(zoneToAdopt); } void Win32DateFormat::setTimeZone(const TimeZone& zone) { fZoneID = setTimeZoneInfo(fTZI, zone); fCalendar->setTimeZone(zone); } static const DWORD dfFlags[] = {DATE_LONGDATE, DATE_LONGDATE, DATE_SHORTDATE, DATE_SHORTDATE}; void Win32DateFormat::formatDate(const SYSTEMTIME *st, UnicodeString &appendTo) const { int result=0; wchar_t stackBuffer[STACK_BUFFER_SIZE]; wchar_t *buffer = stackBuffer; const wchar_t *localeName = nullptr; if (fWindowsLocaleName != nullptr) { localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); } result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); if (result == 0) { if (GetLastError() == ERROR_INSUFFICIENT_BUFFER) { int newLength = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, NULL, 0, NULL); buffer = NEW_ARRAY(wchar_t, newLength); GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); } } appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); if (buffer != stackBuffer) { DELETE_ARRAY(buffer); } } static const DWORD tfFlags[] = {0, 0, 0, TIME_NOSECONDS}; void Win32DateFormat::formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const { int result; wchar_t stackBuffer[STACK_BUFFER_SIZE]; wchar_t *buffer = stackBuffer; const wchar_t *localeName = nullptr; if (fWindowsLocaleName != nullptr) { localeName = reinterpret_cast<const wchar_t*>(toOldUCharPtr(fWindowsLocaleName->getTerminatedBuffer())); } result = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, STACK_BUFFER_SIZE); if (result == 0) { if (GetLastError() == ERROR_INSUFFICIENT_BUFFER) { int newLength = GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, NULL, 0); buffer = NEW_ARRAY(wchar_t, newLength); GetTimeFormatEx(localeName, tfFlags[fTimeStyle], st, NULL, buffer, newLength); } } appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); if (buffer != stackBuffer) { DELETE_ARRAY(buffer); } } UnicodeString Win32DateFormat::setTimeZoneInfo(TIME_ZONE_INFORMATION *tzi, const TimeZone &zone) const { UnicodeString zoneID; zone.getID(zoneID); if (zoneID.compare(fZoneID) != 0) { UnicodeString icuid; zone.getID(icuid); if (! uprv_getWindowsTimeZoneInfo(tzi, icuid.getBuffer(), icuid.length())) { UBool found = FALSE; int32_t ec = TimeZone::countEquivalentIDs(icuid); for (int z = 0; z < ec; z += 1) { UnicodeString equiv = TimeZone::getEquivalentID(icuid, z); found = uprv_getWindowsTimeZoneInfo(tzi, equiv.getBuffer(), equiv.length()); if (found) { break; } } if (! found) { GetTimeZoneInformation(tzi); } } } return zoneID; } U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif // U_PLATFORM_USES_ONLY_WIN32_API ```
```smalltalk " SUnit tests for ASTProgramNode " Class { #name : 'ASTProgramNodeTest', #superclass : 'RBParseTreeTest', #instVars : [ 'node' ], #category : 'AST-Core-Tests-Nodes', #package : 'AST-Core-Tests', #tag : 'Nodes' } { #category : 'accessing' } ASTProgramNodeTest class >> packageNamesUnderTest [ ^ #('AST-Core') ] { #category : 'accessing' } ASTProgramNodeTest >> getAllNodesFromAST [ | methodText | methodText := 'toto "First comment" | temp varaibles | "Second comment" assignement := " Third comment " #node. "Fourth comment" message "Fifth comment", ''node''. "Sixth comment" cascade node; nodeux "Seventh comment"; notrois. ^ "return" nil '. ^ RBParser parseMethod: methodText ] { #category : 'accessing' } ASTProgramNodeTest >> getMethodString [ ^'toto "First comment" | temp varaibles | "Second comment" assignement := " Third comment " #node. "Fourth comment" message "Fifth comment", ''node''. "Sixth comment" cascade node; nodeux "Seventh comment"; notrois. ^ "return" nil ' ] { #category : 'accessing' } ASTProgramNodeTest >> node [ ^ node ifNil: [ node := ASTProgramNode new ] ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNode [ | tree treeNode | tree := self parseExpression: '1. 2'. treeNode := tree addNode: (self parseExpression: '3'). self assert: (self parseExpression: '1. 2. 3') equals: tree. self assert: tree statements last equals: treeNode. tree := self parseExpression: '{ 1. 2 }'. treeNode := tree addNode: (self parseExpression: '3'). self assert: (self parseExpression: '{ 1. 2. 3 }') equals: tree. self assert: tree statements last equals: treeNode ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNodeBefore [ | tree treeNode | tree := self parseExpression: '1. 3'. treeNode := tree addNode: (self parseExpression: '2') before: tree statements last. self assert: (self parseExpression: '1. 2. 3') equals: tree. self assert: (tree statements at: 2) equals: treeNode. tree := self parseExpression: '{ 1. 3 }'. treeNode := tree addNode: (self parseExpression: '2') before: tree statements last. self assert: (self parseExpression: '{ 1. 2. 3 }') equals: tree. self assert: (tree statements at: 2) equals: treeNode ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNodeFirst [ | tree treeNode | tree := self parseExpression: '2. 3'. treeNode := tree addNodeFirst: (self parseExpression: '1'). self assert: (self parseExpression: '1. 2. 3') equals: tree. self assert: tree statements first equals: treeNode. tree := self parseExpression: '{ 2. 3 }'. treeNode := tree addNodeFirst: (self parseExpression: '1'). self assert: (self parseExpression: '{ 1. 2. 3 }') equals: tree. self assert: tree statements first equals: treeNode ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNodes [ | tree treeNodes | tree := self parseExpression: '1. 2'. treeNodes := tree addNodes: (self parseExpression: '3. 4') statements. self assert: (self parseExpression: '1. 2. 3. 4') equals: tree. self assert: (tree statements at: 3) equals: treeNodes first. self assert: (tree statements at: 4) equals: treeNodes last. tree := self parseExpression: '{ 1. 2 }'. treeNodes := tree addNodes: (self parseExpression: '3. 4') statements. self assert: (self parseExpression: '{ 1. 2. 3. 4 }') equals: tree. self assert: (tree statements at: 3) equals: treeNodes first. self assert: (tree statements at: 4) equals: treeNodes last ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNodesBefore [ | tree treeNodes | tree := self parseExpression: '1. 4'. treeNodes := tree addNodes: (self parseExpression: '2. 3') statements before: tree statements last. self assert: (self parseExpression: '1. 2. 3. 4') equals: tree. self assert: (tree statements at: 2) equals: treeNodes first. self assert: (tree statements at: 3) equals: treeNodes last. tree := self parseExpression: '{ 1. 4 }'. treeNodes := tree addNodes: (self parseExpression: '2. 3') statements before: tree statements last. self assert: (self parseExpression: '{ 1. 2. 3. 4 }') equals: tree. self assert: (tree statements at: 2) equals: treeNodes first. self assert: (tree statements at: 3) equals: treeNodes last ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddNodesFirst [ | tree treeNodes | tree := self parseExpression: '3. 4'. treeNodes := tree addNodesFirst: (self parseExpression: '1. 2') statements. self assert: (self parseExpression: '1. 2. 3. 4') equals: tree. self assert: (tree statements at: 1) equals: treeNodes first. self assert: (tree statements at: 2) equals: treeNodes last. tree := self parseExpression: '{ 3. 4 }'. treeNodes := tree addNodesFirst: (self parseExpression: '1. 2') statements. self assert: (self parseExpression: '{ 1. 2. 3. 4 }') equals: tree. self assert: (tree statements at: 1) equals: treeNodes first. self assert: (tree statements at: 2) equals: treeNodes last ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddReturn [ | tree return existingReturn lastStatement | tree := self parseExpression: '1. 2'. lastStatement := tree statements last. tree addReturn. return := tree statements last. self assert: return start equals: lastStatement start. self assert: return value equals: lastStatement. self assert: tree statements last equals: return. self assert: (self parseExpression: '1. ^ 2') equals: tree. tree := self parseExpression: '3. ^ 4'. existingReturn := tree statements last. tree addReturn. return := tree statements last. self assert: return identicalTo: existingReturn. self assert: tree statements last equals: return. self assert: (self parseExpression: '3. ^ 4') equals: tree ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddSelfReturn [ | tree return | tree := self parseExpression: '1. 2'. return := tree addSelfReturn. self assert: tree statements last equals: return. self assert: (self parseExpression: '1. 2. ^ self') equals: tree. tree := self parseExpression: '3. ^ 4'. return := tree addSelfReturn. self assert: tree statements last equals: return. self assert: (self parseExpression: '3. ^ 4') equals: tree ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddTemporariesNamed [ | tree variables | tree := self parseExpression: '| a | a'. variables := tree addTemporariesNamed: #('b' 'c'). self assert: variables first isVariable. self assert: variables first name equals: 'b'. self assert: variables second isVariable. self assert: variables second name equals: 'c'. self assert: tree temporaries second equals: variables first. self assert: tree temporaries last equals: variables second ] { #category : 'tests - adding' } ASTProgramNodeTest >> testAddTemporaryNamed [ | tree variable | tree := self parseExpression: '| a | a'. variable := tree addTemporaryNamed: 'b'. self assert: variable isVariable. self assert: variable name equals: 'b'. self assert: tree temporaries last equals: variable ] { #category : 'tests - accessing' } ASTProgramNodeTest >> testAllComments [ "Testing the AST comments objects. I am the first comment to be found in this test" self assert: (ASTProgramNodeTest >> #testAllComments) ast allComments first contents equals: 'Testing the AST comments objects. I am the first comment to be found in this test'. "Next test assumes this comment it's not a string like in #testComments..." self assert: (ASTProgramNodeTest >> #testAllComments) ast allComments second isString equals: false ] { #category : 'tests' } ASTProgramNodeTest >> testAllParents [ "check that we get all parents of a program node" | me parentsOf7 | [ :a | a + 7 ]. me := self class >> #testAllParents. parentsOf7 := (me ast allChildren select: [ :n | n isLiteralNode and: [ n value = 7 ] ]) first allParents. self assert: parentsOf7 last selector equals: #+. self assert: parentsOf7 first equals: me ast ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsAssignment [ | tree | tree := self parserClass parseMethod: 'methodName x := 33'. self assert: tree allStatements size equals: 1 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsBlockWithReturn [ | tree | tree := self parserClass parseMethod: 'methodName ^ [ ^ self ] '. self assert: tree allStatements size equals: 2 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsBlockWithTemps [ | tree | tree := self parserClass parseMethod: 'methodName ^ [ | tmp | tmp := 88 ] '. self assert: tree allStatements size equals: 3 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsDynamicArray [ | tree | tree := self parserClass parseMethod: 'methodName { 1 . self send1 . self send2} '. self assert: tree allStatements size equals: 4 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsReturns [ | tree stats | tree := self parserClass parseMethod: 'methodName ^ self '. stats := tree allStatements. self assert: stats size equals: 1 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsReturnsMultiple [ | tree stats | tree := self parserClass parseMethod: 'methodName 1 ifTrue: [ ^ self ]. ^ self '. stats := tree allStatements. self assert: stats size equals: 3 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsSimpleBlock [ | tree stats | tree := self parserClass parseMethod: 'methodName ^ [ 8 + 4 ] '. stats := tree allStatements. self assert: stats size equals: 2 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsTemps [ | tree stats | tree := self parserClass parseMethod: 'methodName | tmp1 tmp2 | tmp1 + tmp2'. stats := tree allStatements. self assert: stats size equals: 3 ] { #category : 'tests' } ASTProgramNodeTest >> testAllStatementsTwoMessages [ | tree stats | tree := self parserClass parseMethod: 'methodName 1 send1 send2'. stats := tree allStatements. self assert: stats size equals: 1 ] { #category : 'tests' } ASTProgramNodeTest >> testAsDoit [ | source ast ast2 | source := '|a| a + 1. a - 2. a * 3'. ast := self parseExpression: source. self assert: ast isSequence. ast2 := ast asDoit. self assert: ast2 sourceCode equals: source. self assert: ast2 isMethod. self assert: ast2 body statements first selector equals: #+. ast2 := ast statements second asDoit. self assert: ast2 sourceCode equals: 'a - 2'. self assert: ast2 isMethod. self assert: ast2 body statements first selector equals: #- ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeFirstTempsAndFirstCommentGivesVariableNode [ | ast string start | string := '"First comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size + 6). self assert: ast isVariable ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInbetweenStatements [ | ast string start | string := '"Fourth comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'Fourth comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideACascadeNodeOnMessageNode [ | ast string start | string := '"Seventh comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'Seventh comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideACascadeNodeOnReceiver [ | ast string start | string := '"Sixth comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'Sixth comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideAssignementNode [ | ast string start | string := '" Third comment "'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: ' Third comment ' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideMessageNode [ | ast string start | string := '"Fifth comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'Fifth comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideMethodNode [ | ast string start | string := '"First comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'First comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideReturnNode [ | ast string start | string := '"return"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'return' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForCommentInsideSequenceNode [ | ast string start | string := '"Second comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isCommentNode. self assert: ast contents equals: 'Second comment' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeForStatementInsideMethodNodeReturnsStatement [ | bestNode string | string := self getMethodString findString: '.'. bestNode := (RBParser parseMethod: self getMethodString) bestNodeForPosition: string + 1. self assert: bestNode isAssignment; assert: bestNode sourceCode equals: 'assignement := " Third comment " #node' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeInsideAssignementGivesSelectedValue [ | ast string start | string := '#node'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isLiteralNode. self assert: ast value equals: #node ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeInsideAssignementGivesSelectedVariable [ | ast string start | string := 'assignement'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (start to: start + string size - 1). self assert: ast isVariable. self assert: ast name equals: 'assignement' ] { #category : 'tests - bestNodeFor' } ASTProgramNodeTest >> testBestNodeWithMethodSelectorGivesCommentNode [ | ast string start | string := '"First comment"'. start := self getMethodString findString: string. ast := (RBParser parseMethod: self getMethodString) bestNodeFor: (1 to: start + string size - 1). self assert: ast isCommentNode ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterArgumentReturnsVariableNode [ | sourceCode ast bestNode | sourceCode := 'toto: m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 9. self assert: bestNode isVariable ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterColonReturnsPreviousStatement [ "toto: arg arg m1.| arg m2" | sourceCode ast bestNode | sourceCode := 'toto var m1. var m2'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 13. self assert: bestNode isMessage. self assert: bestNode selector equals: #m1 ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterMessageAndBeforeNewlineReturnsMessageNode [ "toto: arg arg m1 | m2" | sourceCode ast bestNode | sourceCode := 'toto: arg arg m1 m2'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 33. self assert: bestNode isMessage. self assert: bestNode selector equals: #m1 ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterMessageAndSpaceReturnsMessageNode [ "toto: arg arg m1 | m2" | sourceCode ast bestNode | sourceCode := 'toto: arg arg m1 m2'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 33. self assert: bestNode isMessage. self assert: bestNode selector equals: #m1 ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterMessageReturnsMessageNode [ "toto: arg arg m1| m2" | sourceCode ast bestNode | sourceCode := 'toto: arg arg m1 m2'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 32. self assert: bestNode isMessage. self assert: bestNode selector equals: #m1 ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorAfterVariableReturnsVariableNode [ "toto: m1 m1 |aMessage" | sourceCode ast bestNode | sourceCode := 'toto: m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 28. self assert: bestNode isVariable ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorBeforeArgumentNextToSelectorReturnsMethodNode [ | sourceCode ast bestNode | sourceCode := 'toto:m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 6. self assert: bestNode isMethod ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorBeforeArgumentReturnsVariableNode [ | sourceCode ast bestNode | sourceCode := 'toto: m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 7. self assert: bestNode isVariable ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorBeforeMessageAndAfterNewlineReturnsMessageNode [ "toto: arg arg m1 | m2" | sourceCode ast bestNode | sourceCode := 'toto: arg arg m1 m2'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 34. self assert: bestNode isMessage. self assert: bestNode selector equals: #m2 ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorBeforeVariableReturnsVariableNode [ | sourceCode ast bestNode | sourceCode := 'toto: m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 26. self assert: bestNode isVariable ] { #category : 'tests - adding' } ASTProgramNodeTest >> testCursorInMiddleOfVariableReturnsVariableNode [ | sourceCode ast bestNode | sourceCode := 'toto: m1 m1 aMessage'. ast := RBParser parseMethod: sourceCode. bestNode := ast bestNodeForPosition: 27. self assert: bestNode isVariable ] { #category : 'tests - properties' } ASTProgramNodeTest >> testHasProperty [ self deny: (self node hasProperty: #foo). self node propertyAt: #foo put: 123. self assert: (self node hasProperty: #foo) ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenBlockWithoutReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 [ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenMessageWithReturnBlockExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 instVar at: #foo ifAbsentPut: [ ^ 2 ]'. statement := ast body statements last. self deny: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenMessageWithoutReturnBlockExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 instVar at: #foo ifAbsentPut: [ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenReturnNodeExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ 2'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenReturnNodeWithAssignmentExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ a := 3'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenReturnNodeWithMessageSendExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ self foo: 2'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashkWithoutReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ [ self foo: [ :a | a + 1 ]. ^ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenReturnWithBlockWithoutReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ [ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenReturnWithEmptyBlockExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ [ ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ instVar at: #foo ifAbsentPut: [ ^ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ instVar at: #foo ifAbsentPut: [ 2 ]'. statement := ast body statements last. self assert: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashtFalse [ | ast statement | ast := RBParser parseMethod: 'a1 [ ^ false ] whileFalse: [ true ]'. statement := ast body statements last. self deny: statement hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashxpectTrue [ | ast sequence | ast := RBParser parseMethod: 'a1 self foo. instVar := true ifFalse: [ ^ 1 ]. instVar isOdd ifTrue: [ instVar := instVar + 1 ]. ^ self end'. sequence := RBSequenceNode statements: ast body statements allButFirst. sequence parent: ast body. self assert: sequence hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenSequenceWithLastReturnExpectTrue [ | ast sequence | ast := RBParser parseMethod: 'a1 self foo. instVar := true ifFalse: [ 1 ]. ^ 2'. sequence := RBSequenceNode statements: ast body statements allButFirst. sequence parent: ast body. self assert: sequence hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> testHasSameExitPointWhenSequenceWithoutAnyReturnsExpectTrue [ | ast sequence | ast := RBParser parseMethod: 'a1 self foo. instVar := true ifFalse: [ 1 ] self end'. sequence := RBSequenceNode statements: ast body statements allButFirst. sequence parent: ast body. self assert: sequence hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashocalReturnExpectFalse [ | ast sequence | ast := RBParser parseMethod: 'a1 self foo. [ instVar isOdd ifTrue: [ ^ 2 ]. instVar := instVar + 1] whileTrue: [ instVar < 10 ]. instVar := true ifFalse: [ ^ 1 ]. self end'. sequence := RBSequenceNode statements: ast body statements allButLast. sequence parent: ast body. self deny: sequence hasSameExitPoint ] { #category : 'tests - hasSameExitPoint' } ASTProgramNodeTest >> your_sha256_hashrnExpectFalse [ | ast sequence | ast := RBParser parseMethod: 'a1 self foo. instVar := true ifFalse: [ ^ 1 ] self end'. sequence := RBSequenceNode statements: ast body statements allButFirst. sequence parent: ast body. self deny: sequence hasSameExitPoint ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenFirstMessageInACascadeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo; bar; end'. statement := ast body statements last messages first. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenItIsReceiverExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 self foo bar'. statement := ast body statements last receiver. self assert: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> your_sha256_hashectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 a := self foo; bar; end'. statement := ast body statements last value messages last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> your_sha256_hashExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo; bar; end'. statement := ast body statements last value messages last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenMessageInACascadeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo; bar; end'. statement := ast body statements last messages second. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenNodeIsArgumentExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 self ars: self foo'. statement := ast body statements first arguments first. self assert: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenOnlyNodeInABlockNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 [self foo]'. statement := ast body statements last body statements first. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfABlockNodeExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 [self foo]'. statement := ast body statements last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfAReturnStatementExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ self foo'. statement := ast body statements last value. self assert: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfASequenceExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. self bar. ^ 1'. statement := ast body statements first. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfASequenceLastNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. self bar'. statement := ast body statements last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfASequenceOneStatementOnlyExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo'. statement := ast body statements last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenPartOfAnAssignementInBlockNodeExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 [ a := self foo]'. statement := ast body statements last body statements first value. self assert: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenTwoMessagesInACascadeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 a := self foo; bar'. statement := ast body statements last value messages last. self deny: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenValueOfAnAssignmentExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 |m1| m1 := self foo'. statement := ast body statements last value. self assert: statement isEssential ] { #category : 'tests - isEssential' } ASTProgramNodeTest >> testIsEssentialWhenVariableOfAnAssignmentExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 |m1| m1 := self foo'. statement := ast body statements last variable. self assert: statement isEssential ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenBlockNodeInSequenceNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. [self bar]. ^ self end'. statement := ast body statements second. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenFirstNodeInSequenceNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. self bar. ^ self end'. statement := ast body statements first. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenInSequenceNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. self bar. ^ self end'. statement := ast body statements second. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenLastNodeInSequenceExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. self end'. statement := ast body statements last. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> your_sha256_hashpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. ^ self end'. statement := ast body statements last. self assert: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsArrayExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 { self foo . a := self end }'. statement := ast body statements last. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsAssignmentExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. a := self end'. statement := ast body statements last. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> your_sha256_hash [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. a := self end. ^ 1'. statement := ast body statements second. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsAssignmentValueExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. a := self end'. statement := ast body statements last value. self assert: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsAssignmentVariableExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo. a := self end'. statement := ast body statements last variable. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsLastInBlockExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 [ self foo. self bar ]'. statement := ast body statements first body statements second. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsNotLastInBlockExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 [ self foo. self bar ]'. statement := ast body statements first body statements first. self deny: statement isUsedAsReturnValue ] { #category : 'tests - isUsedAsReturnValue' } ASTProgramNodeTest >> testIsUsedAsReturnValueWhenNodeIsPartOfArrayExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 { self foo . a := self end }'. statement := ast body statements last statements first. self assert: statement isUsedAsReturnValue ] { #category : 'tests' } ASTProgramNodeTest >> testNumberOfSentMessages [ | tree messages | tree := self parserClass parseMethod: 'methodName | temp | 1 send1 send2; send3. temp := [:each | {4 send4} send5]. temp send6. 0 ifTrue: [ 1 ]'. messages := tree sentMessages. self assert: messages size equals: 7. "we count ifTrue:" 1 to: 6 do: [ :i | self assert: (messages includes: ('send' , i printString) asSymbol) ] ] { #category : 'tests - properties' } ASTProgramNodeTest >> testPropertyAt [ self should: [ self node propertyAt: #foo ] raise: Error. self node propertyAt: #foo put: true. self assert: (self node propertyAt: #foo) ] { #category : 'tests - properties' } ASTProgramNodeTest >> testPropertyAtIfAbsent [ self assert: (self node propertyAt: #foo ifAbsent: [ true ]). self node propertyAt: #foo put: true. self assert: (self node propertyAt: #foo ifAbsent: [ false ]) ] { #category : 'tests - properties' } ASTProgramNodeTest >> testPropertyAtIfAbsentPut [ self assert: (self node propertyAt: #foo ifAbsentPut: [ true ]). self assert: (self node propertyAt: #foo ifAbsentPut: [ false ]) ] { #category : 'tests' } ASTProgramNodeTest >> testPropertyAtIfPresent [ self assert: (self node propertyAt: #foo ifPresent:[ :p | #bad ]) equals: nil. self node propertyAt: #foo put: true. self assert: (self node propertyAt: #foo ifPresent:[ :p | p ]). ] { #category : 'tests - properties' } ASTProgramNodeTest >> testPropertyAtIfPresentIfAbsent [ self assert: (self node propertyAt: #foo ifPresent:[ false ] ifAbsent: [ true ]) equals: true. self node propertyAt: #foo put: true. self assert: (self node propertyAt: #foo ifPresent:[ true ] ifAbsent: [ false ]). self assert: (self node propertyAt: #toto ifPresent:[ false ] ifAbsent: [ true ]) ] { #category : 'tests - properties' } ASTProgramNodeTest >> testRemoveProperty [ self should: [ self node removeProperty: #foo ] raise: Error. self node propertyAt: #foo put: true. self assert: (self node removeProperty: #foo) ] { #category : 'tests - properties' } ASTProgramNodeTest >> testRemovePropertyIfAbsent [ self assert: (self node removeProperty: #foo ifAbsent: [ true ]). self node propertyAt: #foo put: true. self assert: (self node removeProperty: #foo ifAbsent: [ false ]) ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceAssignment [ | tree expectedTree | tree := self parseMethod: 'run sum := 2 + 2'. expectedTree := self parseMethod: 'run multpppp := 2 * 2'. tree body statements first replaceWith: (self parseExpression: 'multpppp := 2 * 2'). self assert: tree equals: expectedTree ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceBlock [ | tree expectedTree | tree := self parseMethod: 'run self foo ifNil: [ ^ true ]'. expectedTree := self parseMethod: 'run self foo ifNil: [ ^ false ]'. tree body statements first arguments first replaceWith: (self parseExpression: '[ ^ false ]'). self assert: tree equals: expectedTree ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceLiteral [ | tree | tree := self parseMethod: 'run "1" 123 "2"'. tree body statements first replaceWith: (self parseExpression: '$a'). self assert: tree newSource equals: 'run "1" $a "2"'. tree := self parseMethod: 'run "1" 123 "2"'. tree body statements first replaceWith: (self parseExpression: 'zork'). self assert: tree newSource equals: 'run "1" zork "2"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceLiteralArray1 [ | tree | tree := self parseMethod: 'run "1" #(1 2 3) "2"'. tree body statements first replaceWith: (self parseExpression: '#[1 2 3]'). self assert: tree newSource equals: 'run "1" #[ 1 2 3 ] "2"'. tree := self parseMethod: 'run "1" #(1 2 3) "2"'. tree body statements first replaceWith: (self parseExpression: '123'). self assert: tree newSource equals: 'run "1" 123 "2"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceLiteralArray2 [ | tree | tree := self parseMethod: 'run "1" #[1 2 3] "2"'. tree body statements first replaceWith: (self parseExpression: '#(1 2 3)'). self assert: tree newSource equals: 'run "1" #( 1 2 3 ) "2"'. tree := self parseMethod: 'run "1" #[1 2 3] "2"'. tree body statements first replaceWith: (self parseExpression: '123'). self assert: tree newSource equals: 'run "1" 123 "2"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMessage [ | tree | tree := self parseMethod: 'run "1" self "2" run "3"'. tree body statements first replaceWith: (self parseExpression: 'self runCase'). self assert: tree newSource equals: 'run "1" self "2" runCase "3"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMessageArgument [ | tree | tree := self parseMethod: 'foo "1" self "2" foo: "3" foo "4"'. tree body statements first arguments first replaceWith: (self parseExpression: 'bar'). self assert: tree newSource equals: 'foo "1" self "2" foo: "3" bar "4"'. tree := self parseMethod: 'foo "1" self "2" foo: "3" foo "4"'. tree body statements first arguments first replaceWith: (self parseExpression: 'bar msg1 msg2'). self assert: tree newSource equals: 'foo "1" self "2" foo: "3" bar msg1 msg2 "4"'. tree := self parseMethod: 'foo "1" self "2" foo: "3" foo bar "4"'. tree body statements first arguments first replaceWith: (self parseExpression: 'bar'). self assert: tree newSource equals: 'foo "1" self "2" foo: "3" bar "4"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMessageReceiver [ | tree | tree := self parseMethod: 'foo "1" self "2" foo: "3" 123 "4"'. tree body statements first receiver replaceWith: (self parseExpression: 'bar'). self assert: tree newSource equals: 'foo "1" bar "2" foo: "3" 123 "4"'. tree := self parseMethod: 'foo "1" self "2" foo: "3" 123 "4"'. tree body statements first receiver replaceWith: (self parseExpression: 'bar msg1 msg2'). self assert: tree newSource equals: 'foo "1" bar msg1 msg2 "2" foo: "3" 123 "4"'. tree := self parseMethod: 'foo "1" self foo "2" foo: "3" 123 "4"'. tree body statements first receiver replaceWith: (self parseExpression: 'bar'). self assert: tree newSource equals: 'foo "1" bar "2" foo: "3" 123 "4"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMethodBinary [ | tree | tree := self parseMethod: '= "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #runCase andArguments: #(). self assert: tree newSource equals: 'runCase "2" ^ "3" 4 "5"'. tree := self parseMethod: '= "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #~~ andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: '~~ "1" first "2" ^ "3" 4 "5"'. tree := self parseMethod: '= "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #assert: andArguments: (Array with: (RBVariableNode named: 'first')). self assert: tree newSource equals: 'assert: "1" first "2" ^ "3" 4 "5"'. tree := self parseMethod: '= "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #assert:description: andArguments: (Array with: (RBVariableNode named: 'first') with: (RBVariableNode named: 'second')). self assert: tree newSource equals: 'assert: first description: second "2" ^ "3" 4 "5"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMethodKeyword [ | tree | tree := self parseMethod: 'deny: "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #runCase andArguments: #(). self assert: tree newSource equals: 'runCase "2" ^ "3" 4 "5"'. tree := self parseMethod: 'deny: "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #~~ andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: '~~ "1" first "2" ^ "3" 4 "5"'. tree := self parseMethod: 'deny: "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #assert: andArguments: (Array with: (RBVariableNode named: 'first')). self assert: tree newSource equals: 'assert: "1" first "2" ^ "3" 4 "5"'. tree := self parseMethod: 'deny: "1" anObject "2" ^ "3" 4 "5"'. tree renameSelector: #assert:description: andArguments: (Array with: (RBVariableNode named: 'first') with: (RBVariableNode named: 'second')). self assert: tree newSource equals: 'assert: first description: second "2" ^ "3" 4 "5"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMethodKeywordLong [ | tree | tree := self parseMethod: 'deny: "1" anObject "2" description: "3" anotherObject "4" ^ "5" 6 "7"'. tree renameSelector: #runCase andArguments: #(). self assert: tree newSource equals: 'runCase "4" ^ "5" 6 "7"'. tree := self parseMethod: 'deny: "1" anObject "2" description: "3" anotherObject "4" ^ "5" 6 "7"'. tree renameSelector: #~~ andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: '~~ first "4" ^ "5" 6 "7"'. tree := self parseMethod: 'deny: "1" anObject "2" description: "3" anotherObject "4" ^ "5" 6 "7"'. tree renameSelector: #assert: andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: 'assert: first "4" ^ "5" 6 "7"'. tree := self parseMethod: 'deny: "1" anObject "2" description: "3" anotherObject "4" ^ "5" 6 "7"'. tree renameSelector: #assert:description: andArguments: (Array with: (self parseExpression: 'first') with: (self parseExpression: 'second')). self assert: tree newSource equals: 'assert: "1" first "2" description: "3" second "4" ^ "5" 6 "7"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceMethodUnary [ | tree | tree := self parseMethod: 'run "1" ^ "2" 3 "4"'. tree renameSelector: #runCase andArguments: #(). self assert: tree newSource equals: 'runCase "1" ^ "2" 3 "4"'. tree := self parseMethod: 'run "1" ^ "2" 3 "4"'. tree renameSelector: #~~ andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: '~~ first "1" ^ "2" 3 "4"'. tree := self parseMethod: 'run "1" ^ "2" 3 "4"'. tree renameSelector: #assert: andArguments: (Array with: (self parseExpression: 'first')). self assert: tree newSource equals: 'assert: first "1" ^ "2" 3 "4"'. tree := self parseMethod: 'run "1" ^ "2" 3 "4"'. tree renameSelector: #assert:description: andArguments: (Array with: (self parseExpression: 'first') with: (self parseExpression: 'second')). self assert: tree newSource equals: 'assert: first description: second "1" ^ "2" 3 "4"' ] { #category : 'tests - replacing' } ASTProgramNodeTest >> testReplaceVariable [ | tree | tree := self parseMethod: 'run "1" foo "2"'. tree body statements first replaceWith: (self parseExpression: 'zork'). self assert: tree newSource equals: 'run "1" zork "2"'. tree := self parseMethod: 'run "1" foo "2"'. tree body statements first replaceWith: (self parseExpression: '123'). self assert: tree newSource equals: 'run "1" 123 "2"' ] { #category : 'tests - messages' } ASTProgramNodeTest >> testSentMessages [ | tree messages | tree := self parseRewriteMethod: 'methodName | temp | 1 send1 send2; send3. temp := [:each | {4 send4} send5]. temp send6 `{:node | node notASentMessage}'. messages := tree sentMessages. self assert: messages size equals: 6. 1 to: 6 do: [ :i | self assert: (messages includes: ('send' , i printString) asSymbol) ] ] { #category : 'tests - comments' } ASTProgramNodeTest >> testSetCommentsToNil [ self node comments: nil. self assert: self node comments equals: #() ] { #category : 'tests' } ASTProgramNodeTest >> testWithAllParents [ "check that we get all parents of a program node, and me" | me parentsOf7 | [ :a | a + 7 ]. me := self class >> #testAllParents. parentsOf7 := (me ast allChildren select: [ :n | n isLiteralNode and: [ n value = 7 ] ]) first withAllParents. self assert: parentsOf7 last value equals: 7. self assert: parentsOf7 first equals: me ast ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenArrayNodeWithFirstReturnExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 { ^ 1 . #a }'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenArrayNodeWithLastReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 { ^ 1 }'. statement := ast body statements last. self assert: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenBlockNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 [ 2 ]'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenEmptyArrayNodeExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 { }'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenEmptySequenceExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1'. statement := ast body. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashtFalse [ | ast statement | ast := RBParser parseMethod: 'a1 true ifTrue: [ ]'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashtFalse [ | ast statement | ast := RBParser parseMethod: 'a1 true ifTrue: [ ] ifFalse: [ ]'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashothArgsHaveReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 true ifTrue: [ ^ 1 ] ifFalse: [ ^ 1 ]'. statement := ast body statements last. self assert: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashirstArgHasReturnExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 true ifTrue: [ ^ 1 ] ifFalse: [ ]'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashecondArgHasReturnExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 true ifTrue: [ ] ifFalse: [ ^ 1 ]'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenMessageNodeIsNotInlinedIfExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self foo'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenMethodNodeWithLastReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ 1'. statement := ast. self assert: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenNodeIsNotReturnExpectFalse [ | ast statement | ast := RBParser parseMethod: 'a1 self bar'. statement := ast body statements last. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenNodeIsReturnExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ self bar'. statement := ast body statements last. self assert: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenNodeIsSequenceWithLastReturnNodeExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ self bar'. statement := ast body. self assert: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> your_sha256_hashse [ | ast statement | ast := RBParser parseMethod: 'a1 self bar'. statement := ast body. self deny: statement lastIsReturn ] { #category : 'tests - lastIsReturn' } ASTProgramNodeTest >> testlastIsReturnWhenReturnNodeWithBlockNodeExpectTrue [ | ast statement | ast := RBParser parseMethod: 'a1 ^ [ 2 ]'. statement := ast body statements last. self assert: statement lastIsReturn ] ```
```go package resources import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/apigateway" ) type APIGatewayDomainName struct { svc *apigateway.APIGateway domainName *string } func init() { register("APIGatewayDomainName", ListAPIGatewayDomainNames) } func ListAPIGatewayDomainNames(sess *session.Session) ([]Resource, error) { svc := apigateway.New(sess) resources := []Resource{} params := &apigateway.GetDomainNamesInput{ Limit: aws.Int64(100), } for { output, err := svc.GetDomainNames(params) if err != nil { return nil, err } for _, item := range output.Items { resources = append(resources, &APIGatewayDomainName{ svc: svc, domainName: item.DomainName, }) } if output.Position == nil { break } params.Position = output.Position } return resources, nil } func (f *APIGatewayDomainName) Remove() error { _, err := f.svc.DeleteDomainName(&apigateway.DeleteDomainNameInput{ DomainName: f.domainName, }) return err } func (f *APIGatewayDomainName) String() string { return *f.domainName } ```
```c++ #include "cpp/pylib.h" #include "mycpp/runtime.h" #include "vendor/greatest.h" TEST os_path_test() { // TODO: use gc_mylib here, with NewStr(), StackRoots, etc. BigStr* s = nullptr; s = os_path::rstrip_slashes(StrFromC("")); ASSERT(str_equals(s, StrFromC(""))); s = os_path::rstrip_slashes(StrFromC("foo")); ASSERT(str_equals(s, StrFromC("foo"))); s = os_path::rstrip_slashes(StrFromC("foo/")); ASSERT(str_equals(s, StrFromC("foo"))); s = os_path::rstrip_slashes(StrFromC("/foo/")); ASSERT(str_equals(s, StrFromC("/foo"))); // special case of not stripping s = os_path::rstrip_slashes(StrFromC("///")); ASSERT(str_equals(s, StrFromC("///"))); ASSERT(path_stat::exists(StrFromC("/"))); ASSERT(!path_stat::exists(StrFromC("/nonexistent_ZZZ"))); PASS(); } TEST isdir_test() { ASSERT(path_stat::isdir(StrFromC("."))); ASSERT(path_stat::isdir(StrFromC("/"))); PASS(); } GREATEST_MAIN_DEFS(); int main(int argc, char** argv) { gHeap.Init(); GREATEST_MAIN_BEGIN(); RUN_TEST(os_path_test); RUN_TEST(isdir_test); gHeap.CleanProcessExit(); GREATEST_MAIN_END(); return 0; } ```
```c++ /////////////////////////////////////////////////////////////////////////////// // LICENSE_1_0.txt or copy at path_to_url #include <boost/multiprecision/cpp_int.hpp> using namespace boost::multiprecision; int main() { cpp_int i = 2; i ^= 2.3; } ```
```xml /** * @file Automatically generated by @tsed/barrels. */ export * from "./constants/constants.js"; export * from "./decorators/grantId.js"; export * from "./decorators/interaction.js"; export * from "./decorators/interactions.js"; export * from "./decorators/noCache.js"; export * from "./decorators/oidcCtx.js"; export * from "./decorators/oidcSession.js"; export * from "./decorators/params.js"; export * from "./decorators/prompt.js"; export * from "./decorators/uid.js"; export * from "./domain/InteractionMethods.js"; export * from "./domain/interfaces.js"; export * from "./domain/OidcAccountsMethods.js"; export * from "./domain/OidcBadInteractionName.js"; export * from "./domain/OidcInteractionMethods.js"; export * from "./domain/OidcInteractionOptions.js"; export * from "./domain/OidcInteractionPromptProps.js"; export * from "./domain/OidcSettings.js"; export * from "./middlewares/OidcInteractionMiddleware.js"; export * from "./middlewares/OidcNoCacheMiddleware.js"; export * from "./middlewares/OidcSecureMiddleware.js"; export * from "./OidcModule.js"; export * from "./services/OidcAdapters.js"; export * from "./services/OidcInteractionContext.js"; export * from "./services/OidcInteractions.js"; export * from "./services/OidcJwks.js"; export * from "./services/OidcPolicy.js"; export * from "./services/OidcProvider.js"; export * from "./services/OidcProviderNodeModule.js"; export * from "./utils/debug.js"; export * from "./utils/events.js"; ```
Lake Wickenden (French: Lac Wickenden) is the largest lake on Anticosti Island, located in the municipality of L'Île-d'Anticosti, in the Saint Lawrence River, in the Minganie Regional County Municipality, in the region administration of the Côte-Nord, in the province of Quebec, Canada. Together with the surrounding , this lake was designated as a protected area on January 1, 1993 by the WCPA. This area is designated "Rare Forest of Lac-Wickenden". Forestry is the main economic activity in this area; recreational tourism activities, second. Geography Glacially formed, lake Wickenden is part of Jupiter River watershed. Several surrounding lakes are surrounded by small areas of marsh. Lake Wickenden has a length of , a width of and an elevation of . A strip of land separates Lac de la Tête and Lake Wickenden. The hamlet Wickenden is located at the end of a bay on the western shore of the lake. A second hamlet designated Lac-de-la-Tête is located north-west of the first. An access road (coming from the west) serves this hamlet and the south shore of the lake. Toponymy Maps from the late 1930s indicate "Wickenden Lake". The lake was named after Henri Robert Wickenden who worked on Anticosti Island for the Wayagamack Paper Corporation in the 1920s. Wickenden also served as a forestry director for the Wayagamack Pulp and Paper Company. In 1926, his team assessed the economic potential of the Anticostian forests; the Wickenden team drew positive conclusions recommending this proposed acquisition. Wickenden then represented the Anticosti Corporation; this company then included the Wayagamack, the St. Mauritius Valley Corporation and the Port Alfred Pulp and Paper Company. On July 29, 1926, this company acquired the island; the seller being the French senator Gaston Menier. The toponym "lac Wickenden" was made official on December 5, 1968 at the Commission de toponymie du Québec place name bank. References External links Lakes of Côte-Nord Anticosti Island Minganie Regional County Municipality
```toml name = "project" version = "0.1.0" [dependencies] # These are Gleam deps gleam_stdlib = "~> 0.18" gleam_erlang = "~> 0.5" # This is a rebar3 dep that uses files in ./priv certifi = "~> 2.8" # This is a rebar3 dep that uses files in ./ebin cowboy = "~> 2.9" # This is a mix dep that uses files in ./priv countries = "~> 1.6" # This is both a mix and a rebar3 dep! # We want to default to using rebar3 as that is the build tool that is more # likely to be installed. ssl_verify_fun = "~> 1.1" # This is a rebar3 dep that calls make to compile C into a .so file that is # loaded at runtime from ./priv # TODO: replace this with a package with a nif that compiles super fast. Perhaps # just a hello world. bcrypt = "~> 1.1" # This is a rebar3 dep where the application name (hpack, used by the BEAM) # doesn't match the package name (hpack_erl, used by Hex). hpack_erl = "~> 0.1" gleam_javascript = "~> 0.7" [dev-dependencies] gleeunit = "~> 1.0" ```
Raphitoma bourguignati is a species of sea snail, a marine gastropod mollusc in the family Raphitomidae. Description The length of the shell reaches a length of 22 mm and a diameter of 8 mm. This species was previously included in the speciescomplex Raphitoma purpurea. Compared with R. purpurea, the shell is narrower and the spire is more slender. The whorls are less convex. The axial ribs are very close, larger and more regular. They form with the spiral threads a regular reticulation with nodules. The ground color of the shell is a bright pale yellow. Distribution This marine species occurs in the Atlantic Ocean off France References Pusateri F., Giannuzzi Savelli R., Bartolini S. & Oliverio M. (2017). A revision of the Mediterranean Raphitomidae (Neogastropoda, Conoidea) 4: The species of the group of Raphitoma purpurea (Montagu, 1803) with the description of a new species. Bollettino Malacologico. 53(2): 161-183. External links bourguignati Gastropods described in 1891
Kilmarnock railway station (Scottish Gaelic: Stèisean rèile Chille Mheàrnaig) is a railway station in Kilmarnock, East Ayrshire, Scotland. The station is managed by ScotRail and is served by trains on the Glasgow South Western Line. One of the earliest railway stations in Scotland, the Kilmarnock and Troon Railway opened on 6 July 1812, until it was replaced by the Glasgow, Paisley, Kilmarnock and Ayr Railway on 4 April 1843. History Opening The first station in Kilmarnock was opened by the Kilmarnock and Troon Railway on 6 July 1812, one of the earliest stations in Scotland. It was replaced by the Glasgow, Paisley, Kilmarnock and Ayr Railway on 4 April 1843. with the opening of their main line from . The third and current station was opened on 20 July 1846 by the Glasgow, Paisley, Kilmarnock and Ayr Railway – this was connected to Ardrossan via two years later and to via Dumfries & Gretna Junction in 1850. The current route to Glasgow (via ) – the Glasgow and Kilmarnock Joint Railway was completed in 1871 jointly by the G&SWR and Caledonian Railway. Services on the Irvine branch and via the old main line to Dalry both fell victim to the Beeching Axe in the mid-1960s – the former closed to passengers on 6 April 1964 (and to all traffic in October 1965) and local trains on the latter were withdrawn on 18 April 1966 . Services to the G&SWR terminus at Glasgow St Enoch also ended soon after (on 27 June), with services henceforth running to and from Glasgow Central. The old K&T line also lost its passenger service for several years (local trains ended on 3 March 1969), but these were subsequently reinstated in May 1975 when the boat trains from Stranraer to Carlisle were diverted from their former route via Annbank & Mauchline. The Dalry line remained in use for freight and occasional long-distance passenger trains until 23 October 1973, when it was closed to all traffic and subsequently dismantled. Current operations and station description The station is built well above street level and is accessed via either a subway and stairs or a more circuitous but step-free route along a narrow access road. Network Rail undertook a project to install lifts which started in February 2018 and was completed in January 2019. The station has a total of four platforms; two north-facing bays for both terminating Glasgow services and trains on the Glasgow to Stranraer via Kilmarnock route, on which trains reverse out of the station towards the junction with the Troon line. Two through platforms serve through services between Glasgow, Dumfries and Carlisle. Platform 3 is used for most of the services between Glasgow and Carlisle via Dumfries in both directions however platform 4 does see some use. Platform 3 and 4 are 57 miles from Dumfries and 89 miles from Carlisle. Some services from platforms 3 and 4 used to run all the way to Newcastle via the Tyne Valley Line, but these ceased in 2022. The bay platforms (1 and 2) as well as Platform 3 are covered by a partly glazed roof and directly accessible from the ticket office. Platform 4 is accessed via a subway and stairs, and afforded only a bus stop style shelter although it does have a departure board. Facilities The station is fully staffed seven days a week, with the ticket office open from 06:30 (Mon-Sat)/10:15 Sundays until 23:30. A self-service ticket machine is also provided for use outside opening hours and for collecting pre-paid tickets. The Kilmarnock Station Railway Heritage Trust have turned the Station building into Kilmarnock Station Community Village, services include counselling services, a model shop and gaming centre, an Active Travel HUB, waiting room and public wi-fi access. Train information is offered via CIS displays, timetable posters, automated announcements and customer help points. Step-free access is available to platforms 1-3 only. Signalling The present Kilmarnock signal box is located north of the station, in the vee of the junction. Opened on by British Rail on 12 April 1976, it is a plain brick building containing an NX (entrance-exit) panel on the upper storey. It replaced four mechanical signal boxes in a scheme that saw the track layout greatly simplified. Originally, the box worked Track Circuit Block to Hurlford signal box and Scottish Region Tokenless Block over the single lines to Barassie Junction and Lugton signal boxes. Kilmarnock signal box was severely damaged in a suspected arson attack on 25 December 2006 but was repaired and returned to full operation within weeks. The train service to Glasgow is partly limited by the single track northwards as far as Lochridge Junction (near Stewarton). This formerly extended all the way as far as Barrhead (with just one loop at Lugton) following track rationalisation in the early 1970s and restricted the frequency of services that could be operated. A "dynamic passing loop" (in effect a redoubling of the section between Lugton and ) was installed to help rectify this in 2009. The service frequency was increased to half-hourly from the 13 December 2009 timetable change. New sidings were installed in 2009-2010 along a short section of the trackbed of the old route to Dalry to facilitate the increased coal train traffic. Features of the station Kilmarnock railway viaduct Constructed from 1843 until 1850, the Kilmarnock railway viaduct is a bridge crossing the town centre of Kilmarnock. It is a most distinctive feature of the town centre with 23 masonry arches. It was built in the 1840s to enable the Glasgow – Kilmarnock line to continue to . At present, the viaduct is currently lit by blue lights when it is dark, which makes it more of a noticeable feature in the town. This was part of the Kilmarnock town centre regeneration. The programme carried out on the viaduct was considered a "success". In April 2012, the bridge's safety was upgraded after a man was seriously injured after jumping 40 ft from the top of the railway viaduct. Kilmarnock station clock Outside of the railway station, a clock is operated by East Ayrshire Council and ScotRail. In 2011, the clock received a grant from the Railway Heritage Trust to undergo a regeneration scheme that began in late 2011 and was completed in March 2012. Despite an expensive upgrade in 2008, it was announced in December 2022 following a full cabinet meeting of East Ayrshire Council that the station clock at the Kilmarnock railway station was to be removed and landscaped "with immediate affect" due to continuous technical difficulties preventing the clock and its LED lighting from working properly. Services December 2021–present On Monday to Saturdays: There are 2 trains per hour to/from Glasgow for most of the day with journey times taking between 40 and 50 minutes depending the service taken. Monday to Saturday: There are 8 trains per day south of Kilmarnock towards Dumfries and Carlisle, 6 trains go to Carlisle (one train continues to Newcastle) and 2 trains go to Dumfries. These operate to a roughly 2 hourly frequency however the frequency is uneven so gaps of up to 3 hours are possible at certain times of the day. There are 6 trains per day to Girvan, 4 of which continue to Stranraer, (and all call at Ayr) running a to a 2 to 4 hourly frequency (with peak extras). Sundays: On Sundays, There is 1 train per hour to Glasgow calling at stations, There is a limited service of just 2 trains per day to Dumfries and Carlisle, There is no service to/from Ayr or Stranraer Due to Lamington Viaduct on the West Coast Mainline being severely damaged by the Storms of 2015-16, Virgin Trains services from Carlisle were diverted along the Glasgow South Western Line and called at Kilmarnock en route to Glasgow Central. These were irregularly scheduled services and ceased once Lamington Viaduct was repaired and the WCML reopened on 22 February 2016. Routes References External links YouTube video of Kilmarnock Junction, Station and Wabtec Rail works Category B listed buildings in East Ayrshire Listed railway stations in Scotland Railway stations in East Ayrshire Former Glasgow and South Western Railway stations Railway stations in Great Britain opened in 1812 Railway stations in Great Britain closed in 1843 Railway stations in Great Britain opened in 1843 Railway stations in Great Britain closed in 1846 Railway stations in Great Britain opened in 1846 SPT railway stations Railway stations served by ScotRail Buildings and structures in Kilmarnock 1843 establishments in Scotland
```go package router import ( "fmt" "io" "net/http" "path/filepath" "strings" "time" "github.com/kataras/iris/v12/context" "github.com/kataras/iris/v12/macro" "github.com/kataras/iris/v12/macro/handler" "github.com/kataras/pio" ) // Route contains the information about a registered Route. // If any of the following fields are changed then the // caller should Refresh the router. type Route struct { // The Party which this Route was created and registered on. Party Party Title string `json:"title"` // custom name to replace the method on debug logging. Name string `json:"name"` // "userRoute" Description string `json:"description"` // "lists a user" Method string `json:"method"` // "GET" StatusCode int `json:"statusCode"` // 404 (only for HTTP error handlers). methodBckp string // if Method changed to something else (which is possible at runtime as well, via RefreshRouter) then this field will be filled with the old one. Subdomain string `json:"subdomain"` // "admin." tmpl macro.Template // Tmpl().Src: "/api/user/{id:uint64}" // temp storage, they're appended to the Handlers on build. // Execution happens before Handlers, can be empty. // They run right after any builtinBeginHandlers. beginHandlers context.Handlers // temp storage, these are always registered first as Handlers on Build. // There are the handlers may be added by the framework and // can NOT be modified by the end-developer (i.e overlapRoute & bindMultiParamTypesHandler), // even if a function like UseGlobal is used. builtinBeginHandlers context.Handlers // Handlers are the main route's handlers, executed by order. // Cannot be empty. Handlers context.Handlers `json:"-"` MainHandlerName string `json:"mainHandlerName"` MainHandlerIndex int `json:"mainHandlerIndex"` // temp storage, they're appended to the Handlers on build. // Execution happens after Begin and main Handler(s), can be empty. doneHandlers context.Handlers Path string `json:"path"` // the underline router's representation, i.e "/api/user/:id" // FormattedPath all dynamic named parameters (if any) replaced with %v, // used by Application to validate param values of a Route based on its name. FormattedPath string `json:"formattedPath"` // the source code's filename:filenumber that this route was created from. SourceFileName string `json:"sourceFileName"` SourceLineNumber int `json:"sourceLineNumber"` // where the route registered. RegisterFileName string `json:"registerFileName"` RegisterLineNumber int `json:"registerLineNumber"` // see APIBuilder.handle, routerHandler.bindMultiParamTypesHandler and routerHandler.Build, // it's the parent route of the last registered of the same path parameter. Specifically for path parameters. topLink *Route // overlappedLink specifically for overlapRoute feature. // keeps the second route of the same path pattern registered. // It's used ONLY for logging. overlappedLink *Route // Sitemap properties: path_to_url NoSitemap bool // when this route should be hidden from sitemap. LastMod time.Time `json:"lastMod,omitempty"` ChangeFreq string `json:"changeFreq,omitempty"` Priority float32 `json:"priority,omitempty"` // ReadOnly is the read-only structure of the Route. ReadOnly context.RouteReadOnly // OnBuild runs right before BuildHandlers. OnBuild func(r *Route) NoLog bool // disables debug logging. } // NewRoute returns a new route based on its method, // subdomain, the path (unparsed or original), // handlers and the macro container which all routes should share. // It parses the path based on the "macros", // handlers are being changed to validate the macros at serve time, if needed. func NewRoute(p Party, statusErrorCode int, method, subdomain, unparsedPath string, handlers context.Handlers, macros macro.Macros) (*Route, error) { path := cleanPath(unparsedPath) // required. Before macro template parse as the cleanPath does not modify the dynamic path route parts. tmpl, err := macro.Parse(path, macros) if err != nil { return nil, err } path = convertMacroTmplToNodePath(tmpl) // prepend the macro handler to the route, now, // right before the register to the tree, so APIBuilder#UseGlobal will work as expected. if handler.CanMakeHandler(tmpl) { macroEvaluatorHandler := handler.MakeHandler(tmpl) handlers = append(context.Handlers{macroEvaluatorHandler}, handlers...) } defaultName := method + subdomain + tmpl.Src if statusErrorCode > 0 { defaultName = fmt.Sprintf("%d_%s", statusErrorCode, defaultName) } formattedPath := formatPath(path) route := &Route{ Party: p, StatusCode: statusErrorCode, Name: defaultName, Method: method, methodBckp: method, Subdomain: subdomain, tmpl: tmpl, Path: path, Handlers: handlers, FormattedPath: formattedPath, } route.ReadOnly = routeReadOnlyWrapper{route} return route, nil } // Use adds explicit begin handlers to this route. // Alternatively the end-dev can prepend to the `Handlers` field. // Should be used before the `BuildHandlers` which is // called by the framework itself on `Application#Run` (build state). // // Used internally at `APIBuilder#UseGlobal` -> `beginGlobalHandlers` -> `APIBuilder#Handle`. func (r *Route) Use(handlers ...context.Handler) { if len(handlers) == 0 { return } r.beginHandlers = append(r.beginHandlers, handlers...) } // UseOnce like Use but it replaces any duplicate handlers with // the new ones. // Should be called before Application Build. func (r *Route) UseOnce(handlers ...context.Handler) { r.beginHandlers = context.UpsertHandlers(r.beginHandlers, handlers) } // RemoveHandler deletes a handler from begin, main and done handlers // based on its name or the handler pc function. // Returns the total amount of handlers removed. // // Should be called before Application Build. func (r *Route) RemoveHandler(namesOrHandlers ...interface{}) (count int) { for _, nameOrHandler := range namesOrHandlers { handlerName := "" switch h := nameOrHandler.(type) { case string: handlerName = h case context.Handler: //, func(*context.Context): handlerName = context.HandlerName(h) default: panic(fmt.Sprintf("remove handler: unexpected type of %T", h)) } r.beginHandlers = removeHandler(handlerName, r.beginHandlers, &count) r.Handlers = removeHandler(handlerName, r.Handlers, &count) r.doneHandlers = removeHandler(handlerName, r.doneHandlers, &count) } return } func removeHandler(handlerName string, handlers context.Handlers, counter *int) (newHandlers context.Handlers) { for _, h := range handlers { if h == nil { continue } if context.HandlerName(h) == handlerName { if counter != nil { *counter++ } continue } newHandlers = append(newHandlers, h) } return } // Done adds explicit finish handlers to this route. // Alternatively the end-dev can append to the `Handlers` field. // Should be used before the `BuildHandlers` which is // called by the framework itself on `Application#Run` (build state). // // Used internally at `APIBuilder#DoneGlobal` -> `doneGlobalHandlers` -> `APIBuilder#Handle`. func (r *Route) Done(handlers ...context.Handler) { if len(handlers) == 0 { return } r.doneHandlers = append(r.doneHandlers, handlers...) } // ChangeMethod will try to change the HTTP Method of this route instance. // A call of `RefreshRouter` is required after this type of change in order to change to be really applied. func (r *Route) ChangeMethod(newMethod string) bool { if newMethod != r.Method { r.methodBckp = r.Method r.Method = newMethod return true } return false } // SetStatusOffline will try make this route unavailable. // A call of `RefreshRouter` is required after this type of change in order to change to be really applied. func (r *Route) SetStatusOffline() bool { return r.ChangeMethod(MethodNone) } // Describe sets the route's description // that will be logged alongside with the route information // in DEBUG log level. // Returns the `Route` itself. func (r *Route) Describe(description string) *Route { r.Description = description return r } // SetSourceLine sets the route's source caller, useful for debugging. // Returns the `Route` itself. func (r *Route) SetSourceLine(fileName string, lineNumber int) *Route { r.SourceFileName = fileName r.SourceLineNumber = lineNumber return r } // RestoreStatus will try to restore the status of this route instance, i.e if `SetStatusOffline` called on a "GET" route, // then this function will make this route available with "GET" HTTP Method. // Note if that you want to set status online for an offline registered route then you should call the `ChangeMethod` instead. // It will return true if the status restored, otherwise false. // A call of `RefreshRouter` is required after this type of change in order to change to be really applied. func (r *Route) RestoreStatus() bool { return r.ChangeMethod(r.methodBckp) } // BuildHandlers is executed automatically by the router handler // at the `Application#Build` state. Do not call it manually, unless // you were defined your own request mux handler. func (r *Route) BuildHandlers() { if r.OnBuild != nil { r.OnBuild(r) } // prepend begin handlers. r.Handlers = append(r.builtinBeginHandlers, append(r.beginHandlers, r.Handlers...)...) // append done handlers. r.Handlers = append(r.Handlers, r.doneHandlers...) // reset the temp storage, so a second call of // BuildHandlers will not re-add them (i.e RefreshRouter). r.builtinBeginHandlers = r.builtinBeginHandlers[0:0] r.beginHandlers = r.beginHandlers[0:0] r.doneHandlers = r.doneHandlers[0:0] } // String returns the form of METHOD, SUBDOMAIN, TMPL PATH. func (r *Route) String() string { start := r.GetTitle() // if r.StatusCode > 0 { // start = fmt.Sprintf("%d (%s)", r.StatusCode, http.StatusText(r.StatusCode)) // } return fmt.Sprintf("%s %s%s", start, r.Subdomain, r.Tmpl().Src) } // Equal compares the method, subdomain and the // underline representation of the route's path, // instead of the `String` function which returns the front representation. func (r *Route) Equal(other *Route) bool { return r.StatusCode == other.StatusCode && r.Method == other.Method && r.Subdomain == other.Subdomain && r.Path == other.Path } // DeepEqual compares the method, subdomain, the // underline representation of the route's path, // and the template source. func (r *Route) DeepEqual(other *Route) bool { return r.Equal(other) && r.tmpl.Src == other.tmpl.Src } // SetName overrides the default route name which defaults to // method + subdomain + path and // statusErrorCode_method+subdomain+path for error routes. // // Note that the route name MUST BE unique per Iris Application. func (r *Route) SetName(newRouteName string) *Route { r.Name = newRouteName return r } // ExcludeSitemap excludes this route page from sitemap generator. // It sets the NoSitemap field to true. // // See `SetLastMod`, `SetChangeFreq`, `SetPriority` methods // and `iris.WithSitemap`. func (r *Route) ExcludeSitemap() *Route { r.NoSitemap = true return r } // SetLastMod sets the date of last modification of the file served by this static GET route. func (r *Route) SetLastMod(t time.Time) *Route { r.LastMod = t return r } // SetChangeFreq sets how frequently this static GET route's page is likely to change, // possible values: // - "always" // - "hourly" // - "daily" // - "weekly" // - "monthly" // - "yearly" // - "never" func (r *Route) SetChangeFreq(freq string) *Route { r.ChangeFreq = freq return r } // SetPriority sets the priority of this static GET route's URL relative to other URLs on your site. func (r *Route) SetPriority(prio float32) *Route { r.Priority = prio return r } // Tmpl returns the path template, // it contains the parsed template // for the route's path. // May contain zero named parameters. // // Developer can get his registered path // via Tmpl().Src, Route.Path is the path // converted to match the underline router's specs. func (r *Route) Tmpl() macro.Template { return r.tmpl } // RegisteredHandlersLen returns the end-developer's registered handlers, all except the macro evaluator handler // if was required by the build process. func (r *Route) RegisteredHandlersLen() int { n := len(r.Handlers) if handler.CanMakeHandler(r.tmpl) { n-- } return n } // IsOnline returns true if the route is marked as "online" (state). func (r *Route) IsOnline() bool { return r.Method != MethodNone } // formats the parsed to the underline path syntax. // path = "/api/users/:id" // return "/api/users/%v" // // path = "/files/*file" // return /files/%v // // path = "/:username/messages/:messageid" // return "/%v/messages/%v" // we don't care about performance here, it's prelisten. func formatPath(path string) string { if strings.Contains(path, ParamStart) || strings.Contains(path, WildcardParamStart) { var ( startRune = ParamStart[0] wildcardStartRune = WildcardParamStart[0] ) var formattedParts []string parts := strings.Split(path, "/") for _, part := range parts { if part == "" { continue } if part[0] == startRune || part[0] == wildcardStartRune { // is param or wildcard param part = "%v" } formattedParts = append(formattedParts, part) } return "/" + strings.Join(formattedParts, "/") } // the whole path is static just return it return path } // IsStatic reports whether this route is a static route. // Does not contain dynamic path parameters, // is online and registered on GET HTTP Method. func (r *Route) IsStatic() bool { return r.IsOnline() && len(r.Tmpl().Params) == 0 && r.Method == "GET" } // StaticPath returns the static part of the original, registered route path. // if /user/{id} it will return /user // if /user/{id}/friend/{friendid:uint64} it will return /user too // if /assets/{filepath:path} it will return /assets. func (r *Route) StaticPath() string { src := r.tmpl.Src return staticPath(src) } // ResolvePath returns the formatted path's %v replaced with the args. func (r *Route) ResolvePath(args ...string) string { rpath, formattedPath := r.Path, r.FormattedPath if rpath == formattedPath { // static, no need to pass args return rpath } // check if we have /*, if yes then join all arguments to one as path and pass that as parameter if rpath[len(rpath)-1] == WildcardParamStart[0] { parameter := strings.Join(args, "/") return fmt.Sprintf(formattedPath, parameter) } // else return the formattedPath with its args, // the order matters. for _, s := range args { formattedPath = strings.Replace(formattedPath, "%v", s, 1) } return formattedPath } func traceHandlerFile(title, name, line string, number int) string { file := fmt.Sprintf("(%s:%d)", filepath.ToSlash(line), number) if context.IgnoreHandlerName(name) { return "" } space := strings.Repeat(" ", len(title)+1) return fmt.Sprintf("\n%s %s %s", space, name, file) } var methodColors = map[string]int{ http.MethodGet: pio.Green, http.MethodPost: pio.Magenta, http.MethodPut: pio.Blue, http.MethodDelete: pio.Red, http.MethodConnect: pio.Green, http.MethodHead: 23, http.MethodPatch: pio.Blue, http.MethodOptions: pio.Gray, http.MethodTrace: pio.Yellow, MethodNone: 203, // orange-red. } // TraceTitleColorCode returns the color code depending on the method or the status. func TraceTitleColorCode(method string) int { if color, ok := methodColors[method]; ok { return color } return 131 // for error handlers, of "ERROR [%STATUSCODE]" } // GetTitle returns the custom Title or the method or the error code. func (r *Route) GetTitle() string { title := r.Title if title == "" { if r.StatusCode > 0 { title = fmt.Sprintf("%d", r.StatusCode) // if error code then title is the status code, e.g. 400. } else { title = r.Method // else is its method, e.g. GET } } return title } // Trace prints some debug info about the Route to the "w". // Should be called after `Build` state. // // It prints the @method: @path (@description) (@route_rel_location) // - @handler_name (@handler_rel_location) // - @second_handler ... // // If route and handler line:number locations are equal then the second is ignored. func (r *Route) Trace(w io.Writer, stoppedIndex int) { title := r.GetTitle() // Color the method. color := TraceTitleColorCode(title) // @method: @path // space := strings.Repeat(" ", len(http.MethodConnect)-len(method)) // s := fmt.Sprintf("%s: %s", pio.Rich(title, color), path) pio.WriteRich(w, title, color) path := r.tmpl.Src if path == "" { path = "/" } fmt.Fprintf(w, ": %s", path) // (@description) description := r.Description if description == "" { if title == MethodNone { description = "offline" } if subdomain := r.Subdomain; subdomain != "" { if subdomain == "*." { // wildcard. subdomain = "subdomain" } if description == "offline" { description += ", " } description += subdomain } } if description != "" { // s += fmt.Sprintf(" %s", pio.Rich(description, pio.Cyan, pio.Underline)) fmt.Fprint(w, " ") pio.WriteRich(w, description, pio.Cyan, pio.Underline) } // (@route_rel_location) // s += fmt.Sprintf(" (%s:%d)", r.RegisterFileName, r.RegisterLineNumber) fmt.Fprintf(w, " (%s:%d)", r.RegisterFileName, r.RegisterLineNumber) for i, h := range r.Handlers { var ( name string file string line int ) if i == r.MainHandlerIndex && r.MainHandlerName != "" { // Main handler info can be programmatically // changed to be more specific, respect these changes. name = r.MainHandlerName file = r.SourceFileName line = r.SourceLineNumber } else { name = context.HandlerName(h) file, line = context.HandlerFileLineRel(h) // If a middleware, e.g (macro) which changes the main handler index, // skip it. // TODO: think of it. if file == "<autogenerated>" { // At PartyConfigure, 2nd+ level of routes it will get <autogenerated> but in reallity will be the same as the caller. file = r.RegisterFileName line = r.RegisterLineNumber } if file == r.SourceFileName && line == r.SourceLineNumber { continue } } // If a handler is an anonymous function then it was already // printed in the first line, skip it. if file == r.RegisterFileName && line == r.RegisterLineNumber { continue } // * @handler_name (@handler_rel_location) fmt.Fprint(w, traceHandlerFile(title, name, file, line)) if stoppedIndex != -1 && stoppedIndex <= len(r.Handlers) { if i <= stoppedIndex { pio.WriteRich(w, " ", pio.Green) // } else { // pio.WriteRich(w, " ", pio.Red, pio.Underline) } } } fmt.Fprintln(w) if r.overlappedLink != nil { bckpDesc := r.overlappedLink.Description r.overlappedLink.Description += " (overlapped)" r.overlappedLink.Trace(w, -1) r.overlappedLink.Description = bckpDesc } } type routeReadOnlyWrapper struct { *Route } var _ context.RouteReadOnly = routeReadOnlyWrapper{} func (rd routeReadOnlyWrapper) StatusErrorCode() int { return rd.Route.StatusCode } func (rd routeReadOnlyWrapper) Method() string { return rd.Route.Method } func (rd routeReadOnlyWrapper) Name() string { return rd.Route.Name } func (rd routeReadOnlyWrapper) Subdomain() string { return rd.Route.Subdomain } func (rd routeReadOnlyWrapper) Path() string { return rd.Route.tmpl.Src } func (rd routeReadOnlyWrapper) Trace(w io.Writer, stoppedIndex int) { rd.Route.Trace(w, stoppedIndex) } func (rd routeReadOnlyWrapper) Tmpl() macro.Template { return rd.Route.Tmpl() } func (rd routeReadOnlyWrapper) MainHandlerName() string { return rd.Route.MainHandlerName } func (rd routeReadOnlyWrapper) MainHandlerIndex() int { return rd.Route.MainHandlerIndex } func (rd routeReadOnlyWrapper) Property(key string) (interface{}, bool) { properties := rd.Route.Party.Properties() if properties != nil { if property, ok := properties[key]; ok { return property, true } } return nil, false } func (rd routeReadOnlyWrapper) GetLastMod() time.Time { return rd.Route.LastMod } func (rd routeReadOnlyWrapper) GetChangeFreq() string { return rd.Route.ChangeFreq } func (rd routeReadOnlyWrapper) GetPriority() float32 { return rd.Route.Priority } ```
Laevagonum is a genus of ground beetles in the family Carabidae. There are about 10 described species in Laevagonum, found on New Guinea. Species These 10 species belong to the genus Laevagonum: Laevagonum alticola Baehr, 2012 Laevagonum cistelum Darlington, 1952 Laevagonum citum Darlington, 1952 Laevagonum frustum Darlington, 1971 Laevagonum giluwe Darlington, 1971 Laevagonum huon Baehr, 2012 Laevagonum parafrustum Baehr, 2012 Laevagonum pertenue Darlington, 1971 Laevagonum subcistelum Darlington, 1952 Laevagonum subcitum Darlington, 1952 References Platyninae Carabidae genera
A representative payee, or substitute payee, is a person who acts as the receiver of United States Social Security Disability or Supplemental Security Income for a person who is not fully capable of managing their own benefits, i.e. cannot be their own payee. The representative payee is expected to assist the person with money management, along with providing protection from financial abuse and victimization. Abuse As with other examples of disability fraud, since the disabled person has presumed poor judgement, they are at risk of choosing, or letting others choose for them, a payee who takes advantage of them by using the benefits for themselves, either partially or entirely, leaving the disabled person deprived of adequate clothing, food, or shelter. Cases of such fraud or abuse are typically referred to Adult Protective Services (Child Protective Services in the case of minors), in addition to law enforcement. Notable cases of this include the 2011 Philadelphia basement kidnapping. Payee programs Some US states and counties have set up representative, or substitute, payee programs, to allow psychiatric case workers and other professional care providers to manage their clients finances with more extensive oversight. References "Conservator" FAQ at the San Diego Superior Court website substitute payee guidelines at the Oklahoma Department of Human Services website Social Security, Medicare & Government Pensions, Joseph L. Matthews, Joseph Matthews, Dorothy Matthews Berman, Nolo Press, 2011, p. 166, (at Google Books) representative payee information at the North Carolina Department of Health and Human Services website representative payee information at the San Joaquin County Health Care Services website External links payee information at the Social Security Administration website A Guide for Representative Payees, Social Security Administration Social security in the United States Social care in the United States Disability law in the United States
```python # coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator path_to_url # noqa: E501 The version of the OpenAPI document: release-1.30 Generated by: path_to_url """ import pprint import re # noqa: F401 import six from kubernetes.client.configuration import Configuration class V1DaemonSetCondition(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: path_to_url Do not edit the class manually. """ """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ openapi_types = { 'last_transition_time': 'datetime', 'message': 'str', 'reason': 'str', 'status': 'str', 'type': 'str' } attribute_map = { 'last_transition_time': 'lastTransitionTime', 'message': 'message', 'reason': 'reason', 'status': 'status', 'type': 'type' } def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 """V1DaemonSetCondition - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._last_transition_time = None self._message = None self._reason = None self._status = None self._type = None self.discriminator = None if last_transition_time is not None: self.last_transition_time = last_transition_time if message is not None: self.message = message if reason is not None: self.reason = reason self.status = status self.type = type @property def last_transition_time(self): """Gets the last_transition_time of this V1DaemonSetCondition. # noqa: E501 Last time the condition transitioned from one status to another. # noqa: E501 :return: The last_transition_time of this V1DaemonSetCondition. # noqa: E501 :rtype: datetime """ return self._last_transition_time @last_transition_time.setter def last_transition_time(self, last_transition_time): """Sets the last_transition_time of this V1DaemonSetCondition. Last time the condition transitioned from one status to another. # noqa: E501 :param last_transition_time: The last_transition_time of this V1DaemonSetCondition. # noqa: E501 :type: datetime """ self._last_transition_time = last_transition_time @property def message(self): """Gets the message of this V1DaemonSetCondition. # noqa: E501 A human readable message indicating details about the transition. # noqa: E501 :return: The message of this V1DaemonSetCondition. # noqa: E501 :rtype: str """ return self._message @message.setter def message(self, message): """Sets the message of this V1DaemonSetCondition. A human readable message indicating details about the transition. # noqa: E501 :param message: The message of this V1DaemonSetCondition. # noqa: E501 :type: str """ self._message = message @property def reason(self): """Gets the reason of this V1DaemonSetCondition. # noqa: E501 The reason for the condition's last transition. # noqa: E501 :return: The reason of this V1DaemonSetCondition. # noqa: E501 :rtype: str """ return self._reason @reason.setter def reason(self, reason): """Sets the reason of this V1DaemonSetCondition. The reason for the condition's last transition. # noqa: E501 :param reason: The reason of this V1DaemonSetCondition. # noqa: E501 :type: str """ self._reason = reason @property def status(self): """Gets the status of this V1DaemonSetCondition. # noqa: E501 Status of the condition, one of True, False, Unknown. # noqa: E501 :return: The status of this V1DaemonSetCondition. # noqa: E501 :rtype: str """ return self._status @status.setter def status(self, status): """Sets the status of this V1DaemonSetCondition. Status of the condition, one of True, False, Unknown. # noqa: E501 :param status: The status of this V1DaemonSetCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 self._status = status @property def type(self): """Gets the type of this V1DaemonSetCondition. # noqa: E501 Type of DaemonSet condition. # noqa: E501 :return: The type of this V1DaemonSetCondition. # noqa: E501 :rtype: str """ return self._type @type.setter def type(self, type): """Sets the type of this V1DaemonSetCondition. Type of DaemonSet condition. # noqa: E501 :param type: The type of this V1DaemonSetCondition. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 self._type = type def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, V1DaemonSetCondition): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" if not isinstance(other, V1DaemonSetCondition): return True return self.to_dict() != other.to_dict() ```
```glsl module rec LibExecution.RuntimeTypesToDarkTypes open Prelude open RuntimeTypes module VT = ValueType module D = DvalDecoder module C2DT = LibExecution.CommonToDarkTypes // TODO: should these be elsewhere? let ownerField m = m |> D.stringField "owner" let modulesField m = m |> D.stringListField "modules" let nameField m = m |> D.stringField "name" let versionField m = m |> D.intField "version" module FQTypeName = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQTypeName.fqTypeName let knownType = KTCustomType(typeName, []) module Package = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQTypeName.package let toDT (u : FQTypeName.Package) : Dval = DUuid u let fromDT (d : Dval) : FQTypeName.Package = match d with | DUuid u -> u | _ -> Exception.raiseInternal "Invalid FQTypeName.Package" [] let toDT (u : FQTypeName.FQTypeName) : Dval = let (caseName, fields) = match u with | FQTypeName.Package u -> "Package", [ Package.toDT u ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : FQTypeName.FQTypeName = match d with | DEnum(_, _, [], "Package", [ u ]) -> FQTypeName.Package(Package.fromDT u) | _ -> Exception.raiseInternal "Invalid FQTypeName" [] module FQConstantName = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQConstantName.fqConstantName let knownType = KTCustomType(typeName, []) module Builtin = let toDT (u : FQConstantName.Builtin) : Dval = let fields = [ "name", DString u.name; "version", DInt64 u.version ] let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQConstantName.builtin DRecord(typeName, typeName, [], Map fields) let fromDT (d : Dval) : FQConstantName.Builtin = match d with | DRecord(_, _, _, fields) -> { name = nameField fields; version = versionField fields } | _ -> Exception.raiseInternal "Invalid FQConstantName.Builtin" [] module Package = let toDT (u : FQConstantName.Package) : Dval = DUuid u let fromDT (d : Dval) : FQConstantName.Package = match d with | DUuid id -> id | _ -> Exception.raiseInternal "Invalid FQConstantName.Package" [] let toDT (u : FQConstantName.FQConstantName) : Dval = let (caseName, fields) = match u with | FQConstantName.Builtin u -> "Builtin", [ Builtin.toDT u ] | FQConstantName.Package u -> "Package", [ Package.toDT u ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : FQConstantName.FQConstantName = match d with | DEnum(_, _, [], "Builtin", [ u ]) -> FQConstantName.Builtin(Builtin.fromDT u) | DEnum(_, _, [], "Package", [ u ]) -> FQConstantName.Package(Package.fromDT u) | _ -> Exception.raiseInternal "Invalid FQConstantName" [] module FQFnName = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQFnName.fqFnName let knownType = KTCustomType(typeName, []) module Builtin = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.FQFnName.builtin let toDT (u : FQFnName.Builtin) : Dval = let fields = [ "name", DString u.name; "version", DInt64 u.version ] DRecord(typeName, typeName, [], Map fields) let fromDT (d : Dval) : FQFnName.Builtin = match d with | DRecord(_, _, _, fields) -> { name = nameField fields; version = versionField fields } | _ -> Exception.raiseInternal "Invalid FQFnName.Builtin" [] module Package = let toDT (u : FQFnName.Package) : Dval = DUuid u let fromDT (d : Dval) : FQFnName.Package = match d with | DUuid u -> u | _ -> Exception.raiseInternal "Invalid FQFnName.Package" [] let toDT (u : FQFnName.FQFnName) : Dval = let (caseName, fields) = match u with | FQFnName.Builtin u -> "Builtin", [ Builtin.toDT u ] | FQFnName.Package u -> "Package", [ Package.toDT u ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : FQFnName.FQFnName = match d with | DEnum(_, _, [], "Builtin", [ u ]) -> FQFnName.Builtin(Builtin.fromDT u) | DEnum(_, _, [], "Package", [ u ]) -> FQFnName.Package(Package.fromDT u) | _ -> Exception.raiseInternal "Invalid FQFnName" [] module NameResolution = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeError.NameResolution.error let toDT (nameValueType : KnownType) (f : 'p -> Dval) (result : NameResolution<'p>) : Dval = let errType = KTCustomType(typeName, []) C2DT.Result.toDT nameValueType errType result f RuntimeError.toDT let fromDT (f : Dval -> 'a) (d : Dval) : NameResolution<'a> = C2DT.Result.fromDT f d RuntimeError.fromDT module TypeReference = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.typeReference let knownType = KTCustomType(typeName, []) let rec toDT (t : TypeReference) : Dval = let (caseName, fields) = match t with | TVariable name -> "TVariable", [ DString name ] | TUnit -> "TUnit", [] | TBool -> "TBool", [] | TInt64 -> "TInt64", [] | TUInt64 -> "TUInt64", [] | TInt8 -> "TInt8", [] | TUInt8 -> "TUInt8", [] | TInt16 -> "TInt16", [] | TUInt16 -> "TUInt16", [] | TInt32 -> "TInt32", [] | TUInt32 -> "TUInt32", [] | TInt128 -> "TInt128", [] | TUInt128 -> "TUInt128", [] | TFloat -> "TFloat", [] | TChar -> "TChar", [] | TString -> "TString", [] | TDateTime -> "TDateTime", [] | TUuid -> "TUuid", [] | TList inner -> "TList", [ toDT inner ] | TTuple(first, second, theRest) -> "TTuple", [ toDT first; toDT second; DList(VT.known knownType, List.map toDT theRest) ] | TDict inner -> "TDict", [ toDT inner ] | TCustomType(typeName, typeArgs) -> "TCustomType", [ NameResolution.toDT FQTypeName.knownType FQTypeName.toDT typeName DList(VT.known knownType, List.map toDT typeArgs) ] | TDB inner -> "TDB", [ toDT inner ] | TFn(args, ret) -> let args = args |> NEList.toList |> List.map toDT |> Dval.list knownType "TFn", [ args; toDT ret ] DEnum(typeName, typeName, [], caseName, fields) let rec fromDT (d : Dval) : TypeReference = match d with | DEnum(_, _, [], "TVariable", [ DString name ]) -> TVariable(name) | DEnum(_, _, [], "TUnit", []) -> TUnit | DEnum(_, _, [], "TBool", []) -> TBool | DEnum(_, _, [], "TInt64", []) -> TInt64 | DEnum(_, _, [], "TUInt64", []) -> TUInt64 | DEnum(_, _, [], "TInt8", []) -> TInt8 | DEnum(_, _, [], "TUInt8", []) -> TUInt8 | DEnum(_, _, [], "TInt16", []) -> TInt16 | DEnum(_, _, [], "TUInt16", []) -> TUInt16 | DEnum(_, _, [], "TInt32", []) -> TInt32 | DEnum(_, _, [], "TUInt32", []) -> TUInt32 | DEnum(_, _, [], "TInt128", []) -> TInt128 | DEnum(_, _, [], "TUInt128", []) -> TUInt128 | DEnum(_, _, [], "TFloat", []) -> TFloat | DEnum(_, _, [], "TChar", []) -> TChar | DEnum(_, _, [], "TString", []) -> TString | DEnum(_, _, [], "TDateTime", []) -> TDateTime | DEnum(_, _, [], "TUuid", []) -> TUuid | DEnum(_, _, [], "TList", [ inner ]) -> TList(fromDT inner) | DEnum(_, _, [], "TTuple", [ first; second; DList(_vtTODO, theRest) ]) -> TTuple(fromDT first, fromDT second, List.map fromDT theRest) | DEnum(_, _, [], "TDict", [ inner ]) -> TDict(fromDT inner) | DEnum(_, _, [], "TCustomType", [ typeName; DList(_vtTODO, typeArgs) ]) -> TCustomType( NameResolution.fromDT FQTypeName.fromDT typeName, List.map fromDT typeArgs ) | DEnum(_, _, [], "TDB", [ inner ]) -> TDB(fromDT inner) | DEnum(_, _, [], "TFn", [ DList(_vtTODO, firstArg :: otherArgs); ret ]) -> TFn(NEList.ofList (fromDT firstArg) (List.map fromDT otherArgs), fromDT ret) | _ -> Exception.raiseInternal "Invalid TypeReference" [ "typeRef", d ] module Param = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.param let toDT (p : Param) : Dval = let fields = [ ("name", DString p.name); ("typ", TypeReference.toDT p.typ) ] DRecord(typeName, typeName, [], Map fields) module LetPattern = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.letPattern let knownType = KTCustomType(typeName, []) let rec toDT (p : LetPattern) : Dval = let (caseName, fields) = match p with | LPVariable(id, name) -> "LPVariable", [ DInt64(int64 id); DString name ] | LPUnit id -> "LPUnit", [ DInt64(int64 id) ] | LPTuple(id, first, second, theRest) -> "LPTuple", [ DInt64(int64 id) toDT first toDT second DList(VT.known knownType, List.map toDT theRest) ] DEnum(typeName, typeName, [], caseName, fields) let rec fromDT (d : Dval) : LetPattern = match d with | DEnum(_, _, [], "LPVariable", [ DInt64 id; DString name ]) -> LPVariable(uint64 id, name) | DEnum(_, _, [], "LPUnit", [ DInt64 id ]) -> LPUnit(uint64 id) | DEnum(_, _, [], "LPTuple", [ DInt64 id; first; second; DList(_vtTODO, theRest) ]) -> LPTuple(uint64 id, fromDT first, fromDT second, List.map fromDT theRest) | _ -> Exception.raiseInternal "Invalid LetPattern" [] module MatchPattern = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.matchPattern let knownType = KTCustomType(typeName, []) let rec toDT (p : MatchPattern) : Dval = let (caseName, fields) = match p with | MPVariable(id, name) -> "MPVariable", [ DInt64(int64 id); DString name ] | MPUnit id -> "MPUnit", [ DInt64(int64 id) ] | MPBool(id, b) -> "MPBool", [ DInt64(int64 id); DBool b ] | MPInt8(id, i) -> "MPInt8", [ DInt64(int64 id); DInt8 i ] | MPUInt8(id, i) -> "MPUInt8", [ DInt64(int64 id); DUInt8 i ] | MPInt16(id, i) -> "MPInt16", [ DInt64(int64 id); DInt16 i ] | MPUInt16(id, i) -> "MPUInt16", [ DInt64(int64 id); DUInt16 i ] | MPInt32(id, i) -> "MPInt32", [ DInt64(int64 id); DInt32 i ] | MPUInt32(id, i) -> "MPUInt32", [ DInt64(int64 id); DUInt32 i ] | MPInt64(id, i) -> "MPInt64", [ DInt64(int64 id); DInt64 i ] | MPUInt64(id, i) -> "MPUInt64", [ DInt64(int64 id); DUInt64 i ] | MPInt128(id, i) -> "MPInt128", [ DInt64(int64 id); DInt128 i ] | MPUInt128(id, i) -> "MPUInt128", [ DInt64(int64 id); DUInt128 i ] | MPFloat(id, f) -> "MPFloat", [ DInt64(int64 id); DFloat f ] | MPChar(id, c) -> "MPChar", [ DInt64(int64 id); DString c ] | MPString(id, s) -> "MPString", [ DInt64(int64 id); DString s ] | MPList(id, inner) -> "MPList", [ DInt64(int64 id); DList(VT.known knownType, List.map toDT inner) ] | MPListCons(id, head, tail) -> "MPListCons", [ DInt64(int64 id); toDT head; toDT tail ] | MPTuple(id, first, second, theRest) -> "MPTuple", [ DInt64(int64 id) toDT first toDT second DList(VT.known knownType, List.map toDT theRest) ] | MPEnum(id, caseName, fieldPats) -> "MPEnum", [ DInt64(int64 id) DString caseName DList(VT.known knownType, List.map toDT fieldPats) ] DEnum(typeName, typeName, [], caseName, fields) let rec fromDT (d : Dval) : MatchPattern = match d with | DEnum(_, _, [], "MPVariable", [ DInt64 id; DString name ]) -> MPVariable(uint64 id, name) | DEnum(_, _, [], "MPUnit", [ DInt64 id ]) -> MPUnit(uint64 id) | DEnum(_, _, [], "MPBool", [ DInt64 id; DBool b ]) -> MPBool(uint64 id, b) | DEnum(_, _, [], "MPInt8", [ DInt64 id; DInt8 i ]) -> MPInt8(uint64 id, i) | DEnum(_, _, [], "MPUInt8", [ DInt64 id; DUInt8 i ]) -> MPUInt8(uint64 id, i) | DEnum(_, _, [], "MPInt16", [ DInt64 id; DInt16 i ]) -> MPInt16(uint64 id, i) | DEnum(_, _, [], "MPUInt16", [ DInt64 id; DUInt16 i ]) -> MPUInt16(uint64 id, i) | DEnum(_, _, [], "MPInt32", [ DInt64 id; DInt32 i ]) -> MPInt32(uint64 id, i) | DEnum(_, _, [], "MPUInt32", [ DInt64 id; DUInt32 i ]) -> MPUInt32(uint64 id, i) | DEnum(_, _, [], "MPInt64", [ DInt64 id; DInt64 i ]) -> MPInt64(uint64 id, i) | DEnum(_, _, [], "MPUInt64", [ DInt64 id; DUInt64 i ]) -> MPUInt64(uint64 id, i) | DEnum(_, _, [], "MPInt128", [ DInt64 id; DInt128 i ]) -> MPInt128(uint64 id, i) | DEnum(_, _, [], "MPUInt128", [ DInt64 id; DUInt128 i ]) -> MPUInt128(uint64 id, i) | DEnum(_, _, [], "MPFloat", [ DInt64 id; DFloat f ]) -> MPFloat(uint64 id, f) | DEnum(_, _, [], "MPChar", [ DInt64 id; DString c ]) -> MPChar(uint64 id, c) | DEnum(_, _, [], "MPString", [ DInt64 id; DString s ]) -> MPString(uint64 id, s) | DEnum(_, _, [], "MPList", [ DInt64 id; DList(_vtTODO, inner) ]) -> MPList(uint64 id, List.map fromDT inner) | DEnum(_, _, [], "MPListCons", [ DInt64 id; head; tail ]) -> MPListCons(uint64 id, fromDT head, fromDT tail) | DEnum(_, _, [], "MPTuple", [ DInt64 id; first; second; DList(_vtTODO, theRest) ]) -> MPTuple(uint64 id, fromDT first, fromDT second, List.map fromDT theRest) | DEnum(_, _, [], "MPEnum", [ DInt64 id; DString caseName; DList(_vtTODO, fieldPats) ]) -> MPEnum(uint64 id, caseName, List.map fromDT fieldPats) | _ -> Exception.raiseInternal "Invalid MatchPattern" [] module StringSegment = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.stringSegment let knownType = KTCustomType(typeName, []) let toDT (exprToDT : Expr -> Dval) (s : StringSegment) : Dval = let (caseName, fields) = match s with | StringText text -> "StringText", [ DString text ] | StringInterpolation expr -> "StringInterpolation", [ exprToDT expr ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (exprFromDT : Dval -> Expr) (d : Dval) : StringSegment = match d with | DEnum(_, _, [], "StringText", [ DString text ]) -> StringText text | DEnum(_, _, [], "StringInterpolation", [ expr ]) -> StringInterpolation(exprFromDT expr) | _ -> Exception.raiseInternal "Invalid StringSegment" [] module Expr = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.expr let knownType = KTCustomType(typeName, []) let rec toDT (e : Expr) : Dval = let (caseName, fields) = match e with | EUnit id -> "EUnit", [ DInt64(int64 id) ] | EBool(id, b) -> "EBool", [ DInt64(int64 id); DBool b ] | EInt64(id, i) -> "EInt64", [ DInt64(int64 id); DInt64 i ] | EUInt64(id, i) -> "EUInt64", [ DInt64(int64 id); DUInt64 i ] | EInt8(id, i) -> "EInt8", [ DInt64(int64 id); DInt8 i ] | EUInt8(id, i) -> "EUInt8", [ DInt64(int64 id); DUInt8 i ] | EInt16(id, i) -> "EInt16", [ DInt64(int64 id); DInt16 i ] | EUInt16(id, i) -> "EUInt16", [ DInt64(int64 id); DUInt16 i ] | EInt32(id, i) -> "EInt32", [ DInt64(int64 id); DInt32 i ] | EUInt32(id, i) -> "EUInt32", [ DInt64(int64 id); DUInt32 i ] | EInt128(id, i) -> "EInt128", [ DInt64(int64 id); DInt128 i ] | EUInt128(id, i) -> "EUInt128", [ DInt64(int64 id); DUInt128 i ] | EFloat(id, f) -> "EFloat", [ DInt64(int64 id); DFloat f ] | EChar(id, c) -> "EChar", [ DInt64(int64 id); DString c ] | EString(id, segments) -> let segments = DList( VT.known StringSegment.knownType, List.map (StringSegment.toDT toDT) segments ) "EString", [ DInt64(int64 id); segments ] | EList(id, exprs) -> "EList", [ DInt64(int64 id); Dval.list knownType (List.map toDT exprs) ] | EDict(id, entries) -> let entries = entries |> List.map (fun (k, v) -> DTuple(DString k, toDT v, [])) |> fun entries -> DList(VT.tuple VT.string (ValueType.known knownType) [], entries) "EDict", [ DInt64(int64 id); entries ] | ETuple(id, first, second, theRest) -> "ETuple", [ DInt64(int64 id) toDT first toDT second Dval.list knownType (List.map toDT theRest) ] | ERecord(id, typeName, fields) -> let fields = fields |> NEList.toList |> List.map (fun (name, expr) -> DTuple(DString name, toDT expr, [])) |> fun fields -> DList(VT.tuple VT.string (ValueType.known knownType) [], fields) "ERecord", [ DInt64(int64 id); FQTypeName.toDT typeName; fields ] | EEnum(id, typeName, caseName, fields) -> "EEnum", [ DInt64(int64 id) FQTypeName.toDT typeName DString caseName Dval.list knownType (List.map toDT fields) ] // declaring and accessing variables | ELet(id, lp, expr, body) -> "ELet", [ DInt64(int64 id); LetPattern.toDT lp; toDT expr; toDT body ] | EFieldAccess(id, expr, fieldName) -> "EFieldAccess", [ DInt64(int64 id); toDT expr; DString fieldName ] | EVariable(id, varName) -> "EVariable", [ DInt64(int64 id); DString varName ] // control flow | EIf(id, cond, thenExpr, elseExpr) -> "EIf", [ DInt64(int64 id) toDT cond toDT thenExpr elseExpr |> Option.map toDT |> Dval.option knownType ] | EMatch(id, arg, cases) -> let matchCaseTypeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.matchCase let cases = cases |> NEList.toList |> List.map (fun case -> let pattern = MatchPattern.toDT case.pat let whenCondition = case.whenCondition |> Option.map toDT |> Dval.option knownType let expr = toDT case.rhs DRecord( matchCaseTypeName, matchCaseTypeName, [], Map [ ("pat", pattern) ("whenCondition", whenCondition) ("rhs", expr) ] )) |> Dval.list (KTCustomType(matchCaseTypeName, [])) "EMatch", [ DInt64(int64 id); toDT arg; cases ] | ELambda(id, pats, body) -> let variables = (NEList.toList pats) |> List.map LetPattern.toDT |> Dval.list (KTTuple(VT.int64, VT.string, [])) "ELambda", [ DInt64(int64 id); variables; toDT body ] | EConstant(id, name) -> "EConstant", [ DInt64(int64 id); FQConstantName.toDT name ] | EApply(id, expr, typeArgs, args) -> let typeArgs = typeArgs |> List.map TypeReference.toDT |> Dval.list TypeReference.knownType let args = Dval.list TypeReference.knownType (args |> NEList.toList |> List.map toDT) "EApply", [ DInt64(int64 id); toDT expr; typeArgs; args ] | EFnName(id, name) -> "EFnName", [ DInt64(int64 id); FQFnName.toDT name ] | ERecordUpdate(id, record, updates) -> let updates = NEList.toList updates |> List.map (fun (name, expr) -> DTuple(DString name, toDT expr, [])) |> Dval.list (KTTuple(VT.string, VT.known knownType, [])) "ERecordUpdate", [ DInt64(int64 id); toDT record; updates ] | EAnd(id, left, right) -> "EAnd", [ DInt64(int64 id); toDT left; toDT right ] | EOr(id, left, right) -> "EOr", [ DInt64(int64 id); toDT left; toDT right ] // Let the error straight through | EError(id, rtError, exprs) -> "EError", [ DInt64(int64 id) RuntimeTypes.RuntimeError.toDT rtError Dval.list knownType (List.map toDT exprs) ] DEnum(typeName, typeName, [], caseName, fields) let rec fromDT (d : Dval) : Expr = match d with | DEnum(_, _, [], "EUnit", [ DInt64 id ]) -> EUnit(uint64 id) | DEnum(_, _, [], "EBool", [ DInt64 id; DBool b ]) -> EBool(uint64 id, b) | DEnum(_, _, [], "EInt64", [ DInt64 id; DInt64 i ]) -> EInt64(uint64 id, i) | DEnum(_, _, [], "EUInt64", [ DInt64 id; DUInt64 i ]) -> EUInt64(uint64 id, i) | DEnum(_, _, [], "EInt8", [ DInt64 id; DInt8 i ]) -> EInt8(uint64 id, i) | DEnum(_, _, [], "EUInt8", [ DInt64 id; DUInt8 i ]) -> EUInt8(uint64 id, i) | DEnum(_, _, [], "EInt16", [ DInt64 id; DInt16 i ]) -> EInt16(uint64 id, i) | DEnum(_, _, [], "EUInt16", [ DInt64 id; DUInt16 i ]) -> EUInt16(uint64 id, i) | DEnum(_, _, [], "EInt32", [ DInt64 id; DInt32 i ]) -> EInt32(uint64 id, i) | DEnum(_, _, [], "EUInt32", [ DInt64 id; DUInt32 i ]) -> EUInt32(uint64 id, i) | DEnum(_, _, [], "EInt128", [ DInt64 id; DInt128 i ]) -> EInt128(uint64 id, i) | DEnum(_, _, [], "EUInt128", [ DInt64 id; DUInt128 i ]) -> EUInt128(uint64 id, i) | DEnum(_, _, [], "EFloat", [ DInt64 id; DFloat f ]) -> EFloat(uint64 id, f) | DEnum(_, _, [], "EChar", [ DInt64 id; DString c ]) -> EChar(uint64 id, c) | DEnum(_, _, [], "EString", [ DInt64 id; DList(_vtTODO, segments) ]) -> EString(uint64 id, List.map (StringSegment.fromDT fromDT) segments) | DEnum(_, _, [], "EList", [ DInt64 id; DList(_vtTODO, inner) ]) -> EList(uint64 id, List.map fromDT inner) | DEnum(_, _, [], "EDict", [ DInt64 id; DList(_vtTODO, pairsList) ]) -> let pairs = pairsList // TODO: this should be a List.map, and raise an exception |> List.collect (fun pair -> match pair with | DTuple(DString k, v, _) -> [ (k, fromDT v) ] | _ -> []) // TODO: raise exception EDict(uint64 id, pairs) | DEnum(_, _, [], "ETuple", [ DInt64 id; first; second; DList(_vtTODO, theRest) ]) -> ETuple(uint64 id, fromDT first, fromDT second, List.map fromDT theRest) | DEnum(_, _, [], "ERecord", [ DInt64 id; typeName; DList(_vtTODO1, fieldsList) ]) -> let fields = fieldsList |> List.collect (fun field -> match field with | DTuple(DString name, expr, _) -> [ (name, fromDT expr) ] | _ -> []) ERecord( uint64 id, FQTypeName.fromDT typeName, NEList.ofListUnsafe "RT2DT.Expr.fromDT expected at least one field in ERecord" [] fields ) | DEnum(_, _, [], "EEnum", [ DInt64 id; typeName; DString caseName; DList(_vtTODO, fields) ]) -> EEnum(uint64 id, FQTypeName.fromDT typeName, caseName, List.map fromDT fields) | DEnum(_, _, [], "ELet", [ DInt64 id; lp; expr; body ]) -> ELet(uint64 id, LetPattern.fromDT lp, fromDT expr, fromDT body) | DEnum(_, _, [], "EFieldAccess", [ DInt64 id; expr; DString fieldName ]) -> EFieldAccess(uint64 id, fromDT expr, fieldName) | DEnum(_, _, [], "EVariable", [ DInt64 id; DString varName ]) -> EVariable(uint64 id, varName) | DEnum(_, _, [], "EIf", [ DInt64 id; cond; thenExpr; elseExpr ]) -> let elseExpr = match elseExpr with | DEnum(_, _, _typeArgsDEnumTODO, "Some", [ dv ]) -> Some(fromDT dv) | DEnum(_, _, _typeArgsDEnumTODO, "None", []) -> None | _ -> Exception.raiseInternal "Invalid else expression" [ "elseExpr", elseExpr ] EIf(uint64 id, fromDT cond, fromDT thenExpr, elseExpr) | DEnum(_, _, [], "EMatch", [ DInt64 id; arg; DList(_vtTODO, cases) ]) -> let cases = cases |> List.collect (fun case -> match case with | DRecord(_, _, _, fields) -> let whenCondition = match Map.tryFind "whenCondition" fields with | Some(DEnum(_, _, _, "Some", [ value ])) -> Some(fromDT value) | Some(DEnum(_, _, _, "None", [])) -> None | _ -> None match Map.tryFind "pat" fields, Map.tryFind "rhs" fields with | Some pat, Some rhs -> [ { pat = MatchPattern.fromDT pat whenCondition = whenCondition rhs = fromDT rhs } ] | _ -> [] | _ -> []) EMatch( uint64 id, fromDT arg, NEList.ofListUnsafe "RT2DT.Expr.fromDT expected at least one case in EMatch" [] cases ) | DEnum(_, _, [], "ELambda", [ DInt64 id; DList(_vtTODO, pats); body ]) -> let pats = pats |> List.map LetPattern.fromDT |> NEList.ofListUnsafe "RT2DT.Expr.fromDT expected at least one bound variable in ELambda" [] ELambda(uint64 id, pats, fromDT body) | DEnum(_, _, [], "EApply", [ DInt64 id; name; DList(_vtTODO1, typeArgs); DList(_vtTODO2, args) ]) -> let args = NEList.ofListUnsafe "RT2DT.Expr.fromDT expected at least one argument in EApply" [] args EApply( uint64 id, fromDT name, List.map TypeReference.fromDT typeArgs, NEList.map fromDT args ) | DEnum(_, _, [], "EFnName", [ DInt64 id; name ]) -> EFnName(uint64 id, FQFnName.fromDT name) | DEnum(_, _, [], "ERecordUpdate", [ DInt64 id; record; DList(_vtTODO, updates) ]) -> let updates = updates |> List.collect (fun update -> match update with | DTuple(DString name, expr, _) -> [ (name, fromDT expr) ] | _ -> []) ERecordUpdate( uint64 id, fromDT record, NEList.ofListUnsafe "RT2DT.Expr.fromDT expected at least one field update in ERecordUpdate" [] updates ) // now for EAnd, EOr and EError | DEnum(_, _, [], "EAnd", [ DInt64 id; left; right ]) -> EAnd(uint64 id, fromDT left, fromDT right) | DEnum(_, _, [], "EOr", [ DInt64 id; left; right ]) -> EOr(uint64 id, fromDT left, fromDT right) | DEnum(_, _, [], "EError", [ DInt64 id; rtError; DList(_vtTODO, exprs) ]) -> EError(uint64 id, RuntimeError.fromDT rtError, List.map fromDT exprs) | e -> Exception.raiseInternal "Invalid Expr" [ "e", e ] module RuntimeError = let toDT (e : RuntimeError) : Dval = e |> RuntimeTypes.RuntimeError.toDT |> Dval.toDT let fromDT (d : Dval) : RuntimeError = d |> Dval.fromDT |> RuntimeTypes.RuntimeError.fromDT module KnownType = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.knownType let toDT (kt : KnownType) : Dval = let (caseName, fields) = match kt with | KTUnit -> "KTUnit", [] | KTBool -> "KTBool", [] | KTInt64 -> "KTInt64", [] | KTUInt64 -> "KTUInt64", [] | KTInt8 -> "KTInt8", [] | KTUInt8 -> "KTUInt8", [] | KTInt16 -> "KTInt16", [] | KTUInt16 -> "KTUInt16", [] | KTInt32 -> "KTInt32", [] | KTUInt32 -> "KTUInt32", [] | KTInt128 -> "KTInt128", [] | KTUInt128 -> "KTUInt128", [] | KTFloat -> "KTFloat", [] | KTChar -> "KTChar", [] | KTString -> "KTString", [] | KTUuid -> "KTUuid", [] | KTDateTime -> "KTDateTime", [] | KTList inner -> "KTList", [ ValueType.toDT inner ] | KTTuple(first, second, theRest) -> "KTTuple", [ ValueType.toDT first ValueType.toDT second DList(VT.known ValueType.knownType, List.map ValueType.toDT theRest) ] | KTDict inner -> "KTDict", [ ValueType.toDT inner ] | KTCustomType(typeName, typeArgs) -> "KTCustomType", [ FQTypeName.toDT typeName DList(VT.known ValueType.knownType, List.map ValueType.toDT typeArgs) ] | KTFn(args, ret) -> let args = args |> NEList.toList |> List.map ValueType.toDT |> Dval.list ValueType.knownType "KTFn", [ args; ValueType.toDT ret ] | KTDB d -> "KTDB", [ ValueType.toDT d ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : KnownType = match d with | DEnum(_, _, [], "KTUnit", []) -> KTUnit | DEnum(_, _, [], "KTBool", []) -> KTBool | DEnum(_, _, [], "KTInt64", []) -> KTInt64 | DEnum(_, _, [], "KTUInt64", []) -> KTUInt64 | DEnum(_, _, [], "KTInt8", []) -> KTInt8 | DEnum(_, _, [], "KTUInt8", []) -> KTUInt8 | DEnum(_, _, [], "KTInt16", []) -> KTInt16 | DEnum(_, _, [], "KTUInt16", []) -> KTUInt16 | DEnum(_, _, [], "KTInt32", []) -> KTInt32 | DEnum(_, _, [], "KTUInt32", []) -> KTUInt32 | DEnum(_, _, [], "KTInt128", []) -> KTInt128 | DEnum(_, _, [], "KTUInt128", []) -> KTUInt128 | DEnum(_, _, [], "KTFloat", []) -> KTFloat | DEnum(_, _, [], "KTChar", []) -> KTChar | DEnum(_, _, [], "KTString", []) -> KTString | DEnum(_, _, [], "KTUuid", []) -> KTUuid | DEnum(_, _, [], "KTDateTime", []) -> KTDateTime | DEnum(_, _, [], "KTList", [ inner ]) -> KTList(ValueType.fromDT inner) | DEnum(_, _, [], "KTTuple", [ first; second; DList(_vtTODO, theRest) ]) -> KTTuple( ValueType.fromDT first, ValueType.fromDT second, List.map ValueType.fromDT theRest ) | DEnum(_, _, [], "KTDict", [ inner ]) -> KTDict(ValueType.fromDT inner) | DEnum(_, _, [], "KTCustomType", [ typeName; DList(_vtTODO, typeArgs) ]) -> KTCustomType(FQTypeName.fromDT typeName, List.map ValueType.fromDT typeArgs) | DEnum(_, _, [], "KTFn", [ DList(_vtTODO, firstArg :: otherArgs); ret ]) -> KTFn( NEList.ofList (ValueType.fromDT firstArg) (List.map ValueType.fromDT otherArgs), ValueType.fromDT ret ) | DEnum(_, _, [], "KTDB", [ inner ]) -> KTDB(ValueType.fromDT inner) | _ -> Exception.raiseInternal "Invalid KnownType" [] module ValueType = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.valueType let knownType = KTCustomType(typeName, []) let toDT (vt : ValueType) : Dval = let (caseName, fields) = match vt with | ValueType.Unknown -> "Unknown", [] | ValueType.Known kt -> let kt = KnownType.toDT kt "Known", [ kt ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : ValueType = match d with | DEnum(_, _, [], "Unknown", []) -> ValueType.Unknown | DEnum(_, _, [], "Known", [ kt ]) -> ValueType.Known(KnownType.fromDT kt) | _ -> Exception.raiseInternal "Invalid ValueType" [] module LambdaImpl = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.lambdaImpl let toDT (l : LambdaImpl) : Dval = let parameters = l.parameters |> NEList.toList |> List.map LetPattern.toDT |> fun p -> DList(VT.tuple VT.int64 VT.string [], p) let fields = [ ("typeSymbolTable", DDict( VT.known TypeReference.knownType, Map.map TypeReference.toDT l.typeSymbolTable )) ("symtable", DDict(VT.known Dval.knownType, Map.map Dval.toDT l.symtable)) ("parameters", parameters) ("body", Expr.toDT l.body) ] DRecord(typeName, typeName, [], Map fields) let fromDT (d : Dval) : LambdaImpl = match d with | DRecord(_, _, _, fields) -> { typeSymbolTable = fields |> D.mapField "typeSymbolTable" |> Map.map TypeReference.fromDT symtable = fields |> D.mapField "symtable" |> Map.map Dval.fromDT parameters = fields |> D.listField "parameters" |> List.map LetPattern.fromDT |> NEList.ofListUnsafe "RT2DT.Dval.fromDT expected at least one parameter in LambdaImpl" [] body = fields |> D.field "body" |> Expr.fromDT } | _ -> Exception.raiseInternal "Invalid LambdaImpl" [] module FnValImpl = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.fnValImpl let toDT (fnValImpl : FnValImpl) : Dval = let (caseName, fields) = match fnValImpl with | Lambda lambda -> "Lambda", [ LambdaImpl.toDT lambda ] | NamedFn fnName -> "NamedFn", [ FQFnName.toDT fnName ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : FnValImpl = match d with | DEnum(_, _, [], "Lambda", [ lambda ]) -> Lambda(LambdaImpl.fromDT lambda) | DEnum(_, _, [], "NamedFn", [ fnName ]) -> NamedFn(FQFnName.fromDT fnName) | _ -> Exception.raiseInternal "Invalid FnValImpl" [] module Dval = let typeName = FQTypeName.Package PackageIDs.Type.LanguageTools.RuntimeTypes.dval let knownType = KTCustomType(typeName, []) let rec toDT (dv : Dval) : Dval = let (caseName, fields) = match dv with | DUnit -> "DUnit", [] | DBool b -> "DBool", [ DBool b ] | DInt64 i -> "DInt64", [ DInt64 i ] | DUInt64 i -> "DUInt64", [ DUInt64 i ] | DInt8 i -> "DInt8", [ DInt8 i ] | DUInt8 i -> "DUInt8", [ DUInt8 i ] | DInt16 i -> "DInt16", [ DInt16 i ] | DUInt16 i -> "DUInt16", [ DUInt16 i ] | DInt32 i -> "DInt32", [ DInt32 i ] | DUInt32 i -> "DUInt32", [ DUInt32 i ] | DInt128 i -> "DInt128", [ DInt128 i ] | DUInt128 i -> "DUInt128", [ DUInt128 i ] | DFloat f -> "DFloat", [ DFloat f ] | DChar c -> "DChar", [ DChar c ] | DString s -> "DString", [ DString s ] | DUuid u -> "DUuid", [ DUuid u ] | DDateTime d -> "DDateTime", [ DDateTime d ] | DList(vt, items) -> "DList", [ ValueType.toDT vt; DList(VT.known knownType, List.map toDT items) ] | DTuple(first, second, theRest) -> "DTuple", [ toDT first; toDT second; DList(VT.known knownType, List.map toDT theRest) ] | DFnVal fnImpl -> "DFnVal", [ FnValImpl.toDT fnImpl ] | DDB name -> "DDB", [ DString name ] | DDict(vt, entries) -> "DDict", [ ValueType.toDT vt; DDict(VT.known knownType, Map.map toDT entries) ] | DRecord(runtimeTypeName, sourceTypeName, typeArgs, fields) -> "DRecord", [ FQTypeName.toDT runtimeTypeName FQTypeName.toDT sourceTypeName DList(VT.known ValueType.knownType, List.map ValueType.toDT typeArgs) DDict(VT.known knownType, Map.map toDT fields) ] | DEnum(runtimeTypeName, sourceTypeName, typeArgs, caseName, fields) -> "DEnum", [ FQTypeName.toDT runtimeTypeName FQTypeName.toDT sourceTypeName DList(VT.known ValueType.knownType, List.map ValueType.toDT typeArgs) DString caseName DList(VT.known knownType, List.map toDT fields) ] DEnum(typeName, typeName, [], caseName, fields) let fromDT (d : Dval) : Dval = match d with | DEnum(_, _, [], "DInt64", [ DInt64 i ]) -> DInt64 i | DEnum(_, _, [], "DUInt64", [ DUInt64 i ]) -> DUInt64 i | DEnum(_, _, [], "DInt8", [ DInt8 i ]) -> DInt8 i | DEnum(_, _, [], "DUInt8", [ DUInt8 i ]) -> DUInt8 i | DEnum(_, _, [], "DInt16", [ DInt16 i ]) -> DInt16 i | DEnum(_, _, [], "DUInt16", [ DUInt16 i ]) -> DUInt16 i | DEnum(_, _, [], "DInt32", [ DInt32 i ]) -> DInt32 i | DEnum(_, _, [], "DUInt32", [ DUInt32 i ]) -> DUInt32 i | DEnum(_, _, [], "DInt128", [ DInt128 i ]) -> DInt128 i | DEnum(_, _, [], "DUInt128", [ DUInt128 i ]) -> DUInt128 i | DEnum(_, _, [], "DFloat", [ DFloat f ]) -> DFloat f | DEnum(_, _, [], "DBool", [ DBool b ]) -> DBool b | DEnum(_, _, [], "DUnit", []) -> DUnit | DEnum(_, _, [], "DString", [ DString s ]) -> DString s | DEnum(_, _, [], "DChar", [ DChar c ]) -> DChar c | DEnum(_, _, [], "DList", [ vt; DList(_vtTODO, l) ]) -> DList(ValueType.fromDT vt, List.map fromDT l) | DEnum(_, _, [], "DTuple", [ first; second; DList(_vtTODO, theRest) ]) -> DTuple(fromDT first, fromDT second, List.map fromDT theRest) | DEnum(_, _, [], "DFnVal", [ fnImpl ]) -> DFnVal(FnValImpl.fromDT fnImpl) | DEnum(_, _, [], "DDB", [ DString name ]) -> DDB name | DEnum(_, _, [], "DDateTime", [ DDateTime d ]) -> DDateTime d | DEnum(_, _, [], "DUuid", [ DUuid u ]) -> DUuid u | DEnum(_, _, [], "DDict", [ vt; DDict(_vtTODO, map) ]) -> DDict(ValueType.fromDT vt, Map.map fromDT map) | DEnum(_, _, [], "DRecord", [ runtimeTypeName; sourceTypeName; DList(_, typeArgs); DDict(_, entries) ]) -> DRecord( FQTypeName.fromDT runtimeTypeName, FQTypeName.fromDT sourceTypeName, List.map ValueType.fromDT typeArgs, Map.map fromDT entries ) | DEnum(_, _, [], "DEnum", [ runtimeTypeName sourceTypeName DList(_vtTODO1, typeArgs) DString caseName DList(_vtTODO2, fields) ]) -> DEnum( FQTypeName.fromDT runtimeTypeName, FQTypeName.fromDT sourceTypeName, List.map ValueType.fromDT typeArgs, caseName, List.map fromDT fields ) | _ -> Exception.raiseInternal "Invalid Dval" [] ```
```objective-c /* * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) 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. * * Authors: Christian Knig */ #ifndef __AMDGPU_RES_CURSOR_H__ #define __AMDGPU_RES_CURSOR_H__ #include <drm/drm_mm.h> #include <drm/ttm/ttm_resource.h> #include <drm/ttm/ttm_range_manager.h> #include "amdgpu_vram_mgr.h" /* state back for walking over vram_mgr and gtt_mgr allocations */ struct amdgpu_res_cursor { uint64_t start; uint64_t size; uint64_t remaining; void *node; uint32_t mem_type; }; /** * amdgpu_res_first - initialize a amdgpu_res_cursor * * @res: TTM resource object to walk * @start: Start of the range * @size: Size of the range * @cur: cursor object to initialize * * Start walking over the range of allocations between @start and @size. */ static inline void amdgpu_res_first(struct ttm_resource *res, uint64_t start, uint64_t size, struct amdgpu_res_cursor *cur) { struct drm_buddy_block *block; struct list_head *head, *next; struct drm_mm_node *node; if (!res) goto fallback; BUG_ON(start + size > res->size); cur->mem_type = res->mem_type; switch (cur->mem_type) { case TTM_PL_VRAM: head = &to_amdgpu_vram_mgr_resource(res)->blocks; block = list_first_entry_or_null(head, struct drm_buddy_block, link); if (!block) goto fallback; while (start >= amdgpu_vram_mgr_block_size(block)) { start -= amdgpu_vram_mgr_block_size(block); next = block->link.next; if (next != head) block = list_entry(next, struct drm_buddy_block, link); } cur->start = amdgpu_vram_mgr_block_start(block) + start; cur->size = min(amdgpu_vram_mgr_block_size(block) - start, size); cur->remaining = size; cur->node = block; break; case TTM_PL_TT: case AMDGPU_PL_DOORBELL: node = to_ttm_range_mgr_node(res)->mm_nodes; while (start >= node->size << PAGE_SHIFT) start -= node++->size << PAGE_SHIFT; cur->start = (node->start << PAGE_SHIFT) + start; cur->size = min((node->size << PAGE_SHIFT) - start, size); cur->remaining = size; cur->node = node; break; default: goto fallback; } return; fallback: cur->start = start; cur->size = size; cur->remaining = size; cur->node = NULL; WARN_ON(res && start + size > res->size); return; } /** * amdgpu_res_next - advance the cursor * * @cur: the cursor to advance * @size: number of bytes to move forward * * Move the cursor @size bytes forwrad, walking to the next node if necessary. */ static inline void amdgpu_res_next(struct amdgpu_res_cursor *cur, uint64_t size) { struct drm_buddy_block *block; struct drm_mm_node *node; struct list_head *next; BUG_ON(size > cur->remaining); cur->remaining -= size; if (!cur->remaining) return; cur->size -= size; if (cur->size) { cur->start += size; return; } switch (cur->mem_type) { case TTM_PL_VRAM: block = cur->node; next = block->link.next; block = list_entry(next, struct drm_buddy_block, link); cur->node = block; cur->start = amdgpu_vram_mgr_block_start(block); cur->size = min(amdgpu_vram_mgr_block_size(block), cur->remaining); break; case TTM_PL_TT: case AMDGPU_PL_DOORBELL: node = cur->node; cur->node = ++node; cur->start = node->start << PAGE_SHIFT; cur->size = min(node->size << PAGE_SHIFT, cur->remaining); break; default: return; } } #endif ```
```python import onnx from onnx import helper, TensorProto INPUT_1 = helper.make_tensor_value_info('input1', TensorProto.INT8, [1]) OUTPUT = helper.make_tensor_value_info('output', TensorProto.FLOAT, [1]) nodes = [ helper.make_node( 'Cast', ['input1'], ['output'], to=TensorProto.FLOAT ), ] graph_def = helper.make_graph( nodes, 'cast', [INPUT_1], [OUTPUT], ) model_def = helper.make_model(graph_def, producer_name='cast_int8_float.py', opset_imports=[onnx.OperatorSetIdProto(version=12)]) onnx.save(model_def, 'cast_int8_float.onnx') ```
```c++ #include "log-target.h" #include "llparser.h" #include "internal.h" #include <cstdlib> #include <cstring> #include <unistd.h> #include <sys/time.h> #include <cassert> #include <vespa/defaults.h> namespace ns_log { static const char *defcomponent = "logger"; static const char *defservice = "-"; LLParser::LLParser() : _defHostname(vespa::Defaults::vespaHostname()), _defService(defservice), _defComponent(defcomponent), _defLevel(Logger::info), _target(Logger::getCurrentTarget()), _rejectFilter(RejectFilter::createDefaultFilter()) { assert(_target != nullptr); const char *envServ = getenv("VESPA_SERVICE_NAME"); if (envServ != NULL) { _defService = envServ; } snprintf(_defPid, 10, "%d", (int)getpid()); } LLParser::~LLParser() = default; const char LLParser::_hexdigit[17] = "0123456789abcdef"; void LLParser::sendMessage(const char *totalMessage) { _target->write(totalMessage, strlen(totalMessage)); } static inline bool validLevel(Logger::LogLevel level) { return (level >= 0 && level < Logger::NUM_LOGLEVELS); } static bool isValidPid(const char *field) { char *eol; long pidnum = strtol(field, &eol, 10); if (pidnum > 0 && pidnum < 18*1000*1000) { char endbyte = *eol; if (endbyte == '\0' || endbyte == '\t' || endbyte == '/') { return true; } return false; } // too big to be a valid pid, maybe a timestamp? if (pidnum >= 18*1000*1000) return false; // stupid java logging... if (field[0] == '-' && field[1] == '\0') { return true; } if (field[0] == '-' && field[1] == '/') { if (field[2] == '-' && field[3] == '\0') { return true; } // thread id pidnum = strtol(field+2, &eol, 10); if (eol > field+2) { char endbyte = *eol; if (endbyte == '\0' || endbyte =='\t') { return true; } } } return false; } void LLParser::doInput(char *line) { double logTime = 0.0; bool timefield = false; int pidfield = 0; char *eod = NULL; char *first = line; char *tab = strchr(first, '\t'); // time? char empty[1] = ""; if (tab) { *tab = '\0'; logTime = strtod(first, &eod); if (eod == tab && logTime > 900*1000*1000) { timefield = true; } else if (isValidPid(first)) { pidfield = 1; } char *second = tab+1; tab = strchr(second, '\t'); // host? if (tab) { *tab = '\0'; if (pidfield == 0) { if (isValidPid(second)) { pidfield = 2; } } char *third = tab+1; tab = strchr(third, '\t'); // pid? if (tab) { *tab = '\0'; if (pidfield == 0) { if (isValidPid(third)) { pidfield = 3; } } char *fourth = tab+1; tab = strchr(fourth, '\t'); // service ? if (tab) { *tab = '\0'; char *fifth = tab+1; tab = strchr(fifth, '\t'); // component ? if (tab) { *tab = '\0'; char *sixth = tab+1; tab = strchr(sixth, '\t'); // level? if (tab && timefield) { *tab = '\0'; char *seventh = tab+1; // message Logger::LogLevel l = Logger::parseLevel(sixth); if (validLevel(l)) { makeMessage(first, second, third, fourth, fifth, l, seventh); return; } // pretend 6 fields *tab = '\t'; } Logger::LogLevel l = Logger::parseLevel(fifth); if (validLevel(l)) { // missing one field - which one? if (timefield && pidfield == 2) { // missing host makeMessage(first, empty, second, third, fourth, l, sixth); return; } if (timefield && pidfield == 3) { // missing service makeMessage(first, second, third, empty, fourth, l, sixth); return; } if (!timefield && pidfield == 2) { // missing time makeMessage(empty, first, second, third, fourth, l, sixth); return; } if (timefield && pidfield == 0) { // missing pid makeMessage(first, second, empty, third, fourth, l, sixth); return; } // fprintf(stderr, "bad 6-field\n"); // no idea what is going on } // pretend 5 fields tab = sixth-1; *tab = '\t'; } Logger::LogLevel l = Logger::parseLevel(fourth); if (validLevel(l)) { // missing two fields if (!timefield && pidfield == 0) { // missing time and pid makeMessage(empty, first, empty, second, third, l, fifth); return; } if (!timefield && pidfield == 1) { // missing time and host makeMessage(empty, empty, first, second, third, l, fifth); return; } if (!timefield && pidfield == 2) { // missing time and service makeMessage(empty, first, second, empty, third, l, fifth); return; } if (timefield && pidfield == 2) { // missing host and service makeMessage(first, empty, second, empty, third, l, fifth); return; } if (timefield && pidfield == 3) { // missing service and component makeMessage(first, second, third, empty, empty, l, fifth); return; } if (timefield && pidfield == 0) { // missing pid and (hostname or service) if (_defService == second) { // it's the service, assume missing hostname makeMessage(first, empty, empty, second, third, l, fifth); return; } makeMessage(first, second, empty, empty, third, l, fifth); return; } // fprintf(stderr, "bad 5-field\n"); // no idea what is going on } // pretend 4 fields tab = fifth-1; *tab = '\t'; } Logger::LogLevel l = Logger::parseLevel(third); if (validLevel(l)) { // three fields + message if (timefield && pidfield == 2) { // missing host, service, component makeMessage(first, empty, second, empty, empty, l, fourth); return; } if (timefield && pidfield == 0) { // missing host, pid, service makeMessage(first, empty, empty, empty, second, l, fourth); return; } if (!timefield && pidfield == 1) { // missing time, host, service makeMessage(empty, empty, first, empty, second, l, fourth); return; } if (!timefield && pidfield == 0) { // missing time, pid, and (host or service) if (_defService == first) { // it's the service, assume missing hostname makeMessage(empty, empty, empty, first, second, l, fourth); return; } // missing service makeMessage(empty, first, empty, empty, second, l, fourth); return; } // fprintf(stderr, "bad 4-field\n"); // no idea what is going on } // pretend 3 fields tab = fourth-1; *tab = '\t'; } Logger::LogLevel l = Logger::parseLevel(second); if (validLevel(l)) { if (timefield) { // time, level, message makeMessage(first, empty, empty, empty, empty, l, third); return; } if (pidfield) { // pid, level, message makeMessage(empty, empty, first, empty, empty, l, third); return; } // component, level, message makeMessage(empty, empty, empty, empty, first, l, third); return; } // pretend 2 fields tab = third-1; *tab = '\t'; } Logger::LogLevel l = Logger::parseLevel(first); if (validLevel(l)) { makeMessage(empty, empty, empty, empty, empty, l, second); return; } // pretend 1 field tab = second-1; *tab = '\t'; } makeMessage(empty, empty, empty, empty, empty, _defLevel, line); } static char escaped[16000]; static char totalMessage[17000]; void LLParser::makeMessage(const char *tmf, const char *hsf, const char *pdf, const char *svf, const char *cmf, Logger::LogLevel level, char *src) { char tmbuffer[24]; if (tmf[0] == '\0') { struct timeval tv; gettimeofday(&tv, NULL); snprintf(tmbuffer, 24, "%u.%06u", static_cast<unsigned int>(tv.tv_sec), static_cast<unsigned int>(tv.tv_usec)); tmf = tmbuffer; } if (hsf[0] == '\0') hsf = _defHostname.c_str(); if (pdf[0] == '\0') pdf = _defPid; if (svf[0] == '\0') svf = _defService.c_str(); if (cmf[0] == '\0') cmf = _defComponent.c_str(); char *dst = escaped; unsigned char c; int len = strlen(src); if (len > 3999) { src[3997] = '.'; src[3998] = '.'; src[3999] = '.'; src[4000] = '\0'; } do { c = static_cast<unsigned char>(*src++); if ((c == '\\' && src[0] == 't') || (c >= 32 && c < '\\') || (c > '\\' && c < 128) || c == 0) { *dst++ = static_cast<char>(c); } else { *dst++ = '\\'; if (c == '\\') { *dst++ = '\\'; } else if (c == '\r') { *dst++ = 'r'; } else if (c == '\n') { *dst++ = 'n'; } else if (c == '\t') { *dst++ = 't'; } else { *dst++ = 'x'; *dst++ = _hexdigit[c >> 4]; *dst++ = _hexdigit[c & 0xf]; } } } while (c); snprintf(totalMessage, sizeof totalMessage, "%s\t%s\t%s\t%s\t%s\t%s\t%s\n", tmf, hsf, pdf, svf, cmf, Logger::logLevelNames[level], escaped); if (_rejectFilter.shouldReject(level, escaped)) return; sendMessage(totalMessage); } void LLParser::setPid(int p) { snprintf(_defPid, 10, "%d", p); } } // namespace ```
```c++ // This Source Code Form is subject to the terms of the Mozilla Public // file, You can obtain one at path_to_url #include <limits> #include "../include/register_application_command.hpp" namespace vsomeip_v3 { namespace protocol { register_application_command::register_application_command() : command(id_e::REGISTER_APPLICATION_ID), port_(ILLEGAL_PORT) { } void register_application_command::serialize(std::vector<byte_t> &_buffer, error_e &_error) const { size_t its_size(COMMAND_HEADER_SIZE + sizeof(port_)); if (its_size > std::numeric_limits<command_size_t>::max()) { _error = error_e::ERROR_MAX_COMMAND_SIZE_EXCEEDED; return; } // resize buffer _buffer.resize(its_size); // set size size_ = static_cast<command_size_t>(sizeof(port_)); // serialize header command::serialize(_buffer, _error); if (_error != error_e::ERROR_OK) return; // serialize payload std::memcpy(&_buffer[COMMAND_POSITION_PAYLOAD], &port_, sizeof(port_)); } void register_application_command::deserialize(const std::vector<byte_t> &_buffer, error_e &_error) { if (COMMAND_HEADER_SIZE + sizeof(port_) > _buffer.size()) { _error = error_e::ERROR_NOT_ENOUGH_BYTES; return; } // deserialize header command::deserialize(_buffer, _error); if (_error != error_e::ERROR_OK) return; // deserialize payload std::memcpy(&port_, &_buffer[COMMAND_POSITION_PAYLOAD], sizeof(port_)); } port_t register_application_command::get_port() const { return port_; } void register_application_command::set_port(port_t _port) { port_ = _port; } } // namespace protocol } // namespace vsomeip ```
Maro Malupu is a 1982 Indian Telugu-language film directed by Vejella Satyanarayana. This Nandi Award-winning film is based on the Caste system in India and social conditions. The film won three Nandi Awards. Credits Cast Gummadi Narasimha Raju Sivakrishna Geetha Leelavathi Crew Director: Vejella Satyanarayana Writer: Paruchuri Gopala Krishna Music Director: G. K. Venkatesh Cinematographer: R. K. Raju Art Direction: Kondapaneni Ramalingeswara Rao Film Editing: Babu Rao Songs Erra Errani Thamashala Awards Nandi Awards Second Best Feature Film - Silver - Sagi Krishnam Raju. Best Supporting Actor - Gummadi Best First Film of a Director - Vejella Satyanarayana References External links Maromallupu film at IMDb. 1982 films Films scored by G. K. Venkatesh 1980s Telugu-language films
The following lists events that happened during 1993 in Sri Lanka. Incumbents President: Ranasinghe Premadasa (until 1 May); Dingiri Banda Wijetunga (starting 1 May) Prime Minister: Dingiri Banda Wijetunga (until 7 May); Ranil Wickremesinghe (starting 7 May) Chief Justice: G. P. S. de Silva Governors Central Province – P. C. Imbulana (until May); E. L. Senanayake (starting May) North Central Province – E. L. Senanayake North Eastern Province – Nalin Seneviratne (until 30 November); Lionel Fernando (starting 30 November) North Western Province – Montague Jayawickrama (until 13 October); Karunasena Kodituwakku (starting 13 October) Sabaragamuwa Province – Noel Wimalasena (until 1993); C. N. Saliya Mathew (starting 1993) Southern Province – Abdul Bakeer Markar (until December); Leslie Mervyn Jayaratne (starting December) Uva Province – Tilak Ratnayake (until March); Abeyratne Pilapitiya (starting March) Western Province – Suppiah Sharvananda Chief Ministers Central Province – W. M. P. B. Dissanayake North Central Province – G. D. Mahindasoma North Western Province – Gamini Jayawickrama Perera (until 19 October); G. M. Premachandra (starting 19 October) Sabaragamuwa Province – Abeyratne Pilapitiya (until March); Jayatilake Podinilame (starting March) Southern Province – M. S. Amarasiri (until October); Amarasiri Dodangoda (starting October) Uva Province – Percy Samaraweera Western Province – Susil Moonesinghe (until 16 March); Chandrika Kumaratunga (starting 21 May) Events Lalith Athulathmudali, the former Cabinet Minister of Trade, National Security, Agriculture, Education and Deputy Minister of Defence of Sri Lanka was killed at 8:10 p.m. Sri Lanka Time (2.10 p.m. UTC) on 23 April 1993 in Kirulapana. The Jaffna lagoon massacre occurred on January 2, 1993, when a Sri Lankan Navy Motor Gun Boat and a number of smaller speed boats intercepted a number of boats transporting people between the south and north shores of the Jaffna Lagoon in the Northern province in Sri Lanka, and attacked them under the glare of a spot light. Roughly 100 civilians and militants were killed. The Battle of Pooneryn was a battle fought on 11 November 1993 for the town of Pooneryn. Ranasinghe Premadasa was assassinated on 1 May 1993, during a May day rally, by an LTTE suicide bomber. Little more than a week before, Lalith Athulathmudali had also been assassinated. Notes a. Gunaratna, Rohan. (1998). Pg.353, Sri Lanka's Ethnic Crisis and National Security, Colombo: South Asian Network on Conflict Research. References
```objective-c /* This file is part of melonDS. melonDS is free software: you can redistribute it and/or modify it under any later version. melonDS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS with melonDS. If not, see path_to_url */ #ifndef WIFI_H #define WIFI_H #include "Savestate.h" namespace melonDS { class WifiAP; class NDS; class Wifi { public: enum { W_ID = 0x000, W_ModeReset = 0x004, W_ModeWEP = 0x006, W_TXStatCnt = 0x008, W_IF = 0x010, W_IE = 0x012, W_MACAddr0 = 0x018, W_MACAddr1 = 0x01A, W_MACAddr2 = 0x01C, W_BSSID0 = 0x020, W_BSSID1 = 0x022, W_BSSID2 = 0x024, W_AIDLow = 0x028, W_AIDFull = 0x02A, W_TXRetryLimit = 0x02C, W_RXCnt = 0x030, W_WEPCnt = 0x032, W_TRXPower = 0x034, W_PowerUS = 0x036, W_PowerTX = 0x038, W_PowerState = 0x03C, W_PowerForce = 0x040, W_PowerDownCtrl = 0x48, W_Random = 0x044, W_RXBufBegin = 0x050, W_RXBufEnd = 0x052, W_RXBufWriteCursor = 0x054, W_RXBufWriteAddr = 0x056, W_RXBufReadAddr = 0x058, W_RXBufReadCursor = 0x05A, W_RXBufCount = 0x05C, W_RXBufDataRead = 0x060, W_RXBufGapAddr = 0x062, W_RXBufGapSize = 0x064, W_TXBufWriteAddr = 0x068, W_TXBufCount = 0x06C, W_TXBufDataWrite = 0x070, W_TXBufGapAddr = 0x074, W_TXBufGapSize = 0x076, W_TXSlotBeacon = 0x080, W_TXBeaconTIM = 0x084, W_ListenCount = 0x088, W_BeaconInterval = 0x08C, W_ListenInterval = 0x08E, W_TXSlotCmd = 0x090, W_TXSlotReply1 = 0x094, W_TXSlotReply2 = 0x098, W_TXSlotLoc1 = 0x0A0, W_TXSlotLoc2 = 0x0A4, W_TXSlotLoc3 = 0x0A8, W_TXReqReset = 0x0AC, W_TXReqSet = 0x0AE, W_TXReqRead = 0x0B0, W_TXSlotReset = 0x0B4, W_TXBusy = 0x0B6, W_TXStat = 0x0B8, W_Preamble = 0x0BC, W_CmdTotalTime = 0x0C0, W_CmdReplyTime = 0x0C4, W_RXFilter = 0x0D0, W_RXLenCrop = 0x0DA, W_RXFilter2 = 0x0E0, W_USCountCnt = 0x0E8, W_USCompareCnt = 0x0EA, W_CmdCountCnt = 0x0EE, W_USCount0 = 0x0F8, W_USCount1 = 0x0FA, W_USCount2 = 0x0FC, W_USCount3 = 0x0FE, W_USCompare0 = 0x0F0, W_USCompare1 = 0x0F2, W_USCompare2 = 0x0F4, W_USCompare3 = 0x0F6, W_ContentFree = 0x10C, W_PreBeacon = 0x110, W_CmdCount = 0x118, W_BeaconCount1 = 0x11C, W_BeaconCount2 = 0x134, W_BBCnt = 0x158, W_BBWrite = 0x15A, W_BBRead = 0x15C, W_BBBusy = 0x15E, W_BBMode = 0x160, W_BBPower = 0x168, W_RFData2 = 0x17C, W_RFData1 = 0x17E, W_RFBusy = 0x180, W_RFCnt = 0x184, W_TXHeaderCnt = 0x194, W_RFPins = 0x19C, W_RXStatIncIF = 0x1A8, W_RXStatIncIE = 0x1AA, W_RXStatHalfIF = 0x1AC, W_RXStatHalfIE = 0x1AE, W_TXErrorCount = 0x1C0, W_RXCount = 0x1C4, W_CMDStat0 = 0x1D0, W_CMDStat1 = 0x1D2, W_CMDStat2 = 0x1D4, W_CMDStat3 = 0x1D6, W_CMDStat4 = 0x1D8, W_CMDStat5 = 0x1DA, W_CMDStat6 = 0x1DC, W_CMDStat7 = 0x1DE, W_TXSeqNo = 0x210, W_RFStatus = 0x214, W_IFSet = 0x21C, W_RXTXAddr = 0x268, }; Wifi(melonDS::NDS& nds); ~Wifi(); void Reset(); void DoSavestate(Savestate* file); void SetPowerCnt(u32 val); void USTimer(u32 param); u16 Read(u32 addr); void Write(u32 addr, u16 val); const u8* GetMAC() const; const u8* GetBSSID() const; private: melonDS::NDS& NDS; u8 RAM[0x2000]; u16 IO[0x1000>>1]; static const u8 MPCmdMAC[6]; static const u8 MPReplyMAC[6]; static const u8 MPAckMAC[6]; static const int kTimerInterval = 8; static const u32 kTimeCheckMask = ~(kTimerInterval - 1); bool Enabled; bool PowerOn; s32 TimerError; u16 Random; // general, always-on microsecond counter u64 USTimestamp; u64 USCounter; u64 USCompare; bool BlockBeaconIRQ14; u32 CmdCounter; u8 BBRegs[0x100]; u8 BBRegsRO[0x100]; u8 RFVersion; u32 RFRegs[0x40]; u32 RFChannelIndex[2]; u32 RFChannelData[14][2]; int CurChannel; struct TXSlot { bool Valid; u16 Addr; u16 Length; u8 Rate; u8 CurPhase; int CurPhaseTime; u32 HalfwordTimeMask; }; TXSlot TXSlots[6]; u8 TXBuffer[0x2000]; u8 RXBuffer[2048]; u32 RXBufferPtr; int RXTime; u32 RXHalfwordTimeMask; u32 ComStatus; // 0=waiting for packets 1=receiving 2=sending u32 TXCurSlot; u32 RXCounter; int MPReplyTimer; u16 MPClientMask, MPClientFail; u8 MPClientReplies[15*1024]; u16 MPLastSeqno; int USUntilPowerOn; // MULTIPLAYER SYNC APPARATUS bool IsMP; bool IsMPClient; u64 NextSync; // for clients: timestamp for next sync point u64 RXTimestamp; class WifiAP* WifiAP; void ScheduleTimer(bool first); void UpdatePowerOn(); void CheckIRQ(u16 oldflags); void SetIRQ(u32 irq); void SetIRQ13(); void SetIRQ14(int source); void SetIRQ15(); void SetStatus(u32 status); void UpdatePowerStatus(int power); int PreambleLen(int rate) const; u32 NumClients(u16 bitmask) const; void IncrementTXCount(const TXSlot* slot); void ReportMPReplyErrors(u16 clientfail); void TXSendFrame(const TXSlot* slot, int num); void StartTX_LocN(int nslot, int loc); void StartTX_Cmd(); void StartTX_Beacon(); void FireTX(); void SendMPDefaultReply(); void SendMPReply(u16 clienttime, u16 clientmask); void SendMPAck(u16 cmdcount, u16 clientfail); bool ProcessTX(TXSlot* slot, int num); void IncrementRXAddr(u16& addr, u16 inc = 2); void StartRX(); void FinishRX(); void MPClientReplyRX(int client); bool CheckRX(int type); void MSTimer(); void ChangeChannel(); void RFTransfer_Type2(); void RFTransfer_Type3(); }; } #endif ```
Hungary competed at the 1924 Summer Olympics in Paris, France, returning to the Olympic Games after not being invited to the 1920 Games because of the nation's role in World War I. 89 competitors, 86 men and 3 women, took part in 54 events in 12 sports. Medalists The following Hungarian competitors won medals at the games. In the discipline sections below, the medalists' names are bolded. | width=78% align=left valign=top | Default sort order: Medal, Date, Name | style="text-align:left; width:22%; vertical-align:top;"| Multiple medalists The following competitors won multiple medals at the 1924 Olympic Games. Aquatics Swimming Ranks given are within the heat. Men Women Water polo Hungary made its second Olympic water polo appearance. Roster István Barta Tibor Fazekas Lajos Homonnai Márton Homonnai A. Ivády F. Kann Alajos Keserű Ferenc Keserű B. Nagy József Vértesy János Wenk First round Quarterfinals Bronze medal quarterfinals Bronze medal semifinals Athletics Sixteen athletes represented Hungary in 1924. It was the nation's sixth appearance in the sport as well as the Games. Somfay took Hungary's only athletics medal in Paris, with the silver in the pentathlon. Ranks given are within the heat. Boxing A single boxer represented Hungary at the 1924 Games. It was the nation's debut in the sport. Lőwig lost his only bout. Cycling Four cyclists represented Hungary in 1924. It was the nation's second appearance in the sport. Road cycling Ranks given are within the heat. Track cycling Ranks given are within the heat. Fencing Ten fencers, nine men and one woman, represented Hungary in 1924. It was the nation's fourth appearance in the sport; Hungary was one of nine nations to have women compete in the first Olympic fencing event for women. The team competitions resulted in two medals for Hungary. In somewhat of a disappointment for Hungary, the sabre team failed to win the gold medal; it was the first time a Hungarian sabre team competed but did not win. The finals match against Italy proved decisive, as both Hungary and Italy beat the other two teams in the final. Hungary and Italy split the individual bouts in their match, with eight apiece. The tie-breaker for the match, and thus the gold medal, was number of touches between Hungary and Italy; Italy won 50 to 46. The foil team earned the country's first non-sabre fencing medal, winning the bronze. The Hungarian men had success in the individual sabre competition, with three of the four Hungarians reaching the final. Pósta and Garai were both in the three-way tie-breaker for medal placement, finishing first and third respectively. Schenker finished fourth, and was also the only Hungarian man to compete individually in another weapon; he was eliminated in the first round of the foil. Tary, representing Hungary in the women's foil competition, reached the final and placed sixth overall. Men Ranks given are within the pool. Women Ranks given are within the pool. Football Hungary competed in the Olympic football tournament for the second time in 1924, losing their second-round match to Egypt. Round 1 Round 2 Final rank 9th place Rowing Seven rowers represented Hungary in 1924. It was the nation's third appearance in the sport. Ranks given are within the heat. Shooting Seven sport shooters represented Hungary in 1924. It was the nation's third appearance in the sport. Halasy took the nation's only shooting medal in 1924, a gold in the trap. Tennis Men Women Mixed Wrestling Greco-Roman Men's References External links Official Olympic Reports International Olympic Committee results database Nations at the 1924 Summer Olympics 1924 Olympics
```javascript define(["./root_one", "./root_two"], function(root_one){ // do stuff }); ```
Michał Hieronim Krasiński (1712 – May 25, 1784) was a Polish noble known for being one of the one of the leaders of Bar Confederation (1768–1772). He was cześnik of Stężyca, podkomorzy of Różan, starost of Opiniogóra, and deputy to many Sejms. He was a captain in August III army. He was a member of parliament in 1748 and 1750 as a deputate from Sandomierz voivodoship and in 1756, 1758 and 1760. He was the brother of Adam Stanisław Krasiński, the father of Jan Krasiński and Adam Krasiński, and the grandfather of Wincenty Krasiński. He was buried in Krasne. Members of the Sejm of the Polish–Lithuanian Commonwealth Bar confederates Radom confederates Michal Hieronim 1712 births 1784 deaths
Atlantic Star (formerly FairSky, Sky Princess, Pacific Sky and Sky Wonder) was a cruise ship built in 1984. She sailed for Sitmar Cruises, Princess Cruises, P&O Cruises Australia, and Pullmantur Cruises. Under ownership of Royal Caribbean Cruises Ltd., the ship had been laid up since 2010 before being handed over to STX France in 2013 as a partial payment for the construction of what is now, Harmony of the Seas. She was later sold to a shipbreaker in Aliağa, Turkey, renamed Antic, and scrapped on 14 April 2013. History FairSky was built in 1984 by Chantiers de Nord et de la Mediterranee of La Seyne-Sur Mer in France for the Italian cruise company, Sitmar Cruises. In keeping up with the rest of the Sitmar fleet, she was originally named FairSky and was registered in Liberia. In September 1988, when Sitmar was purchased by P&O Cruises, she was renamed the Sky Princess for P&O's Princess Cruises subsidiary and re-registered in London. Sky Princess sailed her last cruise for Princess Cruises in October 2000, arriving in Sydney on 23 October, where she was to be transferred to P&O Cruises Australia under the name, Pacific Sky, after a $10 million refurbishment at Cairncross Dockyard in Brisbane. Replacing the 1957-built Fair Princess, Pacific Skys was quickly accepted by Australian cruise passengers. Between 2000 and 2006, Pacific Sky carried 275,000 passengers on 200 cruises. Her popularity prompted the expansion of the P&O Australia fleet to include Pacific Sun (2004), Pacific Dawn (November 2007), Pacific Jewel (2009) and Pacific Pearl (2010). In May 2006, the transfer from P&O Cruises Australia to Pullmantur Cruises in Spain was made, after a series of 33 seven-day cruises based out of Singapore. Sky Wonder was registered in Valletta, Malta. The Italian-built Regal Princess took Sky Wonders place in the P&O Cruises fleet in mid-2007 as the Pacific Dawn. From March 2009 on, Sky Wonder was laid up in Piraeus. In April 2009, she was renamed Atlantic Star and sailed for the Portuguese market. In January 2010, Kyma Ship Management expressed interest in purchasing the ship, but they backed out due to the high cost of replacing the steam turbines with diesel engines. It was speculated that she would be operating on charter for a German tour operator as Mona Lisa previously did, but the vessel remained moored in Marseille, France until March 2013. In January 2013, it was announced that the ship had been transferred to STX France as part of the deal with the new order of the Oasis-class cruise ship ordered by Royal Caribbean International. In March 2013 it was reported that the ship had departed under tow for Suez, Egypt, and on 14 April 2013, Atlantic Star arrived the shipbreaking yard in Aliaga, Turkey, under the name Antic. General characteristics Atlantic Star was in length and in width at her widest point. Her draft was approximately , but this figure varies with respect to the amount of stores, fuel and water on board. The size of a cruise ship is expressed in gross tonnage, which is actually a measurement of the vessel's volume and not the actual weight. Atlantic Star measured . Atlantic Star was powered by steam turbines and was one of the last steam turbine cruise ships in the world. While at sea, she operated on two or three boilers depending on the speed required. When two were in use, she could achieve a maximum speed of ; when all three boilers were in use, she could steam at a maximum of . At full speed, she would consume up to 220 tonnes of fuel oil a day. The vessel had two fixed-pitch propellers and a single rudder. She was fitted with one bow thruster and one stern thruster for maneuvering at ports Atlantic Star was fitted with two retractable stabilizer fins, which could be extended either individually or together depending on the sea conditions. Each fin was long and wide. They were controlled by hydraulic rams and were fed information from gyroscopes which sense the vessel's rolling motion. When in use, they could reduce the amount of the vessel's roll by up to 85% but they had no effect on the ship's pitching motion. Atlantic Star had two anchors. Each anchor weighed nine tonnes and was attached to approximately 80 tonnes of anchor chain. Incidents Atlantic Star was involved in many incidents during her career. Some are listed below in chronological order. September 2002 – Dianne Brimble, 42, of Brisbane, died after overdosing on the drug GHB. An inquest found that her drink had been spiked while on a 10-day cruise of the Pacific. November 2004 – Pacific Sky was due to begin a scheduled cruise off the Australian coast, but could not sail after a swarm of jellyfish blocked a cooling water intake. The engines had automatically shut down, leaving the vessel stuck fast at its Brisbane River berth. The shutdown also triggered the automatic dumping of vast quantities of distilled water used by the ship's boilers, and a fresh supply had to be trucked. 1 April 2005 – P&O Cruises was forced to cancel another two Pacific Sky cruises to allow extended work on the ship’s troublesome starboard gearbox. P&O Cruises said the two-month layoff would lead to the cancellation of five cruises but was confident problems would have been fixed in time for its scheduled 4 June cruise. 7 March 2006 – Hundreds of passengers on a seven night cruise were left stranded for about 30 hours after the vessel broke down in the Malacca Strait near Singapore. About five hours after leaving Singapore the ship experienced problems with its starboard engine and came to a halt with more than 1,300 passengers on board. Crew tried to fix the problem at sea but were unsuccessful. The ship ultimately sailed slowly to Port Kelang, Malaysia using its working starboard engine. 18 January 2007 – Early in the morning, the Sky Wonder with 1,600 passengers ran aground on a sandbar in the Rio de la Plata, 3 kilometres from the port of Buenos Aires, Argentina. There were no injuries other than a heart problem suffered by a 50-year-old male passenger, who was treated ashore. The ship was freed by tugboats at high tide several hours later, so she could reach her destination of Punta del Este, Uruguay. She was chartered for CVC Cruises at the time. The grounding was reported to be due to a navigational error by her captain. References External links Professional photographs from shipspotting.com 1982 ships Ships built in France Ships of P&O Cruises Australia Ships of Princess Cruises Steamships of Liberia Steamships of Malta Steamships of the United Kingdom Maritime incidents in Argentina
The Worldwide Hospice Palliative Care Alliance or WHPCA (formerly known as the Worldwide Palliative Care Alliance or WPCA) is an international non-governmental organization based in the United Kingdom. In official relations with the World Health Organization (WHO), the WHPCA works in conjunction with over 200 regional institutions and national partners for the global development of palliative care and advancement of pain relief. It advocates for changes in public policy on accessibility of pain relief in end-of-life care and integration of palliative care into national health agendas. In 2014 it released the Global Atlas of Palliative Care at the End of Life in a joint publication with the WHO. History The WHPCA was founded in 2008 with its headquarters located in the United Kingdom. The non-governmental organization (NGO) is registered as a charity in England and Wales. WHPCA is an implementing NGO affiliated with the World Health Organization (WHO) promoting change in public policies for hospice and palliative care on a global, national, and regional scale. The organization has also been recognized as having official relations with the United Nations Economic and Social Council. Clinical health psychologist and co-founder Stephen Connor serves as the executive director. The WHPCA works in conjunction with other international organizations and national entities. For instance, it collaborated with the African Palliative Care Association (APCA) for presenting materials to an international palliative care conference in 2016 hosted by the Uganda Ministry of Health. WHPCA has partnered with organizations such as the Centre for Palliative Care in Bangladesh (established by the Bangabandhu Sheikh Mujib Medical University [BSMMU] in 2011) to improve the quality of end-of-life care for elderly and pediatric patients suffering from terminal diseases. With a grant provided by UK Aid, WHPCA partnered with the Department of Palliative Medicine at BSMMU in 2018–2019 to provide palliative care to impoverished patients of Narayanganj District, Bangladesh, treating over 100 patients and training 27 nurses and 17 doctors in administering palliative care. Priorities and projects Along with its international partners, the WHPCA seeks to provide pain relief to patients suffering chronic illnesses. The organization works to eliminate the stigma surrounding pain relief by challenging certain national public policies, especially in developing countries where prescribed opioid use is controversial due to drug addiction. One of the other major priorities of the organization is to make quality palliative care more affordable. It has also managed the annual World Hospice and Palliative Care Day to raise awareness about its initiatives. In 2014 the WHPCA and WHO produced a joint publication, the Global Atlas of Palliative Care at the End of Life, edited by Stephen Connor and Maria Cecilia Sepulveda Bermedo, a senior adviser on chronic diseases prevention and management for the WHO. It was initiated as part of the WHO's Global Action Plan for the Prevention and Control of Noncommunicable Diseases for 2013–2020. The study found that roughly 20 million people around the globe, 6% of whom were children, required end-of-life palliative care, with a majority of those in developing countries lacking basic necessities such as opioid medication for pain relief. Published material Global Atlas of Palliative Care at the End of Life (2014) , annual international edition See also Hospice care in the United States Palliative sedation References External links Whpca.org (main website) "Pain relief and palliative care around the world", Oxford University Press blog by David Clark, 7 December 2017 Medical and health organisations based in the United Kingdom Palliative care
```go package protocol import "time" type Message struct { Crc int32 MagicByte int8 Attributes int8 Timestamp time.Time Key []byte Value []byte } func (m *Message) Encode(e PacketEncoder) error { e.Push(&CRCField{}) e.PutInt8(m.MagicByte) e.PutInt8(m.Attributes) if m.MagicByte > 0 { e.PutInt64(m.Timestamp.UnixNano() / int64(time.Millisecond)) } if err := e.PutBytes(m.Key); err != nil { return err } if err := e.PutBytes(m.Value); err != nil { return err } e.Pop() return nil } func (m *Message) Decode(d PacketDecoder) error { var err error if err = d.Push(&CRCField{}); err != nil { return err } if m.MagicByte, err = d.Int8(); err != nil { return err } if m.Attributes, err = d.Int8(); err != nil { return err } if m.MagicByte > 0 { t, err := d.Int64() if err != nil { return err } m.Timestamp = time.Unix(t/1000, (t%1000)*int64(time.Millisecond)) } if m.Key, err = d.Bytes(); err != nil { return err } if m.Value, err = d.Bytes(); err != nil { return err } return d.Pop() } ```
Harold Boyd may refer to: Harold Boyd (footballer, born 1900) (1900–1990), Australian rules footballer for West Perth Harold Boyd (footballer, born 1913) (1913–1971), Australian rules footballer for Fitzroy
```objective-c /** * Tencent is pleased to support the open source community by making MSEC available. * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software distributed under the */ #ifndef _NLBAPI_H_ #define _NLBAPI_H_ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif typedef enum { NLB_PORT_TYPE_UDP = 1, NLB_PORT_TYPE_TCP = 2, NLB_PORT_TYPE_ALL = 3, }NLB_PORT_TYPE; /* */ struct routeid { uint32_t ip; // IPV4 : uint16_t port; // : NLB_PORT_TYPE type; // }; /* API */ enum { NLB_ERR_INVALID_PARA = -1, // NLB_ERR_NO_ROUTE = -2, // NLB_ERR_NO_AGENT = -3, // AGENT NLB_ERR_NO_ROUTEDATA = -4, // NLB_ERR_NO_STATISTICS = -5, // NLB_ERR_NO_HISTORY = -6, // NLB_ERR_LOCK_CONFLICT = -7, // NLB_ERR_INVALID_MAGIC = -8, // ROUTEID magic NLB_ERR_NO_SERVER = -9, // NLB_ERR_CREATE_SOCKET_FAIL = -10, // AGENTsocket NLB_ERR_SEND_FAIL = -11, // NLB_ERR_RECV_FAIL = -12, // NLB_ERR_INVALID_RSP = -13, // NLB_ERR_AGENT_ERR = -14, // Agent }; /** * @brief * @para name: "Login.ptlogin" * @ route: (ip) * @return 0: others: */ int32_t getroutebyname(const char *name, struct routeid *route); /** * @brief * @info * @para name: "Login.ptlogin" * ip: IPV4 * failed:>1: 0-> * cost: */ int32_t updateroute(const char *name, uint32_t ip, int32_t failed, int32_t cost); #ifdef __cplusplus } #endif #endif ```
```java /* * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * 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.apache.shardingsphere.infra.exception.core.external.sql.sqlstate; /** * SQL state. */ public interface SQLState { /** * Get value. * * @return value */ String getValue(); } ```
The battle of Khaybar () was fought in early 628 CE (7 AH) between the early Muslims, led by Muhammad, and the Arabian Jews living in Khaybar, an oasis located from the city of Medina. The Jewish tribes had reportedly arrived in the Hejaz in the wake of the Jewish–Roman wars and introduced agriculture, putting them in a dominant position culturally, economically, and politically. According to Islamic sources, the Jews at Khaybar had barricaded themselves in forts after breaching an agreement with the Muslims, following which Muhammad led an army to capture the oasis. Muhammad's casus belli Islamic sources accuse the Jews of Khaybar of having plotted to unite with other Jewish tribes from Banu Wadi Qurra, Tayma and Fadak as well as with the Ghatafan (an Arab tribe) to mount an attack on Medina. Scottish historian William M. Watt notes the presence in Khaybar of the Banu Nadir, who were working with neighboring Arab tribes to protect themselves from Medina's Muslim community, who had earlier attacked and exiled Jewish tribes, accusing them of violating the Charter of Medina and (based on prophetic vision) of conspiring to kill Muhammad. Orientalist Laura V. Vaglieri claims other motives for the Muslim offensive might have included the prestige that the engagement would confer upon Muhammad among his followers, as well as the loot which could be used to supplement future campaigns. The battle ended with the surrender of the Khaybar Jews, who were then allowed to continue living in the region on the condition that they would give one-half of their produce to the Muslims. The Jews of Khaybar continued to live on the oasis for several more years, until they were expelled by the second Rashidun Caliph, Umar. The imposition of tribute by the Muslims onto the Jews served as a precedent for provisions in Islamic law, which requires the regular exaction of tribute—known as jizya—from dhimmi non-Muslim subjects living in areas under Muslim rule, as well as the confiscation of land belonging to non-Muslims to merge into the collective property of the Muslim community (Ummah). Background Khaybar in the 7th century In the seventh century, Khaybar was inhabited by Jews. The inhabitants had stored in a redoubt at Khaybar a siege-engine, swords, lances, shields and other weaponry. In the past some scholars attempted to explain the presence of the weapons, suggesting that they were used for settling quarrels among the families of the community. Vaglieri suggests that it is more logical to assume that the weapons were stored in a depôt for future sale. Similarly the Jews kept 20 bales of cloth and 500 cloaks for sale, and other luxury goods. These commercial activities as a cause of hostility, Vaglieri argues, are similar to the economic causes behind persecutions in many other countries throughout history. The oasis was divided into three regions: al-Natat, al-Shikk, and al-Katiba, probably separated by natural divisions, such as the desert, lava drifts, and swamps. Each of these regions contained several fortresses or redoubts including homes, storehouses and stables. Each fortress was occupied by a separate family and surrounded by cultivated fields and palm-groves. In order to improve their defensive capabilities, the fortresses were raised up on hills or basalt rocks. Ali al-Sallabi, Safiur Rahman Mubarakpuri, Al-Mawardi and Muhammad Said Ramadan al-Bouti and other chroniclers counted the overall fortresses in Khaybar which the Muslim besieged consisted of around eight to thirteen separated fortresses: al-Bariyy fortress Kuthaibah fortress al-Qamush fortress al-Qullah fortress al-Wathin fortress an-Nathah fortress as-Salalim fortress Zubayr fortress ash-Shiqq fortress Second Bariy fortress Na'im fortress Sha'b fortress Ubayy fortress Jewish tribe of Banu Nadir After they were sent into exile in 625 from Medina by Muslim forces, the Banu Nadir had settled in Khaybar. In 627, the Nadir chief Huyayy ibn Akhtab together with his son joined the Meccans and Bedouins besieging Medina during the Battle of the Trench. In addition, the Nadir paid Arabian tribes to go to war against the Muslims. Bribing Banu Ghatafan with half of their harvest, Banu Nadir secured 2,000 men and 300 horsemen from the tribe to attack Muhammad, and similarly persuaded the Bani Asad. They attempted to get the Banu Sulaym to attack the Muslims, but the tribe gave them only 700 men, since some of its leaders were sympathetic towards Islam. The Bani Amir refused to join them all together, as they had a pact with Muhammad. Once the battle started, Huyayy ibn Akhtab persuaded the Banu Qurayza to go against their covenant with Muhammad and turn against him during the battle. After the defeat of the confederates in the battle, and Qurayza's subsequent surrender, Huyayy (who was at that time in the Qurayza strongholds of Medina) was killed alongside the men of the Qurayza. After Huyayy's death, Abu al-Rafi ibn Abi al-Huqayq took charge of the Banu Nadir at Khaybar. Al-Huqayq soon approached neighboring tribes to raise an army against Muhammad. After learning this, the Muslims, aided by an Arab with a Jewish dialect, assassinated him. Al-Huqayq was succeeded by Usayr ibn Zarim. It has been recorded by one source that Usayr also approached the Ghatafan and rumors spread that he intended to attack the "capital of Muhammad". The latter sent Abdullah bin Rawaha with a number of his companions, among whom was Abdullah bin Unays, an ally of Banu Salima, a clan hostile to the Jews. When they came to Usayr, they told him that if he would come to Muhammad, Muhammad would give him an appointment and honour him. They kept on at him until he went with them with a number of Jews. Abdullah bin Unays mounted him on his beast until he was in al-Qarqara, about six miles from Khaybar. Usayr suddenly changed his mind about going with them. Abdullah perceived Usayr's bad intention as the latter was preparing to draw his sword. So Abdullah rushed at him and struck him with his sword cutting off his leg. Usayr hit Abdullah with a stick of shauhat wood which he had in his hand and wounded his head. All Muhammad's emissaries fell upon the thirty Jewish companions and killed them except one man who escaped on his feet. Abdullah bin Unays is the assassin who volunteered and got permission to kill Banu Nadir's Sallam ibn Abu al-Huqayq at a previous night mission in Khaybar. Many scholars have considered the above machinations of the Nadir as a reason for the battle. According to Montgomery Watt, their intriguing and use of their wealth to incite tribes against Muhammad left him no choice but to attack. Vaglieri concurs that one reason for attack was that the Jews of Khaybar were responsible for the Confederates that attacked Muslims during the Battle of the Trench. Shibli Numani also sees Khaybar's actions during the Battle of the Trench, and draws particular attention to Banu Nadir's leader Huyayy ibn Akhtab, who had gone to the Banu Qurayza during the battle to instigate them to attack Muhammad. Treaty of Hudaybiyya In 628, when the Muslims attempted to perform the Umrah (lesser pilgrimage), after much negotiations, the Muslims entered a peace treaty with the Quraysh, ending the Muslim-Quraysh wars. The treaty also gave Muhammad the assurance of not being attacked in the rear by the Meccans during the expedition. Political situation As war with Muhammad seemed imminent, the Jews of Khaybar entered into an alliance with the Jews of Fadak oasis. They also successfully persuaded the Bedouin Ghatafan tribe to join their side in the war in exchange for half their produce. However, in comparison to the power of the north, Muhammad's army did not seem to pose enough of a threat for the Khaybar to sufficiently prepare themselves for the upcoming battle. Along with the knowledge that Muhammad's army was small, and in need of resources, the lack of central authority at Khaybar prevented any unified defensive preparations, and quarrels between different families left the Jews disorganized. The Banu Fazara, related to the Ghatafan, also offered their assistance to Khaybar, after their unsuccessful negotiations with the Muslims. Failure of the Arabian tribe of Banu Ghatafan During the battle, the Muslims were able to prevent Khaybar's Ghatafan allies (consisting of 4,000 men) from providing them with reinforcements. One reason given is that the Muslims were able to buy off the Bedouin allies of the Jews. Watt, however, suggests that rumors of a Muslim attack on Ghatafan strongholds might also have played a role. According to Tabari, Muhammad's first stop in his conquest of Khaybar was in the valley of al-Raji, which was directly between the Ghatafan people and the Khaybar. In hearing the news of the Muslim army's position, the Ghatafan organized and rode out to honor their alliance with the Khaybar. After a day of travel, the Ghatafan thought they heard their enemy behind them and turned around in order to protect their families and possessions, thus opening the path for Muhammad's army. Another story says that a mysterious voice warned the Ghatafan of danger and convinced them to return to their homes. Course of the battle The Muslims set out for Khaybar in March 628, Muharram AH 7. According to different sources, the strength of the Muslim army varied from 1,400 to 1,800 men and between 100 and 200 horses. Some Muslim women (including Umm Salama) also joined the army, in order to take care of the wounded. Compared to the symbolic Khaybar fighting strength of 10,000, the Muslim contingent was small, but this provided an advantage, allowing them to swiftly and quietly march to Khaybar (in only three days), catching the city by surprise. It also made Khaybar overconfident. As a result, the Jews failed to mount a centrally organized defense, leaving each family to defend its own fortified redoubt. This underestimation of the Muslims allowed Muhammad to conquer each fortress one by one with relative ease, claiming food, weapons, and land as he went. One Muslim reported: "We met the workers of Khaybar coming out in the morning with their spades and baskets. When they saw the apostle and the army they cried, 'Muhammad with his force,' and turned tail and fled. The apostle said, 'Allah Akbar! Khaybar is destroyed. When we arrive in a people's square it is a bad morning for those who have been warned.'" The Jews, after a rather bloody skirmish in front of one of the fortresses, avoided combat in the open country. Most of the fighting consisted of shooting arrows at a great distance. On at least one occasion the Muslims were able to storm the fortresses. The besieged Jews managed to organize, under the cover of darkness, the transfer of people and treasures from one fortress to another as needed to make their resistance more effective. Neither the Jews nor the Muslims were prepared for an extended siege, and both suffered from a lack of provisions. The Jews, initially overconfident in their strength, failed to prepare even enough water supplies for a short siege. Early in the campaign, the Muslims' hunger caused them to slaughter and cook several donkeys which they had taken during their conquest. Muhammad, who had determined that the eating of horse, mule, and donkey meat was forbidden, made the exception that one can eat forbidden foods so long as scarcity leaves no other option. Fall of al-Qamus fort After the forts at an-Natat and those at ash-Shiqq were captured, there remained the last and the heavily guarded fortress called al-Qamus, the siege of which lasted between thirteen and nineteen days. Several attempts by Muslims to capture this citadel in some single combats failed. The first attempt was made by Abu Bakr who took the banner and fought, but was unable to succeed. Umar then charged ahead and fought more vigorously than Abu Bakr, but still failed. That night Muhammad proclaimed, "By God, tomorrow I shall give it [the banner] to a man who loves God and His Messenger, whom God and His Messenger love. Allah will bestow victory upon him." That morning, the Quraysh were wondering who should have the honor to carry the banner, but Muhammad called out for Ali ibn Abi Țalib. All this time, Ali, son-in-law and cousin of Muhammad, was ill and could not participate in the failed attempts. The apostle sent him with his flag and Ali, with new vigor, set out to meet the enemy, bearing the banner of Muhammad. When he got near the fort the garrison came out and he fought them. In some Shi’ite sources it is said that during the battle, a Jew struck him so that his shield fell from his hand and Ali lost his shield. In need of a substitute, he picked up a door and used it to defend himself. In some Shi'ite sources it is also said that, when the time came to breach the fortress, he threw the door down as a bridge to allow his army to pass into the citadel and conquer the final threshold. The Apostle revived their (his followers) faith by the example of Ali, on whom he bestowed the surname of "the Lion of God" (Asadullah). The Jews speedily met with Muhammad to discuss the terms of surrender. The people of al-Waṭī and al-Sulālim surrendered to the Muslims on the condition that they be "treated leniently" and the Muslims refrain from shedding their blood. Muhammad agreed to these conditions and did not take any of the property of these two forts. Killing of Marhab Historians have given different descriptions about the incident of killing Marhab. Most of historical sources, including Sahih Muslim, say that Ali killed Marhab while conquering the Qamus fort or the fort of Na’im. However, the earliest record of Ibn Hisham's denies this and reports that Muhammad ibn Maslama killed Marhab according to the order of Muhammad before the mission of Ali. The most famous narration related to Ali is all total below: “When Ali reached the Citadel of Qamus, he was met at the gate by Marhab, a Jewish chieftain who was well experienced in battle. Marhab called out: "Khaybar knows well that I am Marhab, whose weapon is sharp, a warrior tested. Sometimes I thrust with spear; sometimes I strike with sword, when lions advance in burning rage". In sahih Muslim, the verses have been narrated like this: Khaibar knows certainly that I am Marhab, A fully armed and well-tried valorous warrior (hero), when war comes spreading its flames. 'Ali chanted in reply: I am the one whose mother named him Haidar (lion), (And am) like a lion of the forest with a terror-striking countenance. I give my opponents the measure of sandara in exchange for sa'(goblet) (i. e. return their attack with one that is much more fierce). The two soldiers struck at each other, and after the second blow, Ali cleaved through Marhab's helmet, splitting his skull and landing his sword in his opponent's teeth. Another narration described, "Ali struck at the head of Mirhab and killed him”. The narration related to Muhammad bin Maslama from Ibn Hisham's prophetic biography is below: “When the apostle had conquered some of their forts and got possession of some of their property he came to their two forts al-Watih and al-Sulalim, the last to be taken, and the apostle besieged them for some ten night. Marhab the Jew came out from their fort carrying his weapons and saying: Khaybar knows that I am Marhab, An experienced warrior armed from head to foot, Now piercing, now slashing, As when lions advance in their rage. The hardened warrior gives way before my onslaught; My hima (The sacred territory of an idol or a sanctuary and so any place that a man is bound to protect from violation) cannot be approached. With these words he challenged all to single combat and Ka'b b. Malik answered him thus: Khaybar knows that I am Ka'b, The smoother of difficulties, bold and dour. When war is stirred up another follows. I carry a sharp sword that glitters like lightning- We will tread you down till the strong are humbled; We will make you pay till the spoil is divided- In the hand of a warrior sans reproche. The apostle said, 'Who will deal with this fellow?' Muhammad bin Maslama said that he would, for he was bound to take revenge on the man who had killed his brother the day before. The apostle told him to go and prayed Allah to help him. When they approached the one the other an old tree with soft wood lay between them and they began to hide behind it. Each took shelter from the other. When one hid behind the tree the other slashed at it with his sword so that the intervening branches were cut away and they came face to face. The tree remained bereft of its branches like a man standing upright. Then Marhab attacked Muhammad b. Maslama and struck him. He took the blow on his shield and the sword bit into it and remained fast. Muhammad (bin Maslama) then gave Marhab a fatal wound.” Although, many of the sources quoted that, Muhammad ibn Maslama also fought bravely at Khaybar as well as Ali ibn abi Talib and also killed a number of well-known Jewish warriors. Aftermath Muhammad met with Ibn Abi al-Huqaiq, al-Katibah and al-Watih to discuss the terms of surrender. As part of the agreement, the Jews of Khaybar were to evacuate the area, and surrender their wealth. The Muslims would cease warfare and not hurt any of the Jews. After the agreement, some Jews approached Muhammad with a request to continue to cultivate their orchards and remain in the oasis. In return, they would give one-half of their produce to the Muslims. According to Ibn Hisham's version of the pact with Khaybar, it was concluded on the condition that the Muslims "may expel you [Jews of Khaybar] if and when we wish to expel you." Norman Stillman believes that this is probably a later interpolation intended to justify the expulsion of Jews in 642. The agreement with the Jews of Khaybar served as an important precedent for Islamic Law in determining the status of dhimmis, (non-Muslims under Muslim rule). After hearing about this battle, the people of Fadak, allied with Khaybar during the battle, sent Muḥayyisa b. Masūd to Muhammad. Fadak offered to be "treated leniently" in return for surrender. A treaty similar to that of Khaybar was drawn with Fadak as well. Among the captives was Safiyya bint Huyayy, daughter of the killed Banu Nadir chief Huyayy ibn Akhtab and widow of Kenana ibn al-Rabi, the treasurer of Banu Nadir. The companions informed Muhammad of Safiyya's beauty and family status, although she had already been taken by his companion Dihyah al-Kalbi.Vol.1, no.371 Muhammad summoned Dihyah and ordered him to give Safiyya to him and take any of the other captured girls as slaves. Dihyah acceded the request only after being given 7 slaves in her place, as Safiyya was of renowned beauty. Safiyya and another woman had passed the bodies of the beheaded Khaybar men on their way to the prophet, and the other woman had become hysterical at the sight, to which Muhammad said "take away this she-devil". Muhammad took the 17 years old Safiyya to his bed on the very night of the day when her husband and family were slaughtered, and later manumitted and married her. Thus, Safiyya became one of the Mothers of the Believers. Kenana ibn al-Rabi, the treasurer of the Banu Nadir and husband to Safiyya, when asked about the treasure they brought with them at the time of leaving Medina, denied having any such treasure. He was told that in case the treasure could be found hidden, he would face death-penalty for his false promise. Muhammad than ordered Zubayr Ibn Al-Awwam to torture Kenanah, which he did by applying a burning hot metal to Kenanah's chest until he had almost expired, but Kenanah refused to speak. A Jew told Muhammad that he had seen Al-Rabi near a certain ruin every morning. When the ruin was excavated, it was found to contain some of the treasure. Kenana was then beheaded. Shibli Nomani rejects this account, and argues that Kenana was beheaded to avenge Mahmud, brother of Muhammad ibn Maslamah, who had died during the various sieges of Khaybar, killed by a millstone thrown by a warrior named Marhab. According to several Muslim traditions, a Jewish woman, Zeynab bint Al-Harith, attempted to poison Muhammad to avenge her slain relatives. She poisoned a piece of lamb that she cooked for Muhammad and his companions, putting the most poison into Muhammad's favorite part, the shoulder. This assassination attempt failed because Muhammad recognised that the lamb was poisoned and spat it out, but one companion ate the meat and died and Muhammad's health suffered as a result. The victory in Khaybar greatly raised the status of Muhammad among his followers and local Bedouin tribes, who, seeing his power, swore allegiance to Muhammad and converted to Islam. The captured booty and weapons strengthened his army, and he captured Mecca just 18 months after Khaybar. In classic Islamic literature According to mainstream Sunni opinion, the battle is mentioned in Sahih Bukhari, in which Muhammad is reported to have said "Tomorrow I will give the flag to a man with whose leadership Allah will grant (the Muslim) victory." Afterwards, he gave the flag to Ali. According to a Shia tradition, Muhammad called for Ali, who killed a Jewish chieftain with a sword-stroke, which split in two the helmet, the head and the body of the victim. Having lost his shield, Ali is said to have lifted both of the doors of the fortress from their hinges, climbed into the moat and held them up to make a bridge whereby the attackers gained access to the redoubt. The door was so heavy that forty men were required to put it back in place. This story is the basis for the Shi'ites viewing Ali as the prototype of heroes. On one occasion, Muslim soldiers, without Muhammad's opinion and permission, killed and cooked a score of donkeys, which had escaped from a farm. The incident led Muhammad to forbid to Muslims the meat of horses, mules, and donkeys, unless consumption was forced by necessity. The Jews surrendered when, after a month and a half of the siege, all but two fortresses were captured by the Muslims. According to modern fiqh researchers the aftermath of Khaibar battle were significant as various Islamic jurist scholars from various school of thoughs such as Dawud al-Zahiri, Ahmad ibn Hanbal, Malik ibn Anas, and Muhammad Shaybani were basing the event of the ruling of seizure of Khaibar properties by Muslim conquerors and employing the subdued Jewish inhabitants as the worker of Khaibar gardens and plantations in the aftermath of the battle. Those jurists and their followers were passing verdict that the practice were as became model of Islamic business cooperation to cultivate agricultural land were allowed according to their Madhhabs. Islamic primary sources Muslim scholars suggest that capturing Khaibar had been a divine promise implied in Quran 48:20 below: The event is mentioned in many Sunni Hadith collections. The Muslim scholar Safiur Rahman al Mubarakpuri mentions that the hadith below regarding Amir's accidental death is related to Khaibar: It has been narrated on the authority of Ibn Salama. He heard the tradition from his father who said: ... .By God, we had stayed there only three nights when we set out to Khaibar with the Messenger of Allah. (On the way) my uncle, Amir, began to recite the following rajaz verses for the people: By God, if Thou hadst not guided us aright, We would have neither practised charity nor offered prayers. (O God! ) We cannot do without Thy favours; Keep us steadfast when we encounter the enemy, And descend tranquillity upon us. The Messenger of Allah said: Who is this? 'Amir said: it is 'Amir. He said: May thy God forgive thee! The narrator said: Whenever the Messenger of Allah asked forgiveness for a particular person, he was sure to embrace martyrdom. Umar b. Khattab who was riding on his camel called out: Prophet of Allah, I wish you had allowed us to benefit from Amir. Salama continued: When we reached Khaibar, its king named Marhab advanced brandishing his sword and chanting: Khaibar knows that I am Marhab (who behaves like) A fully armed, and well-tried warrior. When the war comes spreading its flames. My uncle, Amir, came out to combat with him, saying: Khaibar certainly knows that I am 'Amir, A fully armed veteran who plunges into battles. They exchanged blows. Marbab's sword struck the shield of 'Amir who bent forward to attack his opponent from below, but his sword recoiled upon him and cut the main artery: in his forearm which caused his death. Salama said: I came out and heard some people among the Companions of the Holy Prophet (may peace be upon him) as saying: Amir's deed has gone waste; he has killed himself. So I came to the Holy Prophet weeping and I said: Messenger of Allah. Amir's deed has gone waste. The Messenger said: Who passed this remark? I said: Some of your Companions. He said: "He who has passed that remark has told a lie, for 'Amir there is a double reward." ... Allah's Apostle offered the Fajr prayer when it was still dark, then he rode and said, 'Allah Akbar! Khaibar is ruined. When we approach near to a nation, the most unfortunate is the morning of those who have been warned." The people came out into the streets saying, "Muhammad and his army." Allah's Apostle vanquished them by force and their warriors were killed; the children and women were taken as captives. Safiya was taken by Dihya Al-Kalbi and later she belonged to Allah's Apostle go who married her and her Mahr was her manumission. Modern usage in the Arab–Israeli conflict Protests in the Middle East, Europe and North America sometimes reference the Battle of Khaybar in the context of the Israeli–Palestinian conflict. Some versions of the chant are: ()—"Khaybar, Khaybar o Jews, the army of Muhammad will return". In French, Khaybar, Khaybar, Ô Juifs, l'armée de Mohammad va revenir. Khaybar, Khaybar ya yahud, jaysh Muhammad qadimun.—"Khaybar, Khaybar o Jews, the army of Muhammad is coming." According to Abbas al-Musawi of Hezbollah, this was the version chanted at the original battle in the 7th century CE. Khaybar, Khaybar ya sahyun, Hizbullah qadimun.—"Khaybar, Khaybar you Zionists, Hizbullah is coming." During the Lebanon War of 2006, the Lebanese Shia militia Hizbullah dubbed missiles it fired on Israeli cities after Khaybar. Medieval Muslim conquerors of north India named Khyber Pass after Khaybar, signifying Muslim conquest of lands inhabited by ancient Hindus. This also symbolised Muslim aspiration of conquering entire India after Khyber Pass; just as the Conquest of Mecca followed the Muslim success at the Battle of Khaybar. Khaybar is also the name of a television series that began broadcasting in the Middle East during July 2013 (Ramadan that year). Set in the Battle of Khaybar, it is a drama depicting the relations between the Jews of Khaybar and the Jewish and Arab communities of Medina at that time. MEMRI, the Simon Wiesenthal Center and the ADL have criticized it for its uncomplimentary portrayal of Jews as the enemy of Islam. See also Muhammad's views on the Jewish people Military career of Muhammad Muhammad's expeditions Islamic military jurisprudence References Bibliography Guillaume, Alfred. The Life of Muhammad: A Translation of Ibn Ishaq's Sirat Rasul Allah. Oxford University Press, 1955. Jafri, S.H.M. The Origins and Early Development of Shi'a Islam. Longman; 1979 Lewis, Bernard. The Jews of Islam. Princeton: Princeton University Press, 1984. Muhammad Husayn Haykal (2008). The Life of Muhammad. Selangor: Islamic Book Trust. . "The Conquest of Kyber." Restatement of History of Islam. N.p., n.d. Web. 17 Apr 2012. Stillman, Norman. The Jews of Arab Lands: A History and Source Book. Philadelphia: Jewish Publication Society of America, 1979. Spencer, Robert. "'Khaybar, Khaybar, O Jews.'." Human Events 62.27 (2006): 12. Academic Search Premier. Web. 24 Apr. 2012. Ṭabarī. The History Of Al-Ṭabarī: Taʾrīkh Al-rusul Wa'l Mulūk. Albany: State University Of New York, 1985–2007. Print. Journal Encyclopedia Encyclopaedia of Islam. Ed. P. Bearman et al., Leiden: Brill, 1960–2005. Encyclopaedia of Islam, Second Edition. Edited by: P. Bearman, Th. Bianquis, C.E. Bosworth, E. van Donzel, W.P. Heinrichs. Brill Online, 2012. Reference. 24 April 2012 Lewis, Bernard. The Arabs in History. Oxford University Press, 1993 ed. (reissued 2002). 628 Khaybar Muhammad and Judaism Khaybar History of Hejaz
```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\Bigquery; class LocationMetadata extends \Google\Model { /** * @var string */ public $legacyLocationId; /** * @param string */ public function setLegacyLocationId($legacyLocationId) { $this->legacyLocationId = $legacyLocationId; } /** * @return string */ public function getLegacyLocationId() { return $this->legacyLocationId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LocationMetadata::class, 'Google_Service_Bigquery_LocationMetadata'); ```
The Upper Swabian Baroque Route (Oberschwäbische Barockstraße) is a tourist theme route through Upper Swabia, following the themes of "nature, culture, baroque". The route has a length of about 500 km (approximately 310 miles). It was established in 1966, being one of the first theme routes in Germany. There is an extension to the route into Switzerland and Austria around Lake Constance. Its logo depicts a yellow putto on a green background, putti being typical of the Baroque Era. Origin After the end of the Thirty Years' War and its ravages in 1648, followed by the counter-reformation instigated by the Catholic Church, an explosion of building works took place in the region of Upper Swabia. Immigrants to depopulated areas within Upper Swabia contributed to an economic upturn, which made it possible even for the owners of the smallest villages to secure sufficient funds to restore, extend and enhance the already existing buildings in Baroque style. This included monasteries as well as secular buildings such as castles and commercial buildings. The result of this is today called Upper Swabian Baroque. It lasted from ca. 1650 until the French Revolution. The nobility, whose territories were mostly of a small or only modest size, converted its dwelling places to Baroque style, utilising existing structures. Some new buildings were erected by the nobility, the result of which, however, often did not come close to the quality and extent of those erected by the clergy. This was due to the nobility's lack of financial means. The monasteries, on the other hand, did have larger funds at their disposal as their respective territories were considerably larger than those of secular lords which meant that they could employ more dependants for the constructions work under the rules of feudal obligations (socage). Also, the monks themselves were unpaid and some of the artistic works were carried out by monks themselves. The re-organization of Europe under Napoleon at the beginning of the 19th century (also known as German Mediatisation), however, meant that the Imperial Abbeys, the Free Imperial Cities and the territories ruled by Imperial Knights (Reichsritter) lost their independence and their income. Many buildings were converted into barracks, schools, psychiatric hospitals or even manufacturing sites. Only in the 20th century, efforts have been made to save and restore these monuments of the past. Survey Some of the main attractions on the route are: Ulm with its cathedral. Wiblingen Abbey - library. Laupheim - parish church Sts. Peter and Paul; Großlaupheim Castle and its museum; castle Kleinlaupheim. Biberach an der Riß - parish church St Martin. Steinhausen - parish church Sts. Peter and Paul (also a place of pilgrimage), often referred to as being the "most beautiful village church in the world." Bad Schussenried - Schussenried Abbey with library in Rococo-style. Rot an der Rot - Rot an der Rot Abbey. Obermarchtal - Marchtal Abbey with minster, often referred to as "little Versaille." Zwiefalten - pilgrimage place with minster. Bad Wurzach - the castle with the most beautiful staircase in Baroque-style in Upper Swabia. Sigmaringen - Sigmaringen Castle. Meßkirch - with castle and church. Kißlegg - Old and New Castle; Parish church Sts. Gallus and Ulrich. Langenargen - Baroque church. Friedrichshafen - Hofen Monastery. Meersburg - Meersburg Castle, the oldest castle in Germany, and New Castle, a baroque castle. Überlingen - city and minster. Ravensburg - also known as the city of towers and gates; monastery church in Weissenau Abbey. Weingarten - Weingarten Abbey and basilica which contains the famous pipe organ by Joseph Gabler. Tannheim - parish church St Martin in early Baroque-style. Memmingen - monastery complex, built in Baroque-style. Examples of Upper Swabian Baroque Routes There are four routes of the Upper Swabian Baroque Route: the main route, the west route, the south route and the east route. Main route The main route is circular, starting and terminating at Ulm. It passes the following villages and cities: Ulm, Wiblingen, Donaustetten, Gögglingen, Unterweiler, Blaubeuren, Erbach (Donau), Donaurieden, Ersingen, Oberdischingen, Öpfingen, Gamerschwang, Nasgenstadt, Ehingen (Donau), Munderkingen, Obermarchtal, Mochental, Zell, Zwiefalten, Dürrenwaldstetten, Daugendorf, Unlingen, Riedlingen, Heudorf, Kappel, Bad Buchau, Reichenbach, Muttensweiler, Steinhausen, Bad Schussenried, Otterswang, Aulendorf, Altshausen, Ebenweiler, Reute bei Bad Waldsee, Bad Waldsee, Baindt, Weingarten, Ravensburg, Obereschach, Gornhofen, Weißenau, Markdorf, Friedrichshafen, Eriskirch, Langenargen, Tettnang, Tannau, Wangen im Allgäu, Deuchelried, Argenbühl, Isny im Allgäu, Kißlegg im Allgäu, Wolfegg, Bergatreute, Bad Wurzach, Rot an der Rot, Ochsenhausen, Ummendorf, Biberach an der Riß, Reinstetten, Gutenzell, Schwendi, Burgrieden, Villa Rot, Laupheim, Baltringen, Maselheim, Bihlafingen, Oberkirchberg, Unterkirchberg, Ulm. West route The West route starts at Riedlingen and terminates at Meersburg on Lake Constance. It passes the following villages and cities: Riedlingen, Altheim, Heiligkreuztal, Ertingen, Herbertingen, Bad Saulgau, Sießen, Ostrach, Habsthal, Krauchenwies, Sigmaringen, Meßkirch, Kloster Wald, Pfullendorf, Heiligenberg-Betenbrunn, Weildorf, Salem Abbey, Überlingen, Birnau, Seefelden, Baitenhausen, Meersburg. South route The south route leads around Lake Constance. It starts at Kressbronn am Bodensee, passing through Austria and Switzerland before terminating at Meersburg. It passes the following villages and cities: Kressbronn am Bodensee, Schleinsee, Wasserburg, Lindau, Bregenz, Bildstein, Dornbirn, Hohenems, Altstätten, Trogen, St. Gallen, Arbon, Romanshorn, Münsterlingen, Kreuzlingen, Konstanz, Mainau, Meersburg. East route The east route is the shortest route, starting at Rot an der Rot and terminating at Kißlegg, thereby partly extending into the Allgäu. It passes the following villages and cities: Rot an der Rot, Berkheim, Bonlanden, Binnrot, Haslach, Tannheim, Buxheim (Swabia), Memmingen, Ottobeuren, Legau, Bad Grönenbach, Kronburg, Maria Steinbach, Legau, Frauenzell, Leutkirch im Allgäu, Rötsee, Kißlegg. Artists and architects of Upper Swabian Baroque Cosmas Damian Asam, architect and painter Egid Quirin Asam, sculptor and plasterer Andreas Meinrad von Au, painter Johann Caspar Bagnato, architect Franz Anton Bagnato, architect Franz Beer, architect Johann Joseph Christian, sculptor and plasterer Jakob Emele, architect Joseph Anton Feuchtmayer, sculptor and plasterer Johann Michael Feuchtmayer, plasterer Johann Georg Fischer, architect Johann Michael Fischer, architect Joseph Gabler, organ builder Johann Nepomuk Holzhey, pipe organ builder Franz Martin Kuen, Painter Sebastian Sailer, monk and dialect poet Franz Xaver Schmuzer, plasterer Johann Schmuzer, plasterer Johann Georg Specht, architect Franz Joseph Spiegler, painter Jacob Carl Stauder, painter Peter Thumb, architect Januarius Zick, painter Johannes Zick, painter of frescoes Dominikus Zimmermann, architect and plasterer Johann Baptist Zimmermann, painter and plasterer References Further reading External links Official site of the Upper Swabian Baroque Route Baroque in Upper Swabia Tourist attractions in Baden-Württemberg German tourist routes
```rust // // path_to_url or the MIT license <LICENSE-MIT or // path_to_url at your option. This file may not be // copied, modified, or distributed except according to those terms. use core::{ ffi, mem::{self, MaybeUninit}, ptr, }; use std::sync::atomic::{AtomicUsize, Ordering}; use std::time::Instant; const STATE_UNPARKED: usize = 0; const STATE_PARKED: usize = 1; const STATE_TIMED_OUT: usize = 2; use super::bindings::*; #[allow(non_snake_case)] pub struct KeyedEvent { handle: HANDLE, NtReleaseKeyedEvent: extern "system" fn( EventHandle: HANDLE, Key: *mut ffi::c_void, Alertable: BOOLEAN, Timeout: *mut i64, ) -> NTSTATUS, NtWaitForKeyedEvent: extern "system" fn( EventHandle: HANDLE, Key: *mut ffi::c_void, Alertable: BOOLEAN, Timeout: *mut i64, ) -> NTSTATUS, } impl KeyedEvent { #[inline] unsafe fn wait_for(&self, key: *mut ffi::c_void, timeout: *mut i64) -> NTSTATUS { (self.NtWaitForKeyedEvent)(self.handle, key, false.into(), timeout) } #[inline] unsafe fn release(&self, key: *mut ffi::c_void) -> NTSTATUS { (self.NtReleaseKeyedEvent)(self.handle, key, false.into(), ptr::null_mut()) } #[allow(non_snake_case)] pub fn create() -> Option<KeyedEvent> { let ntdll = unsafe { GetModuleHandleA(b"ntdll.dll\0".as_ptr()) }; if ntdll == 0 { return None; } let NtCreateKeyedEvent = unsafe { GetProcAddress(ntdll, b"NtCreateKeyedEvent\0".as_ptr())? }; let NtReleaseKeyedEvent = unsafe { GetProcAddress(ntdll, b"NtReleaseKeyedEvent\0".as_ptr())? }; let NtWaitForKeyedEvent = unsafe { GetProcAddress(ntdll, b"NtWaitForKeyedEvent\0".as_ptr())? }; let NtCreateKeyedEvent: extern "system" fn( KeyedEventHandle: *mut HANDLE, DesiredAccess: u32, ObjectAttributes: *mut ffi::c_void, Flags: u32, ) -> NTSTATUS = unsafe { mem::transmute(NtCreateKeyedEvent) }; let mut handle = MaybeUninit::uninit(); let status = NtCreateKeyedEvent( handle.as_mut_ptr(), GENERIC_READ | GENERIC_WRITE, ptr::null_mut(), 0, ); if status != STATUS_SUCCESS { return None; } Some(KeyedEvent { handle: unsafe { handle.assume_init() }, NtReleaseKeyedEvent: unsafe { mem::transmute(NtReleaseKeyedEvent) }, NtWaitForKeyedEvent: unsafe { mem::transmute(NtWaitForKeyedEvent) }, }) } #[inline] pub fn prepare_park(&'static self, key: &AtomicUsize) { key.store(STATE_PARKED, Ordering::Relaxed); } #[inline] pub fn timed_out(&'static self, key: &AtomicUsize) -> bool { key.load(Ordering::Relaxed) == STATE_TIMED_OUT } #[inline] pub unsafe fn park(&'static self, key: &AtomicUsize) { let status = self.wait_for(key as *const _ as *mut ffi::c_void, ptr::null_mut()); debug_assert_eq!(status, STATUS_SUCCESS); } #[inline] pub unsafe fn park_until(&'static self, key: &AtomicUsize, timeout: Instant) -> bool { let now = Instant::now(); if timeout <= now { // If another thread unparked us, we need to call // NtWaitForKeyedEvent otherwise that thread will stay stuck at // NtReleaseKeyedEvent. if key.swap(STATE_TIMED_OUT, Ordering::Relaxed) == STATE_UNPARKED { self.park(key); return true; } return false; } // NT uses a timeout in units of 100ns. We use a negative value to // indicate a relative timeout based on a monotonic clock. let diff = timeout - now; let value = (diff.as_secs() as i64) .checked_mul(-10000000) .and_then(|x| x.checked_sub((diff.subsec_nanos() as i64 + 99) / 100)); let mut nt_timeout = match value { Some(x) => x, None => { // Timeout overflowed, just sleep indefinitely self.park(key); return true; } }; let status = self.wait_for(key as *const _ as *mut ffi::c_void, &mut nt_timeout); if status == STATUS_SUCCESS { return true; } debug_assert_eq!(status, STATUS_TIMEOUT); // If another thread unparked us, we need to call NtWaitForKeyedEvent // otherwise that thread will stay stuck at NtReleaseKeyedEvent. if key.swap(STATE_TIMED_OUT, Ordering::Relaxed) == STATE_UNPARKED { self.park(key); return true; } false } #[inline] pub unsafe fn unpark_lock(&'static self, key: &AtomicUsize) -> UnparkHandle { // If the state was STATE_PARKED then we need to wake up the thread if key.swap(STATE_UNPARKED, Ordering::Relaxed) == STATE_PARKED { UnparkHandle { key: key, keyed_event: self, } } else { UnparkHandle { key: ptr::null(), keyed_event: self, } } } } impl Drop for KeyedEvent { #[inline] fn drop(&mut self) { unsafe { let ok = CloseHandle(self.handle); debug_assert_eq!(ok, true.into()); } } } // Handle for a thread that is about to be unparked. We need to mark the thread // as unparked while holding the queue lock, but we delay the actual unparking // until after the queue lock is released. pub struct UnparkHandle { key: *const AtomicUsize, keyed_event: &'static KeyedEvent, } impl UnparkHandle { // Wakes up the parked thread. This should be called after the queue lock is // released to avoid blocking the queue for too long. #[inline] pub unsafe fn unpark(self) { if !self.key.is_null() { let status = self.keyed_event.release(self.key as *mut ffi::c_void); debug_assert_eq!(status, STATUS_SUCCESS); } } } ```
```xml import { Localized } from "@fluent/react/compat"; import { FormApi } from "final-form"; import React, { FunctionComponent, useCallback, useMemo, useRef } from "react"; import { FieldArray } from "react-final-form-arrays"; import { graphql } from "react-relay"; import { pureMerge } from "coral-common/common/lib/utils"; import { ExternalLink } from "coral-framework/lib/i18n/components"; import { withFragmentContainer } from "coral-framework/lib/relay"; import { AddIcon, ButtonSvgIcon } from "coral-ui/components/icons"; import { Button, FormFieldDescription, HorizontalGutter, } from "coral-ui/components/v2"; import { SlackConfigContainer_settings } from "coral-admin/__generated__/SlackConfigContainer_settings.graphql"; import ConfigBox from "../../ConfigBox"; import Header from "../../Header"; import SlackChannel from "./SlackChannel"; import styles from "./SlackConfigContainer.css"; interface Props { form: FormApi; submitting: boolean; settings: SlackConfigContainer_settings; } const SlackConfigContainer: FunctionComponent<Props> = ({ form, settings }) => { const inputRef = useRef<HTMLInputElement>(null); const onAddChannel = useCallback(() => { // We use push here because final form still has issues tracking new items // being inserted at the old array index. // // Ref: path_to_url // form.mutators.push("slack.channels", { enabled: true, name: "", hookURL: "", triggers: { allComments: false, reportedComments: false, pendingComments: false, featuredComments: false, staffComments: false, }, }); setTimeout(() => { if (inputRef && inputRef.current) { inputRef.current.focus(); } }, 0); }, [form]); const onRemoveChannel = useCallback( (index: number) => { form.mutators.remove("slack.channels", index); }, [form] ); useMemo(() => { let formValues = { slack: { channels: [ { enabled: false, name: "", hookURL: "", triggers: { allComments: false, reportedComments: false, pendingComments: false, featuredComments: false, staffComments: false, }, }, ], }, }; if ( settings.slack && settings.slack.channels && settings.slack.channels.length > 0 ) { formValues = pureMerge(formValues, settings); } form.initialize(formValues); }, []); return ( <HorizontalGutter size="double"> <ConfigBox title={ <Localized id="configure-slack-header-title"> <Header htmlFor="configure-slack-header.title"> Slack Integrations </Header> </Localized> } > <Localized id="configure-slack-description" elems={{ externalLink: ( <ExternalLink href="path_to_url" /> ), }} > <FormFieldDescription> Automatically send comments from Coral moderation queues to Slack channels. You will need Slack admin access to set this up. For steps on how to create a Slack App see our documentation. </FormFieldDescription> </Localized> <Button iconLeft onClick={onAddChannel}> <ButtonSvgIcon size="xs" className={styles.icon} Icon={AddIcon} /> <Localized id="configure-slack-addChannel">Add Channel</Localized> </Button> <FieldArray name="slack.channels"> {({ fields }) => fields.map((channel: any, index: number) => ( <SlackChannel key={index} channel={channel} disabled={false} index={index} onRemoveClicked={onRemoveChannel} form={form} ref={ fields.length && fields.length - 1 === index ? inputRef : null } /> )) } </FieldArray> </ConfigBox> </HorizontalGutter> ); }; const enhanced = withFragmentContainer<Props>({ settings: graphql` fragment SlackConfigContainer_settings on Settings { slack { channels { enabled name hookURL triggers { reportedComments pendingComments featuredComments allComments staffComments } } } } `, })(SlackConfigContainer); export default enhanced; ```
Mikhail Petrovich Pogodin (; , Moscow, Moscow) was a Russian Imperial historian and journalist who, jointly with Nikolay Ustryalov, dominated the national historiography between the death of Nikolay Karamzin in 1826 and the rise of Sergey Solovyov in the 1850s. He is best remembered as a staunch proponent of the Normanist theory of Russian statehood. Pogodin's father was a serf housekeeper of Count Stroganov, and the latter ensured Mikhail's education in the Moscow University. As the story goes, Pogodin the student lived from hand to mouth, because he spent his whole stipend on purchasing new volumes of Nikolay Karamzin's history of Russia. Pogodin's early publications were panned by Mikhail Kachenovsky, a Greek who held the university chair in Russian history. Misinterpreting Schlozer's novel teachings, Kachenovsky declared that "ancient Russians lived like mice or birds, they had neither money nor books" and that Primary Chronicle was a crude falsification from the era of Mongol ascendency. His teachings became exceedingly popular, spawning the so-called sceptical school of imperial historiography. In 1823, Pogodin completed his dissertation in which he debunked Kachenovsky's idea of Khazar origin of Rurikid princes. He further stirred up the controversy by proclaiming that serious scholars should not only trust but worship Nestor. The dispute ended with Kachenovsky's chair being devolved on Pogodin. In the 1830s and 1840s he augmented his reputation by publishing many volumes of obscure historical documents and the last part of Mikhail Shcherbatov's history of Russia. Towards the end of the 1830s, Pogodin turned his attention to journalism, where his career was likewise a slow burner. Between 1827 and 1830 he edited The Herald of Moscow with Alexander Pushkin as one of the regular contributors. Upon first meeting the great poet in 1826, Pogodin (in)famously remarked in his diary that "his mug doesn't look promising". However, this remark is usually taken out of context as Pogodin wrote glowing reviews of Pushkin's work as early as 1820. In the wake of the Polish Uprising it fell to Nicholas I's minister of education, Count Uvarov of finding aways to unite the various branches of the "true Russians". Uvarov began looking for an author who could provide historical justification for the annexation and integration of the new western provinces into the empire. Uvarov's first choice was Pogodin who was approached in November 1834 and submitted his work in 1835, however his work did not satisfy the minister's demands nor the tsars' as his book presented the history of northeastern Rus (Russia) as too distinct and separate from the history of Southern Rus (Ukraine) undermining the project's main goal. In the report of the investigations into the actives of the Brotherhood of Saints Cyril and Methodius, professors Mikhail Pogodin and Stepan Shevyrev were named as key figures in the Slavophile movement. However, though a key figure in the emerging pan-Slavic movement by stressing the unique and self awareness of the Russian nation, Pogodin sent an example to non-Russian Slavs who wished to celebrate their distinctness and consequently their rights to autonomy and independence. From its beginning, Ukraine took a special place in the Slavophile movement. Pogodin and Shevyrev both showed a great interest in the culture and history of Ukraine in particular. Mikhail Podogin, saw cultural differences between Russians and Ukrainians that went beyond language and history. He wrote in 1845, "The Great Russians live side by side with the Little Russians, profess one faith, have shared one fate and for, for many years one history. But how many differences there are between the Great Russians and the Little Russians". In the 1840s, Pogodin suggested that there had been linguistic differences among the population as early as Kievan times, and that they coincide with 19th century's distinctions between Great Russians and Little Russians. Thus, while the population of Kiev, Chernihiv and Halych spoke Little Russian, that of Moscow and Vladimir spoke Great Russian. What more, he considered the Princes of Kiev, including such a major figure in the development of the Grand Duchy of Moskow, Andrei Bogoliubsky, to have been Little Russians. According to Pogodin it was only Bogoliubsky's descendants he argued that had "gone native" in the north-eastern lands and became Great Russians. According to historian Serhii Plokhy "Pogodin's account of Kievan Rus history deprived the early Great Russian narrative of its most prized element-the Kievan period". Pogodin drastically changed his analysis of Kievan Rus and of Russian nationalism after the arrest of his pro-Ukrainian associate Mykola Kostomarov and the remaining members of the Brotherhood of Saints Cyril and Methodius. In his 1851 letter to Sreznevsky, Pogodin asserted that in reading the early Kievan Chronicles, he detected no trace of the Little Russian language but rather of the Great Russian language, consciously or unconsciously aware of the fact that the chronicles had not been written in Old East Slavic but Church Slavonic. In 1841 Pogodin joined his old friend Stepan Shevyrev in editing Moskvityanin (The Muscovite), a periodical which came to voice Slavophile opinions. In the course of the following fifteen years of editing, Pogodin and Shevyrev steadily slid towards the most reactionary form of Slavophilism. Their journal became embroiled in a controversy with the Westernizers, led by Alexander Herzen, who deplored Pogodin's "rugged, unbroomed style, his rough manner of jotting down cropped notes and unchewed thoughts". Pogodin's main focus during the last segment of his scholarly career was on fending off Kostomarov's attacks against the Normanist theory. By that period, he championed the pan-Slavic idea of uniting Western Slavs under the aegis of the tsars and even visited Prague to discuss his plans with Pavel Jozef Šafárik and František Palacký. In the 1870s he was again pitted against a leading historian, this time Dmitry Ilovaisky, who advocated an Iranian origin of the earliest East Slavic rulers. His grandson Mikhail Ivanovich Pogodin (1884–1969) was a museologist. See also List of 19th-century Russian Slavophiles List of Russian historians References External links 1800 births 1875 deaths Writers from Moscow People from Moskovsky Uyezd 19th-century historians from the Russian Empire Journalists from the Russian Empire Male writers from the Russian Empire Slavophiles Russian nationalists 19th-century journalists Russian male journalists 19th-century male writers from the Russian Empire Participants of the Slavic Congress in Prague 1848 Members of the Russian Academy Demidov Prize laureates Russian scientists
```go package boil import ( "time" ) var ( // currentDB is a global database handle for the package currentDB Executor currentContextDB ContextExecutor // timestampLocation is the timezone used for the // automated setting of created_at/updated_at columns timestampLocation = time.UTC ) // SetDB initializes the database handle for all template db interactions func SetDB(db Executor) { currentDB = db if c, ok := currentDB.(ContextExecutor); ok { currentContextDB = c } } // GetDB retrieves the global state database handle func GetDB() Executor { return currentDB } // GetContextDB retrieves the global state database handle as a context executor func GetContextDB() ContextExecutor { return currentContextDB } // SetLocation sets the global timestamp Location. // This is the timezone used by the generated package for the // automated setting of created_at and updated_at columns. // If the package was generated with the --no-auto-timestamps flag // then this function has no effect. func SetLocation(loc *time.Location) { timestampLocation = loc } // GetLocation retrieves the global timestamp Location. // This is the timezone used by the generated package for the // automated setting of created_at and updated_at columns // if the package was not generated with the --no-auto-timestamps flag. func GetLocation() *time.Location { return timestampLocation } ```
Charles-Philippe Beaubien (May 10, 1870 – January 17, 1949) was a lawyer and political figure in Quebec. He sat for Montarville division in the Senate of Canada from 1915 to 1949. He was born in Outremont, the son of Louis Beaubien and Suzanne Lauretta Stuart. Beaubien was educated at the Collège Sainte-Marie and the Université Laval. He was admitted to the Quebec bar in 1894. In 1899, he married Margaret Rosemary Power. He was director for several companies including Atlantic Sugar Refineries, Dominion Steel Corporation et Canada Fire Insurance. Beaubien died in office at the age of 78. After his death in 1949, he was entombed at the Notre Dame des Neiges Cemetery in Montreal. His son Louis-Philippe Beaubien also served in the Canadian senate. References Beaubien-Casgrain family Canadian senators from Quebec Conservative Party of Canada (1867–1942) senators 1870 births 1949 deaths Burials at Notre Dame des Neiges Cemetery
```javascript import { getByTestId, queryAllByTestId, queryAllByText } from '@testing-library/testcafe'; import { injectLS } from './clientScripts'; import { FIXTURE_HARDHAT, FIXTURES_CONST, PAGES } from './fixtures'; import { resetFork, setupLEND } from './hardhat-utils'; import MigrationPage from './migration-page.po'; import { findByTKey } from './translation-utils'; const migrationPage = new MigrationPage(); fixture('Migration') .clientScripts({ content: injectLS(FIXTURE_HARDHAT) }) .page(PAGES.MIGRATE); test('can do a LEND migration', async (t) => { await resetFork(); await setupLEND(); await migrationPage.waitPageLoaded(); await migrationPage.setupMock(); await t.wait(FIXTURES_CONST.TIMEOUT); const button = await getByTestId('confirm-migrate'); await t.click(button); const approve = await queryAllByText(findByTKey('APPROVE_AAVE_TOKEN_MIGRATION')) .with({ timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }) .nth(1); await t.expect(approve.exists).ok({ timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }); await t.click(approve); await t.wait(FIXTURES_CONST.TIMEOUT); const send = await queryAllByText(findByTKey('CONFIRM_TRANSACTION')) .with({ timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }) .nth(1); await t.expect(send.exists).ok({ timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }); await t.click(send); await t .expect(queryAllByTestId('SUCCESS').with({ timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }).count) .eql(2, { timeout: FIXTURES_CONST.HARDHAT_TIMEOUT }); }); ```
```go // +build linux freebsd darwin package service // import "github.com/docker/docker/volume/service" // normalizeVolumeName is a platform specific function to normalize the name // of a volume. This is a no-op on Unix-like platforms func normalizeVolumeName(name string) string { return name } ```
```java /* * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. */ package io.camunda.zeebe.qa.util.actuator; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import feign.Feign; import feign.RequestLine; import feign.Retryer; import feign.Target.HardCodedTarget; import feign.jackson.JacksonDecoder; import feign.jackson.JacksonEncoder; import io.camunda.zeebe.qa.util.cluster.TestGateway; import io.zeebe.containers.ZeebeNode; import java.util.List; /** * Java interface for the broker's health endpoints. To instantiate this interface, you can use * {@link Feign}; see {@link #of(String)} as an example. * * <p>You can use one of {@link #of(String)} or {@link #of(ZeebeNode)} to create a new client to use * for yourself. */ public interface GatewayHealthActuator extends HealthActuator { /** * Returns a {@link GatewayHealthActuator} instance using the given node as upstream. * * @param node the node to connect to * @return a new instance of {@link GatewayHealthActuator} */ static GatewayHealthActuator of(final ZeebeNode<?> node) { final String address = node.getExternalMonitoringAddress(); return of("http://" + address + "/actuator/health"); } /** * Returns a {@link GatewayHealthActuator} instance using the given node as upstream. * * @param node the node to connect to * @return a new instance of {@link GatewayHealthActuator} */ static GatewayHealthActuator of(final TestGateway<?> node) { return of(node.actuatorUri("health").toString()); } /** * Returns a {@link GatewayHealthActuator} instance using the given endpoint as upstream. The * endpoint is expected to be a complete absolute URL, e.g. "path_to_url". * * @param endpoint the actuator URL to connect to * @return a new instance of {@link GatewayHealthActuator} */ @SuppressWarnings("JavadocLinkAsPlainText") static GatewayHealthActuator of(final String endpoint) { final var target = new HardCodedTarget<>(GatewayHealthActuator.class, endpoint); final var decoder = new JacksonDecoder(List.of(new Jdk8Module(), new JavaTimeModule())); return Feign.builder() .encoder(new JacksonEncoder()) .decoder(decoder) .retryer(Retryer.NEVER_RETRY) .target(target); } @Override @RequestLine("GET /") void ready(); @Override @RequestLine("GET /startup") void startup(); @Override @RequestLine("GET /liveness") void live(); } ```
Gajret was a cultural society established in 1903 that promoted Serb identity among the Slavic Muslims of Austria-Hungary (today's Bosnia and Herzegovina). After 1929, it was known as the Serb Muslim Cultural Society. The organization was pro-Serb. History After the 1914 Assassination of Archduke Franz Ferdinand leadership of the association was interned in Arad. The organization viewed that the South-Slavic Muslims were Serbs lacking ethnic consciousness. The view that South-Slavic Muslims were Serbs is probably the oldest of three ethnic theories among the Bosnian Muslims themselves. After the Austro-Hungarian occupation of Bosnia and Herzegovina, the Bosnian Muslims, feeling threatened by Catholic Habsburg rule, established several organizations. These included, apart from Gajret, the Muslim National Organization (1906) and the United Muslim Organization (1911). In 1912, after the death of Osman Đikić, the editing of Gajret was entrusted to Avdo Sumbul. Gajret's main rival was the pro-Croat Muslim organization Narodna Uzdanica, established in 1924. In interwar Yugoslavia, members experienced persecution at the hands of non-Serbs due to their political inclinations. In this period association run a number of student dormitories in Mostar, Sarajevo, Belgrade and Novi Pazar. During World War II, the association was dismantled by the Independent State of Croatia. Some members, non-Communists, joined or collaborated with the Yugoslav Partisans (such as M. Sudžuka, Z. Šarac, H. Brkić, H. Ćemerlić, and M. Zaimović). Ismet Popovac and Fehim Musakadić joined the Chetniks. In 1945, a new Muslim organization, Preporod, was founded in order to replace the pro-Serb Gajret and pro-Croat Narodna Uzdanica. The former organizations voted for and were merged into Preporod. In 1996 it was reestablished as a Bosniak cultural association. Notable members Osman Đikić (founder) Safvet-beg Bašagić (founder) Edhem Mulabdić (founder) Avdo Sumbul Osman Nuri Hadžić Ismet Popovac Fehim Musakadić Muhamed Sudžuka Zaim Šarac Husein Brkić Hamdija Ćemerlić Murat-beg Zaimović See also Prosvjeta (1902) References Sources Bosniak history Bosnia and Herzegovina Muslims Yugoslav Bosnia and Herzegovina Ethnic organizations based in Yugoslavia Ethnic organizations based in Austria-Hungary Organizations established in 1903 1903 establishments in Austria-Hungary 1900s establishments in Bosnia and Herzegovina 1941 disestablishments in Europe
```protocol buffer package ngse.monitor; //set function message Attr { optional string servicename = 1; optional string attrname = 2; repeated uint32 values = 3; optional uint32 begin_time = 4; // optional uint32 end_time = 5; // } // message ReqReport { repeated Attr attrs = 1; } message RespReport { optional uint32 result = 1; //0 } //get function // message ReqMonitor { optional ReqService service = 1; optional ReqServiceAttr serviceattr = 2; optional ReqAttrIP attrip = 3; optional ReqIP ip = 4; optional ReqIPAttr ipattr = 5; } message RespMonitor { optional uint32 result = 1; //0 optional RespService service = 2; optional RespServiceAttr serviceattr = 3; optional RespAttrIP attrip = 4; optional RespIP ip = 5; optional RespIPAttr ipattr = 6; } //ServiceIP message ReqService { optional string servicename = 1; repeated uint32 days = 2; //201622420160224 } message RespService { repeated string attrnames = 1; repeated string ips = 2; } //Service message ReqServiceAttr { optional string servicename = 1; repeated string attrnames = 2; repeated uint32 days = 3; //201622420160224 } message AttrData { optional string attrname = 1; optional uint32 day = 2; repeated uint32 values = 3; } message RespServiceAttr { repeated AttrData data = 1; } //IP message ReqAttrIP { optional string servicename = 1; optional string attrname = 2; repeated string ips = 3; repeated uint32 days = 4; } message AttrIPData { optional string ip = 1; optional uint32 day = 2; repeated uint32 values = 3; } message RespAttrIP { repeated AttrIPData data = 1; } //IPService message ReqIP { optional string ip = 1; repeated uint32 days = 2; //201622420160224 } message IPData { optional string servicename = 1; repeated string attrnames = 2; //servicenameattrnameIPDataservicename } message RespIP { repeated IPData data = 1; } //IP message ReqIPAttr { optional string ip = 1; repeated IPData attrs = 2; repeated uint32 days = 3; } message IPAttrData { optional string servicename = 1; optional string attrname = 2; optional uint32 day = 3; repeated uint32 values = 4; } message RespIPAttr { repeated IPAttrData data = 1; } ```
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ // Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 import ( v1 "k8s.io/api/core/v1" ) // EndpointPortApplyConfiguration represents an declarative configuration of the EndpointPort type for use // with apply. type EndpointPortApplyConfiguration struct { Name *string `json:"name,omitempty"` Protocol *v1.Protocol `json:"protocol,omitempty"` Port *int32 `json:"port,omitempty"` AppProtocol *string `json:"appProtocol,omitempty"` } // EndpointPortApplyConfiguration constructs an declarative configuration of the EndpointPort type for use with // apply. func EndpointPort() *EndpointPortApplyConfiguration { return &EndpointPortApplyConfiguration{} } // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Name field is set to the value of the last call. func (b *EndpointPortApplyConfiguration) WithName(value string) *EndpointPortApplyConfiguration { b.Name = &value return b } // WithProtocol sets the Protocol field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Protocol field is set to the value of the last call. func (b *EndpointPortApplyConfiguration) WithProtocol(value v1.Protocol) *EndpointPortApplyConfiguration { b.Protocol = &value return b } // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Port field is set to the value of the last call. func (b *EndpointPortApplyConfiguration) WithPort(value int32) *EndpointPortApplyConfiguration { b.Port = &value return b } // WithAppProtocol sets the AppProtocol field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the AppProtocol field is set to the value of the last call. func (b *EndpointPortApplyConfiguration) WithAppProtocol(value string) *EndpointPortApplyConfiguration { b.AppProtocol = &value return b } ```
```smalltalk // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.StaticWebAssets.Tasks; using Microsoft.Build.Framework; using Microsoft.NET.Sdk.StaticWebAssets.Tasks; using Moq; namespace Microsoft.NET.Sdk.Razor.Tests; public class ComputeEndpointsForReferenceStaticWebAssetsTest { [Fact] public void IncludesEndpointsForAssetsFromCurrentProject() { var errorMessages = new List<string>(); var buildEngine = new Mock<IBuildEngine>(); buildEngine.Setup(e => e.LogErrorEvent(It.IsAny<BuildErrorEventArgs>())) .Callback<BuildErrorEventArgs>(args => errorMessages.Add(args.Message)); var task = new ComputeEndpointsForReferenceStaticWebAssets { BuildEngine = buildEngine.Object, Assets = [CreateCandidate(Path.Combine("wwwroot", "candidate.js"), "MyPackage", "Discovered", "candidate.js", "All", "All")], CandidateEndpoints = [CreateCandidateEndpoint("candidate.js", Path.Combine("wwwroot", "candidate.js"))] }; // Act var result = task.Execute(); // Assert result.Should().Be(true); task.Endpoints.Should().ContainSingle(); task.Endpoints[0].ItemSpec.Should().Be("base/candidate.js"); task.Endpoints[0].GetMetadata("AssetFile").Should().Be(Path.GetFullPath(Path.Combine("wwwroot", "candidate.js"))); } [Fact] public void FiltersOutEndpointsForAssetsNotFound() { var errorMessages = new List<string>(); var buildEngine = new Mock<IBuildEngine>(); buildEngine.Setup(e => e.LogErrorEvent(It.IsAny<BuildErrorEventArgs>())) .Callback<BuildErrorEventArgs>(args => errorMessages.Add(args.Message)); var task = new ComputeEndpointsForReferenceStaticWebAssets { BuildEngine = buildEngine.Object, Assets = [CreateCandidate(Path.Combine("wwwroot", "candidate.js"), "MyPackage", "Discovered", "candidate.js", "All", "All")], CandidateEndpoints = [ CreateCandidateEndpoint("candidate.js", Path.Combine("wwwroot", "candidate.js")), CreateCandidateEndpoint("package.js", Path.Combine("..", "_content", "package-id", "package.js")) ] }; // Act var result = task.Execute(); // Assert result.Should().Be(true); task.Endpoints.Should().ContainSingle(); task.Endpoints[0].ItemSpec.Should().Be("base/candidate.js"); task.Endpoints[0].GetMetadata("AssetFile").Should().Be(Path.GetFullPath(Path.Combine("wwwroot", "candidate.js"))); } private ITaskItem CreateCandidate( string itemSpec, string sourceId, string sourceType, string relativePath, string assetKind, string assetMode) { var result = new StaticWebAsset() { Identity = Path.GetFullPath(itemSpec), SourceId = sourceId, SourceType = sourceType, ContentRoot = Directory.GetCurrentDirectory(), BasePath = "base", RelativePath = relativePath, AssetKind = assetKind, AssetMode = assetMode, AssetRole = "Primary", RelatedAsset = "", AssetTraitName = "", AssetTraitValue = "", CopyToOutputDirectory = "", CopyToPublishDirectory = "", OriginalItemSpec = itemSpec, // Add these to avoid accessing the disk to compute them Integrity = "integrity", Fingerprint = "fingerprint", }; result.ApplyDefaults(); result.Normalize(); return result.ToTaskItem(); } private ITaskItem CreateCandidateEndpoint(string route, string assetFile) { return new StaticWebAssetEndpoint { Route = route, AssetFile = Path.GetFullPath(assetFile), }.ToTaskItem(); } } ```
Kelsey Earley (born September 12, 1991) is an American beauty pageant titleholder from Lebanon, Maine, who was crowned Miss Maine 2015. She competed for the Miss America 2016 title in September 2015. Pageant career Early pageants Earley competed in the 2010 Miss Maine pageant as Miss Sanford Region with the platform "Self-Esteem" and a clogging performance in the talent portion of the competition. She was not a finalist for the state title and received a $300 scholarship prize. She competed in the 2011 Miss Maine pageant as Miss Southern Coast with the platform "Literacy: Read-Pass It On" and a clogging performance in the talent portion of the competition. She was not a top finalist for the state title. Earley competed in the 2012 Miss Maine pageant as Miss Sanford Region with the platform "Literacy: Healthy Minds and Body" and a contemporary clogging performance in the talent portion of the competition. She was named second runner-up to winner Molly Bouchard. Earley went on to represent Maine at the 2012 National Sweetheart pageant in Hoopeston, Illinois, but was not a finalist for the national title. Earley competed in the 2013 Miss Maine pageant as Miss Southern Coast with the platform "Literacy Matters" and a clogging performance in the talent portion of the competition. She was named was third runner-up to winner Kristin Korda. Earley also earned the Talent Award and an additional $1,000 scholarship along with the Miss America Community Service Award. She competed in the 2014 Miss Maine pageant as Miss York County Coast with the platform "Be A Superhero: Volunteer" and a clogging performance in the talent portion of the competition. She was not a top finalist for the state title. Miss Maine 2015 Earley entered the Miss Maine pageant in April 2015 as Miss York Harbor, one of 7 qualifiers for the state title. Earley's competition talent was clogging. Her platform is "Be a Superhero" for which Earley hand-sews superhero capes for patients at Barbara Bush Children's Hospital in Portland, Maine. Earley won the competition at Catherine McAuley High School in Portland, Maine, on Sunday, April 26, 2015, when she received her crown from outgoing Miss Maine titleholder Audrey Thames. She earned several thousand dollars in scholarship money and other prizes from the state pageant. As Miss Maine, her activities include public appearances across the state of Maine. Vying for Miss America 2016 Earley was Maine's representative at the Miss America 2016 pageant in Atlantic City, New Jersey, in September 2015. In the televised finale on September 13, 2015, she placed outside the Top 15 semi-finalists and was eliminated from competition. She was awarded a $3,000 scholarship prize as her state's representative. Early life and education Earley is a native of Lebanon, Maine, and a 2009 graduate of Noble High School in North Berwick, Maine. Earley is a student at the University of New England where she studies dental hygiene. References External links Miss Maine official website Living people 1991 births American beauty pageant winners Miss America 2016 delegates People from Lebanon, Maine University of New England (United States) alumni
Graig Wood is a Site of Special Scientific Interest (SSSI), noted for its biological characteristics, in Monmouthshire, south east Wales. It forms part of the wider Hael Woods complex. Geography The SSSI, notified in 1981, is located within the community of Trellech United, on the banks of the River Wye, south-east of the town of Monmouth. It is north of another SSSI, Lower Hael Wood. The wood is jointly owned and managed by Gwent Wildlife Trust and the Forestry Commission. Wildlife and ecology As with other woodland in the Wye Valley Area of Outstanding Natural Beauty, Graig Wood contains many local and rare tree species. The predominant species within the wood are ash (Fraxinus excelsior) and wych elm (Ulmus glabra), although other species present include black alder (Alnus glutinosa), common beech (Fagus sylvatica) and small-leaved lime (Tilia cordata). The stream banks and old buildings within the wood are home to rich bryophyte colonies. Hart's-tongue fern (Asplenium scolopendrium) and snowdrops (Galanthus) also grow on the site. Dormice have been reported within the woodland. References Forests and woodlands of Monmouthshire Nature reserves in Monmouthshire Sites of Special Scientific Interest in Monmouthshire Sites of Special Scientific Interest notified in 1981
```c++ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "platform/graphics/paint/FloatClipDisplayItem.h" #include "platform/graphics/GraphicsContext.h" #include "public/platform/WebDisplayItemList.h" #include "third_party/skia/include/core/SkScalar.h" namespace blink { void FloatClipDisplayItem::replay(GraphicsContext& context) { context.save(); context.clip(m_clipRect); } void FloatClipDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* list) const { list->appendFloatClipItem(m_clipRect); } void EndFloatClipDisplayItem::replay(GraphicsContext& context) { context.restore(); } void EndFloatClipDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* list) const { list->appendEndFloatClipItem(); } #ifndef NDEBUG void FloatClipDisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringBuilder) const { DisplayItem::dumpPropertiesAsDebugString(stringBuilder); stringBuilder.append(WTF::String::format(", floatClipRect: [%f,%f,%f,%f]}", m_clipRect.x(), m_clipRect.y(), m_clipRect.width(), m_clipRect.height())); } #endif } // namespace blink ```
```objective-c #if !defined(_RADEON_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _RADEON_TRACE_H_ #include <linux/stringify.h> #include <linux/tracepoint.h> #include <linux/types.h> #include <drm/drm_file.h> #undef TRACE_SYSTEM #define TRACE_SYSTEM radeon #define TRACE_INCLUDE_FILE radeon_trace TRACE_EVENT(radeon_bo_create, TP_PROTO(struct radeon_bo *bo), TP_ARGS(bo), TP_STRUCT__entry( __field(struct radeon_bo *, bo) __field(u32, pages) ), TP_fast_assign( __entry->bo = bo; __entry->pages = PFN_UP(bo->tbo.resource->size); ), TP_printk("bo=%p, pages=%u", __entry->bo, __entry->pages) ); TRACE_EVENT(radeon_cs, TP_PROTO(struct radeon_cs_parser *p), TP_ARGS(p), TP_STRUCT__entry( __field(u32, ring) __field(u32, dw) __field(u32, fences) ), TP_fast_assign( __entry->ring = p->ring; __entry->dw = p->chunk_ib->length_dw; __entry->fences = radeon_fence_count_emitted( p->rdev, p->ring); ), TP_printk("ring=%u, dw=%u, fences=%u", __entry->ring, __entry->dw, __entry->fences) ); TRACE_EVENT(radeon_vm_grab_id, TP_PROTO(unsigned vmid, int ring), TP_ARGS(vmid, ring), TP_STRUCT__entry( __field(u32, vmid) __field(u32, ring) ), TP_fast_assign( __entry->vmid = vmid; __entry->ring = ring; ), TP_printk("vmid=%u, ring=%u", __entry->vmid, __entry->ring) ); TRACE_EVENT(radeon_vm_bo_update, TP_PROTO(struct radeon_bo_va *bo_va), TP_ARGS(bo_va), TP_STRUCT__entry( __field(u64, soffset) __field(u64, eoffset) __field(u32, flags) ), TP_fast_assign( __entry->soffset = bo_va->it.start; __entry->eoffset = bo_va->it.last + 1; __entry->flags = bo_va->flags; ), TP_printk("soffs=%010llx, eoffs=%010llx, flags=%08x", __entry->soffset, __entry->eoffset, __entry->flags) ); TRACE_EVENT(radeon_vm_set_page, TP_PROTO(uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint32_t flags), TP_ARGS(pe, addr, count, incr, flags), TP_STRUCT__entry( __field(u64, pe) __field(u64, addr) __field(u32, count) __field(u32, incr) __field(u32, flags) ), TP_fast_assign( __entry->pe = pe; __entry->addr = addr; __entry->count = count; __entry->incr = incr; __entry->flags = flags; ), TP_printk("pe=%010Lx, addr=%010Lx, incr=%u, flags=%08x, count=%u", __entry->pe, __entry->addr, __entry->incr, __entry->flags, __entry->count) ); TRACE_EVENT(radeon_vm_flush, TP_PROTO(uint64_t pd_addr, unsigned ring, unsigned id), TP_ARGS(pd_addr, ring, id), TP_STRUCT__entry( __field(u64, pd_addr) __field(u32, ring) __field(u32, id) ), TP_fast_assign( __entry->pd_addr = pd_addr; __entry->ring = ring; __entry->id = id; ), TP_printk("pd_addr=%010Lx, ring=%u, id=%u", __entry->pd_addr, __entry->ring, __entry->id) ); DECLARE_EVENT_CLASS(radeon_fence_request, TP_PROTO(struct drm_device *dev, int ring, u32 seqno), TP_ARGS(dev, ring, seqno), TP_STRUCT__entry( __field(u32, dev) __field(int, ring) __field(u32, seqno) ), TP_fast_assign( __entry->dev = dev->primary->index; __entry->ring = ring; __entry->seqno = seqno; ), TP_printk("dev=%u, ring=%d, seqno=%u", __entry->dev, __entry->ring, __entry->seqno) ); DEFINE_EVENT(radeon_fence_request, radeon_fence_emit, TP_PROTO(struct drm_device *dev, int ring, u32 seqno), TP_ARGS(dev, ring, seqno) ); DEFINE_EVENT(radeon_fence_request, radeon_fence_wait_begin, TP_PROTO(struct drm_device *dev, int ring, u32 seqno), TP_ARGS(dev, ring, seqno) ); DEFINE_EVENT(radeon_fence_request, radeon_fence_wait_end, TP_PROTO(struct drm_device *dev, int ring, u32 seqno), TP_ARGS(dev, ring, seqno) ); DECLARE_EVENT_CLASS(radeon_semaphore_request, TP_PROTO(int ring, struct radeon_semaphore *sem), TP_ARGS(ring, sem), TP_STRUCT__entry( __field(int, ring) __field(signed, waiters) __field(uint64_t, gpu_addr) ), TP_fast_assign( __entry->ring = ring; __entry->waiters = sem->waiters; __entry->gpu_addr = sem->gpu_addr; ), TP_printk("ring=%u, waiters=%d, addr=%010Lx", __entry->ring, __entry->waiters, __entry->gpu_addr) ); DEFINE_EVENT(radeon_semaphore_request, radeon_semaphore_signale, TP_PROTO(int ring, struct radeon_semaphore *sem), TP_ARGS(ring, sem) ); DEFINE_EVENT(radeon_semaphore_request, radeon_semaphore_wait, TP_PROTO(int ring, struct radeon_semaphore *sem), TP_ARGS(ring, sem) ); #endif /* This part must be outside protection */ #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/radeon #include <trace/define_trace.h> ```
Stuart Hazeldine (born 10 June 1971 in Surrey, England) is a British screenwriter, film producer and director. He is best known for his 2009 psychological thriller Exam, for which he was nominated for a BAFTA Award for Outstanding Debut by a British Writer, Director or Producer. He also directed the 2017 film adaptation of William P. Young's novel The Shack. He currently resides in London. Biography Raised in Hersham, Surrey, he began making student films while studying American History at the University of Kent and the University of Massachusetts Amherst. After graduation, he sold his first feature screenplay, Underground, to British producers Jeremy Bolt and Paul Trijbits in 1995. His first produced script was the science fiction adventure TV movie Riverworld, based on the novels by Philip Jose Farmer, for Alliance Atlantis and the Sci Fi Channel. It premiered in March 2003. In 2005 he wrote and directed his debut short film, Christian. In 2006 he rewrote the supernatural thriller Knowing, directed by Alex Proyas and starring Nicolas Cage, then he adapted John Milton's epic poem Paradise Lost for Legendary Pictures. . In 2007 he wrote an uncredited draft of the remake of The Day the Earth Stood Still, directed by Scott Derrickson and starring Keanu Reeves, and co-wrote an adaptation of John Christopher's science fiction trilogy The Tripods with Alex Proyas. In 2010/11 he co-wrote the screenplay Moses, based on the life of the Biblical prophet and leader, with American writer Michael Green for Lin Pictures and Warner Bros. In 2013 he rewrote the historical epic Agincourt, based on the Bernard Cornwell novel Azincourt, for director Michael Mann and Independent Film Company. He identifies as a Christian. Exam In 2008 he wrote, directed, produced and financed his debut feature film, the psychological thriller Exam, which stars Luke Mably, Colin Salmon and Jimi Mistry. The film was completed in May 2009 and received its World Premiere at the Edinburgh Film Festival on 19 June 2009. It then screened at the Raindance Film Festival 2009 where it was nominated for Best UK Feature and was subsequently nominated for the Raindance Award (for films made 'under the radar' without industry help) at the 2009 British Independent Film Awards. The film was released in UK cinemas on 8 January 2010 by Hazeldine Films and Miracle Communications, garnering four star reviews from Empire, Total Film and Little White Lies magazines and on 7 June it was released on DVD and Blu-ray by Sony Pictures Home Entertainment. Stuart was nominated for "Outstanding Debut by a British Writer, Director or Producer" at the BAFTA Awards 2010 and the film went on to win the Panavision Independent Spirit Award at the Santa Barbara International Film Festival 2010 and the Bronze Hitchcock Award at the Dinard Film Festival 2010. During 2010 it also played at the Palm Beach International Film Festival, the Amsterdam Fantastic Film Festival and the San Sebastian Fantasy/Horror Film Festival. Independent Film Company sold the film to nineteen territories, ten of them for theatrical release including France, Russia and Japan. IFC Films acquired US rights, releasing it via their Midnight genre label on Demand on 23 July 2010 and on DVD on 16 November. The Shack In 2015, Hazeldine began production on the faith-based drama The Shack, based on the bestselling novel by William P. Young and produced by Gil Netter and Brad Cummings for Summit Entertainment. The film stars Sam Worthington, Octavia Spencer and Tim McGraw and it was released on 3 March 2017. Works Produced screenplays Riverworld (also co-executive producer) Mutant Chronicles (uncredited rewrite) The Day the Earth Stood Still (uncredited rewrite) Knowing (uncredited rewrite) Exam (also producer, director) Unproduced screenplays (selected) Underground (action thriller) Alien: Earthbound(spec Alien sequel) Blade Runner Down (spec Blade Runner sequel) Take Me Away (British youth drama) The Tenth Victim (remake of The 10th Victim) Paycheck (unused draft) Rizen (horror thriller) The Masque of the Red Death (fantasy horror) Providence, R.I. (dramatic thriller) Battle Chasers (fantasy) Paradise Lost (fantasy) 10-13 (TV pilot) (supernatural thriller) The Tripods (sci-fi adventure) Moses (biblical epic) Agincourt (historical action) As director Christian (2005, short) Exam (2009) The Shack (2017) References External links 1971 births Living people Alumni of the University of Kent University of Massachusetts Amherst alumni British male screenwriters British film producers British film directors People from Hersham
E.P.idemic is Craig's Brother's second EP released on July 9, 2004 through Takeover Records. Track listing "10,000" – 2:54 "Bad Marriage" 3:43 "Long Way" 3:08 "E.P.issdumbology" 4:23 "Flag Down" 3:23 Personnel Ted Bond – vocals Mike Green – producer Scott Hrapoff – bass Heath Konkel – drums, vocals Steven Neufeld – vocals Sam Prather – guitar, vocals Craig's Brother albums 2004 EPs Albums produced by Mike Green (record producer)
```javascript Using Chunks Multiple Entry Points Lazy Loaded Entry Points Building Webpack Plugins Webpack with Bower ```
Ron Fassler (born March 4, 1957 in New York City) is an American film and television actor and author. He is best known for his role as Bryan Grazer, the LAPD captain in the Fox Network cult science fiction TV series Alien Nation. The series was canceled after a short run, but Fox brought it back in 1994 in a series of five TV movies. Fassler reprised his role as Captain Grazer in Alien Nation: Dark Horizon (1994), Alien Nation: Body and Soul (1995), Alien Nation: Millennium (1996), Alien Nation: The Enemy Within (1996), and Alien Nation: The Udara Legacy (1997). His first TV role was in the 1981 TV movie Senior Trip, which also starred "Alien Nation" co-star Jeff Marcus. Seen as Ted Koppel in 2009'sWatchmen, Fassler's first feature film appearance was in the 1990 comedy move Gremlins 2: The New Batch (1990). Other recent films include Charlie Wilson's War (2008), Hancock (2008), Walk Hard: The Dewey Cox Story (2007), For Your Consideration (2006) and Flags of Our Fathers (2006). Fassler has made many guest appearances on TV shows ranging from NYPD Blue to The Facts of Life, Matlock, 7th Heaven and Star Trek: Voyager, along with recurring roles on Sisters and the recent critically acclaimed Side Order of Life. He even did multiple episodes of The Young and the Restless as Justin Johns. As a writer, Fassler co-wrote the Lifetime TV movie, How I Married My High School Crush (2007) and also wrote for the sitcom Murphy Brown. More recently, Fassler had a recurring role on the Disney XD sitcom Zeke and Luther where he played reporter Dale Davis. This role has also carried over to other Disney XD sitcoms including Kickin' It and Pair of Kings. Fassler also appeared in the 2015 movie Trumbo. In recent years, Fassler has been directing shows at Priscilla Beach Theatre. His book "Up in the Cheap Seats: A Historical Memoir of Broadway" which chronicles Fassler's years as a teenage theatregoer, and includes interviews with more than 100 Broadway theatre artists, was published in February, 2017. Film Television External links 1957 births American male film actors American male television actors Male actors from New York City Living people
Barbara Jean Mitcalfe née Fougère (25 November 1928 – 7 January 2017) was a New Zealand conservationist, botanist and educator. She is best known for being an expert field botanist, for her conservation work in and around the Wellington region, and for helping to establish the first Māori preschool. Early life and education Mitcalfe was born in New Brighton, Christchurch in 1928 to Edna and Maurice Fougère. The family moved to Wellington where she attended Mt Cook Primary School and then Wellington East Girls' College. She went on to attend Victoria University of Wellington obtaining a Bachelor of Arts degree in French. She then qualified as a teacher after attending teachers training college. She would return to Victoria University of Wellington in the 1970s to study te reo Māori. During her college and university years Mitcalfe evolved into an enthusiastic tramper. The knowledge and experience she gained during this time would be put to good use later in her life during her botanical tramps. Teaching and te reo Māori Mitcalfe initially taught at Te Aute College in the Hawke's Bay but in the late 1950s she moved with her family to Ahipara. It was there from 1959 to 1963 she helped establish Ahipara Pre-School, considered the first Māori pre-school. It was a community initiative in response to a local parent's idea, and was founded and run by volunteer parents and grandparents with the support of the Ahipara School Parent Teacher Association and the Ahipara School Committee. Later that decade Mitcalfe returned to Wellington. In the 1970s Mitcalfe taught at Wellington Polytechnic and continued at that institution for almost 30 years. During her time at the polytechnic she co-founded the Wellington Polytechnic Environment Group. She was regarded as being ahead of her time, advocating for the use of te reo and for the conservation of New Zealand's endemic flora and fauna. In 2001 Mitcalfe was interviewed for a quality of life for older women oral history project. This recording is held at the Alexander Turnbull Library. Botany and conservation work Mitcalfe was an expert field botanist. She specialising in native plant ecology and led or participated in numerous botanical excursions both in the North and South Islands. She was a member of the Tararua Tramping Club and as well as participating in many club organised excursions she co-authored over 60 articles in the club newsletter. She also conducted lectures and workshops on native plants and on the Environmental Care Code. She was an active member of the Wellington Botanical Society and served as its president from 1989 to 1991 and then vice-president from 1992 to 1994. During both her tramping trips and botanical society excursions, she collected botanical specimens that are now held at New Zealand's national museum Te Papa, the Auckland War Memorial Museum herbarium and the Manaaki Whenua Allan herbarium. She advocated for and was involved the restoration work to facilitate establishing a corridor of native forest from Wellington's South Coast to the Tararua Range. She was a founding member of the Karori Sanctuary, now known as Zealandia, and volunteered at the sanctuary for over 20 years. She contributed plant descriptions, a glossary of plant names, as well as ecological notes for the botanical trail at Zealandia. In 2001 Mitcalfe received the sanctuary's Outstanding Volunteer Award. In that year her conservation work was also recognised when she was awarded the 2001 Conservation Week Award. Mitcalfe also volunteered at the Wellington Botanic Garden guiding glow-worm walks. She discovered seedlings of Nestegis cunninghamii near the sole remaining adult tree within the Wellington Botanic Garden and arranged for staff to grow these for later planting in the Garden’s native forest areas. Mitcalfe also volunteered at Otari-Wilton’s Bush leading botanical walks and assisting with their annual native plant sale. She was a founding trustee of the Long Gully Bush Reserve. This reserve is the largest area of private protected land in the city of Wellington and as well as acting as a trustee, Mitcalfe helped compile the first plant list for the reserve as well as coauthored the reserve management plan. Another of her influential projects came about from an invitation in the late 1980's to give advice and assistance to the Manawa Karioi Society's revegetation project on land near the Tapu Te Ranga Marae in Island Bay. As a result of her botanical expertise Mitcalfe was employed by the Department of Conservation, the Greater Wellington Regional Council, the Wellington City Council and the Hutt City Council to conduct surveys, create plant lists and advise on conservation efforts throughout the Wellington region. This also included work to measure the efficacy of possum control as well as monitoring predation of Powelliphanta snails. Mitcalfe also owned Nga Rengarenga, a 0.06 ha sized piece of land that is protected by a QEII Open Space Covenant, and which has regenerating native forest upon it. Conservation activism Mitcalfe was a vocal advocate for the conservation of New Zealand's native bush and reserves. In the 1980s she led the negotiations to save Te Mārua Bush from a proposed State Highway 2 expansion. After the success of these negotiations, she helped facilitate cooperation between the Greater Wellington Regional Council and the Wellington Botanical Society to restore this forest. Mitcalfe appeared before the Environment Court and successfully argued against the clearance of Larsen Crescent Bush for a proposed subdivision. She advocated for the halting of quarrying on the south coast of Wellington as well as for the planting of northern rātā rather than pōhutukawa. She also successfully advocated for the purchase of land in Stokes Valley by the Hutt City Council which would subsequently be known as Horoeke Scenic Reserve. Botanical writing She was a prolific writer of journal and newsletter articles, plant lists and reports to and for the Department of Conservation and various Wellington regional and city councils. Publications she contributed to included the 2002 pamphlet NZ Native Plants Recommended for Restoration and/or Amenity Purposes in Wellington Regional Parks, the Department of Conservation's Native plants for stream sides in Wellington Conservancy and the 1999 Wellington Regional Native Plant Guide. Family Mitcalfe was married to writer Barry Mitcalfe and had five children with him. Her partner, as well as botanical collaborator, for the later portion of her life was Chris Horne. Death Mitcalfe died on 7 January 2017. A celebration of her life was held at the Tapu Te Ranga Marae surrounded by the native plantings she had helped to establish. Selected works References 1928 births 2017 deaths 20th-century New Zealand botanists 21st-century New Zealand botanists Victoria University of Wellington alumni New Zealand educators New Zealand women educators New Zealand women botanists People from Christchurch
```c // 2017 and later: Unicode, Inc. and others. /* ********************************************************************** * Corporation and others. All Rights Reserved. ********************************************************************** * * File date.c * * Modification History: * * Date Name Description * 06/11/99 stephen Creation. * 06/16/99 stephen Modified to use uprint. ******************************************************************************* */ #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "unicode/utypes.h" #include "unicode/ustring.h" #include "unicode/uclean.h" #include "unicode/ucnv.h" #include "unicode/udat.h" #include "unicode/ucal.h" #include "uprint.h" int main(int argc, char **argv); #if UCONFIG_NO_FORMATTING int main(int argc, char **argv) { printf("%s: Sorry, UCONFIG_NO_FORMATTING was turned on (see uconfig.h). No formatting can be done. \n", argv[0]); return 0; } #else /* Protos */ static void usage(void); static void version(void); static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status); /* The version of date */ #define DATE_VERSION "1.0" /* "GMT" */ static const UChar GMT_ID [] = { 0x0047, 0x004d, 0x0054, 0x0000 }; int main(int argc, char **argv) { int printUsage = 0; int printVersion = 0; int optind = 1; char *arg; const UChar *tz = 0; UDateFormatStyle style = UDAT_DEFAULT; UErrorCode status = U_ZERO_ERROR; char *format = NULL; /* parse the options */ for(optind = 1; optind < argc; ++optind) { arg = argv[optind]; /* version info */ if(strcmp(arg, "-v") == 0 || strcmp(arg, "--version") == 0) { printVersion = 1; } /* usage info */ else if(strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { printUsage = 1; } /* display date in gmt */ else if(strcmp(arg, "-u") == 0 || strcmp(arg, "--gmt") == 0) { tz = GMT_ID; } /* display date in gmt */ else if(strcmp(arg, "-f") == 0 || strcmp(arg, "--full") == 0) { style = UDAT_FULL; } /* display date in long format */ else if(strcmp(arg, "-l") == 0 || strcmp(arg, "--long") == 0) { style = UDAT_LONG; } /* display date in medium format */ else if(strcmp(arg, "-m") == 0 || strcmp(arg, "--medium") == 0) { style = UDAT_MEDIUM; } /* display date in short format */ else if(strcmp(arg, "-s") == 0 || strcmp(arg, "--short") == 0) { style = UDAT_SHORT; } else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) { if ( optind + 1 < argc ) { optind++; format = argv[optind]; } } /* POSIX.1 says all arguments after -- are not options */ else if(strcmp(arg, "--") == 0) { /* skip the -- */ ++optind; break; } /* unrecognized option */ else if(strncmp(arg, "-", strlen("-")) == 0) { printf("icudate: invalid option -- %s\n", arg+1); printUsage = 1; } /* done with options, display date */ else { break; } } /* print usage info */ if(printUsage) { usage(); return 0; } /* print version info */ if(printVersion) { version(); return 0; } /* print the date */ date(tz, style, format, &status); u_cleanup(); return (U_FAILURE(status) ? 1 : 0); } /* Usage information */ static void usage() { puts("Usage: icudate [OPTIONS]"); puts("Options:"); puts(" -h, --help Print this message and exit."); puts(" -v, --version Print the version number of date and exit."); puts(" -u, --gmt Display the date in Greenwich Mean Time."); puts(" -f, --full Use full display format."); puts(" -l, --long Use long display format."); puts(" -m, --medium Use medium display format."); puts(" -s, --short Use short display format."); } /* Version information */ static void version() { printf("icudate version %s (ICU version %s), created by Stephen F. Booth.\n", DATE_VERSION, U_ICU_VERSION); puts(U_COPYRIGHT_STRING); } /* Format the date */ static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status) { UChar *s = 0; int32_t len = 0; UDateFormat *fmt; UChar uFormat[100]; fmt = udat_open(style, style, 0, tz, -1,NULL,0, status); if ( format != NULL ) { u_charsToUChars(format,uFormat,strlen(format)), udat_applyPattern(fmt,false,uFormat,strlen(format)); } len = udat_format(fmt, ucal_getNow(), 0, len, 0, status); if(*status == U_BUFFER_OVERFLOW_ERROR) { *status = U_ZERO_ERROR; s = (UChar*) malloc(sizeof(UChar) * (len+1)); if(s == 0) goto finish; udat_format(fmt, ucal_getNow(), s, len + 1, 0, status); if(U_FAILURE(*status)) goto finish; } /* print the date string */ uprint(s, stdout, status); /* print a trailing newline */ printf(" @ ICU " U_ICU_VERSION "\n"); finish: udat_close(fmt); free(s); } #endif ```
Leandro Lima Lemos (born 25 February 1982) is a Brazilian model and actor. Biography Lima was born in João Pessoa, Brazil. He graduated in Publicity and Advertising at Centro Universitário de João Pessoa in 2004. In 2011 he graduated in theater from the José Lins do Rêgo Cultural Space. In 2012, Leandro studied performing arts at the Lee Strasberg Theatre and Film Institute in New York City. Career In 1999, at the age of seventeen, he founded the axé band Ala Ursa, in which he became a vocalist and performed throughout the Northeast region of Brazil, in addition to singing every year in the traditional Carnival of João Pessoa. In 2005, aiming to gain recognition for the group, he participated in the fourth season of talent show Fama, in which he did not reach among the semifinalists, being eliminated in the first selections. In 2006 he was invited by a producer to take a test to become a model, in which he was approved and signed with Joy Models, contrary to the common, where the boys appear to the world of fashion during adolescence. Leandro left the band Ala Ursa to pursue his career as a model, moving to Europe, where he paraded for major labels such as Versace, Calvin Klein and Christian Dior S.A., as well as advertising campaigns in Milan, Paris, London and Madrid. During that time he made small special appearances in soap operas during the time he was in Brazil, including a male prostitute in Passione, lover of the character of the actress Maitê Proença. In 2011 he starred in his first telenovela in the main cast, Insensato Coração, playing Patrick. In 2012, Lima moved to New York City to pursue his modeling career. In 2013 he performed the tests to play Viktor in the telenovela Joia Rara, in Rede Globo but the actor Rafael Cardoso was eventually chosen for the role. The decision was made by director Amora Mautner, who believed that Leandro would fit better into the character David, which had not yet been filled. The actor premiered his first soap opera in the mainstream as a soldier who had fought in World War II and became a paraplegic. This year also paraded in São Paulo Fashion Week. Without a fixed contract with the TV channel, Leandro returned to New York, where he modeled for labels such as Intimissimi and Ellus and for magazines such as Vogue Spain. In 2017 he passed the tests for the medieval telenovela Belaventura, on TV Record, where he played Jacques, son of Machiavellian counts. Personal life In 1999 he began to date journalist Daniela Lins, with whom he remained until 2007. The couple had a daughter, Giulia, born in 2000, when Leandro was only seventeen. In 2012 he started dating model Flávia Lucini, to whom he was engaged in December 2015. Filmography Television Film References External links Leandro Lima on Models.com Leandro Lima Portfolio 1982 births Living people People from João Pessoa, Paraíba Brazilian male models Brazilian male television actors Brazilian male film actors Lee Strasberg Theatre and Film Institute alumni 21st-century Brazilian male actors
Occupational therapy (OT) is a healthcare profession that involves the use of assessment and intervention to develop, recover, or maintain the meaningful activities, or occupations, of individuals, groups, or communities. The field of OT consists of health care practitioners trained and educated to improve mental and physical performance. Occupational therapists specialize in teaching, educating, and supporting participation in any activity that occupies an individual's time. It is an independent health profession sometimes categorized as an allied health profession and consists of occupational therapists (OTs) and occupational therapy assistants (OTAs). While OTs and OTAs have different roles, they both work with people who want to improve their mental and or physical health, disabilities, injuries, or impairments. The American Occupational Therapy Association defines an occupational therapist as someone who "helps people across their lifespan participate in the things they want and/or need to do through the therapeutic use of everyday activities (occupations)". Definitions by other professional occupational therapy organizations are similar. Common interventions include: Helping children with disabilities to participate in school and social situations (independent mobility is often a central concern) Training in assistive device technology, meaningful and purposeful activities, and life skills. Physical injury rehabilitation Mental dysfunction rehabilitation Support of individuals across the age spectrum experiencing physical and cognitive changes Assessing ergonomics and assistive seating options to maximize independent function, while alleviating the risk of pressure injury Education in the disease and rehabilitation process Advocating for patient health Finding vocational activities Typically, occupational therapists are university-educated professionals and must pass a licensing exam to practice. Currently, entry level occupational therapists must have a master's degree while certified occupational therapy assistants require a two-year associate degree to practice in the United States. Individuals must pass a national board certification and apply for a state license in most states. Occupational therapists often work closely with professionals in physical therapy, speech–language pathology, audiology, nursing, nutrition, social work, psychology, medicine, and assistive technology. History Early history The earliest evidence of using occupations as a method of therapy can be found in ancient times. In c. 100 BCE, Greek physician Asclepiades treated patients with a mental illness humanely using therapeutic baths, massage, exercise, and music. Later, the Roman Celsus prescribed music, travel, conversation and exercise to his patients. However, by medieval times the use of these interventions with people with mental illness was rare, if not nonexistent. In 18th-century Europe, doctors such as Philippe Pinel and Johann Christian Reil reformed the hospital system. Instead of the use of metal chains and restraints, their institutions used rigorous work and leisure activities in the late 18th century. This became part of what was known as moral treatment. Although it was thriving in Europe, interest in the reform movement fluctuated in the United States throughout the 19th century. The Arts and Crafts movement that took place between 1860 and 1910 also impacted occupational therapy. The movement emerged against the monotony and lost autonomy of factory work in the developed world. Arts and crafts were used to promote learning through doing, provided a creative outlet, and served as a way to avoid boredom during long hospital stays. Development into a health profession The early twentieth century was a time in which the rising incidence of disability related to industrial accidents, tuberculosis, and mental illness brought about an increasing social awareness of the issues involved. The health profession of occupational therapy was conceived in the early 1910s as a reflection of the Progressive Era. Early professionals merged highly valued ideals, such as having a strong work ethic and the importance of crafting with one's own hands with scientific and medical principles. American nurse Eleanor Clarke Slagle (1870-1942) is considered to be the "mother" of occupational therapy. Slagle proposed habit training as a primary occupational therapy model of treatment. Based on the philosophy that engagement in meaningful routines shape a person's wellbeing, habit training focused on creating structure and balance between work, rest and leisure. Although habit training was initially developed to treat individuals with mental health conditions, its basic tenets are apparent in modern treatment models that are utilized across a wide scope of client populations. World War I In 1915, Slagle opened the first occupational therapy training program, the Henry B. Favill School of Occupations, at Hull House in Chicago. British-Canadian teacher and architect Thomas B. Kidner was appointed vocational secretary of the Canadian Military Hospitals Commission in January 1916. He was given the duty of preparing soldiers returning from World War I to return to their former vocational duties or retrain soldiers no longer able to perform their previous duties. He developed a program that engaged soldiers recovering from wartime injuries or tuberculosis in occupations even while they were still bedridden. Once the soldiers were sufficiently recovered they would work in a curative workshop and eventually progress to an industrial workshop before being placed in an appropriate work setting. He used occupations (daily activities) as a medium for manual training and helping injured individuals to return to productive duties such as work.The entry of the United States into World War I in April 1917 was a crucial event in the history of the profession in that country. Up until this time, the profession had been concerned primarily with the treatment of people with mental illness. U.S. involvement in the war led to an escalating number of injured and disabled soldiers, which presented a daunting challenge to those in command. The US National Society for the Promotion of Occupational Therapy (NSPOT) was founded in October 1917 by Slagle, Kidner and others including American doctor William Rush Denton. The military enlisted the assistance of NSPOT to recruit and train over 1,200 "reconstruction aides" to help with the rehabilitation of those wounded in the war. Denton's 1918 article "The Principles of Occupational Therapy" appeared in the journal Public Health, and laid the foundation for the textbook he published in 1919 entitled Reconstruction Therapy. Denton struggled with "the cumbersomeness of the term occupational therapy", as he thought it lacked the "exactness of meaning which is possessed by scientific terms". Other titles such as "work-cure", "ergo therapy" (ergo being the Greek root for "work"), and "creative occupations" were discussed as substitutes, but ultimately, none possessed the broad meaning that the practice of occupational therapy demanded in order to capture the many forms of treatment that existed from the beginning. The profession of Occupational Therapy was officially named in 1921. Inter-war period There was a struggle to keep people in the profession during the post-war years. Emphasis shifted from the altruistic war-time mentality to the financial, professional, and personal satisfaction that comes with being a therapist. To make the profession more appealing, practice was standardized, as was the curriculum. Entry and exit criteria were established, and the American Occupational Therapy Association advocated for steady employment, decent wages, and fair working conditions. Via these methods, occupational therapy sought and obtained medical legitimacy in the 1920s. The emergence of occupational therapy challenged the views of mainstream scientific medicine. Instead of focusing purely on the medical model, occupational therapists argued that a complex combination of social, economic, and biological reasons cause dysfunction. Principles and techniques were borrowed from many disciplines—including but not limited to physical therapy, nursing, psychiatry, rehabilitation, self-help, orthopedics, and social work—to enrich the profession's scope. The 1920s and 1930s were a time of establishing standards of education and laying the foundation of the profession and its organization. Eleanor Clarke Slagle proposed a 12-month course of training in 1922, and these standards were adopted in 1923. In 1928, William Denton published another textbook, Prescribing Occupational Therapy. Educational standards were expanded to a total training time of 18 months in 1930 to place the requirements for professional entry on par with those of other professions. By the early 1930s, AOTA had established educational guidelines and accreditation procedures. World War II With entry into World War II and the ensuing skyrocketing demand for occupational therapists to treat those injured in the war, the field of occupational therapy underwent dramatic growth and change. Occupational therapists needed to be skilled not only in the use of constructive activities such as crafts, but also increasingly in the use of activities of daily living. Post World War II Another textbook was published in the United States for occupational therapy in 1947, edited by Helen S. Willard and Clare S. Spackman. The profession continued to grow and redefine itself in the 1950s. In 1954, AOTA created the Eleanor Clarke Slagle Lectureship Award in its namesake's honor. Each year, this award recognizes a member of AOTA "who has creatively contributed to the development of the body of knowledge of the profession through research, education, or clinical practice." The profession also began to assess the potential for the use of trained assistants in the attempt to address the ongoing shortage of qualified therapists, and educational standards for occupational therapy assistants were implemented in 1960. The 1960s and 1970s were a time of ongoing change and growth for the profession as it struggled to incorporate new knowledge and cope with the recent and rapid growth of the profession in the previous decades. New developments in the areas of neurobehavioral research led to new conceptualizations and new treatment approaches, possibly the most groundbreaking being the sensory integrative approach developed by A. Jean Ayres. The profession has continued to grow and expand its scope and settings of practice. Occupational science, the study of occupation, was founded in 1989 by Elizabeth Yerxa at the University of Southern California as an academic discipline to provide foundational research on occupation to support and advance the practice of occupation-based occupational therapy, as well as offer a basic science to study topics surrounding "occupation". In addition, occupational therapy practitioner's roles have expanded to include political advocacy (from a grassroots base to higher legislation); for example, in 2010 PL 111-148 titled the Patient Protection and Affordable Care Act had a habilitation clause that was passed in large part due to AOTA's political efforts. Furthermore, occupational therapy practitioners have been striving personally and professionally toward concepts of occupational justice and other human rights issues that have both local and global impacts. The World Federation of Occupational Therapist's Resource Centre has many position statements on occupational therapy's roles regarding their participation in human rights issues. In 2021, U.S. News & World Report ranked occupational therapy as #19 of their list of '100 Best Jobs'. Practice frameworks An occupational therapist works systematically with a client through a sequence of actions called an "occupational therapy process." There are several versions of this process. All practice frameworks include the components of evaluation (or assessment), intervention, and outcomes. This process provides a framework through which occupational therapists assist and contribute to promoting health and ensures structure and consistency among therapists. Occupational Therapy Practice Framework (OTPF, United States) The Occupational Therapy Practice Framework (OTPF) is the core competency of occupational therapy in the United States. The OTPF is divided into two sections: domain and process. The domain includes environment, client factors, such as the individual's motivation, health status, and status of performing occupational tasks. The domain looks at the contextual picture to help the occupational therapist understand how to diagnose and treat the patient. The process is the actions taken by the therapist to implement a plan and strategy to treat the patient. Canadian Practice Process Framework The Canadian Model of Client Centered Enablement (CMCE) embraces occupational enablement as the core competency of occupational therapy and the Canadian Practice Process Framework (CPPF) as the core process of occupational enablement in Canada. The Canadian Practice Process Framework (CPPF) has eight action points and three contextual element which are: set the stage, evaluate, agree on objective plan, implement plan, monitor/modify, and evaluate outcome. A central element of this process model is the focus on identifying both client and therapists strengths and resources prior to developing the outcomes and action plan. International Classification of Functioning, Disability and Health (ICF) The International Classification of Functioning, Disability and Health (ICF) is the World Health Organisation's framework to measure health and ability by illustrating how these components impact one's function. This relates very closely to the Occupational Therapy Practice Framework, as it is stated that "the profession's core beliefs are in the positive relationship between occupation and health and its view of people as occupational beings". The ICF is built into the 2nd edition of the practice framework. Activities and participation examples from the ICF overlap Areas of Occupation, Performance Skills, and Performance Patterns in the framework. The ICF also includes contextual factors (environmental and personal factors) that relate to the framework's context. In addition, body functions and structures classified within the ICF help describe the client factors described in the Occupational Therapy Practice Framework. Further exploration of the relationship between occupational therapy and the components of the ICIDH-2 (revision of the original International Classification of Impairments, Disabilities, and Handicaps (ICIDH), which later became the ICF) was conducted by McLaughlin Gray. It is noted in the literature that occupational therapists should use specific occupational therapy vocabulary along with the ICF in order to ensure correct communication about specific concepts. The ICF might lack certain categories to describe what occupational therapists need to communicate to clients and colleagues. It also may not be possible to exactly match the connotations of the ICF categories to occupational therapy terms. The ICF is not an assessment and specialized occupational therapy terminology should not be replaced with ICF terminology. The ICF is an overarching framework for current therapy practices. Occupations According to the American Occupational Therapy Association's (AOTA) Occupational Therapy Practice Framework: Domain and Process, 4th Edition (OTPF-4), occupations are defined as "everyday activities that people do as individuals, and families, and with communities to occupy time and bring meaning and purpose to life. Occupations include things people need to, want to and are expected to do". Occupations are central to a client's (person's, group's, or population's) health, identity, and sense of competence and have particular meaning and value to that client. Practice settings According to the 2019 Salary and Workforce Survey by the American Occupational Therapy Association, occupational therapists work in a wide-variety of practice settings including: hospitals (28.6%), schools (18.8%), long-term care facilities/skilled nursing facilities (14.5%), free-standing outpatient (13.3%), home health (7.3%), academia (6.9%), early intervention (4.4%), mental health (2.2%), community (2.4%), and other (1.6%). According to the AOTA, the most common primary work setting for occupational therapists is in hospitals. Also according to the survey, 46% of occupational therapists work in urban areas, 39% work in suburban areas and the remaining 15% work in rural areas. The Canadian Institute for Health Information (CIHI) found that as of 2020 nearly half (46.1%) of occupational therapists worked in hospitals, 43.2% worked in community health, 3.6% work in long-term care (LTC) and 7.1% work in "other", including government, industry, manufacturing, and commercial settings. The CIHI also found that 68% of occupational therapists in Canada work in urban settings and only 3.7% work in rural settings. Areas of practice in the United States Children and youth Occupational therapists work with infants, toddlers, children, youth, and their families in a variety of settings, including schools, clinics, homes, hospitals, and the community. Assessment of a person's ability to engage in daily, meaningful occupations is the initial step of occupational therapy (OT) intervention and involves evaluating a young person's occupational performance in areas of feeding, playing, socializing, daily living skills, or attending school. Occupational therapists take into consideration the strengths and weaknesses of a child's underlying skills which may be physical, cognitive, or emotional in nature, as well as the context and environmental demands at play. In planning treatment, occupational therapists work in collaboration with parents, caregivers, teachers, or the children and teens themselves in order to develop functional goals within a variety of occupations meaningful to the young client. Early intervention is an extremely important aspect of the daily functioning of a child between the ages of birth-3 years old. This area of practice sets the tone or standard for therapy in the school setting. OT's who practice in early intervention develop a family's ability to care for their child with special needs and promote his or her function and participation in the most natural environment as possible. Each child is required to have an Individualized Family Service Plan (IFSP) that focuses on the family's goals for the child. It's possible for an OT to serve as the family's service coordinator and facilitate the team process for creating an IFSP for each eligible child. Objectives that an occupational therapist addresses with children and youth may take a variety of forms. For example: Providing splinting and caregiver education in a hospital burn unit. Facilitating handwriting development through providing intervention to develop fine motor and writing readiness skills in school-aged children. Providing individualized treatment for sensory processing difficulties. Teaching coping skills to a child with generalized anxiety disorder. Consulting with teachers, counselors, social workers, parents/ caregivers, or any person that works with children regarding modifications, accommodations and supports in a variety of areas, such as sensory processing, motor planning, visual processing, sequencing, transitions between schools, etc. Instructing caregivers in regard to mealtime intervention for children with autism who have feeding difficulties. In the United States, pediatric occupational therapists work in the school setting as a "related service" for children with an Individual Education Plan (IEP). Every student who receives special education and related services in the public school system is required by law to have an IEP, which is a very individualized plan designed for each specific student (U.S. Department of Education, 2007). Related services are "developmental, corrective, and other supportive services as are required to assist a child with a disability to benefit from special education," and include a variety of professions such as speech–language pathology and audiology services, interpreting services, psychological services, and physical and occupational therapy. As a related service, occupational therapists work with children with varying disabilities to address those skills needed to access the special education program and support academic achievement and social participation throughout the school day (AOTA, n.d.-b). In doing so, occupational therapists help children fulfill their role as students and prepare them to transition to post-secondary education, career and community integration (AOTA, n.d.-b). Occupational therapists have specific knowledge to increase participation in school routines throughout the day, including: Modification of the school environment to allow physical access for children with disabilities Provide assistive technology to support student success Helping to plan instructional activities for implementation in the classroom Support the needs of students with significant challenges such as helping to determine methods for alternate assessment of learning Helping students develop the skills necessary to transition to post-high school employment, independent living or further education (AOTA). Other settings, such as homes, hospitals, and the community are important environments where occupational therapists work with children and teens to promote their independence in meaningful, daily activities. Outpatient clinics offer a growing OT intervention referred to as "Sensory Integration Treatment". This therapy, provided by experienced and knowledgeable pediatric occupational therapists, was originally developed by A. Jean Ayres, an occupational therapist. Sensory integration therapy is an evidence-based practice which enables children to better process and integrate sensory input from the child's body and from the environment, thus improving his or her emotional regulation, ability to learn, behavior, and functional participation in meaningful daily activities. Recognition of occupational therapy programs and services for children and youth is increasing worldwide. Occupational therapy for both children and adults is now recognized by the United Nations as a human right which is linked to the social determinants of health. , there are over 500,000 occupational therapists working worldwide (many of whom work with children) and 778 academic institutions providing occupational therapy instruction. Health and wellness According to the American Occupational Therapy Association's (AOTA) Occupational Therapy Practice Framework, 3rd Edition, the domain of occupational therapy is described as "Achieving health, well-being, and participation in life through engagement in occupation". Occupational therapy practitioners have a distinct value in their ability to utilize daily occupations to achieve optimal health and well-being. By examining an individual's roles, routines, environment, and occupations, occupational therapists can identify the barriers in achieving overall health, well-being and participation. Occupational therapy practitioners can intervene at primary, secondary and tertiary levels of intervention to promote health and wellness. It can be addressed in all practice settings to prevent disease and injuries, and adapt healthy lifestyle practices for those with chronic diseases. Two of the occupational therapy programs that have emerged targeting health and wellness are the Lifestyle Redesign Program and the REAL Diabetes Program. Occupational therapy interventions for health and wellness vary in each setting: School Occupational therapy practitioners target school-wide advocacy for health and wellness including: bullying prevention, backpack awareness, recess promotion, school lunches, and PE inclusion. They also heavily work with students with learning disabilities such as those on the autism spectrum. A study conducted in Switzerland showed that a large majority of occupational therapists collaborate with schools, half of them providing direct services within mainstream school settings. The results also show that services were mainly provided to children with medical diagnoses, focusing on the school environment rather than the child's disability. Outpatient Occupational therapy practitioners conduct 1:1 treatment sessions and group interventions to address: leisure, health literacy and education, modified physical activity, stress/anger management, healthy meal preparation, and medication management. Acute care Occupational therapy practitioners in acute care assess whether a patient has the cognitive, emotional and physical ability as well as the social supports needed to live independently and care for themselves after discharge from the hospital. Occupational therapists are uniquely positioned to support patients in acute care as they focus on both clinical and social determinants of health. Services delivered by occupational therapists in acute care include: • Direct rehabilitation interventions, individually or in group settings to address physical, emotional and cognitive skills that are required for the patient to perform self-care and other important activities. • Caregiver training to assist patients after discharge. • Recommendations for adaptive equipment for increased safety and independence with activities of daily living (e.g. aids for getting dressed, shower chairs for bathing, and medication organizers for self-administering medications). • They also perform home safety assessments to suggest modifications for improved safety and function after discharge. Occupational therapists use a variety of models, including the Model of Human Occupation, Person, Environment and Occupation, and Canadian Occupational Performance Model to adopt a client centered approach used for discharge planning. Hospital spending on occupational therapy services in acute care was found to be the single most significant spending category in reducing the risk of readmission to the hospital for heart failure, pneumonia, and acute myocardial infarction. Community-based Occupational therapy practitioners develop and implement community wide programs to assist in prevention of diseases and encourage healthy lifestyles by: conducting education classes for prevention, facilitating gardening, offering ergonomic assessments, and offering pleasurable leisure and physical activity programs. Mental health The occupational therapy profession believes that the health of an individual is fostered through active engagement in one's occupations (AOTA, 2014). When a person is experiencing any mental health need, his or her ability to actively participate in occupations may be hindered. For example, if a person has depression or anxiety, he or she may experience interruptions in sleep, difficulty completing self-care tasks, decreased motivation to participate in leisure activities, decreased concentration for school or job related work, and avoidance of social interactions. Occupational therapy practitioners possess the educational knowledge base in mental health and can contribute to the efforts in mental health promotion, prevention, and intervention. Occupational therapy practitioners can provide services that focus on social emotional well-being, prevention of negative behaviors, early detection through screenings, and intensive intervention (Bazyk & Downing, 2017). Occupational therapy practitioners can work directly with clients, provide professional development for staff, and work in collaboration with other team members and families. For instance, occupational therapists are specifically skilled at understanding the relationship between the demands of a task and the person's abilities. With this knowledge, practitioners are able to devise an intervention plan to facilitate successful participation in meaningful occupations. Occupational therapy services can focus on engagement in occupation to support participation in areas related to school, education, work, play, leisure, ADLs, and instrumental ADLs (Bazyk & Downing, 2017). Occupational therapy utilizes the public health approach to mental health (WHO, 2001) which emphasizes the promotion of mental health as well as the prevention of, and intervention for, mental illness. This model highlights the distinct value of occupational therapists in mental health promotion, prevention, and intensive interventions across the lifespan (Miles et al., 2010). Below are the three major levels of service: Tier 3: intensive interventions Intensive interventions are provided for individuals with identified mental, emotional, or behavioral disorders that limit daily functioning, interpersonal relationships, feelings of emotional well-being, and the ability to cope with challenges in daily life. Occupational therapy practitioners are committed to the recovery model which focuses on enabling persons with mental health challenges through a client-centered process to live a meaningful life in the community and reach their potential (Champagne & Gray, 2011). The focus of intensive interventions (direct–individual or group, consultation) is engagement in occupation to foster recovery or "reclaiming mental health" resulting in optimal levels of community participation, daily functioning, and quality of life; functional assessment and intervention (skills training, accommodations, compensatory strategies) (Brown, 2012); identification and implementation of healthy habits, rituals, and routines to support wellness. Tier 2: targeted services Targeted services are designed to prevent mental health problems in persons who are at risk of developing mental health challenges, such as those who have emotional experiences (e.g., trauma, abuse), situational stressors (e.g., physical disability, bullying, social isolation, obesity) or genetic factors (e.g., family history of mental illness). Occupational therapy practitioners are committed to early identification of and intervention for mental health challenges in all settings. The focus of targeted services (small groups, consultation, accommodations, education) is engagement in occupations to promote mental health and diminish early symptoms; small, therapeutic groups (Olson, 2011); environmental modifications to enhance participation (e.g., create Sensory friendly classrooms, home, or work environments) Tier 1: universal services Universal services are provided to all individuals with or without mental health or behavioral problems, including those with disabilities and illnesses (Barry & Jenkins, 2007). Occupational therapy services focus on mental health promotion and prevention for all: encouraging participation in health-promoting occupations (e.g., enjoyable activities, healthy eating, exercise, adequate sleep); fostering self-regulation and coping strategies (e.g., mindfulness, yoga); promoting mental health literacy (e.g., knowing how to take care of one's mental health and what to do when experiencing symptoms associated with ill mental health). Occupational therapy practitioners develop universal programs and embed strategies to promote mental health and well-being in a variety of settings, from schools to the workplace. The focus of universal services (individual, group, school-wide, employee/organizational level) is universal programs to help all individuals successfully participate in occupations that promote positive mental health (Bazyk, 2011); educational and coaching strategies with a wide range of relevant stakeholders focusing on mental health promotion and prevention; the development of coping strategies and resilience; environmental modifications and supports to foster participation in health-promoting occupations. Productive aging Occupational therapists work with older adults to maintain independence, participate in meaningful activities, and live fulfilling lives. Some examples of areas that occupational therapists address with older adults are driving, aging in place, low vision, and dementia or Alzheimer's disease (AD). When addressing driving, driver evaluations are administered to determine if drivers are safe behind the wheel. To enable independence of older adults at home, occupational therapists perform falls risk assessments, assess clients functioning in their homes, and recommend specific home modifications. When addressing low vision, occupational therapists modify tasks and the environment. While working with individuals with AD, occupational therapists focus on maintaining quality of life, ensuring safety, and promoting independence. Geriatrics/productive aging Occupational therapists address all aspects of aging from health promotion to treatment of various disease processes. The goal of occupational therapy for older adults is to ensure that older adults can maintain independence and reduce health care costs associated with hospitalization and institutionalization. In the community, occupational therapists can assess an older adults ability to drive and if they are safe to do so. If it is found that an individual is not safe to drive the occupational therapist can assist with finding alternate transit options. Occupational therapists also work with older adults in their home as part of home care. In the home, an occupational therapist can work on such things as fall prevention, maximizing independence with activities of daily living, ensuring safety and being able to stay in the home for as long as the person wants. An occupational therapist can also recommend home modifications to ensure safety in the home. Many older adults have chronic conditions such as diabetes, arthritis, and cardiopulmonary conditions. Occupational therapists can help manage these conditions by offering education on energy conservation strategies or coping strategies. Not only do occupational therapists work with older adults in their homes, they also work with older adults in hospitals, nursing homes and post-acute rehabilitation. In nursing homes, the role of the occupational therapist is to work with clients and caregivers on education for safe care, modifying the environment, positioning needs and enhancing IADL skills to name a few. In post-acute rehabilitation, occupational therapists work with clients to get them back home and to their prior level of function after a hospitalization for an illness or accident. Occupational therapists also play a unique role for those with dementia. The therapist may assist with modifying the environment to ensure safety as the disease progresses along with caregiver education to prevent burnout. Occupational therapists also play a role in palliative and hospice care. The goal at this stage of life is to ensure that the roles and occupations that the individual finds meaningful continue to be meaningful. If the person is no longer able to perform these activities, the occupational therapist can offer new ways to complete these tasks while taking into consideration the environment along with psychosocial and physical needs. Not only do occupational therapists work with older adults in traditional settings, they also work in senior centre's and ALFs. Visual impairment Visual impairment is one of the top 10 disabilities among American adults. Occupational therapists work with other professions, such as optometrists, ophthalmologists, and certified low vision therapists, to maximize the independence of persons with a visual impairment by using their remaining vision as efficiently as possible. AOTA's promotional goal of "Living Life to Its Fullest" speaks to who people are and learning about what they want to do, particularly when promoting the participation in meaningful activities, regardless of a visual impairment. Populations that may benefit from occupational therapy includes older adults, persons with traumatic brain injury, adults with potential to return to driving, and children with visual impairments. Visual impairments addressed by occupational therapists may be characterized into two types including low vision or a neurological visual impairment. An example of a neurological impairment is a cortical visual impairment (CVI) which is defined as "...abnormal or inefficient vision resulting from a problem or disorder affecting the parts of brain that provide sight". The following section will discuss the role of occupational therapy when working with the visually impaired. Occupational therapy for older adults with low vision includes task analysis, environmental evaluation, and modification of tasks or the environment as needed. Many occupational therapy practitioners work closely with optometrists and ophthalmologists to address visual deficits in acuity, visual field, and eye movement in people with traumatic brain injury, including providing education on compensatory strategies to complete daily tasks safely and efficiently. Adults with a stable visual impairment may benefit from occupational therapy for the provision of a driving assessment and an evaluation of the potential to return to driving. Lastly, occupational therapy practitioners enable children with visual impairments to complete self care tasks and participate in classroom activities using compensatory strategies. Adult rehabilitation Occupational therapists address the need for rehabilitation following an injury or impairment. When planning treatment, occupational therapists address the physical, cognitive, psychosocial, and environmental needs involved in adult populations across a variety of settings. Occupational therapy in adult rehabilitation may take a variety of forms: Working with adults with autism at day rehabilitation programs to promote successful relationships and community participation through instruction on social skills Increasing the quality of life for an individual with cancer by engaging them in occupations that are meaningful, providing anxiety and stress reduction methods, and suggesting fatigue management strategies Coaching individuals with hand amputations how to put on and take off a myoelectrically controlled limb as well as training for functional use of the limb Pressure sore prevention for those with sensation loss such as in spinal cord injuries. Using and implementing new technology such as speech to text software and Nintendo Wii video games Communicating via telehealth methods as a service delivery model for clients who live in rural areas Working with adults who have had a stroke to regain their activities of daily living Assistive technology Occupational therapy practitioners, or occupational therapists (OTs), are uniquely poised to educate, recommend, and promote the use of assistive technology to improve the quality of life for their clients. OTs are able to understand the unique needs of the individual in regards to occupational performance and have a strong background in activity analysis to focus on helping clients achieve goals. Thus, the use of varied and diverse assistive technology is strongly supported within occupational therapy practice models. Travel occupational therapy Because of the rising need for occupational therapy practitioners in the U.S., many facilities are opting for travel occupational therapy practitioners—who are willing to travel, often out of state, to work temporarily in a facility. Assignments can range from 8 weeks to 9 months, but typically last 13–26 weeks in length. Travel therapists work in many different settings, but the highest need for therapists are in home health and skilled nursing facility settings. There are no further educational requirements needed to be a travel occupational therapy practitioner; however, there may be different state licensure guidelines and practice acts that must be followed. According to Zip Recruiter, , the national average salary for a full-time travel therapist is $86,475 with a range between $62,500 to $100,000 across the United States. Most commonly (43%), travel occupational therapists enter the industry between the ages of 21–30. Occupational justice The practice area of occupational justice relates to the "benefits, privileges and harms associated with participation in occupations" and the effects related to access or denial of opportunities to participate in occupations. This theory brings attention to the relationship between occupations, health, well-being, and quality of life. Occupational justice can be approached individually and collectively. The individual path includes disease, disability, and functional restrictions. The collective way consists of public health, gender and sexual identity, social inclusion, migration, and environment. The skills of occupational therapy practitioners enable them to serve as advocates for systemic change, impacting institutions, policy, individuals, communities, and entire populations. Examples of populations that experience occupational injustice include refugees, prisoners, homeless persons, survivors of natural disasters, individuals at the end of their life, people with disabilities, elderly living in residential homes, individuals experiencing poverty, children, immigrants, and LGBTQI+ individuals. For example, the role of an occupational therapist working to promote occupational justice may include: Analyzing task, modifying activities and environments to minimize barriers to participation in meaningful activities of daily living. Addressing physical and mental aspects that may hinder a person's functional ability. Provide intervention that is relevant to the client, family, and social context. Contribute to global health by advocating for individuals with disabilities to participate in meaningful activities on a global level. Occupation therapists are involved with the World Health Organization (WHO), non-governmental organizations and community groups and policymaking to influence the health and well-being of individuals with disabilities worldwide Occupational therapy practitioners' role in occupational justice is not only to align with perceptions of procedural and social justice but to advocate for the inherent need of meaningful occupation and how it promotes a just society, well-being, and quality of life among people relevant to their context. It is recommended to the clinicians to consider occupational justice in their everyday practice to promote the intention of helping people participate in tasks that they want and need to do. Occupational injustice In contrast, occupational injustice relates to conditions wherein people are deprived, excluded or denied of opportunities that are meaningful to them. Types of occupational injustices and examples within the OT practice include: Occupational deprivation: The exclusion from meaningful occupations due to external factors that are beyond the person's control. For example, a person with difficulties with functional mobility may find it challenging to reintegrate into the community due to transportation barriers. • OTs can help in raising awareness and bringing communities together to reduce occupational deprivation • OTs can recommend the removal of environmental barriers to facilitate occupation, whilst designing programs that enable engagement. • Advocacy by providing information to policy to prevent possible unintended occupational deprivation and increase social cohesion and inclusion Occupational apartheid: The exclusion of a person in chosen occupations due to personal characteristics such as age, gender, race, nationality, or socioeconomic status. An example can be seen in children with developmental disabilities from low socioeconomic backgrounds whose families would opt out of therapy due to financial constraints. • OTs providing interventions within a segregated population must focus on increasing occupational engagement through large-scale environmental modification and occupational exploration. • OTs can address occupational engagement through group and individual skill-building opportunities, as well as community-based experiences that explore free and local resources Occupational marginalization: Relates to how implicit norms of behavior or societal expectations prevent a person from engaging in a chosen occupation. As an example, a child with physical impairments may only be offered table-top leisure activities instead of sports as an extracurricular activity due to the functional limitations caused by his physical impairments. • OTs can design, develop, and/or provide programs that mitigate the negative impacts of occupational marginalization and enhance optimal levels of performance and wellbeing that enable participation Occupational imbalance: The limited participation in a meaningful occupation brought about by another role in a different occupation. This can be seen in the situation of a caregiver of a person with a disability who also has to fulfill other roles such as being a parent to other children, a student, or a worker. • OTs can advocate fostering for supportive environments for participation in occupations that promote individuals' well-being and in advocating for building healthy public policy Occupational alienation: The imposition of an occupation that does not hold meaning for that person. In the OT profession, this manifests in the provision of rote activities that do not really relate to the goals or the client's interests. • OTs can develop individualized activities tailored to the interests of the individual to maximize their potential. • OTs can design, develop and promote programs that can be inclusive and provide a variety of choices that the individual can engage in. Within occupational therapy practice, injustice may ensue in situations wherein professional dominance, standardized treatments, laws and political conditions create a negative impact on the occupational engagement of our clients. Awareness of these injustices will enable the therapist to reflect on his own practice and think of ways in approaching their client's problems while promoting occupational justice. Community-based therapy As occupational therapy (OT) has grown and developed, community-based practice has blossomed from an emerging area of practice to a fundamental part of occupational therapy practice (Scaffa & Reitz, 2013). Community-based practice allows for OTs to work with clients and other stakeholders such as families, schools, employers, agencies, service providers, stores, day treatment and day care and others who may influence the degree of success the client will have in participating. It also allows the therapist to see what is actually happening in the context and design interventions relevant to what might support the client in participating and what is impeding her or him from participating. Community-based practice crosses all of the categories within which OTs practice from physical to cognitive, mental health to spiritual, all types of clients may be seen in community-based settings. The role of the OT also may vary, from advocate to consultant, direct care provider to program designer, adjunctive services to therapeutic leader. Nature-based therapy Nature-based interventions and outdoor activities may be incorporated into occupational therapy practice as they can provide therapeutic benefits in various ways. Examples include therapeutic gardening, animal-assisted therapy (AAT), and adventure therapy. For instance, parents reported improvement in the emotional regulation and social engagement of their children with autism spectrum disorder (ASD) in a study of parental perceptions regarding the outcomes of AAT conducted with trained dogs. They also observed reductions in problematic behaviors. A source cited in the study found similar results with AAT employing horses and llamas. Gardening in a group setting may serve as a complementary intervention in stroke rehabilitation; in addition to being mentally restful and conducive to social connection, it helps patients master skills and can remind them of experiences from their past. Royal Rehab's Productive Garden Project in Australia, managed by a horticultural therapist, allows patients and practitioners to participate in meaningful activity outside the usual healthcare settings. Thus, tending a garden helps facilitate experiential activities, perhaps attaining a better balance between clinical and real-life pursuits during rehabilitation, in lieu of mainly relying on clinical interventions. For adults with acquired brain injury, nature-based therapy has been found to improve motor abilities, cognitive function, and general quality of life. Contributing to a theoretical understanding of such successes in nature-based approaches are: nature's positive impact on problem solving and the refocusing of attention; an innate human connection with, and positive response to, the natural world; an increased sense of well-being when in contact with nature; and the emotional, nonverbal, and cognitive aspects of human-environment interaction. Education Worldwide, there is a range of qualifications required to practice as an occupational therapist or occupational therapy assistant. Depending on the country and expected level of practice, degree options include associate degree, Bachelor's degree, entry-level master's degree, post-professional master's degree, entry-level Doctorate (OTD), post-professional Doctorate (DrOT or OTD), Doctor of Clinical Science in OT (CScD), Doctor of Philosophy in Occupational Therapy (PhD), and combined OTD/PhD degrees. Both occupational therapist and occupational therapy assistant roles exist internationally. Currently in the United States, dual points of entry exist for both OT and OTA programs. For OT, that is entry-level Master's or entry-level Doctorate. For OTA, that is associate degree or bachelor's degree. The World Federation of Occupational Therapists (WFOT) has minimum standards for the education of OTs, which was revised in 2016. All of the educational programs around the world need to meet these minimum standards. These standards are subsumed by and can be supplemented with academic standards set by a country's national accreditation organization. As part of the minimum standards, all programs must have a curriculum that includes practice placements (fieldwork). Examples of fieldwork settings include: acute care, inpatient hospital, outpatient hospital, skilled nursing facilities, schools, group homes, early intervention, home health, and community settings. The profession of occupational therapy is based on a wide theoretical and evidence based background. The OT curriculum focuses on the theoretical basis of occupation through multiple facets of science, including occupational science, anatomy, physiology, biomechanics, and neurology. In addition, this scientific foundation is integrated with knowledge from psychology, sociology and more. In the United States, Canada, and other countries around the world, there is a licensure requirement. In order to obtain an OT or OTA license, one must graduate from an accredited program, complete fieldwork requirements, and pass a national certification examination. Philosophical underpinnings The philosophy of occupational therapy has evolved over the history of the profession. The philosophy articulated by the founders owed much to the ideals of romanticism, pragmatism and humanism, which are collectively considered the fundamental ideologies of the past century. One of the most widely cited early papers about the philosophy of occupational therapy was presented by Adolf Meyer, a psychiatrist who had emigrated to the United States from Switzerland in the late 19th century and who was invited to present his views to a gathering of the new Occupational Therapy Society in 1922. At the time, Dr. Meyer was one of the leading psychiatrists in the United States and head of the new psychiatry department and Phipps Clinic at Johns Hopkins University in Baltimore, Maryland. William Rush Dunton, a supporter of the National Society for the Promotion of Occupational Therapy, now the American Occupational Therapy Association, sought to promote the ideas that occupation is a basic human need, and that occupation is therapeutic. From his statements came some of the basic assumptions of occupational therapy, which include: Occupation has a positive effect on health and well-being. Occupation creates structure and organizes time. Occupation brings meaning to life, culturally and personally. Occupations are individual. People value different occupations. These assumptions have been developed over time and are the basis of the values that underpin the Codes of Ethics issued by the national associations. The relevance of occupation to health and well-being remains the central theme. In the 1950s, criticism from medicine and the multitude of disabled World War II veterans resulted in the emergence of a more reductionistic philosophy. While this approach led to developments in technical knowledge about occupational performance, clinicians became increasingly disillusioned and re-considered these beliefs. As a result, client centeredness and occupation have re-emerged as dominant themes in the profession. Over the past century, the underlying philosophy of occupational therapy has evolved from being a diversion from illness, to treatment, to enablement through meaningful occupation. Three commonly mentioned philosophical precepts of occupational therapy are that occupation is necessary for health, that its theories are based on holism and that its central components are people, their occupations (activities), and the environments in which those activities take place. However, there have been some dissenting voices. Mocellin, in particular, advocated abandoning the notion of health through occupation as he proclaimed it obsolete in the modern world. As well, he questioned the appropriateness of advocating holism when practice rarely supports it. Some values formulated by the American Occupational Therapy Association have been critiqued as being therapist-centric and do not reflect the modern reality of multicultural practice. In recent times occupational therapy practitioners have challenged themselves to think more broadly about the potential scope of the profession, and expanded it to include working with groups experiencing occupational injustice stemming from sources other than disability. Examples of new and emerging practice areas would include therapists working with refugees, children experiencing obesity, and people experiencing homelessness. Theoretical frameworks A distinguishing facet of occupational therapy is that therapists often espouse the use theoretical frameworks to frame their practice. Many have argued that the use of theory complicates everyday clinical care and is not necessary to provide patient-driven care. Note that terminology differs between scholars. An incomplete list of theoretical bases for framing a human and their occupations include the following: Generic models Generic models are the overarching title given to a collation of compatible knowledge, research and theories that form conceptual practice. More generally they are defined as "those aspects which influence our perceptions, decisions and practice". The Person Environment Occupation Performance model (PEOP) was originally published in 1991 (Charles Christiansen & M. Carolyn Baum) and describes an individual's performance based on four elements including: environment, person, performance and occupation. The model focuses on the interplay of these components and how this interaction works to inhibit or promote successful engagement in occupation. Occupation-focused practice models Occupational Therapy Intervention Process Model (OTIPM) (Anne Fisher and others) Occupational Performance Process Model (OPPM) Model of Human Occupation (MOHO) (Gary Kielhofner and others) MOHO was first published in 1980. It explains how people select, organise and undertake occupations within their environment. The model is supported with evidence generated over thirty years and has been successfully applied throughout the world. Canadian Model of Occupational Performance and Engagement (CMOP-E) This framework was originated in 1997 by the Canadian Association of Occupational Therapists (CAOT) as the Canadian Model of Occupational Performance (CMOP). It was expanded in 2007 by Palatjko, Townsend and Craik to add engagement. This framework upholds the view that three components- the person, environment and occupation- are related. Engagement was added to encompass occupational performance. A visual model is depicted with the person located at the center of the model as a triangle. The triangles three points represent cognitive, affective, and physical components with a spiritual center. The person triangle is surrounded by an outer ring symbolizing the context of environment with an inner ring symbolizing the context of occupation. Citation Polatajko, H.J., Townsend, E.A. & Craik, J. 2007. Canadian Model of Occupational Performance and Engagement (CMOP-E). In Enabling Occupation II: Advancing an Occupational Therapy Vision of Health, Well-being, & Justice through Occupation. E.A.Townsend & H.J. Polatajko, Eds. Ottawa, ON: CAOT Publications ACE. 22-36. Occupational Performances Model – Australia (OPM-A) (Chris Chapparo & Judy Ranka) The OPM(A) was conceptualized in 1986 with its current form launched in 2006. The OPM(A) illustrates the complexity of occupational performance, the scope of occupational therapy practice, and provides a framework for occupational therapy education. Kawa (River) Model (Michael Iwama) Biopsychosocial models Engel's biopsychosocial model takes into account how disease and illness can be impacted by social, environmental, psychological and body functions. The biopsychosocial model is unique in that it takes the client's subjective experience and the client-provider relationship as factors to wellness. This model also factors in cultural diversity as many countries have different societal norms and beliefs. This is a multifactorial and multi-dimensional model to understand not only the cause of disease but also a person-centered approach that the provider has more of a participatory and reflective role. Other models which incorporate biology (body and brain), psychology (mind), and social (relational, attachment) elements influencing human health include interpersonal neurobiology (IPNB), polyvagal theory (PVT), and the dynamic-maturational model of attachment and adaptation (DMM). The latter two in particular provide detail about the source, mechanism and function of somatic symptoms. Kasia Kozlowska describes how she uses these models to better connect with clients, to understand complex human illness, and how she includes occupational therapists as part of a team to address functional somatic symptoms. Her research indicates children with functional neurological disorders (FND) utilize higher, or more challenging, DMM self-protective attachment strategies to cope with their family environments, and how those impact functional somatic symptoms. Pamela Meredith and colleagues have been exploring the relationship between the attachment system and psychological and neurobiological systems with implications for how occupational therapists can improve their approach and techniques. They have found correlations between attachment and adult sensory processing, distress, and pain perception. In a literature review, Meredith identified a number of ways that occupational therapists can effectively apply an attachment perspective, sometimes uniquely. Frames of reference Frames of reference are an additional knowledge base for the occupational therapist to develop their treatment or assessment of a patient or client group. Though there are conceptual models (listed above) that allow the therapist to conceptualise the occupational roles of the patient, it is often important to use further reference to embed clinical reasoning. Therefore, many occupational therapists will use additional frames of reference to both assess and then develop therapy goals for their patients or service users. Biomechanical frame of reference The biomechanical frame of reference is primarily concerned with motion during occupation. It is used with individuals who experience limitations in movement, inadequate muscle strength or loss of endurance in occupations. The frame of reference was not originally compiled by occupational therapists, and therapists should translate it to the occupational therapy perspective, to avoid the risk of movement or exercise becoming the main focus. Rehabilitative (compensatory) Neurofunctional (Gordon Muir Giles and Clark-Wilson) Dynamic systems theory Client-centered frame of reference This frame of reference is developed from the work of Carl Rogers. It views the client as the center of all therapeutic activity, and the client's needs and goals direct the delivery of the occupational therapy process. Cognitive-behavioural frame of reference Ecology of human performance model The recovery model Sensory integration Sensory integration framework is commonly implemented in clinical, community, and school-based occupational therapy practice. It is most frequently used with children with developmental delays and developmental disabilities such as autism spectrum disorder, Sensory processing disorder and dyspraxia. Core features of sensory integration in treatment include providing opportunities for the client to experience and integrate feedback using multiple sensory systems, providing therapeutic challenges to the client's skills, integrating the client's interests into therapy, organizing of the environment to support the client's engagement, facilitating a physically safe and emotionally supportive environment, modifying activities to support the client's strengths and weaknesses, and creating sensory opportunities within the context of play to develop intrinsic motivation. While sensory integration is traditionally implemented in pediatric practice, there is emerging evidence for the benefits of sensory integration strategies for adults. Global occupational therapy The World Federation of Occupational Therapists is an international voice of the profession and is a membership network of occupational therapists worldwide. WFOT supports the international practice of occupational therapy through collaboration across countries. WFOT currently includes over 100 member country organizations, 550,000 occupational therapy practitioners, and 900 approved educational programs. The profession celebrates World Occupational Therapy Day on the 27th of October annually to increase visibility and awareness of the profession, promoting the profession's development work at a local, national and international platform. WFOT has been in close collaboration with the World Health Organization (WHO) since 1959, working together in programmes that aim to improve world health. WFOT supports the vision for healthy people, in alignment with the United Nations 17 Sustainable Development Goals, which focuses on "ending poverty, fighting inequality and injustice, tackling climate change and promoting health". Occupational therapy is a major player in enabling individuals and communities to engage in "chosen and necessary occupations" and in "the creation of more meaningful lives". Occupational therapy is practiced around the world and can be translated in practice to many different cultures and environments. The construct of occupation is shared throughout the profession regardless of country, culture and context. Occupation and the active participation in occupation is now seen as a human right and is asserted as a strong influence in health and well-being. As the profession grows there is a lot of people who are travelling across countries to work as occupational therapists for better work or opportunities. Under this context, every occupational therapist is required to adapt to a new culture, foreign to their own. Understanding cultures and its communities are crucial to occupational therapy ethos. Effective occupational therapy practice includes acknowledging the values and social perspectives of each client and their families. Harnessing culture and understanding what is important to the client is truly a faster way towards independence. See also Occupational apartheid Occupational therapy in the United Kingdom Occupational therapy in the management of cerebral palsy Occupational therapy and substance use disorder References External links World Federation of Occupational Therapists
```xml /* eslint-disable react/no-children-prop */ import clsx from 'clsx'; import React, { MouseEvent, ReactNode } from 'react'; import { DraftJsBlockAlignmentButtonType } from '..'; interface CreateBlockAlignmentButtonProps { alignment: string; children: ReactNode; } export default function createBlockAlignmentButton({ alignment, children, }: CreateBlockAlignmentButtonProps): DraftJsBlockAlignmentButtonType { return function BlockAlignmentButton(props) { const activate = (event: MouseEvent): void => { event.preventDefault(); props.setAlignment({ alignment }); }; const preventBubblingUp = (event: MouseEvent): void => { event.preventDefault(); }; const isActive = (): boolean => props.alignment === alignment; const { theme, buttonProps = {} } = props; const className = isActive() ? clsx(theme.button, theme.active) : theme.button; return ( <div className={theme.buttonWrapper} onMouseDown={preventBubblingUp}> <button children={children} {...buttonProps} className={className} onClick={activate} type="button" role="button" aria-label={`block align text ${alignment}`} /> </div> ); }; } ```
```javascript const React = require('react'); require('react-native'); const renderer = require('react-test-renderer'); const { Provider } = require('react-redux'); const { Navigation } = require('../../lib/src/index'); describe('redux support', () => { let MyConnectedComponent; let store; beforeEach(() => { MyConnectedComponent = require('./MyComponent'); store = require('./MyStore'); }); it('renders normally', () => { const HOC = class extends React.Component { render() { return ( <Provider store={store.reduxStore}> <MyConnectedComponent /> </Provider> ); } }; Navigation.registerComponent( 'ComponentName', () => (props) => <HOC {...props} />, Provider, store.reduxStore ); const tree = renderer.create(<HOC />); expect(tree.toJSON().children).toEqual(['no name']); }); it('passes props into wrapped components', () => { const renderCountIncrement = jest.fn(); const HOC = class extends React.Component { render() { return ( <Provider store={store.reduxStore}> <MyConnectedComponent {...this.props} /> </Provider> ); } }; const CompFromNavigation = Navigation.registerComponent('ComponentName', () => (props) => ( <HOC {...props} /> ))(); const tree = renderer.create( <CompFromNavigation componentId="componentId" renderCountIncrement={renderCountIncrement} /> ); expect(tree.toJSON().children).toEqual(['no name']); expect(renderCountIncrement).toHaveBeenCalledTimes(1); }); it('rerenders as a result of an underlying state change (by selector)', () => { const renderCountIncrement = jest.fn(); const tree = renderer.create( <Provider store={store.reduxStore}> <MyConnectedComponent renderCountIncrement={renderCountIncrement} /> </Provider> ); expect(tree.toJSON().children).toEqual(['no name']); expect(renderCountIncrement).toHaveBeenCalledTimes(1); store.reduxStore.dispatch({ type: 'redux.MyStore.setName', name: 'Bob' }); expect(store.selectors.getName(store.reduxStore.getState())).toEqual('Bob'); expect(tree.toJSON().children).toEqual(['Bob']); expect(renderCountIncrement).toHaveBeenCalledTimes(2); }); it('rerenders as a result of an underlying state change with a new key', () => { const renderCountIncrement = jest.fn(); const tree = renderer.create( <Provider store={store.reduxStore}> <MyConnectedComponent printAge={true} renderCountIncrement={renderCountIncrement} /> </Provider> ); expect(tree.toJSON().children).toEqual(null); expect(renderCountIncrement).toHaveBeenCalledTimes(1); store.reduxStore.dispatch({ type: 'redux.MyStore.setAge', age: 30 }); expect(store.selectors.getAge(store.reduxStore.getState())).toEqual(30); expect(tree.toJSON().children).toEqual(['30']); expect(renderCountIncrement).toHaveBeenCalledTimes(2); }); }); ```
Charalambos "Bambos" Charalambous (born 2 December 1967) is a British politician serving as the Member of Parliament (MP) for Enfield Southgate since 2017. He served as Shadow Minister for the Middle East and North Africa from 2021 to 2023, when he was suspended as a Labour Party MP after a complaint about his conduct. Early life Charalambous was raised in Bowes Park in north London. His parents come from Kalo Chorio and Fasoulla, both near Limassol, in Cyprus. He was educated at Tottenhall Infants' School, St Michael-at-Bowes Junior School (where he has been a school governor), Chace Boys' Comprehensive School, followed by Tottenham College and then Liverpool Polytechnic (now Liverpool John Moores University). He read for a law degree and was elected as vice president of the Students' Union in 1990. Career Charalambous is a solicitor. Before and until his election as MP, he worked for Hackney Council in their housing litigation team. Charalambous served as a member of Enfield Council for the Palmers Green ward for 24 years. He also served as an Associate Cabinet Member for Leisure, Culture, Localism and Young People. Parliamentary career Charalambous was the Labour candidate for Epping Forest in 2005, losing to the Conservative incumbent Eleanor Laing. He later contended Enfield Southgate in 2010 and 2015, before being elected in 2017, unseating David Burrowes who had served as the MP for that constituency since 2005. Charalambous served on the Justice Select Committee. He also served as a member of the All-Party Parliamentary Groups on London, Cyprus, Crossrail Two, Autism, Sex Equality, Music, Global Education For All and London's Planning and Built Environment. In January 2018, he was appointed Parliamentary Private Secretary (PPS) to Rebecca Long-Bailey, Shadow Secretary of State for Business, Energy and Industrial Strategy. In December 2018, he was appointed as an Opposition (Labour) Whip. Charalambous was appointed as a Shadow Minister for Justice in January 2020. Following Keir Starmer's election as Labour leader in April 2020, he joined the shadow Home Office team as the Shadow Minister for Crime Reduction and Courts. Charalambous swapped roles with Holly Lynch in a minor reshuffle in May 2021, becoming the Shadow Minister for Immigration. In June 2023, he was suspended as a Labour MP following an allegation "that requires investigation by the Labour Party." References External links 1967 births Living people Independent members of the House of Commons of the United Kingdom People from Enfield, London UK MPs 2017–2019 UK MPs 2019–present English people of Greek Cypriot descent English solicitors People educated at Chace Community School Alumni of Liverpool John Moores University Alumni of The College of Haringey, Enfield and North East London Councillors in the London Borough of Enfield Labour Party (UK) councillors Labour Party (UK) MPs for English constituencies
```glsl // Shader code based on Apple's CIChromaKeyFilter example: path_to_url#samplecode/CIChromaKeyFilter/Introduction/Intro.html varying vec2 textureCoordinate; varying vec2 textureCoordinate2; uniform float thresholdSensitivity; uniform float smoothing; uniform vec3 colorToReplace; uniform sampler2D inputImageTexture; uniform sampler2D inputImageTexture2; void main() { vec4 textureColor = texture2D(inputImageTexture, textureCoordinate); vec4 textureColor2 = texture2D(inputImageTexture2, textureCoordinate2); float maskY = 0.2989 * colorToReplace.r + 0.5866 * colorToReplace.g + 0.1145 * colorToReplace.b; float maskCr = 0.7132 * (colorToReplace.r - maskY); float maskCb = 0.5647 * (colorToReplace.b - maskY); float Y = 0.2989 * textureColor.r + 0.5866 * textureColor.g + 0.1145 * textureColor.b; float Cr = 0.7132 * (textureColor.r - Y); float Cb = 0.5647 * (textureColor.b - Y); // float blendValue = 1.0 - smoothstep(thresholdSensitivity - smoothing, thresholdSensitivity , abs(Cr - maskCr) + abs(Cb - maskCb)); float blendValue = 1.0 - smoothstep(thresholdSensitivity, thresholdSensitivity + smoothing, distance(vec2(Cr, Cb), vec2(maskCr, maskCb))); gl_FragColor = mix(textureColor, textureColor2, blendValue); } ```
Wilhelm Konstantin Frommhold Petersen (12 June 1854 in Lihula – 3 February 1933 in Tallinn) was an Estonian entomologist, lepidopterist of Baltic-German descent. He was the first who paid attention to the importance of the characteristics of genitalia in insect taxonomy. He was an early representative of the recognition concept of species. Published works Die Lepidopteren-Fauna des arktischen Gebiets von Europa und die Eiszeit, Mag. Diss., 1881 Reisebriefe aus Transkaukasien und Armenien, 1884 Fauna baltica, Band I: Rhopalocera, 1890 Über indifferente Charaktere als Artmerkmale. Zur Frage der geschlechtlichen Zuchtwahl Eesti päevaliblikad. Systematische Bearbeitung der Tagfalter Estlands, 1927 Lepidopteren-Fauna von Estland, 2 Bände, 1924 Die Blattminierer-Gattungen Lithocolletis und Nepticula, 2 Bände, 1927-1929 References 1854 births 1933 deaths People from Lääneranna Parish People from Kreis Wiek Baltic-German people from the Russian Empire Zoologists from the Russian Empire Estonian zoologists Lepidopterists 19th-century Estonian people 20th-century Estonian scientists
```css CSS Specificity Hide the scrollbar in webkit browser Determine the opacity of background-colors using the RGBA declaration Use `:not()` to apply/unapply styles `:required` and `:optional` pseudo classes ```
```c++ // See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Definitions of 'scriptable' versions of pdt operations, that is, // those that can be called with FstClass-type arguments. // // See comments in nlp/fst/script/script-impl.h for how the registration // mechanism allows these to work with various arc types. #include <string> #include <vector> #include <fst/extensions/pdt/compose.h> #include <fst/extensions/pdt/expand.h> #include <fst/extensions/pdt/pdtscript.h> #include <fst/extensions/pdt/replace.h> #include <fst/extensions/pdt/reverse.h> #include <fst/extensions/pdt/shortest-path.h> #include <fst/script/script-impl.h> namespace fst { namespace script { void PdtCompose(const FstClass &ifst1, const FstClass &ifst2, const std::vector<LabelPair> &parens, MutableFstClass *ofst, const PdtComposeOptions &copts, bool left_pdt) { if (!internal::ArcTypesMatch(ifst1, ifst2, "PdtCompose") || !internal::ArcTypesMatch(ifst1, *ofst, "PdtCompose")) return; PdtComposeArgs args(ifst1, ifst2, parens, ofst, copts, left_pdt); Apply<Operation<PdtComposeArgs>>("PdtCompose", ifst1.ArcType(), &args); } void PdtExpand(const FstClass &ifst, const std::vector<LabelPair> &parens, MutableFstClass *ofst, const PdtExpandOptions &opts) { PdtExpandArgs args(ifst, parens, ofst, opts); Apply<Operation<PdtExpandArgs>>("PdtExpand", ifst.ArcType(), &args); } void PdtExpand(const FstClass &ifst, const std::vector<std::pair<int64, int64>> &parens, MutableFstClass *ofst, bool connect, bool keep_parentheses, const WeightClass &weight_threshold) { PdtExpand(ifst, parens, ofst, PdtExpandOptions(connect, keep_parentheses, weight_threshold)); } void PdtReplace(const std::vector<LabelFstClassPair> &pairs, MutableFstClass *ofst, std::vector<LabelPair> *parens, int64 root, PdtParserType parser_type, int64 start_paren_labels, const string &left_paren_prefix, const string &right_paren_prefix) { for (size_t i = 1; i < pairs.size(); ++i) { if (!internal::ArcTypesMatch(*pairs[i - 1].second, *pairs[i].second, "PdtReplace")) return; } if (!internal::ArcTypesMatch(*pairs[0].second, *ofst, "PdtReplace")) return; PdtReplaceArgs args(pairs, ofst, parens, root, parser_type, start_paren_labels, left_paren_prefix, right_paren_prefix); Apply<Operation<PdtReplaceArgs>>("PdtReplace", ofst->ArcType(), &args); } void PdtReverse(const FstClass &ifst, const std::vector<LabelPair> &parens, MutableFstClass *ofst) { PdtReverseArgs args(ifst, parens, ofst); Apply<Operation<PdtReverseArgs>>("PdtReverse", ifst.ArcType(), &args); } void PdtShortestPath(const FstClass &ifst, const std::vector<LabelPair> &parens, MutableFstClass *ofst, const PdtShortestPathOptions &opts) { PdtShortestPathArgs args(ifst, parens, ofst, opts); Apply<Operation<PdtShortestPathArgs>>("PdtShortestPath", ifst.ArcType(), &args); } void PrintPdtInfo(const FstClass &ifst, const std::vector<LabelPair> &parens) { PrintPdtInfoArgs args(ifst, parens); Apply<Operation<PrintPdtInfoArgs>>("PrintPdtInfo", ifst.ArcType(), &args); } // Register operations for common arc types. REGISTER_FST_PDT_OPERATIONS(StdArc); REGISTER_FST_PDT_OPERATIONS(LogArc); REGISTER_FST_PDT_OPERATIONS(Log64Arc); } // namespace script } // namespace fst ```
```xml <ResourceDictionary xmlns="path_to_url" xmlns:x="path_to_url" xmlns:s="clr-namespace:System;assembly=mscorlib" xml:space="preserve"> <!--To use a new line: &#x0d; or CarriageReturn + NewLine: &#x0d;&#x0a; or &#10;--> <!--You can use the zero-width-divider to suggest where the word should be divided when there's no space &#8203;--> <!--Special texts like {0}, are place holders for dynamic values, such as numbers.--> <!--General--> <s:String x:Key="S.Ok">OK</s:String> <s:String x:Key="S.Back">Zurck</s:String> <s:String x:Key="S.Cancel">Abbrechen</s:String> <s:String x:Key="S.Yes">Ja</s:String> <s:String x:Key="S.No">Nein</s:String> <s:String x:Key="S.Add">Hinzufgen</s:String> <s:String x:Key="S.Edit">Bearbeiten</s:String> <s:String x:Key="S.Id">ID</s:String> <s:String x:Key="S.Title">Titel</s:String> <s:String x:Key="S.Description">Beschreibung</s:String> <s:String x:Key="S.SelectColor">Hier klicken, um Farbe auszuwhlen.</s:String> <s:String x:Key="S.Documentation">Hier klicken, um Dokumentation zu ffnen.</s:String> <s:String x:Key="S.Suppress">Schlieen</s:String> <s:String x:Key="S.Preview">Vorschau</s:String> <s:String x:Key="S.Size">Abmessungen</s:String> <s:String x:Key="S.Background">Hintergrund:</s:String> <s:String x:Key="S.Color">Farbe:</s:String> <s:String x:Key="S.Delay">Verzgerung</s:String> <s:String x:Key="S.DelayMs">Verzgern um:</s:String> <s:String x:Key="S.ValueMs">Wert:</s:String> <s:String x:Key="S.ScaleValue">Skalierung:</s:String> <s:String x:Key="S.Margin">Seitenrand:</s:String> <s:String x:Key="S.Padding">Innenabstand:</s:String> <s:String x:Key="S.MinHeight">Minimale Hhe:</s:String> <s:String x:Key="S.AndOr">und/oder</s:String> <!--Warnings--> <s:String x:Key="S.Crash">Ach nee, das Programm ist abgestrzt! :(</s:String> <s:String x:Key="S.Required">Pflichtfeld</s:String> <s:String x:Key="S.Warning.Net.Title">Fehlende Abhngigkeit</s:String> <s:String x:Key="S.Warning.Net.Header">.NET Framework 4.8 ist nicht verfgbar</s:String> <s:String x:Key="S.Warning.Net.Message">Um dieses Programm zu verwenden, mssen Sie .NET Framework in der Version 4.8 installieren.&#10;Wollen Sie zur Download-Seite gehen?</s:String> <s:String x:Key="S.Warning.Single.Title">Nur eine Instanz zulssig</s:String> <s:String x:Key="S.Warning.Single.Header">Die App wird bereits ausgefhrt</s:String> <s:String x:Key="S.Warning.Single.Message">ScreenToGif wird bereits ausgefhrt, aber anscheinend ist kein Fenster geffnet. Bitte berprfen Sie den Infobereich der Taskleiste, dort muss ein ScreenToGif-Symbol vorhanden sein.</s:String> <s:String x:Key="S.SavingSettings.Title">Einstellungen speichern</s:String> <s:String x:Key="S.SavingSettings.Instruction">Mchten Sie versuchen, es erneut zu speichern?</s:String> <s:String x:Key="S.SavingSettings.Message">Scheinbar verfgt ScreenToGif nicht ber gengend Rechte, um die Einstellungen auf der Festplatte zu speichern.&#10;&#10;Mchten Sie versuchen, mit Administratorrechten erneut zu speichern?</s:String> <s:String x:Key="S.Exiting.Title">ScreenToGif wird beendet</s:String> <s:String x:Key="S.Exiting.Instruction">Mchten Sie das Programm wirklich beenden?</s:String> <s:String x:Key="S.Exiting.Message">Alle Fenster werden geschlossen und das Programmsymbol wird aus dem Infobereich der Taskleiste entfernt.</s:String> <!--Warnings Graphics engine--> <s:String x:Key="S.Warning.Graphics.Title">Grafikkarte wechseln</s:String> <s:String x:Key="S.Warning.Graphics.Instruction">Auf die richtige Grafikkarte umschalten, um den ausgewhlten Bildschirm erfassen zu knnen</s:String> <s:String x:Key="S.Warning.Graphics.Message">Aufgrund einer Einschrnkung in DirectX muss ScreenToGif die gleiche Grafikkarte verwenden wie der zu erfassende Bildschirm.</s:String> <s:String x:Key="S.Warning.Graphics.Action">Wechseln Sie die fr ScreenToGif eingestellte Grafikkarte, indem Sie Windows-Einstellungen System Anzeige Grafikeinstellungen ffnen, oder auf den folgenden Link klicken.</s:String> <s:String x:Key="S.Warning.Graphics.Action.Legacy">Wechseln Sie die Grafikkarte fr ScreenToGif, indem Sie die Grafikeinstellungen Ihrer Grafikkarte ffnen.</s:String> <s:String x:Key="S.Warning.Graphics.Switch">Windows-Einstellungen ffnen</s:String> <!--Keys--> <s:String x:Key="S.Keys.Enter">Enter</s:String> <s:String x:Key="S.Keys.Esc">Esc</s:String> <s:String x:Key="S.Keys.Space">Leertaste</s:String> <!--Mouse--> <s:String x:Key="S.Mouse.Right">Rechtsklick</s:String> <!--Tray icon--> <s:String x:Key="S.NewRecording">Neue Bildschirmaufnahme</s:String> <s:String x:Key="S.NewWebcamRecording">Neue Webcam-Aufnahme</s:String> <s:String x:Key="S.NewBoardRecording">Neue Handzeichnung</s:String> <s:String x:Key="S.Exit">Beenden</s:String> <!--Commands--> <s:String x:Key="S.Command.NewRecording">Neue Bildschirmaufnahme</s:String> <s:String x:Key="S.Command.NewWebcamRecording">Neue Webcam-Aufnahme</s:String> <s:String x:Key="S.Command.NewBoardRecording">Neue Handzeichnung</s:String> <s:String x:Key="S.Command.NewAnimation">Neue Animation</s:String> <s:String x:Key="S.Command.InsertRecording">Bildschirmaufnahme einfgen</s:String> <s:String x:Key="S.Command.InsertWebcamRecording">Webcam-Aufnahme einfgen</s:String> <s:String x:Key="S.Command.InsertBoardRecording">Handzeichnung einfgen</s:String> <s:String x:Key="S.Command.InsertFromMedia">Mediendateien einfgen (Bilder und Videos)</s:String> <s:String x:Key="S.Command.SaveAs">Speichern unter </s:String> <s:String x:Key="S.Command.Load">Dateien ffnen (Bilder, Videos und Projekte)</s:String> <s:String x:Key="S.Command.LoadRecent">Krzlich erstellte Projekte ffnen</s:String> <s:String x:Key="S.Command.DiscardProject">Aktuelles Projekt verwerfen</s:String> <s:String x:Key="S.Command.OverrideDelay">Frame-Dauer berschreiben</s:String> <s:String x:Key="S.Command.IncreaseDecreaseDelay">Frame-Dauer erhhen/verringern</s:String> <s:String x:Key="S.Command.ScaleDelay">Frame-Dauer skalieren</s:String> <s:String x:Key="S.Command.Zoom100">Zoom auf 100 % setzen</s:String> <s:String x:Key="S.Command.SizeToContent">Fenstergre an Framegre anpassen</s:String> <s:String x:Key="S.Command.FitImage">Grafik an vorhandene Fenstergre anpassen</s:String> <s:String x:Key="S.Command.FirstFrame">Ersten Frame auswhlen</s:String> <s:String x:Key="S.Command.PreviousFrame">Vorherigen Frame auswhlen</s:String> <s:String x:Key="S.Command.Play">Animation abspielen</s:String> <s:String x:Key="S.Command.NextFrame">Nchsten Frame auswhlen</s:String> <s:String x:Key="S.Command.LastFrame">Letzten Frame auswhlen</s:String> <s:String x:Key="S.Command.Undo">Widerrufen</s:String> <s:String x:Key="S.Command.Redo">Wiederherstellen</s:String> <s:String x:Key="S.Command.Reset">Alle nderungen im Projekt widerrufen</s:String> <s:String x:Key="S.Command.Copy">Ausgewhlte Frames kopieren und in Zwischenablage speichern</s:String> <s:String x:Key="S.Command.Cut">Ausgewhlte Frames ausschneiden und in Zwischenablage speichern</s:String> <s:String x:Key="S.Command.Paste">Frames aus Zwischenablage hinzufgen</s:String> <s:String x:Key="S.Command.Delete">Alle ausgewhlten Frames lschen</s:String> <s:String x:Key="S.Command.DeletePrevious">Alle vorherigen Frames lschen</s:String> <s:String x:Key="S.Command.DeleteNext">Alle nachfolgenden Frames lschen</s:String> <s:String x:Key="S.Command.RemoveDuplicates">Duplikate entfernen</s:String> <s:String x:Key="S.Command.Reduce">Bildwiederholrate reduzieren</s:String> <s:String x:Key="S.Command.SmoothLoop">Eine glatte Schleife erstellen</s:String> <s:String x:Key="S.Command.Reverse">Animation rckwrts abspielen</s:String> <s:String x:Key="S.Command.Yoyo">Animation vorwrts bis zum Ende und dann rckwrts abspielen</s:String> <s:String x:Key="S.Command.MoveLeft">Ausgewhlten Frame nach links verschieben</s:String> <s:String x:Key="S.Command.MoveRight">Ausgewhlten Frame nach rechts verschieben</s:String> <s:String x:Key="S.Command.Resize">Gre aller Frames ndern</s:String> <s:String x:Key="S.Command.Crop">Alle Frames beschneiden</s:String> <s:String x:Key="S.Command.FlipRotate">Frames kippen oder drehen</s:String> <s:String x:Key="S.Command.Caption">Bildunterschrift hinzufgen</s:String> <s:String x:Key="S.Command.FreeText">Frei schwebenden Text hinzufgen</s:String> <s:String x:Key="S.Command.TitleFrame">Frame mit Titel hinzufgen</s:String> <s:String x:Key="S.Command.KeyStrokes">Tastenanschlge whrend der Aufnahme hinzufgen</s:String> <s:String x:Key="S.Command.FreeDrawing">Freie Zeichnungen erstellen</s:String> <s:String x:Key="S.Command.Shapes">Formen hinzufgen</s:String> <s:String x:Key="S.Command.MouseEvents">Mausklicks</s:String> <s:String x:Key="S.Command.Watermark">Grafik auswhlen und als Wasserzeichen hinzufgen</s:String> <s:String x:Key="S.Command.Border">Rahmen hinzufgen</s:String> <s:String x:Key="S.Command.Shadow">Schatten hinzufgen</s:String> <s:String x:Key="S.Command.Obfuscate">Sensible Bildbereiche unkenntlich machen</s:String> <s:String x:Key="S.Command.Cinemagraph">Ausgewhlte Bereiche in Animation als Bewegung festhalten</s:String> <s:String x:Key="S.Command.Progress">Fortschrittsbalken oder Text mit Wiedergabedetails</s:String> <s:String x:Key="S.Command.SelectAll">Alle Frames auswhlen</s:String> <s:String x:Key="S.Command.GoTo">Zu Frame durch Index-Eingabe navigieren</s:String> <s:String x:Key="S.Command.InverseSelection">Frame-Auswahl umkehren</s:String> <s:String x:Key="S.Command.Unselect">Alle Frames abwhlen</s:String> <s:String x:Key="S.Command.Fade">berblendung</s:String> <s:String x:Key="S.Command.Slide">Schwenken</s:String> <s:String x:Key="S.Command.ClearAll">Alle beendeten Umwandlungen entfernen</s:String> <s:String x:Key="S.Command.MoveUp">Nach oben bewegen</s:String> <s:String x:Key="S.Command.MoveDown">Nach unten bewegen</s:String> <s:String x:Key="S.Command.Add">Hinzufgen</s:String> <s:String x:Key="S.Command.Open">ffnen</s:String> <s:String x:Key="S.Command.Edit">Ausgewhltes Element bearbeiten</s:String> <s:String x:Key="S.Command.Save">Ausgewhltes Element speichern</s:String> <s:String x:Key="S.Command.Remove">Ausgewhltes Element entfernen</s:String> <s:String x:Key="S.Command.ViewHistory">Verlauf anzeigen</s:String> <!--StartUp--> <s:String x:Key="S.StartUp.Title">ScreenToGif Start</s:String> <s:String x:Key="S.StartUp.Recorder">Rekorder</s:String> <s:String x:Key="S.StartUp.Recorder.Tooltip">Startet die Bildschirmaufnahme, mit dem Sie Ihren Bildschirm aufnehmen knnen.</s:String> <s:String x:Key="S.StartUp.Webcam">Webcam</s:String> <s:String x:Key="S.StartUp.Webcam.Tooltip">Startet die Webcam-Aufnahme, um Videos Ihrer Webcam aufzeichnen zu knnen.</s:String> <s:String x:Key="S.StartUp.Board">Handzeichnung</s:String> <s:String x:Key="S.StartUp.Board.Tooltip">Startet die Aufzeichnung, um Ihre Handzeichnungen aufnehmen zu knnen.</s:String> <s:String x:Key="S.StartUp.Editor">Editor</s:String> <s:String x:Key="S.StartUp.Editor.Tooltip">ffnet den Editor, mit dem Sie Ihre Aufnahmen bearbeiten knnen.</s:String> <s:String x:Key="S.StartUp.Options">Einstellungen</s:String> <s:String x:Key="S.StartUp.NewRelease">Neue Version verfgbar</s:String> <s:String x:Key="S.StartUp.NewRelease.Tooltip">Ldt die neueste Version von ScreenToGif herunter.</s:String> <!--Updater--> <s:String x:Key="S.Updater.Title">ScreenToGif Aktualisierungen</s:String> <s:String x:Key="S.Updater.Header">Ein neue Version ist verfgbar!</s:String> <s:String x:Key="S.Updater.NewRelease">Neue Version!</s:String> <s:String x:Key="S.Updater.NewRelease.Info">Neue Version {0} kann heruntergeladen werden! Fr weitere Details bitte hier klicken.</s:String> <s:String x:Key="S.Updater.NoNewRelease.Info">Es scheint, dass Ihr System nicht mehr untersttzt wird oder dass sich etwas am Aktualisierungssystem gendert hat. Versuchen Sie, die Aktualisierung manuell von der Website herunterzuladen.</s:String> <s:String x:Key="S.Updater.Version">Version</s:String> <s:String x:Key="S.Updater.Portable">Portabel</s:String> <s:String x:Key="S.Updater.Installer">Installation</s:String> <s:String x:Key="S.Updater.Info.WhatsNew">Was ist neu?</s:String> <s:String x:Key="S.Updater.Info.BugFixes">Fehlerbehebungen:</s:String> <s:String x:Key="S.Updater.Info.NewVersionAvailable">Eine neue Version steht fr Sie zum Herunterladen bereit.&#x0d;Mchten Sie jetzt Ihren Browser ffnen, um sie herunterzuladen?</s:String> <s:String x:Key="S.Updater.RunAfter">Die Anwendung nach der Aktualisierung ausfhren.</s:String> <s:String x:Key="S.Updater.Download">Herunterladen</s:String> <s:String x:Key="S.Updater.Install">Installieren</s:String> <s:String x:Key="S.Updater.InstallManually">Manuell installieren</s:String> <s:String x:Key="S.Updater.Downloading">Wird heruntergeladen </s:String> <s:String x:Key="S.Updater.Warning.Show">Das Anzeigen der Downloaddetails ist fehlgeschlagen.</s:String> <s:String x:Key="S.Updater.Warning.Download">Das Herunterladen der Aktualisierung ist fehlgeschlagen.</s:String> <s:String x:Key="S.Updater.Warning.Encoding">Sie mssen warten, bis alle Umwandlungen abgeschlossen sind, bevor Sie die Aktualisierung durchfhren.</s:String> <!--Downloader--> <s:String x:Key="S.Downloader.Title">ScreenToGif Downloader</s:String> <s:String x:Key="S.Downloader.Header">Downloader</s:String> <s:String x:Key="S.Downloader.Size">{0} von {1}</s:String> <!--Options--> <s:String x:Key="S.Options.Title">ScreenToGif Einstellungen</s:String> <s:String x:Key="S.Options.App">Allgemein</s:String> <s:String x:Key="S.Options.Recorder">Rekorder</s:String> <s:String x:Key="S.Options.Editor">Editor</s:String> <s:String x:Key="S.Options.Tasks">Automatisierte Aufgaben</s:String> <s:String x:Key="S.Options.Shortcuts">Tastenkrzel</s:String> <s:String x:Key="S.Options.Language">Sprache</s:String> <s:String x:Key="S.Options.Storage">Temporre Dateien</s:String> <s:String x:Key="S.Options.Extras">Extras</s:String> <s:String x:Key="S.Options.Upload">Cloud-Speicher</s:String> <s:String x:Key="S.Options.Donate">Spenden</s:String> <s:String x:Key="S.Options.About">ber</s:String> <s:String x:Key="S.Options.Other">Sonstiges</s:String> <s:String x:Key="S.Options.Warning.Follow.Header">Fehlendes Tastenkrzel fr das Verfolgen des Mauszeigers</s:String> <s:String x:Key="S.Options.Warning.Follow.Message">Um die Option Mauszeiger-Verfolgung zu nutzen, mssen Sie zuerst ein Tastenkrzel bestimmen, dass Sie zum Umschalten verwenden knnen.</s:String> <!--Options Application--> <s:String x:Key="S.Options.App.Startup">Starten der Anwendung</s:String> <s:String x:Key="S.Options.App.Startup.Mode.Manual">Manuell&#10;starten</s:String> <s:String x:Key="S.Options.App.Startup.Mode.Manual.Info">Die Anwendung wird nur dann ausgefhrt, wenn Sie diese manuell starten.</s:String> <s:String x:Key="S.Options.App.Startup.Mode.Automatic">Zusammen mit&#10;Windows starten</s:String> <s:String x:Key="S.Options.App.Startup.Mode.Automatic.Info">Die Anwendung wird nach dem Start von Windows ausgefhrt.</s:String> <s:String x:Key="S.Options.App.Startup.Mode.Warning">Der Wechsel zwischen den Startmodi ist fehlgeschlagen.</s:String> <s:String x:Key="S.Options.App.Startup.Instance.Single">Nur eine einzelne&#10;Instanz zulassen</s:String> <s:String x:Key="S.Options.App.Startup.Instance.Single.Info">Sie knnen die Anwendung einmal pro Benutzer und ausfhrbarer&#10;Datei ausfhren, was bedeutet, dass verschiedene Benutzer- oder&#10;ausfhrbare Instanzen gleichzeitig genutzt werden knnen. Beim&#10;Versuch, die Anwendung erneut auszufhren, versucht die zweite&#10;Instanz, den Fokus an die erste Instanz zu bergeben und sich&#10;selbst zu beenden.</s:String> <s:String x:Key="S.Options.App.Startup.Instance.Multiple">Mehrere&#10;Instanzen&#10;zulassen</s:String> <s:String x:Key="S.Options.App.Startup.Instance.Multiple.Info">Sie knnen die Anwendung ohne Einschrnkung mehrmals gleichzeitig ausfhren.</s:String> <s:String x:Key="S.Options.App.Startup.Tray">Programm minimiert starten</s:String> <s:String x:Key="S.Options.App.Startup.Tray.Info">(Programmsymbol bleibt sichtbar, solange diese Option aktiv ist)</s:String> <s:String x:Key="S.Options.App.Startup.Window">Starten mit:</s:String> <s:String x:Key="S.Options.App.Startup.Window.Startup">Auswahlfenster</s:String> <s:String x:Key="S.Options.App.Startup.Window.Recorder">Bildschirm aufnehmen</s:String> <s:String x:Key="S.Options.App.Startup.Window.Webcam">Webcam-Aufnahme</s:String> <s:String x:Key="S.Options.App.Startup.Window.Board">Handzeichnung aufnehmen</s:String> <s:String x:Key="S.Options.App.Startup.Window.Editor">Editor</s:String> <s:String x:Key="S.Options.App.Startup.Window.Info">(Bestimmt, wie das Programm startet.&#10;Wenn minimiert, wird das Programmsymbol im Infobereich sichtbar)</s:String> <s:String x:Key="S.Options.App.Theme">Programmlayout</s:String> <s:String x:Key="S.Options.App.Theme.Scheme">Farbschema:</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.VeryLight">Sehr hell</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.Light">Hell</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.Medium">Mittel</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.Dark">Dunkel</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.VeryDark">Sehr dunkel</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.FollowSystem">Vom System bernehmen</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.Custom">Benutzerdefiniert</s:String> <s:String x:Key="S.Options.App.Theme.Scheme.Example">Beispielfarben</s:String> <s:String x:Key="S.Options.App.Tray">Programmsymbol</s:String> <s:String x:Key="S.Options.App.Tray.Show">Programmsymbol im Infobereich der Taskleiste anzeigen</s:String> <s:String x:Key="S.Options.App.Tray.LeaveOpen">Anwendung geffnet halten, auch wenn alle anderen Fenster geschlossen sind</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Nothing">Nichts tun</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Open">Fenster ffnen</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Open.None">Kein Fenster</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Toggle">Alle Fenster minimieren/wiederherstellen</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Minimize">Alle Fenster minimieren</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Restore">Alle Fenster wiederherstellen</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Left">Linksklick:</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.DoubleLeft">Doppelklick:</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Middle">Mittelklick:</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Window">Fenster:</s:String> <s:String x:Key="S.Options.App.Tray.Interactions.Else">ansonsten:</s:String> <s:String x:Key="S.Options.App.General">Allgemein</s:String> <s:String x:Key="S.Options.App.General.WorkaroundQuota">Behelfslsung fr den Absturz von Nicht gengend Speicherplatz </s:String> <s:String x:Key="S.Options.App.General.WorkaroundQuota.Info">(Experimentell)</s:String> <s:String x:Key="S.Options.App.General.NotifyWhileClosingApp">Warnung vor dem Schlieen des Programms ber die Option Beenden ausgeben</s:String> <s:String x:Key="S.Options.App.General.DisableHardwareAcceleration">Hardware-Beschleunigung ausschalten</s:String> <s:String x:Key="S.Options.App.General.DisableHardwareAcceleration.Info">(Die Benutzeroberflche wird im Software-Modus dargestellt)</s:String> <s:String x:Key="S.Options.App.General.CheckForTranslationUpdates">Nach aktualisierter bersetzung suchen</s:String> <s:String x:Key="S.Options.App.General.CheckForTranslationUpdates.Info">(Aktualisierte bersetzung wird automatisch heruntergeladen und installiert)</s:String> <s:String x:Key="S.Options.App.General.CheckForUpdates">Nach Programmupdates suchen</s:String> <s:String x:Key="S.Options.App.General.UpdateOnClose">Aktualisierungen nach dem Schlieen der Anwendung automatisch installieren</s:String> <s:String x:Key="S.Options.App.General.PortableUpdate">Das Herunterladen der portablen Version erzwingen</s:String> <s:String x:Key="S.Options.App.General.PortableUpdate.Info">(Erfordert eine manuelle Installation durch&#10;Entpacken und Ersetzen der ausfhrbaren Datei)</s:String> <s:String x:Key="S.Options.App.General.ForceUpdateAsAdmin">Erzwingen, dass die Aktualisierung mit erhhten Privilegien ausgefhrt wird</s:String> <s:String x:Key="S.Options.App.General.PromptToInstall">Benachrichtigen, bevor die Installation beginnt</s:String> <!--Options Recorder--> <s:String x:Key="S.Options.Recorder.Interface">Benutzeroberflche</s:String> <s:String x:Key="S.Options.Recorder.Interface.Old">Alt</s:String> <s:String x:Key="S.Options.Recorder.Interface.New">Neu</s:String> <s:String x:Key="S.Options.Recorder.Frequency">Hufigkeit der Erfassung</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Manual">Manuell</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Manual.Info">Jedes Einzelbild wird von Ihnen manuell erfasst, indem Sie die Aufnahmetaste oder ein entsprechendes Tastenkrzel drcken.</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Interaction">Benutzerinteraktion</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Interaction.Info">Einzelbilder (Frames) werden jedes Mal erfasst, wenn Sie etwas anklicken oder eingeben.</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Second">pro Sekunde</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Second.Info">Die Einzelbilder (Frames) werden auf der Grundlage&#10;pro Sekunde erfasst, wobei der Nennwert der auf&#10;dem Rekorderbildschirm eingestellten Einzelbildrate&#10;angegeben wird.</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Minute">pro Minute</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Minute.Info">Die Einzelbilder (Frames) werden auf der Grundlage pro Minute&#10;(Zeitraffer) erfasst, wobei der auf dem Rekorderbildschirm&#10;eingestellte Nennwert der Bildwiederholrate zugrunde gelegt wird.</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Hour">pro Stunde</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Hour.Info">Die Einzelbilder (Frames) werden auf der Grundlage pro Stunde&#10;(Zeitraffer) erfasst, wobei der auf dem Rekorderbildschirm&#10;eingestellte Nennwert der Bildwiederholrate zugrunde gelegt wird.</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Playback">Wiedergabeverzgerung:</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Playback.Info">([ms] Jeder erfasste Frame wird auf diese Verzgerung eingestellt)</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Trigger">Auslseverzgerung:</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Trigger.Info">([ms] Jeder Frame wird mit dieser Zeitspanne vor dem Start erfasst)</s:String> <s:String x:Key="S.Options.Recorder.Frequency.Interval">Jedes Einzelbild (Frame) wird in einem Intervall von {0} aufgenommen.</s:String> <s:String x:Key="S.Options.Recorder.Mode">Aufnahmemodus</s:String> <s:String x:Key="S.Options.Recorder.Bitblt.Info">Alten Aufnahmemodus verwenden, der zwar langsam ist und bei Videospielen&#10;nicht immer funktioniert, aber ohne Zusatzmodule (Plug-ins) auskommt.</s:String> <s:String x:Key="S.Options.Recorder.DirectX.Info">Desktop Duplication API verwenden, die schnell ist und Videospiele in Vollbild&#10;aufnimmt, aber SharpDx-Bibliotheken und Windows 8 oder hher voraussetzt.</s:String> <s:String x:Key="S.Options.Recorder.File">In Datei&#10;speichern</s:String> <s:String x:Key="S.Options.Recorder.File.Info">Jeder erfasste Frame wird direkt auf Festplatte gespeichert.</s:String> <s:String x:Key="S.Options.Recorder.Cache">Zwischen-&#10;speicher</s:String> <s:String x:Key="S.Options.Recorder.Cache.Info">Jeder erfasste Frame wird zuerst als Pixelreihe im Cache abgelegt (kann zuvor komprimiert werden).</s:String> <s:String x:Key="S.Options.Recorder.Compression">Komprimierung:</s:String> <s:String x:Key="S.Options.Recorder.Compression.Optimal">Optimal</s:String> <s:String x:Key="S.Options.Recorder.Compression.Optimal.Info">(Langsam, aber in guter Qualitt)</s:String> <s:String x:Key="S.Options.Recorder.Compression.Fastest">Schnell</s:String> <s:String x:Key="S.Options.Recorder.Compression.Fastest.Info">(Schnell, aber in schlechter Qualitt)</s:String> <s:String x:Key="S.Options.Recorder.Compression.NoCompression">Keine Komprimierung </s:String> <s:String x:Key="S.Options.Recorder.Compression.NoCompression.Info">(Keine Komprimierung whrend der Aufnahme vornehmen)</s:String> <s:String x:Key="S.Options.Recorder.CacheSize">Cache-Gre (in MB):</s:String> <s:String x:Key="S.Options.Recorder.CacheSize.Info">(Sobald diese Menge erreicht ist, werden alle Daten auf Festplatte geschrieben)</s:String> <s:String x:Key="S.Options.Recorder.PreventBlackFrames">Aufnahme von schwarzen Vollbildern verhindern</s:String> <s:String x:Key="S.Options.Recorder.PreventBlackFrames.Info">(Verhindert, dass BitBlt mit einem Speichercache flschlicherweise zu Einzelbildern (Frames) fhrt, bei denen alle Pixel schwarz sind)</s:String> <s:String x:Key="S.Options.Recorder.RecordMouse">Mauszeiger mit aufnehmen</s:String> <s:String x:Key="S.Options.Recorder.SelectCursorColor">Mauszeigerfarbe auswhlen</s:String> <s:String x:Key="S.Options.Recorder.FixedFramerate">Feste Bildwiederholrate</s:String> <s:String x:Key="S.Options.Recorder.FixedFramerate.Info">(Konstante Verzgerung, die sich auch nicht mit der Aufzeichnungsverzgerung ndert)</s:String> <s:String x:Key="S.Options.Recorder.CaptureChanges">Nur aufzeichnen, wenn sich etwas ndert</s:String> <s:String x:Key="S.Options.Recorder.CaptureChanges.Info">(Ein Einzelbild wird nur dann aufgenommen, wenn sich innerhalb des Aufnahmebereichs etwas verndert hat)</s:String> <s:String x:Key="S.Options.Recorder.RemoteImprovement">Verbessert die Erfassungsleistung bei einer Remote-Desktop-Verbindung</s:String> <s:String x:Key="S.Options.Recorder.RemoteImprovement.Info">(Deaktiviert die mehrschichtige Fenstererfassung)</s:String> <s:String x:Key="S.Options.Recorder.ForceGarbageCollection">Speicherbereinigung whrend der Aufnahme erzwingen</s:String> <s:String x:Key="S.Options.Recorder.ForceGarbageCollection.Info">(Reduziert die Speichernutzung whrend der Aufnahme, verringert aber die Leistung)</s:String> <s:String x:Key="S.Options.Recorder.Guidelines">Hinweise</s:String> <s:String x:Key="S.Options.Recorder.Guidelines.RuleOfThirds">Drittelregel</s:String> <s:String x:Key="S.Options.Recorder.Guidelines.RuleOfThirds.Info">Anklicken, um die Anzeige der Drittelregel-Richtlinie umzuschalten.</s:String> <s:String x:Key="S.Options.Recorder.Guidelines.Crosshair">Fadenkreuz</s:String> <s:String x:Key="S.Options.Recorder.Guidelines.Crosshair.Info">Anklicken, um die Anzeige der Fadenkreuz-Richtlinien umzuschalten.</s:String> <s:String x:Key="S.Options.Recorder.Guidelines.Info">Die Richtlinien werden nur angezeigt, wenn der Rekorder angehalten oder gestoppt wird.</s:String> <s:String x:Key="S.Options.Recorder.HideTitleBar">Titelleiste ausblenden (dnner Modus)</s:String> <s:String x:Key="S.Options.Recorder.Magnifier">Bildschirmlupe aktivieren</s:String> <s:String x:Key="S.Options.Recorder.Magnifier.Info">(Aktiviert Bildschirmlupe whrend der Auswahl des Aufnahmebereichs)</s:String> <s:String x:Key="S.Options.Recorder.AnimateBorder">Rand des Bildschirmausschnitts whrend der Auswahl animieren</s:String> <s:String x:Key="S.Options.Recorder.AnimateBorder.Info">(Animieren im Stil der marschierenden Ameisen)</s:String> <s:String x:Key="S.Options.Recorder.SelectionPanning">Verschieben der Auswahl ermglichen</s:String> <s:String x:Key="S.Options.Recorder.SelectionPanning.Info">(Zeigt ein Griffelement in der Nhe der Ecke der Auswahl an,&#10;das ein Verschieben des Aufnahmebereichs ermglicht)</s:String> <s:String x:Key="S.Options.Recorder.Compact">Kompaktmodus</s:String> <s:String x:Key="S.Options.Recorder.Compact.Info">(Zeigt eine kleinere Version des Rekorder-Befehlsfelds)</s:String> <s:String x:Key="S.Options.Recorder.DisplayDiscard">Schaltflche Verwerfen auch whrend der Aufnahme anzeigen</s:String> <s:String x:Key="S.Options.Recorder.DisplayDiscard.Info">(Normalerweise ist sie nur whrend einer Pause sichtbar)</s:String> <s:String x:Key="S.Options.Recorder.SelectionImprovement">Leistung der Bildschirmauswahl verbessern</s:String> <s:String x:Key="S.Options.Recorder.SelectionImprovement.Info">(Reduziert die Verzgerung bei der Bildschirmauswahl, indem eine statische Ansicht des Bildschirms angezeigt wird)</s:String> <s:String x:Key="S.Options.Recorder.RememberSize">Gre des zuletzt verwendeten Aufnahmebereichs speichern</s:String> <s:String x:Key="S.Options.Recorder.RememberPosition">Position des zuletzt verwendeten Aufnahmebereichs speichern</s:String> <s:String x:Key="S.Options.Recorder.PreStart">Countdown verwenden</s:String> <s:String x:Key="S.Options.Recorder.PreStart.Info">(Wartezeit (in Sek.) bevor die Aufnahme gestartet wird)</s:String> <s:String x:Key="S.Options.Recorder.CursorFollowing">Mauszeigerverfolgung aktivieren</s:String> <s:String x:Key="S.Options.Recorder.CursorFollowing.Info">(Der Aufnahmebereich wird aufgrund der Position des Mauszeigers neu ausgerichtet)</s:String> <s:String x:Key="S.Options.Recorder.FollowMargin.Info">(Sicherheitsabstand (in Pixel) bei Bewegungen des Aufnahmebereichs)</s:String> <s:String x:Key="S.Options.Recorder.FollowMarginInvisible.Info">(Zustzlicher Sicherheitsabstand (in Pixel), falls die Aufnahme-Benutzeroberflche unsichtbar wird)</s:String> <s:String x:Key="S.Options.Recorder.NotifyRecordingDiscard">Nachfragen, bevor die Aufnahme verworfen wird</s:String> <!--Options Editor--> <s:String x:Key="S.Options.Editor.Previewer">Editor-Hintergrund</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize">Rastermustergre:</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.VerySmall">Sehr klein</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Small">Klein</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Medium">Mittel</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Large">Gro</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.VeryLarge">Sehr gro</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.ILikeBigSquares">Ich liebe groe Quadrate</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.ImBlind">Ich bin blind</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Custom">Benutzerdefiniert</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Height">Hhe:</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Width">Breite:</s:String> <s:String x:Key="S.Options.Editor.Previewer.GridSize.Apply">bernehmen</s:String> <s:String x:Key="S.Options.Editor.Previewer.BaseColor">Grundfarbe</s:String> <s:String x:Key="S.Options.Editor.Previewer.EvenColor">1. Farbe</s:String> <s:String x:Key="S.Options.Editor.Previewer.OddColor">2. Farbe</s:String> <s:String x:Key="S.Options.Editor.Interface.DisplayEncoder">Umwandlungen in einem separaten Fenster anzeigen</s:String> <s:String x:Key="S.Options.Editor.Interface.ExtendChrome">Titelleiste erweitern</s:String> <s:String x:Key="S.Options.Editor.Interface.AutomaticallySizeOnContent">Programm-Fenstergre an Framegre automatisch anpassen</s:String> <s:String x:Key="S.Options.Editor.Interface.AutomaticallyFitImage">Framegre an Programm-Fenstergre automatisch anpassen</s:String> <s:String x:Key="S.Options.Editor.General.NotifyFrameDeletion">Warnung vor dem Lschen von Frames ausgeben</s:String> <s:String x:Key="S.Options.Editor.General.NotifyProjectDiscard">Warnung vor dem Verwerfen eines Projekts ausgeben</s:String> <s:String x:Key="S.Options.Editor.General.NotifyWhileClosingEditor">Warnung vor dem Schlieen des Editors ausgeben (falls Projekt nicht gespeichert)</s:String> <s:String x:Key="S.Options.Editor.General.TripleClickSelection">Dreifach-Klick zur Textauswahl aktivieren</s:String> <s:String x:Key="S.Options.Editor.General.DrawOutlineOutside">Textkontur nur nach auen vergrern</s:String> <s:String x:Key="S.Options.Editor.General.DropFramesDuringPreviewIfBehind">Einzelbilder verwerfen (falls erforderlich)</s:String> <s:String x:Key="S.Options.Editor.General.DropFramesDuringPreviewIfBehind.Info">(Frame berspringen, wenn die Vorschau ihn nicht rechtzeitig anzeigen kann)</s:String> <s:String x:Key="S.Options.Editor.General.DropFramesDuringPreviewIfBehind.Tooltip">Frame berspringen, wenn die Vorschau ihn nicht rechtzeitig anzeigen kann.</s:String> <s:String x:Key="S.Options.Editor.General.LimitHistory">Begrenzt den Verlauf der Widerrufen-/Wiederherstellungsschritte</s:String> <s:String x:Key="S.Options.Editor.General.LimitHistory.Info">(ltere Aktionen werden entfernt, wenn das Limit erreicht ist)</s:String> <s:String x:Key="S.Options.Editor.General.LimitHistory.Maximum">(Maximale Anzahl der gespeicherten Aktionen)</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.Folder">Ausgabeordner entsprechend den Voreinstellungen synchronisieren</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.Folder.Info">(Voreinstellungen verwenden den gleichen Ausgabepfad)</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.Filename">Dateinamen ebenfalls synchronisieren</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.Filename.Info">(Voreinstellungen verwenden ebenfalls denselben Dateinamen)</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.SameType">Nur zwischen den Voreinstellungen desselben Dateityps synchronisieren</s:String> <s:String x:Key="S.Options.Editor.General.SyncPath.SameType.Info">(Nur Voreinstellungen desselben Dateityps werden synchronisiert)</s:String> <!--Options Tasks--> <s:String x:Key="S.Options.Tasks.Title">Automatisierte Aufgaben</s:String> <s:String x:Key="S.Options.Tasks.List">Liste automatisierter Aufgaben</s:String> <s:String x:Key="S.Options.Tasks.List.Task">Aufgabe</s:String> <s:String x:Key="S.Options.Tasks.List.Details">Details</s:String> <s:String x:Key="S.Options.Tasks.List.Enabled">Aktiviert</s:String> <s:String x:Key="S.Options.Tasks.Enable">Diese Aufgabe aktivieren</s:String> <s:String x:Key="S.Options.Tasks.SelectType">Aufgabe auswhlen</s:String> <s:String x:Key="S.Options.Tasks.SelectType.Info">Eine vorgenannte Aufgabe auswhlen</s:String> <s:String x:Key="S.Options.Tasks.Info">Aufgaben werden nacheinander von oben nach unten ausgefhrt.&#10;Sie werden beim ffnen des Editors gestartet.</s:String> <!--Options Shortcuts--> <s:String x:Key="S.Options.Shortcuts.Global">Allgemein</s:String> <s:String x:Key="S.Options.Shortcuts.Global.ScreenRecorder">Bildschirmaufnahme:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.ScreenRecorder.Info">(Startet die Bildschirmaufnahme)</s:String> <s:String x:Key="S.Options.Shortcuts.Global.WebcamRecorder">Webcam-Aufnahme:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.WebcamRecorder.Info">(Startet die Webcam-Aufnahme)</s:String> <s:String x:Key="S.Options.Shortcuts.Global.BoardRecorder">Handzeichnung aufnehmen:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.BoardRecorder.Info">(Startet die Aufzeichnung, mit dem Sie Ihre Handzeichnungen aufnehmen knnen)</s:String> <s:String x:Key="S.Options.Shortcuts.Global.OpenEditor">Editor:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.OpenEditor.Info">(ffnet ein neues Editorfenster)</s:String> <s:String x:Key="S.Options.Shortcuts.Global.OpenOptions">Einstellungen:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.OpenOptions.Info">(ffnet die Einstellungen. Nur eine Instanz mglich)</s:String> <s:String x:Key="S.Options.Shortcuts.Global.Exit">Beenden:</s:String> <s:String x:Key="S.Options.Shortcuts.Global.Exit.Info">(Schliet alle Fenster und entfernt das Programmsymbol aus dem Infobereich der Taskleiste)</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders">Rekorder</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.StartPause">Start/Pause:</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.StartPause.Info">(Startet oder pausiert die Aufnahme. Wird verwendet, um Momentaufnahmen zu erstellen, wenn der Schnappschussmodus aktiviert ist)</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Stop">Stopp:</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Stop.Info">(Stoppt die Aufnahme und ffnet den Editor)</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Discard">Verwerfen:</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Discard.Info">(Lscht die aktuelle Aufnahme, wenn sie unterbrochen wurde)</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Follow">Mauszeiger-Verfolgung:</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.Follow.Info">(Schaltet das Nachziehen des Aufnahmebereichs gem der Mauszeiger-Position ein oder aus)</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.DisableFollow">Mauszeiger-Verfolgung deaktivieren:</s:String> <s:String x:Key="S.Options.Shortcuts.Recorders.DisableFollow.Info">(Schaltet vorlufig das Nachziehen des Aufnahmebereichs ab, nur Zusatztasten sind hier erlaubt: Strg-, Umschalt-, Alt-, Windows-Taste)</s:String> <s:String x:Key="S.Options.Shortcuts.Info">Bettigen Sie eine Taste, damit Tastatureingabe im Fokus steht.&#x0a;Anschlieend drcken Sie gewnschte Tastenkombination.&#x0a;Einige Tastenkombinationen sind nicht zulssig.</s:String> <!--Options Language--> <s:String x:Key="S.Options.Language.AppLanguage">Sprache</s:String> <s:String x:Key="S.Options.Language.AppLanguage.AutoDetect">Automatische Erkennung</s:String> <s:String x:Key="S.Options.Language.AppLanguage.AutoDetect.Author">Sprachdatei des Betriebssystems (falls verfgbar)</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence1.1">Mchten Sie mein Programm bersetzen?</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence1.2">&#10;Lesen Sie bitte die bersetzungsrichtlinien durch und laden den Translator herunter.</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence2.1">Anschlieend</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence2.2">hier klicken</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence2.3">, um Ihre bersetzung zu testen.</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence3.1">Fertige bersetzung bitte an</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence3.2">nicke@outlook.com.br</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.Sentence3.3">senden.</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.ResourceLink.Tooltip">Hier klicken, um die Webseite mit Richtlinien zu ffnen.</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.ImportLink.Tooltip">ffnet die Importseite</s:String> <s:String x:Key="S.Options.Language.AppLanguage.Translate.EmailLink.Tooltip">Startet Ihr E-Mail-Programm</s:String> <!--Options Storage--> <s:String x:Key="S.Options.Storage.Status">Status</s:String> <s:String x:Key="S.Options.Storage.Status.Volume">Datentrger:</s:String> <s:String x:Key="S.Options.Storage.Status.FreeSpace">{0} von {1} frei</s:String> <s:String x:Key="S.Options.Storage.Status.Check">Erneut prfen, wie viel Platz noch vorhanden ist.</s:String> <s:String x:Key="S.Options.Storage.Status.Clear">Cache-Ordner leeren.&#10;Sie knnen dabei entscheiden, ob Sie aktuelle Projekte behalten mchten oder nicht.</s:String> <s:String x:Key="S.Options.Storage.Status.LowSpace">Nicht gengend Speicherplatz auf dem gewhlten Laufwerk vorhanden. Bitte Speicherplatz freigeben oder anderes Laufwerk verwenden.</s:String> <s:String x:Key="S.Options.Storage.Status.Error">Abrufen der Laufwerksdetails fehlgeschlagen</s:String> <s:String x:Key="S.Options.Storage.Status.Files.None">Keine Dateien</s:String> <s:String x:Key="S.Options.Storage.Status.Files.Singular">{0:##,##0} Datei</s:String> <s:String x:Key="S.Options.Storage.Status.Files.Plural">{0:##,##0} Dateien</s:String> <s:String x:Key="S.Options.Storage.Status.Folders.None">Keine Ordner</s:String> <s:String x:Key="S.Options.Storage.Status.Folders.Singular">{0:##,##0} Ordner</s:String> <s:String x:Key="S.Options.Storage.Status.Folders.Plural">{0:##,##0} Ordner</s:String> <s:String x:Key="S.Options.Storage.Status.InUse">{0} werden verwendet</s:String> <s:String x:Key="S.Options.Storage.Paths">Pfad</s:String> <s:String x:Key="S.Options.Storage.Paths.Cache">Zwischenspeicher:</s:String> <s:String x:Key="S.Options.Storage.Paths.Cache.Choose">Ordner fr temporre Dateien auswhlen</s:String> <s:String x:Key="S.Options.Storage.Paths.Logs">Protokolle:</s:String> <s:String x:Key="S.Options.Storage.Paths.Logs.Choose">Speicherort fr Fehlerprotokolldateien auswhlen</s:String> <s:String x:Key="S.Options.Storage.Paths.Browse">Ausgewhlten Ordner durchsuchen</s:String> <s:String x:Key="S.Options.Storage.Settings">Speicherort fr Einstellungen</s:String> <s:String x:Key="S.Options.Storage.AppDataPath">Anwendungsdatenordner:</s:String> <s:String x:Key="S.Options.Storage.LocalPath">Lokaler Programmordner:</s:String> <s:String x:Key="S.Options.Storage.NotExists">Nicht vorhanden</s:String> <s:String x:Key="S.Options.Storage.CreateSettings">Neue Konfigurationsdatei erstellen</s:String> <s:String x:Key="S.Options.Storage.RemoveSettings">Konfigurationsdatei lschen</s:String> <s:String x:Key="S.Options.Storage.OpenSettingsFolder">Ordner ffnen, in dem Einstellungen gespeichert sind.&#x0a;Halten Sie die Strg-Taste whrend des Klicks gedrckt, falls mglich.</s:String> <s:String x:Key="S.Options.Storage.SettingsInfo"> Reihenfolge fr das Laden der Programmeinstellungen: Standard AppData Lokal&#x0d;&#x0a; Gibt es keine Konfigurationsdatei im lokalen Programmordner, so wird im Ordner AppData gesucht.&#x0d;&#x0a; Standard wird verwendet, falls keine Dateien mit Programmeinstellungen vorhanden sind.&#x0d;&#x0a; Gibt es keine lokalen Einstellungen, so werden alle Einstellungen im Ordner AppData gespeichert.</s:String> <s:String x:Key="S.Options.Storage.DeleteEverything">Alle Dateien aus dem Zwischenspeicher lschen, sobald die Anwendung geschlossen wird</s:String> <s:String x:Key="S.Options.Storage.AskDeleteEverything">Nachfragen, bevor alle Dateien aus dem Zwischenspeicher gelscht werden</s:String> <s:String x:Key="S.Options.Storage.AutomaticRemoval">Alte Projekte automatisch entfernen</s:String> <s:String x:Key="S.Options.Storage.AutomaticRemoval.Info">Beim ffnen des Editors werden alle Projekte gelscht, die lter sind als der festgelegte Zeitraum.</s:String> <s:String x:Key="S.Options.Storage.AutomaticRemovalDays.Info">(in Tagen. Jedes Projekt lter als diese Angabe wird beim ffnen des Editors gelscht)</s:String> <!--Options Storage > Clear cache--> <s:String x:Key="S.Options.Storage.Cache.Title">ScreenToGif Zwischenspeicher leeren</s:String> <s:String x:Key="S.Options.Storage.Cache.Header">Mchten Sie den Cache-Ordner leeren?</s:String> <s:String x:Key="S.Options.Storage.Cache.Info">Wenn Sie eine Aufnahme erstellen oder etwas zur Bearbeitung ffnen, wird ein Projekt erstellt und im Cache-Ordner gespeichert.</s:String> <s:String x:Key="S.Options.Storage.Cache.Question">Mchten Sie diese Projekte aus dem Cache-Ordner entfernen?</s:String> <s:String x:Key="S.Options.Storage.Cache.IgnoreRecent">Neueste Projekte nicht entfernen</s:String> <s:String x:Key="S.Options.Storage.Cache.IgnoreRecent.Yes">(Nur Projekte, die lter als {0} Tage sind und derzeit nicht genutzt werden, werden entfernt)</s:String> <s:String x:Key="S.Options.Storage.Cache.IgnoreRecent.No">(Alle Projekte, die derzeit nicht genutzt werden, werden entfernt)</s:String> <!--Options Upload--> <s:String x:Key="S.Options.Upload.Proxy">Proxy</s:String> <s:String x:Key="S.Options.Upload.Proxy.Mode">Modus:</s:String> <s:String x:Key="S.Options.Upload.Proxy.Mode.Disabled">Deaktiviert</s:String> <s:String x:Key="S.Options.Upload.Proxy.Mode.Manual">Manuell</s:String> <s:String x:Key="S.Options.Upload.Proxy.Mode.System">System</s:String> <s:String x:Key="S.Options.Upload.Proxy.Mode.System.Info">(Verwendet System-Proxy)</s:String> <s:String x:Key="S.Options.Upload.Proxy.Host">Host:</s:String> <s:String x:Key="S.Options.Upload.Proxy.Port">Port:</s:String> <s:String x:Key="S.Options.Upload.Proxy.User">Benutzername:</s:String> <s:String x:Key="S.Options.Upload.Proxy.Password">Passwort:</s:String> <s:String x:Key="S.Options.Upload.Presets">Voreinstellungen hochladen</s:String> <s:String x:Key="S.Options.Upload.Presets.Service">Dienst</s:String> <s:String x:Key="S.Options.Upload.Presets.Title">Titel</s:String> <s:String x:Key="S.Options.Upload.Presets.Description">Beschreibung</s:String> <s:String x:Key="S.Options.Upload.Presets.Enabled">Aktiviert</s:String> <!--Options Upload > Preset--> <s:String x:Key="S.Options.Upload.Preset.Title">Upload-Dienst</s:String> <s:String x:Key="S.Options.Upload.Preset.Select">Einen Dienst auswhlen</s:String> <s:String x:Key="S.Options.Upload.Preset.Select.Info">Whlen Sie oben einen Upload-Dienst aus.</s:String> <s:String x:Key="S.Options.Upload.Preset.Custom">Benutzerdefiniert</s:String> <s:String x:Key="S.Options.Upload.Preset.Enable">Diese Voreinstellung aktivieren.</s:String> <s:String x:Key="S.Options.Upload.Preset.Details">Details</s:String> <s:String x:Key="S.Options.Upload.Preset.Name">Name:</s:String> <s:String x:Key="S.Options.Upload.Preset.Description">Beschreibung:</s:String> <s:String x:Key="S.Options.Upload.Preset.Mode">Modus:</s:String> <s:String x:Key="S.Options.Upload.Preset.Mode.Anonymous">Anonym</s:String> <s:String x:Key="S.Options.Upload.Preset.Mode.Authenticated">Besttigt</s:String> <s:String x:Key="S.Options.Upload.Preset.Authorization">Autorisierung</s:String> <s:String x:Key="S.Options.Upload.Preset.GetToken">Token abrufen</s:String> <s:String x:Key="S.Options.Upload.Preset.Token">OAuth-Token hier einfgen</s:String> <s:String x:Key="S.Options.Upload.Preset.Username">Benutzername:</s:String> <s:String x:Key="S.Options.Upload.Preset.Password">Passwort:</s:String> <s:String x:Key="S.Options.Upload.Preset.Authorize">Besttigen</s:String> <s:String x:Key="S.Options.Upload.Preset.NotStored">Benutzername und Passwort werden nicht gespeichert.</s:String> <s:String x:Key="S.Options.Upload.Preset.Options">Optionen</s:String> <s:String x:Key="S.Options.Upload.Preset.Direct">Direkte Links verwenden</s:String> <s:String x:Key="S.Options.Upload.Preset.Album">Album</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.Title">Sie mssen dieser Voreinstellung einen eindeutigen Namen geben.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.Repeated">Dieser Name wird bereits von einer anderen Upload-Voreinstellung verwendet.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.Authenticate">Im Authentifizierungsmodus mssen Sie den Authentifizierungsvorgang abschlieen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.Credentials">Sie mssen Ihren Benutzernamen und Ihr Passwort angeben, um diese App zu autorisieren.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.GetToken">Das Abrufen des Autorisierungstokens ist fehlgeschlagen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.Token">Um diese App zu autorisieren, mssen Sie das Autorisierungstoken bereitstellen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.AuthError">Autorisierung fehlgeschlagen. Prfen Sie alle Einstellungen und versuchen Sie es in ein paar Sekunden erneut.</s:String> <s:String x:Key="S.Options.Upload.Preset.Warning.AlbumLoad">Laden der Albenliste fehlgeschlagen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Info.Authorized">Autorisierung abgeschlossen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Info.NotAuthorized">Nicht autorisiert</s:String> <s:String x:Key="S.Options.Upload.Preset.Info.Expired">Zugriffsberechtigung endet in {0}.</s:String> <s:String x:Key="S.Options.Upload.Preset.Info.Valid">Zugriffsberechtigung gltig bis {0}.</s:String> <s:String x:Key="S.Options.Upload.Preset.Imgur.Gifv">Links mit der GIFV-Erweiterung anstelle von GIF abrufen</s:String> <s:String x:Key="S.Options.Upload.Preset.Imgur.ToAlbum">GIF-Dateien in ausgewhltes Album hochladen</s:String> <s:String x:Key="S.Options.Upload.Preset.Imgur.Album">Album:</s:String> <s:String x:Key="S.Options.Upload.Preset.Imgur.AskMe">Vor dem Hochladen fragen</s:String> <s:String x:Key="S.Options.Upload.Preset.Imgur.Reload">Albenliste neu laden.</s:String> <s:String x:Key="S.Options.Upload.Preset.Gfycat.Defaults">Standardeinstellungen</s:String> <s:String x:Key="S.Options.Upload.Preset.Gfycat.AskMe">Nachfragen, die Details des Uploads auszufllen.</s:String> <s:String x:Key="S.Options.Upload.Preset.Gfycat.UrlType">URL-Typ:</s:String> <!--Options Upload > Album--> <s:String x:Key="S.Options.Upload.Pick.Album">Album whlen (optional)</s:String> <s:String x:Key="S.Options.Upload.Pick.Album.Info">Wenn gewnscht, knnen Sie das Zielalbum auswhlen:</s:String> <!--Options Upload > Details--> <s:String x:Key="S.Options.Upload.Pick.Details">Details hochladen (optional)</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Info">Details hochladen</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Title">Titel:</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Description">Beschreibung:</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Tags">Schlagwrter:</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Tags.Info">Schlagwrter durch Semikolon ( ; ) trennen</s:String> <s:String x:Key="S.Options.Upload.Pick.Details.Private">Nur bei Zugriff ber direkte Verbindung anzeigen</s:String> <!--Options Upload > History--> <s:String x:Key="S.Options.Upload.History.Title">Verlauf der hochgeladenen Daten</s:String> <s:String x:Key="S.Options.Upload.History.Date">Datum</s:String> <s:String x:Key="S.Options.Upload.History.Preset">Voreinstellung</s:String> <s:String x:Key="S.Options.Upload.History.Successful">Erfolgreich?</s:String> <s:String x:Key="S.Options.Upload.History.Remove">Eintrag im Verlauf lschen.</s:String> <s:String x:Key="S.Options.Upload.History.Detail.Link">Link:</s:String> <s:String x:Key="S.Options.Upload.History.Detail.LowerQuality">Geringe Qualitt:</s:String> <s:String x:Key="S.Options.Upload.History.Detail.DeleteLink">Link lschen:</s:String> <s:String x:Key="S.Options.Upload.History.Delete.Instruction">Mchten Sie den Eintrag im Verlauf wirklich lschen?</s:String> <s:String x:Key="S.Options.Upload.History.Delete.Message">Diese Aktion kann nicht widerrufen werden.&#10;&#10;Mchten Sie den ausgewhlten Eintrag im Verlauf wirklich lschen?</s:String> <!--Options Extras--> <s:String x:Key="S.Options.Extras.External">Externe Anwendungen</s:String> <s:String x:Key="S.Options.Extras.Download">Hier klicken, um herunterzuladen&#x0a;{0}</s:String> <s:String x:Key="S.Options.Extras.Downloading">Wird heruntergeladen </s:String> <s:String x:Key="S.Options.Extras.Ready">Heruntergeladen&#x0a;{0}</s:String> <s:String x:Key="S.Options.Extras.Ready.Info">Hier klicken, um die Datei-Eigenschaften zu ffnen.</s:String> <s:String x:Key="S.Options.Extras.DownloadRestriction">ber den Microsoft Store vertriebene Applikationen knnen keine anderen Programme herunterladen. Sie mssen sie manuell herunterladen.</s:String> <s:String x:Key="S.Options.Extras.FfmpegLocation">Speicherort fr FFmpeg</s:String> <s:String x:Key="S.Options.Extras.FfmpegLocation.Select">FFmpeg-Programmpfad ffnen</s:String> <s:String x:Key="S.Options.Extras.FfmpegLocation.File">FFmpeg ausfhrbar</s:String> <s:String x:Key="S.Options.Extras.FfmpegLocation.Invalid">Programmpfad beinhaltet mindestens ein ungltiges Zeichen. Bitte whlen Sie korrekte Adresse aus.</s:String> <s:String x:Key="S.Options.Extras.GifskiLocation">Speicherort fr Gifski</s:String> <s:String x:Key="S.Options.Extras.GifskiLocation.Select">Gifski-Programmpfad ffnen</s:String> <s:String x:Key="S.Options.Extras.GifskiLocation.File">Gifski-Bibliothek</s:String> <s:String x:Key="S.Options.Extras.GifskiLocation.Invalid">Programmpfad beinhaltet mindestens ein ungltiges Zeichen. Bitte whlen Sie korrekte Adresse aus.</s:String> <s:String x:Key="S.Options.Extras.Permission.Header">Ordner ist schreibgeschtzt</s:String> <s:String x:Key="S.Options.Extras.Permission.Observation">Es ist nicht mglich, die heruntergeladenen Daten in dem Ordner zu speichern, da keine Schreibrechte vorhanden sind.&#10;&#10;Mchten Sie das Herunterladen mit Administratorrechten starten, um den Download zu beenden?</s:String> <!--Options Donations--> <s:String x:Key="S.Options.Donate.Donate">Spenden</s:String> <s:String x:Key="S.Options.Donate.Donate.Dollar">In US-$ spenden</s:String> <s:String x:Key="S.Options.Donate.Donate.Euro">In spenden</s:String> <s:String x:Key="S.Options.Donate.Paypal.Dollar">ffnet PayPal-Webseite. Gewhlte Whrung: US-Dollar</s:String> <s:String x:Key="S.Options.Donate.Paypal.Euro">ffnet PayPal-Webseite. Gewhlte Whrung: Euro</s:String> <s:String x:Key="S.Options.Donate.Paypal.OwnCurrency">ffnet PayPal-Webseite. Sie mssen eine Whrung auswhlen.</s:String> <s:String x:Key="S.Options.Donate.Subscribe">Abonnieren</s:String> <s:String x:Key="S.Options.Donate.Subscribe.Patreon">Monatlich via Patreon spenden</s:String> <s:String x:Key="S.Options.Donate.Gift">Spiele als Geschenk</s:String> <s:String x:Key="S.Options.Donate.Gift.Steam">Spiele als Geschenk via Steam</s:String> <s:String x:Key="S.Options.Donate.Gift.Gog">Spiele als Geschenk via GOG</s:String> <s:String x:Key="S.Options.Donate.Kofi">Einen Kaffee via Ko-fi ausgeben</s:String> <s:String x:Key="S.Options.Donate.Crypto">Kryptowhrung</s:String> <s:String x:Key="S.Options.Donate.Crypto.BitcoinCash">Bitcoin-Cash-Adresse kopieren</s:String> <s:String x:Key="S.Options.Donate.Support">Untersttzung</s:String> <s:String x:Key="S.Options.Donate.Support.Visit">Wenn Sie mir danken wollen :D</s:String> <!--Options About--> <s:String x:Key="S.Options.About.Version">Version:</s:String> <s:String x:Key="S.Options.About.UpdateCheck">Auf Aktualisierungen prfen</s:String> <s:String x:Key="S.Options.About.UpdateCheck.Nothing">Sie verwenden bereits die neueste Version.</s:String> <s:String x:Key="S.Options.About.Author">Autor: Nicke Manarin</s:String> <s:String x:Key="S.Options.About.StoreVersion">Microsoft Store Version. Einige Einstellungen sind aufgrund auferlegter Manahmen deaktiviert.</s:String> <s:String x:Key="S.Options.About.Contact">Kontakt</s:String> <s:String x:Key="S.Options.About.Contact.Discord">Treten Sie Discord bei!</s:String> <s:String x:Key="S.Options.About.Contact.Facebook">Besuchen Sie unsere Facebook-Seite!</s:String> <s:String x:Key="S.Options.About.Contact.Gitter">Machen Sie bei Gitter mit!</s:String> <s:String x:Key="S.Options.About.Technical">Allgemein</s:String> <s:String x:Key="S.Options.About.Technical.Free">(Dieses Programm ist freie Software)</s:String> <s:String x:Key="S.Options.About.Technical.SourceCode">Quellcode:</s:String> <s:String x:Key="S.Options.About.Technical.Privacy">Datenschutzbestimmungen:</s:String> <s:String x:Key="S.Options.About.ABigThanksTo">Ein groes Dankeschn an</s:String> <s:String x:Key="S.Options.About.ABigThanksTo.Everyone">All diejenigen, die mich und meine Arbeit mit Rckmeldungen und Spenden untersttzen.</s:String> <!--Localization--> <s:String x:Key="S.Localization">bersetzungen</s:String> <s:String x:Key="S.Localization.GettingCodes">Sprachcodes abrufen </s:String> <s:String x:Key="S.Localization.Recognized">Erkannt als {0}</s:String> <s:String x:Key="S.Localization.NotRecognized">Nicht erkannt</s:String> <s:String x:Key="S.Localization.Usage.First">Letzte Datei in der Liste wird gerade verwendet.</s:String> <s:String x:Key="S.Localization.Usage.Second">Um Ihre eigene bersetzung zu nutzen, platzieren Sie sie am Ende der Liste.</s:String> <s:String x:Key="S.Localization.Exporting">Ressource exportieren </s:String> <s:String x:Key="S.Localization.SaveResource">Wrterbuch speichern</s:String> <s:String x:Key="S.Localization.OpenResource">Ein Wrterbuch ffnen</s:String> <s:String x:Key="S.Localization.File.Resource">Wrterbuch</s:String> <s:String x:Key="S.Localization.Importing">Ressource importieren </s:String> <s:String x:Key="S.Localization.Warning.Name">Der Dateiname folgt keinem gltigen Muster.</s:String> <s:String x:Key="S.Localization.Warning.Name.Info">Versuchen Sie, ihn wie folgt umzubenennen: StringResources.en.xaml, wobei en durch Ihren Sprachcode ersetzt werden sollte.</s:String> <s:String x:Key="S.Localization.Warning.Repeated">Sie knnen keine Ressource mit identischem Namen hinzufgen.</s:String> <s:String x:Key="S.Localization.Warning.Repeated.Info">Versuchen Sie, die wiederholte Ressource zu entfernen oder einen anderen Sprachcode zu verwenden.</s:String> <s:String x:Key="S.Localization.Warning.Redundant">Redundanter Sprachcode</s:String> <s:String x:Key="S.Localization.Warning.Redundant.Info">Der Code {0} ist berflssig. Versuchen Sie, stattdessen {1} zu verwenden.</s:String> <s:String x:Key="S.Localization.Warning.Unknown">Unbekannte Sprache</s:String> <s:String x:Key="S.Localization.Warning.Unknown.Info">Die {0} und ihre Familie wurden nicht als gltige Sprachcodes anerkannt.</s:String> <s:String x:Key="S.Localization.Warning.NotPossible">Importieren der Sprachressource fehlgeschlagen.</s:String> <!--Recorder--> <s:String x:Key="S.Recorder.Record">Aufnahme</s:String> <s:String x:Key="S.Recorder.Pause">Pause</s:String> <s:String x:Key="S.Recorder.Continue">Fortsetzen</s:String> <s:String x:Key="S.Recorder.Stop">Stopp</s:String> <s:String x:Key="S.Recorder.Discard">Verwerfen</s:String> <s:String x:Key="S.Recorder.Snap">Schnappschuss</s:String> <s:String x:Key="S.Recorder.Height">Hhe</s:String> <s:String x:Key="S.Recorder.Width">Breite</s:String> <s:String x:Key="S.Recorder.CursorFollowing">Das Verfolgen des Mauszeigers ist aktiviert.</s:String> <s:String x:Key="S.Recorder.SwitchFrequency">Anklicken, um zwischen den Aufnahmefrequenzmodi zu wechseln.</s:String> <s:String x:Key="S.Recorder.Manual.Short">manuell</s:String> <s:String x:Key="S.Recorder.Interaction.Short">Interaktionen</s:String> <s:String x:Key="S.Recorder.Fps">Maximale Anzahl Einzelbilder pro Sekunde</s:String> <s:String x:Key="S.Recorder.Fps.Short">B/s</s:String> <s:String x:Key="S.Recorder.Fps.Range">Bereich von 1 bis 60 Bilder/Sekunde, wobei hhere Werte bedeuten, dass mehr Einzelbilder erfasst werden.&#10;Jedes Segment entspricht einer Differenz von 16 Millisekunden.</s:String> <s:String x:Key="S.Recorder.Fpm">Maximale Anzahl Einzelbilder pro Minute</s:String> <s:String x:Key="S.Recorder.Fpm.Short">B/min</s:String> <s:String x:Key="S.Recorder.Fpm.Range">Bereich von 1 bis 60 Bilder/Minute, wobei hhere Werte bedeuten, dass mehr Einzelbilder erfasst werden.&#10;Jedes Segment entspricht einer Differenz von 1 Sekunde.</s:String> <s:String x:Key="S.Recorder.Fph">Maximale Anzahl Einzelbilder pro Stunde</s:String> <s:String x:Key="S.Recorder.Fph.Short">B/h</s:String> <s:String x:Key="S.Recorder.Fph.Range">Bereich von 1 bis 60 Bilder/Stunde, wobei hhere Werte bedeuten, dass mehr Einzelbilder erfasst werden.&#10;Jedes Segment entspricht einer Differenz von 1 Minute.</s:String> <s:String x:Key="S.Recorder.ClickOrPress">Klicken oder drcken Sie die Tasten zum Aufnehmen</s:String> <s:String x:Key="S.Recorder.SnapToWindow">Durch Ziehen und Loslassen ans Fenster andocken</s:String> <s:String x:Key="S.Recorder.PreStart">Aufnahme startet in:</s:String> <s:String x:Key="S.Recorder.Paused">ScreenToGif (Pause)</s:String> <s:String x:Key="S.Recorder.Stopping">Wird angehalten </s:String> <s:String x:Key="S.Recorder.PreStarting">Countdown </s:String> <s:String x:Key="S.Recorder.Timer.Elapsed">Verstrichene Aufnahmezeit</s:String> <s:String x:Key="S.Recorder.Timer.Total">Gesamtzahl der Einzelbilder:</s:String> <s:String x:Key="S.Recorder.Timer.Manual">Manuell aufgenommen:</s:String> <s:String x:Key="S.Recorder.Timer.Paused">Die Aufnahme wurde angehalten.</s:String> <s:String x:Key="S.Recorder.Timer.Imprecise">Ihr Computer untersttzt keinen genauen Aufnahmemodus,&#10;was bedeutet, dass die Zielbildrate mglicherweise nie erreicht werden kann.</s:String> <s:String x:Key="S.Recorder.Warning.CaptureNotPossible">Bildschirmaufnahme fehlgeschlagen</s:String> <s:String x:Key="S.Recorder.Warning.CaptureNotPossible.Info">Bildschirmaufnahme fehlgeschlagen. Aufnahmemethode lieferte nach fnf Versuchen keine Frames.</s:String> <s:String x:Key="S.Recorder.Warning.StartPauseNotPossible">Starten/Pausieren der Bildschirmaufnahme fehlgeschlagen</s:String> <s:String x:Key="S.Recorder.Warning.Windows8">Verwendung von Desktop Duplication API fr Bildschirmaufnahme setzt Windows 8 oder hher voraus.</s:String> <!--New recorder--> <s:String x:Key="S.Recorder.Area">Bereich</s:String> <s:String x:Key="S.Recorder.Area.Select">Bereich whlen</s:String> <s:String x:Key="S.Recorder.Window">Fenster</s:String> <s:String x:Key="S.Recorder.Window.Select">Fenster whlen</s:String> <s:String x:Key="S.Recorder.Screen">Bildschirm</s:String> <s:String x:Key="S.Recorder.Screen.Select">Bildschirm whlen</s:String> <s:String x:Key="S.Recorder.Screen.Name.Internal">Interner Bildschirm</s:String> <s:String x:Key="S.Recorder.Screen.Name.Generic">Allgemeiner Bildschirm</s:String> <s:String x:Key="S.Recorder.Screen.Name.Info1">Grafikkarte: {0}</s:String> <s:String x:Key="S.Recorder.Screen.Name.Info2">Auflsung: {0} x {1}</s:String> <s:String x:Key="S.Recorder.Screen.Name.Info3">Native Auflsung: {0} x {1}</s:String> <s:String x:Key="S.Recorder.Screen.Name.Info4">dpi: {0} ({1:0.##} %)</s:String> <s:String x:Key="S.Recorder.Move">Ziehen, um das Auswahlfenster&#10;zu verschieben.</s:String> <s:String x:Key="S.Recorder.Accept">bernehmen</s:String> <s:String x:Key="S.Recorder.Retry">Wiederholen</s:String> <s:String x:Key="S.Recorder.Retry.Shortcut">RechtsklickRight-Click</s:String> <s:String x:Key="S.Recorder.CancelSelection">Auswahl abbrechen (Esc-Taste)</s:String> <s:String x:Key="S.Recorder.SelectArea">Klicken und ziehen Sie auf diesem Bildschirm, um den Aufnahmebereich auszuwhlen</s:String> <s:String x:Key="S.Recorder.SelectArea.Embedded">Durch Klicken und Ziehen den Aufnahmebereich bestimmen</s:String> <s:String x:Key="S.Recorder.SelectWindow">Hier klicken, um dieses Fenster zu whlen</s:String> <s:String x:Key="S.Recorder.SelectScreen">Hier klicken, um diesen Bildschirm zu whlen</s:String> <s:String x:Key="S.Recorder.EscToCancel">Esc-Taste zum Abbrechen drcken</s:String> <s:String x:Key="S.Recorder.Splash.Title">{0} drcken, um die Aufzeichnung zu stoppen.</s:String> <s:String x:Key="S.Recorder.Splash.Subtitle">Das Rekorderfenster wird minimiert.&#10;Stellen Sie es wieder her oder drcken Sie {0}, um die Aufnahme anzuhalten.</s:String> <s:String x:Key="S.Recorder.Discard.Title">Aufnahme verwerfen</s:String> <s:String x:Key="S.Recorder.Discard.Instruction">Mchten Sie die Aufnahme wirklich verwerfen?</s:String> <s:String x:Key="S.Recorder.Discard.Message">Diese Aktion verwirft die Aufnahme und entfernt alle Einzelbilder (Frames).&#x0d;Dieser Vorgang kann nicht widerrufen werden.</s:String> <!--Webcam recorder--> <s:String x:Key="S.Webcam.Title">ScreenToGif Webcam-Aufzeichnung</s:String> <s:String x:Key="S.Webcam.NoVideo">Kein Videogert gefunden</s:String> <s:String x:Key="S.Webcam.CheckVideoDevices">Videogerte suchen</s:String> <s:String x:Key="S.Webcam.Scale">Skalierung: {0:0.##} x</s:String> <s:String x:Key="S.Webcam.ChangeScale">Videogre ndern</s:String> <!--Board recorder--> <s:String x:Key="S.Board.Title">ScreenToGif Handzeichnungs-Aufnahme</s:String> <s:String x:Key="S.Board.AutoRecord">Automatisch aufzeichnen</s:String> <s:String x:Key="S.Board.AutoRecordToolTip">Ermglicht Aufnahme whrend des Zeichnens</s:String> <s:String x:Key="S.Board.CtrlHold">Strg [Halten]</s:String> <!--Color selector--> <s:String x:Key="S.ColorSelector.Title">Farbpalette</s:String> <s:String x:Key="S.ColorSelector.Select">Farbwert bestimmen</s:String> <s:String x:Key="S.ColorSelector.Red">Rot:</s:String> <s:String x:Key="S.ColorSelector.Green">Grn:</s:String> <s:String x:Key="S.ColorSelector.Blue">Blau:</s:String> <s:String x:Key="S.ColorSelector.Alpha">Alpha:</s:String> <s:String x:Key="S.ColorSelector.Hexadecimal">Hex:</s:String> <s:String x:Key="S.ColorSelector.Initial">Anfangsfarbe</s:String> <s:String x:Key="S.ColorSelector.Current">Aktuelle Farbe</s:String> <s:String x:Key="S.ColorSelector.Latest">Letzte Farbe</s:String> <s:String x:Key="S.ColorSelector.Sample">Farbpipette</s:String> <s:String x:Key="S.ColorSelector.Sample.Info">Durch Klicken und Ziehen&#10;Farben auf dem Bildschirm auswhlen.</s:String> <!--Exception/Error viewers--> <s:String x:Key="S.ExceptionViewer.Title">Ausnahme-Anzeige</s:String> <s:String x:Key="S.ExceptionViewer.OpenInner">Innere Ausnahme ffnen</s:String> <s:String x:Key="S.ExceptionViewer.Type">Typ der Ausnahme</s:String> <s:String x:Key="S.ExceptionViewer.Message">Nachricht</s:String> <s:String x:Key="S.ExceptionViewer.Stack">Stapel</s:String> <s:String x:Key="S.ExceptionViewer.Source">Quelle</s:String> <s:String x:Key="S.ErrorDialog.Observation">Ein Fehler ist aufgetreten.</s:String> <s:String x:Key="S.ErrorDialog.Send">Fehlerbericht senden</s:String> <!--Presets--> <s:String x:Key="S.Preset.Title">Voreinstellung</s:String> <s:String x:Key="S.Preset.Encoder">Umwandeln</s:String> <s:String x:Key="S.Preset.Name">Name</s:String> <s:String x:Key="S.Preset.Description">Beschreibung</s:String> <s:String x:Key="S.Preset.Other">Sonstiges</s:String> <s:String x:Key="S.Preset.AutoSave">Automatisch speichern, sobald eine Option gendert wurde.</s:String> <s:String x:Key="S.Preset.Info.Manual">Alle nderungen an diesen Voreinstellungen (Umwandlungs- und Exporteinstellungen) mssen manuell durch Drcken der Schaltflche Speichern gespeichert werden.</s:String> <s:String x:Key="S.Preset.Info.Automatic">Alle nderungen an diesen Voreinstellungen (Umwandlungs- und Exporteinstellungen) werden automatisch gespeichert.</s:String> <s:String x:Key="S.Preset.Warning.Readonly">Einige der Eigenschaften der Standardvoreinstellung sind schreibgeschtzt.</s:String> <s:String x:Key="S.Preset.Warning.Name">Bitte Namen fr diese Voreinstellung eingeben.</s:String> <s:String x:Key="S.Preset.Warning.SameName">Eine Voreinstellung mit diesem Namen existiert bereits.</s:String> <!--Presets Listing--> <s:String x:Key="S.Preset.Autosave">Automatisch speichern</s:String> <s:String x:Key="S.Preset.Autosave.Info">nderungen dieser Voreinstellung werden automatisch gespeichert.</s:String> <s:String x:Key="S.Preset.Default.Title">Standard ({0})</s:String> <s:String x:Key="S.Preset.Default.Description">Standard fr die Umwandlung</s:String> <s:String x:Key="S.Preset.Twitter.Title">Fr Twitter ({0})</s:String> <s:String x:Key="S.Preset.Twitter.Description">Respektiert die Twitter-Upload-Grenzen (auer Gre und Auflsung).</s:String> <s:String x:Key="S.Preset.Hevc.Title">HEVC ({0})</s:String> <s:String x:Key="S.Preset.Hevc.Description">Hocheffiziente Video-Kompression</s:String> <s:String x:Key="S.Preset.Vp8.Title">VP8 ({0})</s:String> <s:String x:Key="S.Preset.Vp8.Description">lterer und weit verbreiteter Codec</s:String> <s:String x:Key="S.Preset.Filename.Animation">Animation</s:String> <s:String x:Key="S.Preset.Filename.Video">Video</s:String> <s:String x:Key="S.Preset.Filename.Image">Grafik</s:String> <s:String x:Key="S.Preset.Filename.Project">Projekt</s:String> <s:String x:Key="S.Preset.Gif.Embedded.High.Title">Hohe Qualitt</s:String> <s:String x:Key="S.Preset.Gif.Embedded.High.Description">Besser geeignet fr Aufnahmen mit mehr Farben und Farbverlufen.</s:String> <s:String x:Key="S.Preset.Gif.Embedded.Transparent.Title">Hohe Qualitt Transparenter Hintergrund</s:String> <s:String x:Key="S.Preset.Gif.Embedded.Transparent.Description">Untersttzt das Speichern der Animation mit einem transparenten Hintergrund.</s:String> <s:String x:Key="S.Preset.Gif.Embedded.Graphics.Title">Hohe Qualitt Grafiken</s:String> <s:String x:Key="S.Preset.Gif.Embedded.Graphics.Description">Besser fr Aufnahmen mit weniger Farben.</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.Balanced.Title">KGy SOFT Ausgewogen</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.Balanced.Description">Gute Qualitt fr fotorealistische Grafiken mit dem Quantisierer ohne Dithering (von Wu).</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.High.Title">KGy SOFT Hohe Qualitt</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.High.Description">Hohe Qualitt fr fotorealistische Grafiken unter Verwendung des Quantisierers von Wu mit hherem Bitniveau und Floyd-Steinberg-Fehlerdiffusionsdithering.</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.Fast.Title">KGy SOFT Geringe Qualitt, schneller</s:String> <s:String x:Key="S.Preset.Gif.KGySoft.Fast.Description">Quantisierung aller Bilder mit derselben vordefinierten websicheren Farbpalette und geordnetes Bayer-8x8-Dithering.</s:String> <s:String x:Key="S.Preset.Gif.Ffmpeg.High.Title">FFmpeg Hhere Qualitt</s:String> <s:String x:Key="S.Preset.Gif.Ffmpeg.High.Description">Hhere Bildqualitt, aber auch grerer Dateigre.</s:String> <s:String x:Key="S.Preset.Gif.Ffmpeg.Low.Title">FFmpeg Geringere Qualitt</s:String> <s:String x:Key="S.Preset.Gif.Ffmpeg.Low.Description">Geringere Bildqualitt, aber mit kleinerer Dateigre.</s:String> <s:String x:Key="S.Preset.Gif.Gifski.High.Title">Gifski Hhere Qualitt</s:String> <s:String x:Key="S.Preset.Gif.Gifski.High.Description">Hhere Bildqualitt, aber auch grerer Dateigre.</s:String> <s:String x:Key="S.Preset.Gif.Gifski.Low.Title">Gifski Geringere Qualitt</s:String> <s:String x:Key="S.Preset.Gif.Gifski.Low.Description">Geringere Bildqualitt, aber mit kleinerer Dateigre.</s:String> <s:String x:Key="S.Preset.Gif.Gifski.Fast.Title">Gifski Geringere Qualitt und schnellere Erstellung</s:String> <s:String x:Key="S.Preset.Gif.Gifski.Fast.Description">Noch geringere Bildqualitt, mit einer schnelleren Umwandlung, aber mit einer kleineren Dateigre.</s:String> <s:String x:Key="S.Preset.Gif.System.Low.Title">System Geringe Qualitt</s:String> <s:String x:Key="S.Preset.Gif.System.Low.Description">Geringe Qualitt, aber schnellere Umwandlung.</s:String> <s:String x:Key="S.Preset.Apng.Ffmpeg.High.Title">FFmpeg Hohe Qualitt</s:String> <s:String x:Key="S.Preset.Apng.Ffmpeg.High.Description">Hohe Bildqualitt und kleine Dateigre, aber langsamere Umwandlung.</s:String> <s:String x:Key="S.Preset.Apng.Ffmpeg.Low.Title">FFmpeg Geringere Qualitt</s:String> <s:String x:Key="S.Preset.Apng.Ffmpeg.Low.Description">Geringere Bildqualitt, kleine Dateigre und schnellere Umwandlung.</s:String> <s:String x:Key="S.Preset.Webp.Ffmpeg.High.Title">Hohe Qualitt</s:String> <s:String x:Key="S.Preset.Webp.Ffmpeg.High.Description">Hohe Bildqualitt und geringe Dateigre.</s:String> <!--Insert frames--> <s:String x:Key="S.InsertFrames.Title">Frames hinzufgen</s:String> <s:String x:Key="S.InsertFrames.Info">Beide Seiten mssen gleiche Hhe/Breite haben. Dieses Fenster erlaubt es Ihnen, den Arbeitsbereich und die Grafik neu zu positionieren und dessen Gre ndern. Klicken Sie zum Auswhlen und ndern der Gre.</s:String> <s:String x:Key="S.InsertFrames.CanvasSize">Arbeitsbereichgre:</s:String> <s:String x:Key="S.InsertFrames.FitCanvas">Grafik in den&#10;Arbeitsbereich einpassen</s:String> <s:String x:Key="S.InsertFrames.FitCanvas.Info">ndert die Gre des Arbeitsbereichs so, dass beide Bilder hineinpassen (von der linken oberen Ecke aus).</s:String> <s:String x:Key="S.InsertFrames.DifferentSizes">Unterschiedliche Framegren. Passen Sie Framegren an, bevor Sie Bildsequenzen hinzufgen.</s:String> <s:String x:Key="S.InsertFrames.InsertedFrames">Neue Frames</s:String> <s:String x:Key="S.InsertFrames.CurrentFrames">Aktuelle Frames</s:String> <s:String x:Key="S.InsertFrames.ImageSize">Abmessungen:</s:String> <s:String x:Key="S.InsertFrames.ImagePosition">Bildposition:</s:String> <s:String x:Key="S.InsertFrames.ResetImageSizePosition">Bildgre und &#10;-position zurcksetzen</s:String> <s:String x:Key="S.InsertFrames.Info2">Neue Frames zu aktueller Bildsequenz&#10;bei folgender Position hinzufgen:</s:String> <s:String x:Key="S.InsertFrames.Before">Vor</s:String> <s:String x:Key="S.InsertFrames.After">Nach</s:String> <s:String x:Key="S.InsertFrames.Frame">Frame</s:String> <s:String x:Key="S.InsertFrames.Importing">Wird importiert </s:String> <s:String x:Key="S.InsertFrames.SelectColorFill">Arbeitsbereich-Fllfarbe auswhlen</s:String> <!--Import frames from video--> <s:String x:Key="S.ImportVideo.Title">Bildsequenz aus Video importieren</s:String> <s:String x:Key="S.ImportVideo.Importer">Import mit:</s:String> <s:String x:Key="S.ImportVideo.Loading">Wird geffnet </s:String> <s:String x:Key="S.ImportVideo.Scale">Skalierung:</s:String> <s:String x:Key="S.ImportVideo.Size">Abmessungen:</s:String> <s:String x:Key="S.ImportVideo.Height">Hhe:</s:String> <s:String x:Key="S.ImportVideo.Width">Breite:</s:String> <s:String x:Key="S.ImportVideo.Framerate">Bildwiederholrate:</s:String> <s:String x:Key="S.ImportVideo.Fps">B/s</s:String> <s:String x:Key="S.ImportVideo.Start">Anfang:</s:String> <s:String x:Key="S.ImportVideo.End">Ende:</s:String> <s:String x:Key="S.ImportVideo.Selection">Auswahl:</s:String> <s:String x:Key="S.ImportVideo.Frames">Frames:</s:String> <s:String x:Key="S.ImportVideo.Duration">Dauer:</s:String> <s:String x:Key="S.ImportVideo.Error">Beim Import der Video-Datei ist ein Fehler aufgetreten.</s:String> <s:String x:Key="S.ImportVideo.Error.Detail">Vorschau fehlgeschlagen. Versuchen Sie andere Multimedia-Anwendung oder schauen Sie nach, ob die Datei nicht beschdigt ist.&#x0d;Falls Sie MediaPlayer verwenden, schauen Sie nach, ob er aktiviert wurde und bentigte Codecs installiert sind.</s:String> <s:String x:Key="S.ImportVideo.Timeout">Zeitberschreitung beim Abrufen der Frame-Vorschau.</s:String> <s:String x:Key="S.ImportVideo.Nothing">Keine Frames ausgewhlt.</s:String> <!--Encoder--> <s:String x:Key="S.Encoder.Title">Umwandeln</s:String> <s:String x:Key="S.Encoder.Encoding">Wird umgewandelt </s:String> <s:String x:Key="S.Encoder.Starting">Wird gestartet</s:String> <s:String x:Key="S.Encoder.Completed">Beendet</s:String> <s:String x:Key="S.Encoder.Completed.Clipboard">In die Zwischenablage kopiert</s:String> <s:String x:Key="S.Encoder.Completed.Clipboard.Fail">Kopieren fehlgeschlagen</s:String> <s:String x:Key="S.Encoder.Completed.Command">Befehl ausgefhrt</s:String> <s:String x:Key="S.Encoder.Completed.Command.Output">Befehlsausgabe(n) anzeigen.</s:String> <s:String x:Key="S.Encoder.Completed.Command.Fail">Befehlsausfhrung fehlgeschlagen</s:String> <s:String x:Key="S.Encoder.Completed.Upload.Fail">Hochladen fehlgeschlagen</s:String> <s:String x:Key="S.Encoder.Completed.Upload.Delete">Strg + Klick, um die Seite zu ffnen und die Grafik zu lschen (falls verfgbar).</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed">Verstrichene Zeit (in Minuten):</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed.Analysis">Auswertung:</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed.Encoding">Umwandlung:</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed.Upload">Hochladen:</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed.Copy">Kopieren:</s:String> <s:String x:Key="S.Encoder.Completed.Elapsed.Commands">Befehle:</s:String> <s:String x:Key="S.Encoder.DeletedMoved">Datei gelscht oder verschoben</s:String> <s:String x:Key="S.Encoder.Canceled">Abgebrochen</s:String> <s:String x:Key="S.Encoder.Error">Fehler</s:String> <s:String x:Key="S.Encoder.Error.Info">Hier klicken, um Fehlerbeschreibung anzuzeigen.</s:String> <s:String x:Key="S.Encoder.Uploading">Wird hochgeladen</s:String> <s:String x:Key="S.Encoder.Executing">Befehle werden ausgefhrt</s:String> <s:String x:Key="S.Encoder.Processing">Frame {0} wird bearbeitet</s:String> <s:String x:Key="S.Encoder.Analyzing.Second">Der zweite Durchgang wird vorbereitet</s:String> <s:String x:Key="S.Encoder.Processing.Second">Wird verarbeitet {0} - 2. Durchlauf</s:String> <s:String x:Key="S.Encoder.CreatingFile">Datei wird erstellt</s:String> <s:String x:Key="S.Encoder.Analyzing">Unvernderte Pixel werden analysiert</s:String> <s:String x:Key="S.Encoder.SavingAnalysis">Analyseergebnis wird gespeichert</s:String> <s:String x:Key="S.Encoder.OpenFile">Datei ffnen</s:String> <s:String x:Key="S.Encoder.ExploreFolder">Ordner durchsuchen</s:String> <s:String x:Key="S.Encoder.Remove">Aus Liste entfernen</s:String> <s:String x:Key="S.Encoder.Details">Details anzeigen</s:String> <s:String x:Key="S.Encoder.Dismiss">Alle abgeschlossenen Umwandlungen verwerfen</s:String> <s:String x:Key="S.Encoder.Copy.Image">Als Grafik kopieren</s:String> <s:String x:Key="S.Encoder.Copy.Filename">Dateinamen kopieren</s:String> <s:String x:Key="S.Encoder.Copy.Folder">Ordnerpfad kopieren</s:String> <s:String x:Key="S.Encoder.Copy.Link">Link kopieren</s:String> <!--Command output--> <s:String x:Key="S.Encoder.Command.Title">ScreenToGif Befehlsausgabe</s:String> <s:String x:Key="S.Encoder.Command.Header">Befehlsausgabe</s:String> <!--Notifications--> <s:String x:Key="S.Notifications">Benachrichtigungen</s:String> <s:String x:Key="S.Notifications.Dismiss">Alle Benachrichtigungen verwerfen</s:String> <!--Editor--> <s:String x:Key="S.Editor.Title">ScreenToGif Editor</s:String> <s:String x:Key="S.Editor.File">Datei</s:String> <s:String x:Key="S.Editor.Home">Start</s:String> <s:String x:Key="S.Editor.Playback">Wiedergabe</s:String> <s:String x:Key="S.Editor.Edit">Bearbeiten</s:String> <s:String x:Key="S.Editor.Image">Bild</s:String> <s:String x:Key="S.Editor.Transitions">bergnge</s:String> <s:String x:Key="S.Editor.Statistics">Eigenschaften</s:String> <s:String x:Key="S.Editor.Options">Einstellungen</s:String> <s:String x:Key="S.Editor.Help">Hilfe</s:String> <s:String x:Key="S.Editor.Extras">Extras</s:String> <s:String x:Key="S.Editor.UpdateAvailable">Ein neues Update ist verfgbar!</s:String> <s:String x:Key="S.Editor.UpdateAvailable.Info">Hier klicken, um mehr darber zu erfahren.</s:String> <s:String x:Key="S.Editor.FrameNumbersInfo">Gesamt, Auswahl, Aktueller Frame</s:String> <!--Editor Loading--> <s:String x:Key="S.Editor.Preparing">Frames werden vorbereitet</s:String> <s:String x:Key="S.Editor.InvalidLoadingFiles">ffnen fehlgeschlagen - Mehrere Dateien knnen nicht gleichzeitig importiert werden. Whlen Sie nur eine Datei aus.</s:String> <s:String x:Key="S.Editor.InvalidLoadingProjects">ffnen fehlgeschlagen - Mehrere Projektdateien knnen nicht gleichzeitig geffnet werden. Whlen Sie nur eine Projektdatei aus.</s:String> <!--Editor File dialogs (does not work with new line characters)--> <s:String x:Key="S.Editor.File.OpenMedia">Mediendatei (Bild/Video) ffnen</s:String> <s:String x:Key="S.Editor.File.OpenMediaProject">Mediendatei (Bild/Video) oder Projektdatei ffnen</s:String> <s:String x:Key="S.Editor.File.All">Alle untersttzten Dateien</s:String> <s:String x:Key="S.Editor.File.Image">Grafik</s:String> <s:String x:Key="S.Editor.File.Video">Video</s:String> <s:String x:Key="S.Editor.File.Apng">Animierte PNG-Datei</s:String> <s:String x:Key="S.Editor.File.Gif">GIF-Animation</s:String> <s:String x:Key="S.Editor.File.Webp">WebP-Animation</s:String> <s:String x:Key="S.Editor.File.Avi">AVI-Video</s:String> <s:String x:Key="S.Editor.File.Mkv">Matroska-Video</s:String> <s:String x:Key="S.Editor.File.Mov">MOV-Video</s:String> <s:String x:Key="S.Editor.File.Mp4">MP4-Video</s:String> <s:String x:Key="S.Editor.File.Webm">WebM-Video</s:String> <s:String x:Key="S.Editor.File.Image.Bmp">BMP-Grafik</s:String> <s:String x:Key="S.Editor.File.Image.Jpeg">JPEG-Grafik</s:String> <s:String x:Key="S.Editor.File.Image.Png">PNG-Grafik (alle ausgewhlten Grafiken)</s:String> <s:String x:Key="S.Editor.File.Image.Zip">Zip-Datei (alle ausgewhlten Grafiken)</s:String> <s:String x:Key="S.Editor.File.Project">ScreenToGif-Projekt</s:String> <s:String x:Key="S.Editor.File.Project.Zip">ScreenToGif-Projekt als Zip-Archiv</s:String> <s:String x:Key="S.Editor.File.Psd">PSD-Datei (Photoshop)</s:String> <!--Editor Welcome--> <s:String x:Key="S.Editor.Welcome.New">ffnen Sie das Men Datei Neu, um neue Aufnahme zu starten</s:String> <s:String x:Key="S.Editor.Welcome.Import">Fgen Sie Grafiken, Videos oder Projekte durch Ziehen und Ablegen hinzu</s:String> <s:String x:Key="S.Editor.Welcome.ThankYou">Vielen Dank, dass Sie mein Programm verwenden!</s:String> <s:String x:Key="S.Editor.Welcome.Size">Je kleiner die Bildwiederholrate, die Anzahl der Farben und die Anzahl der nderungen zwischen den Frames, desto kleiner die Dateigre</s:String> <s:String x:Key="S.Editor.Welcome.Contact">Mchten Sie mit mir Kontakt aufnehmen? Gehen Sie zu Einstellungen ber fr weitere Infos</s:String> <s:String x:Key="S.Editor.Welcome.Trouble">Haben Sie Probleme? Kontaktieren Sie mich via Feedback-Option</s:String> <s:String x:Key="S.Editor.Welcome.NewRecorder">Mchten Sie den neuen Rekorder ausprobieren? Gehen Sie zu Einstellungen Rekorder, um ihn zu aktivieren.</s:String> <!--Editor File tab New--> <s:String x:Key="S.Editor.File.New.Recording">Bildschirm&#10;aufzeichnen</s:String> <s:String x:Key="S.Editor.File.New.Webcam">Webcam&#10;Aufnahme</s:String> <s:String x:Key="S.Editor.File.New.Board">Handzeichnung&#10;aufnehmen</s:String> <s:String x:Key="S.Editor.File.Blank">Neue&#10;Animation</s:String> <s:String x:Key="S.Editor.File.New">Neu</s:String> <!--Editor File tab Insert--> <s:String x:Key="S.Editor.File.Insert.Recording">Bildschirm&#10;Aufnahme</s:String> <s:String x:Key="S.Editor.File.Insert.Webcam">Webcam&#10;Aufnahme</s:String> <s:String x:Key="S.Editor.File.Insert.Board">Handzeichnung&#10;Aufnahme</s:String> <s:String x:Key="S.Editor.File.Insert.Media">Mediendatei</s:String> <s:String x:Key="S.Editor.File.Insert">Hinzufgen</s:String> <!--Editor File tab Save/Discard--> <s:String x:Key="S.Editor.File.Save">Speichern&#10;unter</s:String> <s:String x:Key="S.Editor.File.Load">ffnen</s:String> <s:String x:Key="S.Editor.File.LoadRecent">Projekte</s:String> <s:String x:Key="S.Editor.File.SaveProject">Projekt&#10;speichern</s:String> <s:String x:Key="S.Editor.File.Discard">Projekt&#10;verwerfen</s:String> <!--Editor Home tab Action Stack--> <s:String x:Key="S.Editor.Home.ActionStack">Aktionsliste</s:String> <s:String x:Key="S.Editor.Home.Undo">Widerrufen</s:String> <s:String x:Key="S.Editor.Home.Redo">Wiederherstellen</s:String> <s:String x:Key="S.Editor.Home.Reset">Auf Anfang zurcksetzen</s:String> <!--Editor Home tab Clipboard--> <s:String x:Key="S.Editor.Home.Clipboard">Zwischenablage</s:String> <s:String x:Key="S.Editor.Home.Clipboard.Show">Zwischenablage anzeigen</s:String> <s:String x:Key="S.Editor.Home.Paste">Einfgen</s:String> <s:String x:Key="S.Editor.Home.Cut">Ausschneiden</s:String> <s:String x:Key="S.Editor.Home.Copy">Kopieren</s:String> <!--Editor Home tab Zoom--> <s:String x:Key="S.Editor.Home.Zoom">Vergrern</s:String> <s:String x:Key="S.Editor.Home.SizeToContent">Fenstergre&#10;anpassen</s:String> <s:String x:Key="S.Editor.Home.FitImage">Grafik einpassen</s:String> <!--Editor Home tab Select--> <s:String x:Key="S.Editor.Home.Select">Auswhlen</s:String> <s:String x:Key="S.Editor.Home.SelectAll">Alle&#10;auswhlen</s:String> <s:String x:Key="S.Editor.Home.GoTo">Wechseln zu</s:String> <s:String x:Key="S.Editor.Home.Inverse">Auswahl umkehren</s:String> <s:String x:Key="S.Editor.Home.Deselect">Auswahl aufheben</s:String> <!--Editor Playback tab Playback--> <s:String x:Key="S.Editor.Playback.Playback">Wiedergabe</s:String> <s:String x:Key="S.Editor.Playback.First">Erster</s:String> <s:String x:Key="S.Editor.Playback.Previous">Vorheriger</s:String> <s:String x:Key="S.Editor.Playback.Play">Wiedergeben</s:String> <s:String x:Key="S.Editor.Playback.Pause">Pause</s:String> <s:String x:Key="S.Editor.Playback.Next">Nchster</s:String> <s:String x:Key="S.Editor.Playback.Last">Letzter</s:String> <!--Editor Playback tab Playback Options--> <s:String x:Key="S.Editor.PlaybackOptions.Header">Option</s:String> <s:String x:Key="S.Editor.PlaybackOptions.Loop">Endlosschleife</s:String> <s:String x:Key="S.Editor.PlaybackOptions.Loop.Info">Wird nur whrend der Wiedergabe verwendet.&#10;Falls Sie die Einstellungen fr Wiederholungen fr GIF- und APNG-Export ndern mchten,&#10;beachten Sie bitte die Option Speichern unter bei einigen Umwandlungen.</s:String> <!--Editor Edit tab Frames--> <s:String x:Key="S.Editor.Edit.Frames">Frames</s:String> <s:String x:Key="S.Editor.Edit.Delete">Frames&#10;entfernen</s:String> <s:String x:Key="S.Editor.Edit.Frames.Duplicates">Duplikate&#10;entfernen</s:String> <s:String x:Key="S.Editor.Edit.Frames.Reduce">Frame-Anzahl&#10;reduzieren</s:String> <s:String x:Key="S.Editor.Edit.Frames.SmoothLoop">Glatte&#x0d;Schleife</s:String> <s:String x:Key="S.Editor.Edit.DeletePrevious">Alle vorherigen&#10;entfernen</s:String> <s:String x:Key="S.Editor.Edit.DeleteNext">Alle folgenden&#10;entfernen</s:String> <!--Editor Edit tab Reordering--> <s:String x:Key="S.Editor.Edit.Reordering">Reihenfolge ndern</s:String> <s:String x:Key="S.Editor.Edit.Reverse">Reihenfolge&#10;umkehren</s:String> <s:String x:Key="S.Editor.Edit.Yoyo">Jo-Jo-Effekt</s:String> <s:String x:Key="S.Editor.Edit.MoveLeft">Nach links&#10;verschieben</s:String> <s:String x:Key="S.Editor.Edit.MoveRight">Nach rechts&#10;verschieben</s:String> <!--Editor Edit tab Delay/Duration--> <s:String x:Key="S.Editor.Edit.Delay">Verzgerung (Dauer)</s:String> <s:String x:Key="S.Editor.Edit.Delay.Override">berschreiben</s:String> <s:String x:Key="S.Editor.Edit.Delay.IncreaseDecrease">Erhhen oder&#10;verringern</s:String> <s:String x:Key="S.Editor.Edit.Delay.Scale">Prozentual&#10;skalieren</s:String> <!--Editor Image Size and Rotation--> <s:String x:Key="S.Editor.Image.SizePosition">Gre und Drehung</s:String> <s:String x:Key="S.Editor.Image.Resize">Bildgre ndern</s:String> <s:String x:Key="S.Editor.Image.Crop">Zuschneiden</s:String> <s:String x:Key="S.Editor.Image.FlipRotate">Spiegeln/Drehen</s:String> <!--Editor Image tab Text--> <s:String x:Key="S.Editor.Image.Text">Text</s:String> <s:String x:Key="S.Editor.Image.Caption">Bildunterschrift</s:String> <s:String x:Key="S.Editor.Image.FreeText">Freier Text</s:String> <s:String x:Key="S.Editor.Image.TitleFrame">Titelbild</s:String> <s:String x:Key="S.Editor.Image.KeyStrokes">Tastatureingabe</s:String> <!--Editor Image tab Overlay--> <s:String x:Key="S.Editor.Image.Overlay">berlagerung</s:String> <s:String x:Key="S.Editor.Image.FreeDrawing">Zeichnen</s:String> <s:String x:Key="S.Editor.Image.Shape">Formen</s:String> <s:String x:Key="S.Editor.Image.MouseEvents">Maus-&#x0d;Events</s:String> <s:String x:Key="S.Editor.Image.Watermark">Wasserzeichen</s:String> <s:String x:Key="S.Editor.Image.Cinemagraph">Cinemagramm</s:String> <s:String x:Key="S.Editor.Image.Border">Rahmen</s:String> <s:String x:Key="S.Editor.Image.Shadow">Schatten</s:String> <s:String x:Key="S.Editor.Image.Progress">Fortschritt</s:String> <s:String x:Key="S.Editor.Image.Obfuscate">Verschleiern</s:String> <!--Editor Transitions tab Styles--> <s:String x:Key="S.Editor.Transitions.Styles">bergnge</s:String> <s:String x:Key="S.Editor.Transitions.Fade">berblendung</s:String> <s:String x:Key="S.Editor.Transitions.Slide">Schwenken</s:String> <!--Editor Statistics tab--> <s:String x:Key="S.Editor.Statistics.General">Allgemein</s:String> <s:String x:Key="S.Editor.Statistics.FrameCount">Frame-Anzahl:</s:String> <s:String x:Key="S.Editor.Statistics.TotalDuration">Gesamtdauer:</s:String> <s:String x:Key="S.Editor.Statistics.FrameSize">Abmessungen:</s:String> <s:String x:Key="S.Editor.Statistics.AverageDuration">Durchschnittliche Frame-Dauer:</s:String> <s:String x:Key="S.Editor.Statistics.CurrentTime">Aktuelle Zeit:</s:String> <s:String x:Key="S.Editor.Statistics.CurrentTime.Info">Wird anhand des aktuell angezeigten Frames berechnet.</s:String> <s:String x:Key="S.Editor.Statistics.FrameDpi">Frame-dpi und Skalierung:</s:String> <s:String x:Key="S.Editor.Statistics.SelectedFrame">Aktueller Frame</s:String> <!--Editor Messages--> <s:String x:Key="S.Editor.Clipboard.InvalidCut.Title">Frames ausschneiden</s:String> <s:String x:Key="S.Editor.Clipboard.InvalidCut.Instruction">Sie knnen nicht alle Frames ausschneiden.</s:String> <s:String x:Key="S.Editor.Clipboard.InvalidCut.Message">Bildsequenz muss mindestens einen Frame beinhalten.</s:String> <s:String x:Key="S.Editor.DeleteAll.Title">Alle Frames entfernen</s:String> <s:String x:Key="S.Editor.DeleteAll.Instruction">Mchten Sie alle Frames wirklich entfernen?</s:String> <s:String x:Key="S.Editor.DeleteAll.Message">Sie sind dabei, alle Frames zu lschen.&#10;\rDiese Aktion kann nicht widerrufen werden.&#10;\rMchten Sie fortfahren?</s:String> <s:String x:Key="S.Editor.DiscardProject.Title">Projekt verwerfen</s:String> <s:String x:Key="S.Editor.DiscardProject.Instruction">Mchten Sie dieses Projekt wirklich verwerfen?</s:String> <s:String x:Key="S.Editor.DiscardProject.Message">Sie sind dabei, das Projekt zu verwerfen und alle Frames zu entfernen.&#10;\rDiese Aktion kann nicht widerrufen werden.&#10;\rMchten Sie fortfahren?</s:String> <s:String x:Key="S.Editor.DiscardPreviousProject.Instruction">Mchten Sie das bisherige Projekt verwerfen?</s:String> <s:String x:Key="S.Editor.DiscardPreviousProject.Message">Wenn Sie sich entscheiden, dies nicht zu tun, so wird das aktuelle Projekt immer noch unter Krzlich erstellte Projekte verfgbar sein.</s:String> <s:String x:Key="S.Editor.DeleteFrames.Title">Frames lschen</s:String> <s:String x:Key="S.Editor.DeleteFrames.Instruction">Mchten Sie wirklich Frames lschen?</s:String> <s:String x:Key="S.Editor.DeleteFrames.Message">Diese Aktion wird {0} Frame(s) lschen.\n\rSie knnen das Lschen spter widerrufen.&#10;\rMchten Sie fortfahren?</s:String> <s:String x:Key="S.Editor.Exiting.Title">Editor beenden</s:String> <s:String x:Key="S.Editor.Exiting.Instruction">Mchten Sie den Editor wirklich schlieen?</s:String> <s:String x:Key="S.Editor.Exiting.Message">Das aktuelle Projekt kann spter unter Krzlich erstellte Projekte wieder geffnet werden.</s:String> <s:String x:Key="S.Editor.Exiting.Message2">Das aktuelle Projekt kann spter unter Krzlich erstellte Projekte wieder geffnet werden. Bitte beachten Sie, dass es in einigen Tagen automatisch gelscht wird.</s:String> <s:String x:Key="S.Editor.DragDrop.Invalid.Title">Ungltiges Ziehen und Ablegen</s:String> <s:String x:Key="S.Editor.DragDrop.MultipleFiles.Instruction">Sie knnen nicht mehrere Dateien gleichzeitig importieren</s:String> <s:String x:Key="S.Editor.DragDrop.MultipleFiles.Message">Whlen Sie immer nur eine Datei aus.</s:String> <s:String x:Key="S.Editor.DragDrop.Invalid.Instruction">Datei kann nicht geffnet werden</s:String> <s:String x:Key="S.Editor.DragDrop.Invalid.Message">Datei kann wegen ungltigen Formats nicht geffnet werden.</s:String> <s:String x:Key="S.Editor.DragDrop.InvalidProject.Instruction">Sie knnen nicht mehrere Projektdateien gleichzeitig importieren</s:String> <s:String x:Key="S.Editor.DragDrop.InvalidProject.Message">Whlen Sie immer nur eine Projektdatei aus.</s:String> <s:String x:Key="S.Editor.Caption.WarningNoText">Es gibt keinen Text, der hinzugefgt werden kann.</s:String> <s:String x:Key="S.Editor.Caption.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Bildunterschrift hinzufgen zu knnen.</s:String> <s:String x:Key="S.Editor.FreeText.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Text hinzufgen zu knnen.</s:String> <s:String x:Key="S.Editor.TitleFrame.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Titelbild hinzufgen zu knnen.</s:String> <s:String x:Key="S.Editor.Border.WarningThickness">Rahmenbreite muss an mindestens einer Stelle grer als Null sein.</s:String> <s:String x:Key="S.Editor.Border.WarningSelection">Sie mssen mindestens eine Grafik auswhlen, um Rahmen hinzufgen zu knnen.</s:String> <s:String x:Key="S.Editor.Shadow.Warning.Invisible">Deckkraft muss grer sein als Null damit ein Unterschied sichtbar ist.</s:String> <s:String x:Key="S.Editor.Shadow.Warning.Behind">Falls Sie Schattentiefe und Unschrferadius auf Null setzen, wird der Schatten unsichtbar sein.</s:String> <s:String x:Key="S.Editor.Cinemagraph.WarningNoDrawing">Sie mssen mindestens ein Pixel auswhlen, um Cinemagraph-Effekt anwenden zu knnen. Whlen Sie einen Bereich aus, indem Sie auf der Grafik malen.</s:String> <s:String x:Key="S.Editor.Fade.Title">berblendung</s:String> <s:String x:Key="S.Editor.Fade.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Ausblenden-Effekt anwenden zu knnen.</s:String> <s:String x:Key="S.Editor.Fade.WarningColor">Vollstndig transparente Farbe wird bei berblendung keinen sichtbaren Effekt erzeugen.</s:String> <s:String x:Key="S.Editor.Slide.Title">Schwenken</s:String> <s:String x:Key="S.Editor.Slide.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Schwenken-Effekt anwenden zu knnen.</s:String> <s:String x:Key="S.Editor.LoadingFrames">Bildsequenz wird geffnet</s:String> <s:String x:Key="S.Editor.LoadingFrames.ProjectCorrupted.Instruction">Projekt kann nicht geffnet werden</s:String> <s:String x:Key="S.Editor.LoadingFrames.ProjectCorrupted.Message">ffnen der Frames fehlgeschlagen, weil sie entweder beschdigt sind oder woanders gespeichert sind.</s:String> <s:String x:Key="S.Editor.LoadingFrames.FramesCorrupted.Instruction">Einige Frames konnten nicht geffnet werden</s:String> <s:String x:Key="S.Editor.LoadingFrames.FramesCorrupted.Message">Frames konnten nicht geffnet werden, weil sie nicht vorhanden sind oder weil sie beschdigt sind.</s:String> <!--Editor Warnings--> <s:String x:Key="S.Editor.Warning.Selection">Sie mssen mindestens einen Frame auswhlen, um bergang anwenden zu knnen.</s:String> <s:String x:Key="S.Editor.Warning.Ffmpeg">FFmpeg ist nicht verfgbar. Fgen Sie es Umgebungsvariablen hinzu oder whlen Sie den Speicherort in Einstellungen Extras aus.</s:String> <s:String x:Key="S.Editor.Warning.Gifski">Gifski ist nicht verfgbar. Fgen Sie es Umgebungsvariablen hinzu oder whlen Sie den Speicherort in Einstellungen Extras aus.</s:String> <s:String x:Key="S.Editor.Warning.LowSpace">Der vom Programm verwendete Speicherplatz ist fast belegt ({0} % brig). Gehen Sie zu Einstellungen Temporre Dateien, um Speicherplatz frei zu geben.</s:String> <s:String x:Key="S.Editor.Warning.DifferentDpi">Sie haben versucht, mehrere Bilder mit unterschiedlichen Auflsungen (dpi) zu importieren, was jedoch nicht untersttzt wird. Einige von diesen wurden importiert, andere mssen separat importiert werden.</s:String> <s:String x:Key="S.Editor.Warning.DifferentSize">Sie haben versucht, mehrere Bilder mit unterschiedlichen Gren zu importieren, was nicht untersttzt wird. Einige von ihnen wurden importiert, andere mssen separat importiert werden.</s:String> <!--Editor Status--> <s:String x:Key="S.Editor.RetrievingFromCache">Frames werden aus dem Cache geladen</s:String> <s:String x:Key="S.Editor.UpdatingFrames">Bildsequenz wird aktualisiert</s:String> <s:String x:Key="S.Editor.PreparingImport">Bildsequenz-Import wird vorbereitet</s:String> <s:String x:Key="S.Editor.ImportingFrames">Bildsequenz wird importiert</s:String> <s:String x:Key="S.Editor.AnalyzingDuplicates">Duplikate werden analysiert</s:String> <s:String x:Key="S.Editor.AdjustingDuplicatesDelay">Dauer wird angepasst</s:String> <s:String x:Key="S.Editor.DiscardingDuplicates">Duplikate werden gelscht</s:String> <s:String x:Key="S.Editor.DiscardingFrames">Frames werden gelscht</s:String> <s:String x:Key="S.Editor.DiscardingFolders">Ordner werden gelscht</s:String> <s:String x:Key="S.Editor.ResizingFrames">Framegre wird gendert</s:String> <s:String x:Key="S.Editor.CroppingFrames">Frames werden zugeschnitten</s:String> <s:String x:Key="S.Editor.ApplyingOverlay">berlagerung wird angewendet</s:String> <s:String x:Key="S.Editor.CreatingTitleFrame">Titelbild wird hinzugefgt</s:String> <s:String x:Key="S.Editor.ApplyingFlipRotate">Drehen wird angewendet</s:String> <s:String x:Key="S.Editor.ChangingDelay">Frame-Dauer wird gendert</s:String> <s:String x:Key="S.Editor.ApplyingTransition">bergang wird angewendet</s:String> <s:String x:Key="S.Editor.PreparingSaving">Speichern wird vorbereitet</s:String> <s:String x:Key="S.Editor.CancelDiscard">Laden abbrechen und Projekt verwerfen.</s:String> <s:String x:Key="S.Editor.FindingLoop">Perfekte Schleife finden</s:String> <s:String x:Key="S.Editor.DiscardingLoop">In Schleife nicht verwendeten Frames werden verworfen</s:String> <!--Editor Frame list--> <s:String x:Key="S.Editor.List.Frame">Frame:</s:String> <s:String x:Key="S.Editor.List.OpenImage">Grafik ffnen</s:String> <s:String x:Key="S.Editor.List.ExploreFolder">Ordner durchsuchen</s:String> <!--Editor Go to--> <s:String x:Key="S.GoTo.Title">Gehe zu</s:String> <s:String x:Key="S.GoTo.Instruction">Zu folgendem Frame gehen (0 bis {0}):</s:String> <!--Editor Context menu--> <s:String x:Key="S.Context.SaveAs">Speichern unter </s:String> <s:String x:Key="S.Context.RemoveFrames">Ausgewhlte Frames entfernen</s:String> <s:String x:Key="S.Context.NewRecording">Neue Bildschirmaufnahme</s:String> <s:String x:Key="S.Context.NewWebcamRecording">Neue Webcam-Aufnahme</s:String> <s:String x:Key="S.Context.NewBoardRecording">Neue Handzeichnung</s:String> <s:String x:Key="S.Context.NewBlankAnimation">Neue Animation</s:String> <s:String x:Key="S.Context.NewFromMediaProject">Neu von Mediendatei oder Projekt</s:String> <!--Editor Hints--> <s:String x:Key="S.Hint.NewRecording">Neue Bildschirmaufnahme erstellt.</s:String> <s:String x:Key="S.Hint.NewWebcamRecording">Neue Webcam-Aufnahme erstellt.</s:String> <s:String x:Key="S.Hint.NewBoardRecording">Neue Handzeichnung erstellt.</s:String> <s:String x:Key="S.Hint.NewAnimation">Neue Animation erstellt.</s:String> <s:String x:Key="S.Hint.Undo">Widerrufen wurde ausgefhrt.</s:String> <s:String x:Key="S.Hint.Reset">Zurcksetzen wurde ausgefhrt.</s:String> <s:String x:Key="S.Hint.Redo">Wiederherstellen wurde ausgefhrt.</s:String> <s:String x:Key="S.Hint.Cut">{0} Frame(s) ausgeschnitten.</s:String> <s:String x:Key="S.Hint.Copy">{0} Frame(s) kopiert.</s:String> <s:String x:Key="S.Hint.Paste">{0} Frame(s) eingefgt.</s:String> <s:String x:Key="S.Hint.Zoom">Zoom auf {0} % gesetzt.</s:String> <s:String x:Key="S.Hint.SelectAll">Alle Frames ausgewhlt.</s:String> <s:String x:Key="S.Hint.SelectSingle">Frame {0} ausgewhlt.</s:String> <s:String x:Key="S.Hint.SelectInverse">Auswahl umgekehrt.</s:String> <s:String x:Key="S.Hint.Deselect">Nichts ausgewhlt.</s:String> <s:String x:Key="S.Hint.DeleteFrames">{0} Frame(s) entfernt.</s:String> <s:String x:Key="S.Hint.Reverse">Bildsequenz-Reihenfolge umgekehrt.</s:String> <s:String x:Key="S.Hint.Yoyo">Jo-Jo-Effekt angewendet.</s:String> <s:String x:Key="S.Hint.MoveLeft">Frame(s) nach links verschoben.</s:String> <s:String x:Key="S.Hint.MoveRight">Frame(s) nach rechts verschoben.</s:String> <s:String x:Key="S.Hint.Resize">Framegre verndert.</s:String> <s:String x:Key="S.Hint.Crop">Frame(s) zugeschnitten.</s:String> <s:String x:Key="S.Hint.FlipRotate">Frame(s) gedreht/gespiegelt.</s:String> <s:String x:Key="S.Hint.FlipRotate2">Spiegeln-Effekt gilt fr ausgewhlte Frames und Drehen-Effekt gilt fr alle Frames.</s:String> <s:String x:Key="S.Hint.ApplyAll">Diese Aktion gilt fr alle Frames.</s:String> <s:String x:Key="S.Hint.ApplySelected">Diese Aktion gilt fr ausgewhlte Frames.</s:String> <s:String x:Key="S.Hint.ApplySelectedOrAll">Diese Aktion gilt fr alle oder fr ausgewhlte Frames, abhngig von Ihren eigenen Einstellungen.</s:String> <s:String x:Key="S.Hint.Cinemagraph">Cinemagraph-Effekt gilt fr alle Frames, die auf dem ersten Frame basieren.</s:String> <s:String x:Key="S.Hint.Overlay">berlagerung angewendet.</s:String> <s:String x:Key="S.Hint.TitleFrame">Titelbild hinzugefgt.</s:String> <s:String x:Key="S.Hint.TitleFrame2">Titelbild wird vor dem markierten Frame hinzugefgt.</s:String> <s:String x:Key="S.Hint.Delay">Dauer der markierten Frames gendert.</s:String> <s:String x:Key="S.Hint.Transition">bergang angewendet.</s:String> <s:String x:Key="S.Hint.Reduce">Bildwiederholrate reduziert.</s:String> <s:String x:Key="S.Hint.Duplicates">Duplikate entfernt.</s:String> <!--Editor Action panel--> <s:String x:Key="S.Action.Hide">Ausblenden</s:String> <s:String x:Key="S.Action.Apply">bernehmen</s:String> <s:String x:Key="S.Action.Open">ffnen</s:String> <s:String x:Key="S.Action.Save">Speichern</s:String> <s:String x:Key="S.Action.Cancel">Abbrechen</s:String> <!--Editor Recent projects--> <s:String x:Key="S.Recent.Projects">Krzlich erstellte Projekte</s:String> <s:String x:Key="S.Recent.Searching">Es wird nach aktuellen Projekten gesucht </s:String> <s:String x:Key="S.Recent.Date">Erstelldatum</s:String> <s:String x:Key="S.Recent.Frames">Frame-Anzahl</s:String> <s:String x:Key="S.Recent.Warning.NoSelection">Kein Projekt ausgewhlt. Bitte whlen Sie ein Projekt aus der Liste aus.</s:String> <s:String x:Key="S.Recent.Warning.SameProject">Dieses Projekt wird bereits von dieser Editor-Instanz angezeigt.</s:String> <s:String x:Key="S.Recent.Warning.AnotherEditor">Dieses Projekt wurde bereits in einem anderen Editor-Fenster geffnet. Ein und dasselbe Projekt kann nicht mehrmals geffnet werden.</s:String> <!--Editor Clipboard--> <s:String x:Key="S.Clipboard.Entries">Elemente der Zwischenablage</s:String> <s:String x:Key="S.Clipboard.Entry">Element der Zwischenablage:</s:String> <s:String x:Key="S.Clipboard.Entry.Image">{0} Grafik</s:String> <s:String x:Key="S.Clipboard.Entry.Images">{0} Grafiken</s:String> <s:String x:Key="S.Clipboard.Explore">Dateipfad ffnen</s:String> <s:String x:Key="S.Clipboard.Remove">Entfernen</s:String> <s:String x:Key="S.Clipboard.Behavior">Verhalten beim Einfgen</s:String> <s:String x:Key="S.Clipboard.Before">Vor dem markierten Frame</s:String> <s:String x:Key="S.Clipboard.After">Nach dem markierten Frame</s:String> <!--Editor Resize--> <s:String x:Key="S.Resize.Difference">Unterschied</s:String> <s:String x:Key="S.Resize.Dpi">dpi</s:String> <s:String x:Key="S.Resize.Options">Optionen</s:String> <s:String x:Key="S.Resize.Pixels">Pixel (px)</s:String> <s:String x:Key="S.Resize.Percent">Prozent (%)</s:String> <s:String x:Key="S.Resize.Dpi2">dpi:</s:String> <s:String x:Key="S.Resize.KeepAspect">Seitenverhltnis beibehalten</s:String> <s:String x:Key="S.Resize.ScalingQuality">Qualitt:</s:String> <s:String x:Key="S.Resize.ScalingQuality.Fant">Fant (hhere Qualitt)</s:String> <s:String x:Key="S.Resize.ScalingQuality.Linear">Linear (geringere Qualitt)</s:String> <s:String x:Key="S.Resize.ScalingQuality.NearestNeighbor">Nchster Nachbar (geringere Qualitt und schneller)</s:String> <s:String x:Key="S.Resize.ScalingQuality.Info">Qualitt verringern/erhhen</s:String> <s:String x:Key="S.Resize.Warning">Sie mssen einen anderen Wert auswhlen, um die Gre zu ndern.</s:String> <!--Editor Crop--> <s:String x:Key="S.Crop.Points">Ziehpunkte-Position</s:String> <s:String x:Key="S.Crop.Top">Oben:</s:String> <s:String x:Key="S.Crop.Left">Links:</s:String> <s:String x:Key="S.Crop.Bottom">Unten:</s:String> <s:String x:Key="S.Crop.Right">Rechts:</s:String> <s:String x:Key="S.Crop.Warning">Zuschnitt muss kleiner als die aktuelle Framegre sein.</s:String> <s:String x:Key="S.Crop.Warning.Bigger">Zuschnitt muss grer als 10x10 Pixel sein.</s:String> <!--Editor Flip/rotate--> <s:String x:Key="S.FlipRotate.FlipHorizontal">Horizontal kippen</s:String> <s:String x:Key="S.FlipRotate.FlipVertical">Vertikal kippen</s:String> <s:String x:Key="S.FlipRotate.RotateLeft">Um 90 nach links drehen</s:String> <s:String x:Key="S.FlipRotate.RotateRight">Um 90 nach rechts drehen</s:String> <!--Editor Reduce framerate--> <s:String x:Key="S.Reduce.Header">Bildwiederholrate reduzieren</s:String> <s:String x:Key="S.Reduce.Factor">Faktor:</s:String> <s:String x:Key="S.Reduce.Count">Anzahl entfernen:</s:String> <s:String x:Key="S.Reduce.Delay">Verzgerungseinstellung:</s:String> <s:String x:Key="S.Reduce.Delay.NoAdjustment">Nicht anpassen</s:String> <s:String x:Key="S.Reduce.Delay.Previous">Mit vorherigem Frame summieren</s:String> <s:String x:Key="S.Reduce.Delay.Evenly">Mit den verbliebenen Bildern gleichmig summieren</s:String> <s:String x:Key="S.Reduce.ApplyToAll">Reduziert die Bildwechselfrequenz des gesamten Projekts.</s:String> <s:String x:Key="S.Reduce.ApplyToAll.Info">Wenn die Option nicht ausgewhlt ist, mssen Sie mehrere aufeinanderfolgende Einzelbilder auswhlen,&#10;die grer als der Entfernungsfaktor sind.</s:String> <s:String x:Key="S.Reduce.Info">{0} Frame(s) werden nach jedem {1} Frame entfernt, ohne die gelschten zu zhlen.</s:String> <s:String x:Key="S.Reduce.Warning.NoSelection">Sie mssen die Einzelbilder auswhlen, um die Bildratenreduzierung anzuwenden (oder die Option zur Anwendung auf das gesamte Projekt auswhlen).</s:String> <s:String x:Key="S.Reduce.Warning.NonConsecutive">Die Liste der ausgewhlten Einzelbilder muss fortlaufend sein. Sie knnen unter den ausgewhlten Einzelbildern nicht einige unausgewhlt lassen.</s:String> <s:String x:Key="S.Reduce.Warning.SmallerThanFactor">Die Auswahl der Einzelbilder muss grer als der Entfernungsfaktor sein, damit die Funktion in der Lage ist, etwas zu entfernen.</s:String> <!--Editor Remove duplicates--> <s:String x:Key="S.RemoveDuplicates.Header">Vorgaben</s:String> <s:String x:Key="S.RemoveDuplicates.Similarity">hnlichkeit (%):</s:String> <s:String x:Key="S.RemoveDuplicates.Removal">Lschen von Frames:</s:String> <s:String x:Key="S.RemoveDuplicates.Removal.First">Ersten Frame entfernen</s:String> <s:String x:Key="S.RemoveDuplicates.Removal.Last">Letzten Frame entfernen</s:String> <s:String x:Key="S.RemoveDuplicates.Delay">Dauer-Feineinstellung:</s:String> <s:String x:Key="S.RemoveDuplicates.Delay.NoAdjustment">Keine Feineinstellung</s:String> <s:String x:Key="S.RemoveDuplicates.Delay.Average">Durchschnitt verwenden</s:String> <s:String x:Key="S.RemoveDuplicates.Delay.Sum">Summe verwenden</s:String> <s:String x:Key="S.RemoveDuplicates.Info">Diese Aktion analysiert jedes einzelne Pixel und entfernt denjenigen, der gegenber dem direkten Nachbarn eine {0}%ige hnlichkeit aufweist.&#10;Wenn Sie mchten, knnen Sie die Dauer der Frame-Anzeige einstellen.</s:String> <!--Editor Smooth Loop--> <s:String x:Key="S.SmoothLoop.Header">Glatte Schleife erstellen</s:String> <s:String x:Key="S.SmoothLoop.StartThreshold">Zuerst ignorieren:</s:String> <s:String x:Key="S.SmoothLoop.From">Vergleichen von:</s:String> <s:String x:Key="S.SmoothLoop.From.Last">Ende</s:String> <s:String x:Key="S.SmoothLoop.From.First">Anfang</s:String> <s:String x:Key="S.SmoothLoop.Info">Versucht, einen Frame zu finden, der dem Startframe zu mindestens {0} % hnlich ist, und lscht alle spteren Frames.&#x0d;Sie knnen whlen, ob Sie einige anfngliche Frames ignorieren und den Vergleich vom Beginn (nach dem Schwellenwert) oder vom Ende aus starten mchten.</s:String> <s:String x:Key="S.SmoothLoop.Warning.Threshold">Die Anzahl der zu ignorierenden Grafiken muss kleiner sein als die Gesamtzahl der Grafiken.</s:String> <s:String x:Key="S.SmoothLoop.Warning.NoLoopFound">Mit den gewhlten Einstellungen war es nicht mglich, eine glatte Schleife zu erstellen.</s:String> <s:String x:Key="S.SmoothLoop.Warning.AlreadySmoothLoop">Sie verfgen bereits ber eine glatte Schleife auf der Grundlage der gewhlten Einstellungen.</s:String> <!--Editor Captions--> <s:String x:Key="S.Caption.Text">Text</s:String> <s:String x:Key="S.Caption.Font">Schrift</s:String> <s:String x:Key="S.Caption.Family">Familie:</s:String> <s:String x:Key="S.Caption.Style">Stil:</s:String> <s:String x:Key="S.Caption.Weight">Breite:</s:String> <s:String x:Key="S.Caption.Size">Gre:</s:String> <s:String x:Key="S.Caption.Color">Farbe:</s:String> <s:String x:Key="S.Caption.BackgroundColor">Hintergrundfarbe:</s:String> <s:String x:Key="S.Caption.Outline">Kontur</s:String> <s:String x:Key="S.Caption.Thickness">Breite:</s:String> <s:String x:Key="S.Caption.Layout">Position</s:String> <s:String x:Key="S.Caption.Vertical">Vertikal:</s:String> <s:String x:Key="S.Caption.Horizontal">Horizontal:</s:String> <s:String x:Key="S.Caption.TextAlignment">Ausrichtung:</s:String> <s:String x:Key="S.Caption.TextDecoration">Dekoration:</s:String> <!--Editor Key strokes--> <s:String x:Key="S.KeyStrokes">Tastatureingaben</s:String> <s:String x:Key="S.KeyStrokes.Keys">Vorgaben</s:String> <s:String x:Key="S.KeyStrokes.Separator">Trennzeichen:</s:String> <s:String x:Key="S.KeyStrokes.Edit">Tastatureingaben bearbeiten</s:String> <s:String x:Key="S.KeyStrokes.IgnoreModifiers">Strg-, Alt-, Umschalt- und Windows-Taste ignorieren</s:String> <s:String x:Key="S.KeyStrokes.IgnoreModifiers.Info">Zustzliche Tastenkombinationen auer Strg+C werden ignoriert.</s:String> <s:String x:Key="S.KeyStrokes.IgnoreInjected">Von der Software simulierte Tastenanschlge ignorieren</s:String> <s:String x:Key="S.KeyStrokes.IgnoreInjected.Info">Nur Tastatureingaben des Benutzers aufzeichnen.</s:String> <s:String x:Key="S.KeyStrokes.Extend">Dauer der Anzeige der Tastatureingaben verlngern</s:String> <s:String x:Key="S.KeyStrokes.Earlier">Anzeige der Tastatureingaben frher beginnen</s:String> <s:String x:Key="S.KeyStrokes.By">Um (ms):</s:String> <s:String x:Key="S.KeyStrokes.Warning.None">Keine Tastatureingaben in Ihrer Aufnahme</s:String> <s:String x:Key="S.KeyStrokes.Edit.Title">ScreenToGif Tastatureingaben-Editor</s:String> <s:String x:Key="S.KeyStrokes.Edit.Number">Frame-Nummer</s:String> <s:String x:Key="S.KeyStrokes.Edit.Keys">Tastatureingabe erkannt</s:String> <s:String x:Key="S.KeyStrokes.Edit.Remove">Tastatureingabe entfernen</s:String> <s:String x:Key="S.KeyStrokes.Edit.Add">Tastatureingabe hinzufgen:</s:String> <s:String x:Key="S.KeyStrokes.Edit.Lower">Kleinbuchstaben</s:String> <s:String x:Key="S.KeyStrokes.Edit.Lower.Info">Erlaubt, Kleinbuchstaben einzufgen</s:String> <!--Editor Free drawing--> <s:String x:Key="S.FreeDrawing.Mode">Modus</s:String> <s:String x:Key="S.FreeDrawing.Pen">Stift</s:String> <s:String x:Key="S.FreeDrawing.Eraser">Radierer</s:String> <s:String x:Key="S.FreeDrawing.Select">Auswahl</s:String> <s:String x:Key="S.FreeDrawing.StrokeEraser">Strichradierer</s:String> <s:String x:Key="S.FreeDrawing.Width">Breite:</s:String> <s:String x:Key="S.FreeDrawing.Height">Hhe:</s:String> <s:String x:Key="S.FreeDrawing.Tip">Spitze:</s:String> <s:String x:Key="S.FreeDrawing.Rectangle">Rechteck</s:String> <s:String x:Key="S.FreeDrawing.Ellipse">Ellipse</s:String> <s:String x:Key="S.FreeDrawing.Other">Sonstiges:</s:String> <s:String x:Key="S.FreeDrawing.Highlighter">Textmarker</s:String> <s:String x:Key="S.FreeDrawing.FitToCurve">An Kurve ausrichten</s:String> <s:String x:Key="S.FreeDrawing.Warning.NoDrawing">Es gibt keine Zeichnungen, die hinzugefgt werden knnen.</s:String> <s:String x:Key="S.FreeDrawing.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Zeichnungen hinzufgen zu knnen.</s:String> <!--Editor Shapes--> <s:String x:Key="S.Shapes.Mode.Insert">Einfgen</s:String> <s:String x:Key="S.Shapes.Shapes">Formen</s:String> <s:String x:Key="S.Shapes.Shapes.Radius">Radius:</s:String> <s:String x:Key="S.Shapes.Shapes.Dashes">Striche:</s:String> <s:String x:Key="S.Shapes.Shapes.Dashes.Info">Steuert die Lnge der Linien und die Gre der Zwischenrume.&#10;Sie knnen mehrere Gren festlegen, um einen ausgeklgelten gestrichelten Stil zu erstellen.&#10;Der Standardwert ist 1 0 oder leer, d. h., ein Bindestrich ohne Lcken.</s:String> <s:String x:Key="S.Shapes.Shapes.ResetRotatio">Drehung zurcksetzen</s:String> <s:String x:Key="S.Shapes.Shapes.Remove">Entfernen</s:String> <s:String x:Key="S.Shapes.Fill">Fllung</s:String> <!--Editor Mouse events--> <s:String x:Key="S.MouseEvents">Maus-Events</s:String> <s:String x:Key="S.MouseHighlight.Color">Farbe der Mausmarkierung:</s:String> <s:String x:Key="S.MouseClicks.Color.Left">Farbe der linken Maustaste:</s:String> <s:String x:Key="S.MouseClicks.Color.Middle">Farbe der mittleren Maustaste::</s:String> <s:String x:Key="S.MouseClicks.Color.Right">Farbe der rechten Maustaste:</s:String> <!--Editor Watermark--> <s:String x:Key="S.Watermark.Image">Grafik-Wasserzeichen</s:String> <s:String x:Key="S.Watermark.File">Datei:</s:String> <s:String x:Key="S.Watermark.File.Nothing">Keine ausgewhlt</s:String> <s:String x:Key="S.Watermark.Opacity">Deckkraft:</s:String> <s:String x:Key="S.Watermark.Select">Grafik auswhlen</s:String> <s:String x:Key="S.Watermark.WarningNoImage">Sie mssen eine Grafik auswhlen, um es als Wasserzeichen zu den ausgewhlten Frames einfgen zu knnen.</s:String> <s:String x:Key="S.Watermark.WarningSelection">Sie mssen mindestens einen Frame auswhlen, um Wasserzeichen einfgen zu knnen.</s:String> <!--Editor Border--> <s:String x:Key="S.Border.Appearance">Aussehen</s:String> <s:String x:Key="S.Border.Info">Verwenden Sie negative Werte, um den Rahmen auerhalb der Grafik zu erzeugen.&#10;Ein so erstellter Rahmen wird auf alle Frames angewendet.&#10;Falls positive Werte eingegeben werden, wird der Rahmen nur dem ausgewhlten Frame hinzugefgt.</s:String> <!--Editor Shadow--> <s:String x:Key="S.Shadow.ShadowColor">Schattenfarbe:</s:String> <s:String x:Key="S.Shadow.BackgroundColor">Hintergrundfarbe:</s:String> <s:String x:Key="S.Shadow.Direction">Richtung:</s:String> <s:String x:Key="S.Shadow.BlurRadius">Unschrferadius:</s:String> <s:String x:Key="S.Shadow.Depth">Tiefe:</s:String> <!--Editor Obfuscate--> <s:String x:Key="S.Obfuscate.Type.Pixelate">Verpixeln</s:String> <s:String x:Key="S.Obfuscate.Type.Blur">Unschrfe</s:String> <s:String x:Key="S.Obfuscate.Type.Darken">Abdunkeln</s:String> <s:String x:Key="S.Obfuscate.Type.Lighten">Aufhellen</s:String> <s:String x:Key="S.Obfuscate.Options">Vorgaben</s:String> <s:String x:Key="S.Obfuscate.PixelSize">Pixelgre:</s:String> <s:String x:Key="S.Obfuscate.BlurLevel">Grad der Unschrfe:</s:String> <s:String x:Key="S.Obfuscate.DarkenLevel">Grad der Verdunklung:</s:String> <s:String x:Key="S.Obfuscate.LightenLevel">Grad der Aufhellung:</s:String> <s:String x:Key="S.Obfuscate.UseAverage">Durchschnittsfarbe fr jeden verpixelten Bereich berechnen</s:String> <s:String x:Key="S.Obfuscate.Invert">Abdunkeln auf die Umkehrung der Auswahl anwenden</s:String> <s:String x:Key="S.Obfuscate.Smoothness">Gltte</s:String> <s:String x:Key="S.Obfuscate.Info">Verwenden Sie das Auswahlwerkzeug, um den Teil des Frames auszuwhlen, der unkenntlich gemacht werden soll.</s:String> <s:String x:Key="S.Obfuscate.Info2">Verwenden Sie das Auswahlwerkzeug, um den Teil des Frames auszuwhlen, der nicht unkenntlich gemacht werden soll.</s:String> <s:String x:Key="S.Obfuscate.Warning">Es ist nichts ausgewhlt worden. Auswahlwerkzeug verwenden, um einen Rechteck verpixelt darzustellen.</s:String> <!--Editor Progress--> <s:String x:Key="S.Progress.Type">Typ</s:String> <s:String x:Key="S.Progress.Type.Bar">Laufbalken</s:String> <s:String x:Key="S.Progress.Type.Text">Text</s:String> <s:String x:Key="S.Progress.Precision">Angabe in:</s:String> <s:String x:Key="S.Progress.Precision.Minutes">Minuten</s:String> <s:String x:Key="S.Progress.Precision.Seconds">Sekunden</s:String> <s:String x:Key="S.Progress.Precision.Milliseconds">Millisekunden</s:String> <s:String x:Key="S.Progress.Precision.Percentage">Prozent</s:String> <s:String x:Key="S.Progress.Precision.Count">Frame-Anzahl</s:String> <s:String x:Key="S.Progress.Precision.DateOfRecording">Aufnahmedatum</s:String> <s:String x:Key="S.Progress.Precision.Custom">Benutzerdefiniert</s:String> <s:String x:Key="S.Progress.Precision.ShowTotal">Gesamt anzeigen</s:String> <s:String x:Key="S.Progress.Format">Format:</s:String> <s:String x:Key="S.Progress.Format.Header">Format</s:String> <s:String x:Key="S.Progress.Format.Milliseconds">$ms = Millisekunden</s:String> <s:String x:Key="S.Progress.Format.Seconds">$s = Sekunden</s:String> <s:String x:Key="S.Progress.Format.Minutes">$m = Minuten</s:String> <s:String x:Key="S.Progress.Format.Percentage">$p = Prozentsatz</s:String> <s:String x:Key="S.Progress.Format.FrameNumber">$f = Anzahl Einzelbilder</s:String> <s:String x:Key="S.Progress.Format.Totals">Gesamt:</s:String> <s:String x:Key="S.Progress.Format.Examples">Beispiele:</s:String> <s:String x:Key="S.Progress.Format.Date">Sie knnen das Zeitformat aus .NET Framework verwenden.&#x0d;Genaue Beschreibung hinter den beiden Links.</s:String> <s:String x:Key="S.Progress.Format.Date.Standard">Standardformate</s:String> <s:String x:Key="S.Progress.Format.Date.Custom">Benutzerdefinierte Formate</s:String> <s:String x:Key="S.Progress.Precision.StartNumber">Zhlen ab:</s:String> <s:String x:Key="S.Progress.Precision.StartNumber.ToolTip">Beginnt das Zhlen der Frames ab der gewhlten Nummer.</s:String> <s:String x:Key="S.Progress.Orientation">Ausrichtung:</s:String> <!--Editor Delay--> <s:String x:Key="S.Delay.Update">Frame-Dauer</s:String> <s:String x:Key="S.Delay.Mode">Modus:</s:String> <s:String x:Key="S.Delay.Mode.Override">berschreiben (ms)</s:String> <s:String x:Key="S.Delay.Mode.IncreaseDecrease">Erhhen oder verringern (ms)</s:String> <s:String x:Key="S.Delay.Mode.Scale">Skalierung (in %)</s:String> <s:String x:Key="S.Delay.NewValue">Vorgabe</s:String> <s:String x:Key="S.Delay.Minimum10Ms">Minimum 10 ms pro Frame</s:String> <s:String x:Key="S.Delay.DecreaseIncrease">Vorgabe</s:String> <s:String x:Key="S.Delay.Scale">Vorgabe</s:String> <s:String x:Key="S.Delay.Override.Info">Aktuelle Dauer markierter Frames wird durch den eingegebenen Wert ersetzt und sollte zwischen 10 ms und 25500 ms liegen.</s:String> <s:String x:Key="S.Delay.IncreaseDecrease.Info">Aktuelle Dauer markierter Frames wird um den eingegebenen Wert erhht bzw. verringert.&#10;Sie knnen einen Wert zwischen -10000 ms und 10000 ms eingeben.&#10;Die Framedauer wird jedoch immer im Bereich zwischen&#10;10 ms und 25500 ms liegen.</s:String> <s:String x:Key="S.Delay.Scale.Info">Aktuelle Dauer markierter Frames wird um den eingegebenen Prozentsatz verndert.&#10;Sie knnen die Dauer der Frames anpassen, indem Sie einen Wert zwischen 1 % und 1000 % whlen.&#10;Die Framedauer wird jedoch immer im Bereich zwischen&#10;10 ms und 25500 ms liegen.</s:String> <!--Editor Cinemagraph--> <s:String x:Key="S.Cinemagraph.Info">Verwenden Sie den Stift, um Bereiche auszuwhlen, die beweglich bleiben, indem Sie darauf malen.</s:String> <!--Editor Transitions--> <s:String x:Key="S.Transitions.Length">bergangslnge</s:String> <s:String x:Key="S.Transitions.Delay">bergangsdauer</s:String> <s:String x:Key="S.Transitions.FadeTo">Ausblenden zu </s:String> <s:String x:Key="S.Transitions.FadeTo.Frame">Nchster Frame</s:String> <s:String x:Key="S.Transitions.FadeTo.Color">Farbe</s:String> <s:String x:Key="S.Transitions.Color">Farbpalette</s:String> <s:String x:Key="S.Transitions.Info">Der Effekt wird zwischen dem markierten und dem darauffolgenden Frame hinzugefgt.</s:String> <!--Editor Save as--> <s:String x:Key="S.SaveAs.Type">Dateityp</s:String> <s:String x:Key="S.SaveAs.Type.Format">Das Format der Ausgabedatei.</s:String> <s:String x:Key="S.SaveAs.Type.Preset">Die Exportvoreinstellung, die alle aktuell angezeigten Einstellungen enthlt.&#10;Verwalten Sie Ihre Exportvoreinstellungen ber die nachfolgenden Schaltflchen.</s:String> <s:String x:Key="S.SaveAs.Type.Animated">Animierte Grafik</s:String> <s:String x:Key="S.SaveAs.Type.Video">Video</s:String> <s:String x:Key="S.SaveAs.Type.Frames">Frames</s:String> <s:String x:Key="S.SaveAs.Type.Other">Weitere</s:String> <s:String x:Key="S.SaveAs.Apng">APNG</s:String> <s:String x:Key="S.SaveAs.Apng.Info">Animated Portable Network Graphics</s:String> <s:String x:Key="S.SaveAs.Gif">GIF</s:String> <s:String x:Key="S.SaveAs.Gif.Info">Graphics Interchange Format</s:String> <s:String x:Key="S.SaveAs.Webp">WebP</s:String> <s:String x:Key="S.SaveAs.Webp.Info">Web Picture</s:String> <s:String x:Key="S.SaveAs.Avi">AVI</s:String> <s:String x:Key="S.SaveAs.Avi.Info">Audio Video Interleave</s:String> <s:String x:Key="S.SaveAs.Mkv">MKV</s:String> <s:String x:Key="S.SaveAs.Mkv.Info">Matroska</s:String> <s:String x:Key="S.SaveAs.Mov">MOV</s:String> <s:String x:Key="S.SaveAs.Mov.Info">QuickTime-Dateiformat</s:String> <s:String x:Key="S.SaveAs.Mp4">MP4</s:String> <s:String x:Key="S.SaveAs.Mp4.Info">Mpeg-4</s:String> <s:String x:Key="S.SaveAs.Webm">WebM</s:String> <s:String x:Key="S.SaveAs.Webm.Info">Web Movie</s:String> <s:String x:Key="S.SaveAs.Bmp">BMP</s:String> <s:String x:Key="S.SaveAs.Bmp.Info">Bitmap</s:String> <s:String x:Key="S.SaveAs.Jpeg">JPEG</s:String> <s:String x:Key="S.SaveAs.Jpeg.Info">Joint Photographic Experts Group</s:String> <s:String x:Key="S.SaveAs.Png">PNG</s:String> <s:String x:Key="S.SaveAs.Png.Info">Portable Network Graphics</s:String> <s:String x:Key="S.SaveAs.Project">Projekt</s:String> <s:String x:Key="S.SaveAs.Project.Info">ScreenToGif-Projekt</s:String> <s:String x:Key="S.SaveAs.Psd">PSD</s:String> <s:String x:Key="S.SaveAs.Psd.Info">Photoshop-Datei</s:String> <!--Editor Save as > Presets--> <s:String x:Key="S.SaveAs.Presets">Voreinstellungen:</s:String> <s:String x:Key="S.SaveAs.Presets.Default">Standard</s:String> <s:String x:Key="S.SaveAs.Presets.Add">Neue Exportvoreinstellung hinzufgen.</s:String> <s:String x:Key="S.SaveAs.Presets.Save">Aktuelle Einstellungen in dieser Exportvoreinstellung speichern.</s:String> <s:String x:Key="S.SaveAs.Presets.Edit">Allgemeine Einstellungen der Exportvoreinstellung bearbeiten.</s:String> <s:String x:Key="S.SaveAs.Presets.Remove">Aktuell ausgewhlte Exportvoreinstellung entfernen.</s:String> <s:String x:Key="S.SaveAs.Presets.Reset">Einstellungen dieser Exportvoreinstellung auf die Standardwerte zurcksetzen.</s:String> <!--Editor Save as > Presets > Dialogs--> <s:String x:Key="S.SaveAs.Presets.Ask.Delete.Title">Voreinstellung lschen</s:String> <s:String x:Key="S.SaveAs.Presets.Ask.Delete.Instruction">Mchten Sie die Voreinstellung wirklich lschen?</s:String> <s:String x:Key="S.SaveAs.Presets.Ask.Delete.Message">Diese Aktion kann nicht widerrufen werden.&#10;&#10;Mchten Sie die ausgewhlte Voreinstellung wirklich lschen?</s:String> <s:String x:Key="S.SaveAs.Presets.Ask.Reset.Title">Voreinstellung zurcksetzen</s:String> <s:String x:Key="S.SaveAs.Presets.Ask.Reset.Instruction">Mchten Sie die Voreinstellung wirklich zurcksetzen?</s:String> <s:String x:Key="S.SaveAs.Presets.Ask.Reset.Message">Diese Aktion kann nicht widerrufen werden.&#10;&#10;Mchten Sie die ausgewhlte Voreinstellung wirklich auf die Standardeinstellungen zurcksetzen?</s:String> <!--Editor Save as > Encoder--> <s:String x:Key="S.SaveAs.Encoder">Umwandlung</s:String> <s:String x:Key="S.SaveAs.Encoder.Quantizer">Umwandlung und Quantisierung</s:String> <s:String x:Key="S.SaveAs.Encoder.Info">Umwandlung, die fr die Erzeugung der Ausgabedatei verantwortlich ist.</s:String> <s:String x:Key="S.SaveAs.Encoder.ScreenToGif">ScreenToGif</s:String> <s:String x:Key="S.SaveAs.Encoder.ScreenToGif.Info">Integrierte Umwandlung.</s:String> <s:String x:Key="S.SaveAs.Encoder.KGySoft">KGy SOFT</s:String> <s:String x:Key="S.SaveAs.Encoder.KGySoft.Info">KGy SOFT GIF-Encoder</s:String> <s:String x:Key="S.SaveAs.Encoder.System">System</s:String> <s:String x:Key="S.SaveAs.Encoder.System.Info">Vom System zur Verfgung gestellte Umwandlung.</s:String> <s:String x:Key="S.SaveAs.Encoder.Ffmpeg">FFmpeg</s:String> <s:String x:Key="S.SaveAs.Encoder.Ffmpeg.Info">Externe Umwandlung, bereitgestellt von FFmpeg.org.</s:String> <s:String x:Key="S.SaveAs.Encoder.Gifski">Gifski</s:String> <s:String x:Key="S.SaveAs.Encoder.Gifski.Info">Externe Umwandlung, bereitgestellt von Gif.ski.</s:String> <s:String x:Key="S.SaveAs.Encoder.Options">Umwandlungs-Optionen</s:String> <!--Editor Save as > FFmpeg--> <s:String x:Key="S.SaveAs.Ffmpeg.UseParameters">Erweiterten Modus aktivieren.</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.UseParameters.Info">Parameter zur Steuerung der Umwandlung manuell eingeben</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Parameters">Parameter:</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Parameters.Info">Liste der Parameter, die an FFmpeg bergeben werden.&#10;&#10;Spezielle Parameter:&#10;{I} entspricht dem Eingabepfad (der Frames).&#10;{O} entspricht dem Ausgabepfad (der exportierten Datei).&#10;{W} entspricht der Breite des Frames.&#10;{H} entspricht der Hhe des Frames.</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Parameters.Pass">Um mit 2 Durchgngen umzuwandeln, fgen Sie einfach -pass 2 hinzu.</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Preview">Vorschau</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Preview.Info">Vorschau der Parameterliste, die an FFmpeg bergeben wird.</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Help.Code">Codec-Dokumente</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Help.Format">Format-Dokumente</s:String> <s:String x:Key="S.SaveAs.Ffmpeg.Help.Filters">Filter-Dokumente</s:String> <!--Editor Save as > Gif options--> <s:String x:Key="S.SaveAs.GifOptions">GIF-Einstellungen</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Info">Algorithmus zur Farbreduzierung (Quantisierung)</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Neural">Neuronales Netzwerk</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Neural.Info">Originalgetreue Quantisierung. Langsamer, aber gut fr eine hhere Anzahl von Farben.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Octree">Octree</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Octree.Info">Gut fr Animationen mit weniger Farben. Schneller, kann aber Farbbnder erzeugen.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.MedianCut">Median-Schnitt</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.MedianCut.Info">Weniger gut als Octree und langsamer.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Grayscale">Graustufen</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.Grayscale.Info">Verwendet eine feste Graustufenpalette, daher ist es viel schneller.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.MostUsed">Meist verwendete Farben</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quantizer.MostUsed.Info">bernimmt einfach die am hufigsten verwendeten Farben in den Einzelbildern.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Sampling">Sampling:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Sampling.Info">Sampling-Faktor:&#10;Ein Wert von 1 fhrt zu einer besser aussehenden GIF-Animation, aber es wird langsamer berechnet.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Quality">Qualitt:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Colors">Farben:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Colors.Info">Maximale Anzahl von Farben (fr jeden Frame)</s:String> <s:String x:Key="S.SaveAs.GifOptions.GlobalColorTable">Allgemeine Farbtabelle verwenden</s:String> <s:String x:Key="S.SaveAs.GifOptions.GlobalColorTable.Info">Kann die Qualitt und/oder Gre der GIF-Animation verringern.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Best">Beste</s:String> <s:String x:Key="S.SaveAs.GifOptions.Fastest">Schnellste</s:String> <s:String x:Key="S.SaveAs.GifOptions.Gifski.Faster">Ein noch schnelleres Umwandlungsverfahren verwenden.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Gifski.Faster.Info">Kann die Qualitt der GIF-Dateien verringern.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Loop">Wiederholung:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Looped">Wiederholtes GIF</s:String> <s:String x:Key="S.SaveAs.GifOptions.RepeatForever">Endlosschleife</s:String> <s:String x:Key="S.SaveAs.GifOptions.RepeatCount">Anzahl Wiederholungen</s:String> <s:String x:Key="S.SaveAs.GifOptions.Transparency.Enable">Transparenz ermglichen</s:String> <s:String x:Key="S.SaveAs.GifOptions.Transparency.Enable.Info">Aktiviert den vollstndigen Transparenzmodus, der den Hintergrund der GIF-Animation vollstndig transparent werden lsst.&#10;Der Prozess der Chroma-Key-Ersetzung wird ignoriert, wenn diese Option aktiviert ist.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Transparency.Pick">Auswhlen, welche Farbe als transparent angezeigt werden soll.</s:String> <s:String x:Key="S.SaveAs.GifOptions.Transparency.Pick.Info">Wenn eine Farbe ausgewhlt wird, wird sie in transparent umgewandelt und wird in der erstellten GIF-Datei als transparent dargestellt.&#10;Wenn keine Farbe ausgewhlt ist, werden alle transparenten Farben (Alpha = 0 %) normal transparent angezeigt.</s:String> <s:String x:Key="S.SaveAs.GifOptions.DetectUnchanged">Unvernderte Pixel erkennen</s:String> <s:String x:Key="S.SaveAs.GifOptions.DetectUnchanged.Info">Durch die Analyse und Erkennung unvernderter Pixel zwischen den&#10;Einzelbildern wird es mglich sein, nur die notwendigen Teile in der GIF-Datei zu speichern.</s:String> <s:String x:Key="S.SaveAs.GifOptions.PaintWithChroma">Diese Pixel durch einen Chroma-Key ersetzen</s:String> <s:String x:Key="S.SaveAs.GifOptions.PaintWithChroma.Info">Wiederholte/unvernderte Pixel werden durch diesen Chroma-Key ersetzt,&#10;wodurch es mglich ist, weniger Farben pro Einzelbild zu verwenden.</s:String> <s:String x:Key="S.SaveAs.GifOptions.ChromaKey">Chroma-Key:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Dither">Farbmischung:</s:String> <s:String x:Key="S.SaveAs.GifOptions.Dither.Scale">Bayer Scale:</s:String> <!--Editor Save as > KGy SOFT options--> <s:String x:Key="S.SaveAs.KGySoft.Quantizer">Quantisierer</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.BackColor">Hintergrundfarbe:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.BackColor.Info">Pixel mit Alpha (Transparenz), die vom ausgewhlten Quantisierer als undurchsichtig angesehen werden, werden mit dieser Farbe gemischt, bevor sie die quantisierte Farbe erhalten.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.AlphaThreshold">Alpha-Schwellenwert:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.AlphaThreshold.Info">Bestimmt den eingegebenen Alphawert, unter dem die quantisierte Farbe transparent ist.&#x0d;&#x0a;Wenn 0, dann ist das Ergebnis nie transparent.&#x0d;&#x0a;Wenn 255, dann werden nur vollstndig transparente Pixel als transparent angesehen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.WhiteThreshold">Weier Schwellenwert:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.WhiteThreshold.Info">Legt die niedrigste Eingangshelligkeit fest, bei der die Ergebnisfarbe als wei angesehen wird.&#x0d;&#x0a;Ein Fehlerdiffusions-Dithering kann den Wert dieses Parameters jedoch kompensieren.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.DirectMapping">Direkte Zuweisung</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.DirectMapping.Info">Wenn diese Option aktiviert ist, wird die quantisierte Farbe durch eine direkte Zuordnung bestimmt, anstatt den nchstgelegenen Paletteneintrag aufzusuchen.&#x0d;&#x0a;Dies beschleunigt die Quantisierung, kann aber zu einem hheren Kontrast fhren. Ein Fehlerdiffusions-Dithering kann den Wert dieses Parameters jedoch ausgleichen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PaletteSize">Gre der Palette:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PaletteSize.Info">Bestimmt die maximale Gre der Palette je Einzelbild.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.CustomBitLevel">Benutzerdefinierte Bit-Ebene.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.CustomBitLevel.Info">Wenn das Hkchen gesetzt ist, kann die Bitebene manuell konfiguriert werden.&#x0d;&#x0a; Achtung: Die hchste Bit-Stufe kann sehr viel Speicherplatz beanspruchen!</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.BitLevel.Info">Ein hherer Wert bedeutet eine hhere Genauigkeit, einen greren Zielfarbraum, eine langsamere Verarbeitung und einen greren Speicherbedarf.&#x0d;&#x0a;Wenn z. B. 1, dann kann das Ergebnis nicht mehr als 8 Farben haben, oder wenn 2, nicht mehr als 64 Farben. &#x0d;&#x0a;Bei Octree- und Wu-Quantisierern wirkt sich dies auch auf die maximale Anzahl der monochromen Farbtne aus.&#x0d;&#x0a;Wenn z. B. 5 (was die Voreinstellung fr den Wu-Quantisierer ist), knnen nur 32 monochrome Farbtne unterschieden werden.&#x0d;&#x0a; Achtung: Der Wu-Quantisierer verbraucht beim hchsten Wert mindestens 650 MB.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.BlackAndWhite">Schwarz und wei</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.BlackAndWhite.Info">Feste 1-BPP-Palette mit schwarzen und weien Farben.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale4">Graustufen - 4 Farben</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale4.Info">Feste 2-BPP-Palette mit 4 Graustufeneintrgen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale16">Graustufen - 16 Farben</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale16.Info">Feste 4-BPP-Palette mit 16 Graustufeneintrgen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale">Graustufen - 256 Farben</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Grayscale.Info">Feste 8-BPP-Palette mit 256 Graustufeneintrgen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.SystemDefault4BppPalette">Systemvorgabe - 4-BPP-Palette</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.SystemDefault4BppPalette.Info">Feste 4-BPP-Palette unter Verwendung der standardmigen 16 sRGB-Farben.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.SystemDefault8BppPalette">Systemvorgabe - 8-BPP-Palette</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.SystemDefault8BppPalette.Info">Feste 8-BPP-Palette einschlielich der websicheren Farben und der Transparenz.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Rgb332">RGB - 332 Farbpalette</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.PredefinedColorsQuantizer.Rgb332.Info">Feste 8-BPP-Palette unter Verwendung des RGB 332-Farbraums.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.Octree">Octree-Quantisierer</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.Octree.Info">Optimierung der Palette fr jedes Einzelbild mit dem Octree-Algorithmus.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.MedianCut">Median-Cut-Quantisierer</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.MedianCut.Info">Optimierung der Palette fr jedes Einzelbild mit dem Algorithmus Median Cut.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.Wu">Wu-Quantisierer</s:String> <s:String x:Key="S.SaveAs.KGySoft.Quantizer.OptimizedPaletteQuantizer.Wu.Info">Optimierung der Palette fr jedes Einzelbild mit dem Algorithmus von Xiaolin Wu.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer">Ditherer</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.Strength">Strke:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.Strength.Info">Die Strke des Dithers, oder 0, um die Strke automatisch zu kalibrieren.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.Seed">Seed:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.Seed.Info">Ein ganzzahliger Seed, der verwendet wird, um ein bestimmtes zuflliges Dithering-Muster zu erzeugen.&#x0d;&#x0a;Leer lassen, um einen zuflligen Seed fr jedes Einzelbild zu verwenden.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.None">Kein</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.None.Info">Die Einzelbilder werden ohne Dithering quantisiert.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.IsSerpentineProcessing">Serpentinen-Verarbeitung</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.IsSerpentineProcessing.Info">Wenn diese Option aktiviert ist, wird die Fehlerausbreitungsrichtung von Zeile zu Zeile gendert.&#x0d;&#x0a;Dies trgt dazu bei, den Ripple-Effekt des Fehlerdiffusionsdithering zu verringern.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer2X2">Bayer 2x2 (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer2X2.Info">Das 2x2-Bayer-Matrix-Muster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer3X3">Bayer 3x3 (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer3X3.Info">Das 3x3-Bayer-Matrix-Muster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer4X4">Bayer 4x4 (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer4X4.Info">Das 4x4-Bayer-Matrix-Muster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer8X8">Bayer 8x8 (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.Bayer8X8.Info">Das 8x8-Bayer-Matrix-Muster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.DottedHalftone">Gepunkteter Halbton (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.DottedHalftone.Info">Eine 8x8-Matrix mit einem gepunkteten Halbtonmuster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.BlueNoise">Blaues Rauschen (geordnet)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.OrderedDitherer.BlueNoise.Info">Eine 64x64-Matrix mit einem blauen Rauschmuster.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Atkinson">Atkinson (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Atkinson.Info">Die 4x3-Matrix von Bill Atkinson mit 6 effektiven Werten.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Burkes">Burkes (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Burkes.Info">Die 5x2-Matrix von D. Burkes.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.FloydSteinberg">Floyd-Steinberg (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.FloydSteinberg.Info">Die ursprngliche 3x2-Matrix von Floyd und Steinberg.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.JarvisJudiceNinke">Jarvis-Judice-Ninke (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.JarvisJudiceNinke.Info">Eine 5x3-Matrix von Jarvis, Judice und Ninke.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Sierra3">Sierra 3 (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Sierra3.Info">Die 5x3-Matrix von Frankie Sierra.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Sierra2">Sierra 2 (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Sierra2.Info">Die 5x2-Matrix von Frankie Sierra.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.SierraLite">Sierra Lite (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.SierraLite.Info">Die 3x2-Matrix von Frankie Sierra.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.StevensonArce">Stevenson-Arce (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.StevensonArce.Info">Eine 7x4 hexagonale Matrix von Stevenson und Arce.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Stucki">Stucki (Fehlerdiffusion)</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.ErrorDiffusionDitherer.Stucki.Info">Die 5x3-Matrix von Stucki.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.RandomNoiseDitherer">Zuflliges Rauschen</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.RandomNoiseDitherer.Info">Zuflliges weies Rauschen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.InterleavedGradientNoiseDitherer">berlagertes Farbverlauf-Rauschen</s:String> <s:String x:Key="S.SaveAs.KGySoft.Ditherer.InterleavedGradientNoiseDitherer.Info">Nicht zuflliges Farbverlauf-Rauschen, das durch eine Berechnung erzeugt wird.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Preview">Vorschau</s:String> <s:String x:Key="S.SaveAs.KGySoft.Preview.ShowCurrentFrame">Aktuelles Einzelbild anzeigen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Preview.ShowCurrentFrame.Info">Wenn diese Option aktiviert ist, zeigt die Vorschau das aktuelle Einzelbild anstelle eines Standardbildes.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Preview.Refresh">Die automatische Vorschau wurde aufgrund des hohen Speicherbedarfs der aktuellen Einstellungen deaktiviert. Anklicken, um die Vorschau zu aktualisieren.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Preview.Error">Vorschau konnte nicht erstellt werden: {0}&#x0d;&#x0a;Anklicken, um die Vorschau erneut zu erzeugen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation">Animations-Einstellungen</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.EndlessLoop">Endlosschleife</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.EndlessLoop.Info">Wenn diese Option aktiviert ist, wird die Animation in einer unendlichen Schleife wiederholt.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.PingPong">Vor und zurck.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.PingPong.Info">Wenn diese Option aktiviert ist, wird die Animation vorwrts und rckwrts abgespielt.&#x0d;&#x0a;Dies wird durch die Duplizierung der Bilder erreicht, was eine grere Dateigre und eine lngere Umwandlungszeit bedeutet.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.LoopCount">Wiederholungen:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.LoopCount.Info">Gibt an, wie oft die Animation wiedergegeben werden soll.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowDeltaFrames">Delta-Frames zulassen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowDeltaFrames.Info">Wenn diese Option aktiviert ist, wird versucht, unvernderte Pixel whrend der Umwandlung zu erkennen.&#x0d;&#x0a;Bei Verwendung eines optimierten Quantisierers ermglicht diese Option, dass ein Bild mehr als 256 Farben hat.&#x0d;&#x0a;Diese Option wird ignoriert, wenn der Quantisierer keine Transparenz verwendet und Abgeschnittene Frames zulassen nicht markiert ist.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.DeltaTolerance">Delta-Toleranz:</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.DeltaTolerance.Info">Gibt die maximale Toleranz bei der Erkennung vernderter Pixel an.&#x0d;&#x0a;Wenn 0, dann wird berhaupt kein Unterschied toleriert.&#x0d;&#x0a;Wenn 255, dann gibt es mglicherweise Einzelbilder (oder sogar alle), die ohne Inhalt hinzugefgt werden.&#x0d;&#x0a;Ein sinnvoller Bereich liegt zwischen 0 und 16 fr einen optimierten Quantisierer. Diejenigen mit festen Farben knnen mit etwas greren Werten mit Dithering verwendet werden.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.HighDeltaTolerance">Wenn die Delta-Toleranz zu hoch festgelegt ist, kann das Ergebnis von schlechter Qualitt sein. Anklicken, um Delta-Toleranz zurckzusetzen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowClippedFrames">Abgeschnittene Frames zulassen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowClippedFrames.Info">Wenn diese Option aktiviert ist, darf der Encoder kleinere Einzelbilder als die tatschliche Auflsung hinzufgen.&#x0d;&#x0a;Wenn Delta-Frames zulassen nicht angekreuzt ist, wird nur das Beschneiden mglicher transparenter Rnder zugelassen.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowDeltaIgnored">Delta-Frames zulassen wird ignoriert, da die aktuelle Konfiguration kein Alpha verwendet und Abgeschnittene Frames zulassen nicht ausgewhlt ist. Anklicken, um abgeschnittene Frames zu aktivieren. Delta-Frames zulassen wird ignoriert, da die aktuelle Konfiguration kein Alpha verwendet und Abgeschnittene Frames zulassen nicht ausgewhlt ist. Anklicken, um abgeschnittene Frames zu aktivieren.</s:String> <s:String x:Key="S.SaveAs.KGySoft.Animation.AllowClippedIgnored">Abgeschnittene Frames zulassen hat keine Auswirkung, da die aktuelle Konfiguration kein Alpha verwendet und Delta-Frames zulassen nicht ausgewhlt ist. Anklicken, um Delta-Frames zu aktivieren.</s:String> <!--Editor Save as > Apng options--> <s:String x:Key="S.SaveAs.ApngOptions">APNG-Einstellungen</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction">Vorausberechnung:</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction.None">Keine</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction.Sub">Sub</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction.Up">Oben</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction.Average">Durchschnitt</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Prediction.Mixed">Gemischt</s:String> <s:String x:Key="S.SaveAs.ApngOptions.Looped">APNG-Schleife.</s:String> <s:String x:Key="S.SaveAs.ApngOptions.DetectUnchanged">Unvernderte Pixel erkennen</s:String> <s:String x:Key="S.SaveAs.ApngOptions.PaintTransparent">Unvernderte Pixel transparent darstellen.</s:String> <!--Editor Save as > Webp options--> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset">Voreinstellung:</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.None">Keine</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Default">Standard</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Picture">Grafik</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Photo">Foto</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Drawing">Zeichnung</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Icon">Symbol</s:String> <s:String x:Key="S.SaveAs.WebpOptions.CodecPreset.Text">Text</s:String> <s:String x:Key="S.SaveAs.WebpOptions.Lossless">Verlustfreien Modus verwenden</s:String> <!--Editor Save as > Video options--> <s:String x:Key="S.SaveAs.VideoOptions.Mode">Modus:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Mode.Normal">Normal</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Mode.Advanced">Erweitert</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Mode.Info">Methode zum Konfigurieren der Umwandlungsparameter:&#10;Normal: Standard-UI-Steuerelemente verwenden.&#10;Erweitert: Textfeld verwenden, um die Parameter einzugeben.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Codec">Codec:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Codec.Info">Die Video-Umwandlung, die fr&#10;die Umwandlung der unbearbeiteten Pixel in die Ausgabedatei verantwortlich ist.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset">Voreinstellung:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.None">Keine</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.VerySlow">Sehr langsam</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Slower">Langsamer</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Slow">Langsam</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Medium">Mittel</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Fast">Schnell</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Faster">Schneller</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.VeryFast">Sehr schnell</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.SuperFast">Superschnell</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.UltraFast">Am schnellsten</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Quality">Qualitt</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Balanced">Ausgewogen</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Speed">Geschwindigkeit</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Default">Standard</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Lossless">Verlustfrei</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.LosslessHp">Verlustfrei (hohe Leistung)</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Hp">Hohe Leistung</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Hq">Hohe Qualitt</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Bd">Bluray Disk</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.LowLatency">Geringe Latenzzeit</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.LowLatencyHp">Geringe Latenzzeit (hohe Leistung)</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.LowLatencyHq">Geringe Latenzzeit (hohe Qualitt)</s:String> <s:String x:Key="S.SaveAs.VideoOptions.CodecPreset.Info">Umwandlungsgeschwindigkeit zu Kompressionsverhltnis, &#10;langsamere Voreinstellungen knnen eine bessere Kompression ergeben&#10;(Qualitt pro Dateigre).</s:String> <s:String x:Key="S.SaveAs.VideoOptions.HardwareAcceleration">Hardwarebeschleunigung:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.HardwareAcceleration.Off">Aus</s:String> <s:String x:Key="S.SaveAs.VideoOptions.HardwareAcceleration.On">Ein</s:String> <s:String x:Key="S.SaveAs.VideoOptions.HardwareAcceleration.Auto">Automatisch auswhlen</s:String> <s:String x:Key="S.SaveAs.VideoOptions.HardwareAcceleration.Info">Steuert die Verwendung von dedizierter Hardware (Videografik).&#10;Aus: Verwendet keine dedizierte Hardware.&#10;Ein: Verwendet dedizierte Hardware und ermglicht die Auswahl spezieller Umwandlungsmethoden.&#10;Auto: Verwendet dedizierte Hardware und whlt automatisch die richtige Umwandlungsmethode, wenn mglich.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.PixelFormat">Pixelformat:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.PixelFormat.Auto">Automatisch</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync">Vsync:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync.Info">Video-Sync-Methode.&#10;Auto: Whlt zwischen 1 und 2 je nach Muxer-(Format-)Fhigkeiten.&#10;Durchleiten: Jeder Grafik wird mit seinen Zeitstempeln an die Umwandlung weitergegeben.&#10;Konstant: Frames werden dupliziert und verworfen, um genau die gewnschte konstante Framerate zu erreichen.&#10;Variabel: Frames werden mit ihrem Zeitstempel durchgeleitet oder verworfen, um zu verhindern, dass 2 Frames den gleichen Zeitstempel erhalten.&#10;Verwerfen: Wie Durchleiten, aber alle Zeitstempel werden entfernt, so dass bei der Umwandlung neue Zeitstempel, basierend auf der Framerate, erstellt werden.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync.Passthrough">Durchleiten</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync.Cfr">Konstante Bildwiederholrate</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync.Vfr">Variable Bildwiederholrate</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Vsync.Drop">Verwerfen</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Framerate">Bildwiederholrate:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Framerate.Film">Film</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Framerate.Custom">Benutzerdefiniert</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Pass">bergeben:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Crf.Info">Konstanter Ratenfaktor.&#10;Einstellung der Qualitts- und Ratenkontrolle.&#10;Leer lassen, wenn Sie diese Eigenschaft nicht verwenden mchten.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.QualityLevel">Qualittsstufe:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.QualityLevel.Info">Kleinere Werte bedeuten bessere Qualitt.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate">Bitrate:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Info">Ziel-Video-Bitrate</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Mode">Bitraten-Modus:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Mode.Constant">Konstant</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Mode.Variable">Variabel</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Minimum">Minimale Bitrate:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Minimum.Info">Minimale Bitratentoleranz&#10;Am ntzlichsten bei Verwendung des CBR-Modus.&#10;Leer lassen oder auf Null setzen,&#10;wenn Sie diese Eigenschaft nicht verwenden mchten.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Maximum">Maximale Bitrate:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Maximum.Info">Maximale Bitratentoleranz&#10;Erfordert auerdem die Einstellung der Puffergre.&#10;Leer lassen oder auf Null setzen,&#10;wenn Sie diese Eigenschaft nicht verwenden mchten.</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Buffer">Puffergre:</s:String> <s:String x:Key="S.SaveAs.VideoOptions.Bitrate.Buffer.Info">Ratensteuerungs-Puffergre&#10;Leer lassen oder auf Null setzen,&#10;wenn Sie diese Eigenschaft nicht verwenden mchten.</s:String> <!--Editor Save as > Image options--> <s:String x:Key="S.SaveAs.ImageOptions.Zip">Grafiken als Zip-Datei speichern</s:String> <s:String x:Key="S.SaveAs.ImageOptions.Zip.Info">Exportiert die Aufnahmen in einen komprimierten Ordner.</s:String> <!--Editor Save as > Psd options--> <s:String x:Key="S.SaveAs.PsdOptions.Compress">Grafik komprimieren.</s:String> <s:String x:Key="S.SaveAs.PsdOptions.Compress.Info">Komprimiert die Grafikdaten mit dem RLE-Algorithmus.</s:String> <s:String x:Key="S.SaveAs.PsdOptions.Timeline">Daten der Zeitleiste speichern</s:String> <s:String x:Key="S.SaveAs.PsdOptions.Timeline.Info">Exportiert zustzlich Zeitdaten der Frames.</s:String> <!--Editor Save as > Save options--> <s:String x:Key="S.SaveAs.SaveOptions">Exporteinstellungen</s:String> <s:String x:Key="S.SaveAs.SaveOptions.Partial">Teilweise exportieren</s:String> <s:String x:Key="S.SaveAs.SaveOptions.PickFolder">Datei in ausgewhlten Ordner speichern</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode">berschreiben?</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Warn">Warnen</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Warn.Info">Nur warnen, wenn eine Datei mit demselben Namen vorhanden ist.</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Prompt">Besttigen</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Prompt.Info">Nachfragen, ob der Benutzer die Datei berschreiben mchte.</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Allow">Erlauben</s:String> <s:String x:Key="S.SaveAs.SaveOptions.OverwriteMode.Allow.Info">Die Datei wird einfach berschrieben.</s:String> <s:String x:Key="S.SaveAs.SaveOptions.ProjectToo">Auch als Projekt speichern (gleicher Ordner, gleicher Dateiname)</s:String> <s:String x:Key="S.SaveAs.SaveOptions.UploadFile">Datei hochladen</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard">In Zwischenablage kopieren</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.File">Datei</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.File.Info">Kopiert Ausgabedatei in Zwischenablage</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.FolderPath">Ordnerpfad</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.FolderPath.Info">Kopiert Ordnerpfad der Ausgabedatei in die Zwischenablage</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.FilePath">Dateipfad</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.FilePath.Info">Kopiert Dateipfad der Ausgabedatei in Zwischenablage</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.Link">Link</s:String> <s:String x:Key="S.SaveAs.SaveOptions.CopyToClipboard.Link.Info">Kopiert den durch Upload-Service erzeugten Link in Zwischenablage</s:String> <s:String x:Key="S.SaveAs.SaveOptions.ExecuteCommands">Weitere Umwandlungsbefehle ausfhren</s:String> <s:String x:Key="S.SaveAs.SaveOptions.ExecuteCommands.Info">Befehle eingeben, die nach dem Umwandeln ausgefhrt werden sollen.&#x0a;Falls mehrere Befehle ausgefhrt werden sollen, bitte einen Befehl pro Zeile eingeben.&#x0a;Makros:&#x0a;{p} = Dateiausgabepfad&#x0a;{f} = Ordnerausgabepfad&#x0d;{u} = URL der hochgeladenen Datei</s:String> <!--Editor Save as > Partial export--> <s:String x:Key="S.SaveAs.Partial">Teilweise exportieren</s:String> <s:String x:Key="S.SaveAs.Partial.Mode">Modus:</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Info">Methode fr den Teilexport auswhlen.</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Expression">Ausdruck</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Expression.Info">Exportiert Teile der Animation basierend auf einem einfachen Ausdruck.</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Frames">Frame-Bereich</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Frames.Info">Exportiert nur einen Teil der Animation innerhalb des Frame-Bereichs.</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Time">Zeitbereich</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Time.Info">Exportiert nur einen Teil der Animation innerhalb des Zeitbereichs.</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Selection">Auswahl</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Selection.Info">Exportiert nur die in der Zeitleiste ausgewhlten Einzelbilder.</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Selection.None">Keine Einzelbilder ausgewhlt</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Selection.Singular">1 Einzelbild ausgewhlt</s:String> <s:String x:Key="S.SaveAs.Partial.Mode.Selection.Plural">{0} Einzelbilder ausgewhlt</s:String> <s:String x:Key="S.SaveAs.Partial.From">Von:</s:String> <s:String x:Key="S.SaveAs.Partial.To">Bis:</s:String> <s:String x:Key="S.SaveAs.Partial.Expression">Ausdruck:</s:String> <s:String x:Key="S.SaveAs.Partial.Expression.Info">Geben Sie durch ein Komma getrennte Einzelbildnummern oder&#10;durch ein Minuszeichen getrennte Einzelbildfolgen ein:&#10;1, 3, 4, 6 - 9</s:String> <!--Editor Save as > File--> <s:String x:Key="S.SaveAs.File">Speicherort und Dateiname</s:String> <s:String x:Key="S.SaveAs.File.Location">Zielordner</s:String> <s:String x:Key="S.SaveAs.File.SelectFolder">Ausgabeordner auswhlen</s:String> <s:String x:Key="S.SaveAs.File.Choose">Ordner auswhlen</s:String> <s:String x:Key="S.SaveAs.File.Format">Dateiformat</s:String> <s:String x:Key="S.SaveAs.File.Name">Dateiname. Datum-/Zeitangabe zwischen ? einfgen</s:String> <s:String x:Key="S.SaveAs.File.Animation">Animation</s:String> <s:String x:Key="S.SaveAs.File.Increase">Dateinummer erhhen</s:String> <s:String x:Key="S.SaveAs.File.Decrease">Dateinummer verringern</s:String> <s:String x:Key="S.SaveAs.File.Exists">Datei mit gleichem Namen existiert bereits.</s:String> <s:String x:Key="S.SaveAs.File.Clipboard">In die Zwischenablage speichern</s:String> <!--Editor Save as > Warnings--> <s:String x:Key="S.SaveAs.Warning.Type">Bitte Speicherort auswhlen (Ordner, Zwischenablage oder Hochladen).</s:String> <s:String x:Key="S.SaveAs.Warning.Extension">Dateierweiterung muss ausgewhlt werden</s:String> <s:String x:Key="S.SaveAs.Warning.Ffmpeg.Empty">Wenn Sie den erweiterten Modus auswhlen, mssen Sie die Parameter in das Parameterfeld eingeben.</s:String> <s:String x:Key="S.SaveAs.Warning.Ffmpeg.MissingPath">Die speziellen Parameter {I} (Eingang) und/oder {O} (Ausgang) fehlen im Parameterfeld.</s:String> <s:String x:Key="S.SaveAs.Warning.Commands.Empty">Um einen Befehl auszufhren, bitte diesen in das Eingabefeld eintragen.</s:String> <s:String x:Key="S.SaveAs.Warning.Partial.NoSelection">Es muss mindestens ein Einzelbild ausgewhlt werden, wenn Sie die Option nur ausgewhlte Bilder exportieren nutzen mchten.</s:String> <s:String x:Key="S.SaveAs.Warning.Partial.InvalidExpression">Der Ausdruck zum teilweisen Exportieren des Projekts ist ungltig.</s:String> <s:String x:Key="S.SaveAs.Warning.Upload.None">Kein Upload-Dienst ausgewhlt. Bitte ein Upload-Ziel bestimmen.</s:String> <s:String x:Key="S.SaveAs.Warning.Upload.NotAuthorized">Sie knnen den gewhlten Dienst nicht verwenden, weil er nicht autorisiert wurde. Gehen Sie zu Einstellungen Cloud-Dienste, um dieses Programm zu autorisieren.</s:String> <s:String x:Key="S.SaveAs.Warning.Copy.Link">Option Link kopieren kann nicht ausgefhrt werden, weil Datei hochladen nicht gewhlt wurde.</s:String> <s:String x:Key="S.SaveAs.Warning.Folder">Ausgabeordner whlen.</s:String> <s:String x:Key="S.SaveAs.Warning.Folder.NotExists">Ausgabeordner existiert nicht.</s:String> <s:String x:Key="S.SaveAs.Warning.Folder.Invalid">Name des Ausgabeordners beinhaltet mindestens ein ungltiges Zeichen. Bitte whlen Sie einen gltigen Ordnernamen aus.</s:String> <s:String x:Key="S.SaveAs.Warning.Filename">Dateinamen eingeben.</s:String> <s:String x:Key="S.SaveAs.Warning.Filename.Invalid">Name der Ausgabedatei beinhaltet mindestens ein ungltiges Zeichen. Bitte whlen Sie einen gltigen Dateinamen aus.</s:String> <s:String x:Key="S.SaveAs.Warning.Overwrite">Dateiname ist bereits vorhanden. Stellen Sie das berschreiben ein oder benennen Sie die Datei um.</s:String> <s:String x:Key="S.SaveAs.Warning.Overwrite.Project">Es gibt bereits ein Projekt mit demselben Dateinamen. berschreiben Sie es oder whlen Sie einen anderen Dateinamen oder Ordner.</s:String> <s:String x:Key="S.SaveAs.Warning.Canceled">Vorgang wurde abgebrochen.</s:String> <!--Editor Save as > Upload--> <s:String x:Key="S.SaveAs.Upload">Hochladen</s:String> <s:String x:Key="S.SaveAs.Upload.Info">Whlen Sie die Voreinstellung fr das Hochladen aus, die Details ber den fr das Hochladen verwendeten Dienst enthlt.</s:String> <s:String x:Key="S.SaveAs.Upload.Limit">Dieser Upload-Dienst unterliegt Einschrnkungen.</s:String> <s:String x:Key="S.SaveAs.Upload.Add">Neue Upload-Voreinstellung hinzufgen.</s:String> <s:String x:Key="S.SaveAs.Upload.Edit">Voreinstellung fr das Hochladen bearbeiten.</s:String> <s:String x:Key="S.SaveAs.Upload.History">Verlauf der hochgeladenen Daten mit dieser Voreinstellung anzeigen.</s:String> <s:String x:Key="S.SaveAs.Upload.Remove">Aktuell ausgewhlte Upload-Voreinstellung entfernen.</s:String> <s:String x:Key="S.SaveAs.Upload.Select.Title">Upload-Voreinstellung auswhlen</s:String> <s:String x:Key="S.SaveAs.Upload.Select.Description">Aus dieser Liste auswhlen</s:String> <s:String x:Key="S.SaveAs.Upload.Unavailable.Title">Keine Voreinstellung fr das Hochladen fr dieses Format verfgbar</s:String> <s:String x:Key="S.SaveAs.Upload.Unavailable.Description">Voreinstellung durch Drcken der nachfolgenden Schaltflche unten hinzufgen.</s:String> <!--Editor Save as > Upload > Dialogs--> <s:String x:Key="S.SaveAs.Upload.Ask.Delete.Title">Voreinstellung fr das Hochladen wird gelscht</s:String> <s:String x:Key="S.SaveAs.Upload.Ask.Delete.Instruction">Mchten Sie die Voreinstellung fr das Hochladen wirklich lschen?</s:String> <s:String x:Key="S.SaveAs.Upload.Ask.Delete.Message">Diese Aktion kann nicht widerrufen werden.&#10;&#10;Mchten Sie die ausgewhlte Upload-Voreinstellung wirklich lschen?</s:String> <!--Save as Dialogs--> <s:String x:Key="S.SaveAs.Dialogs.Multiple.Title">Frames exportieren</s:String> <s:String x:Key="S.SaveAs.Dialogs.Multiple.Instruction">Mchten Sie die Frames wirklich exportieren?</s:String> <s:String x:Key="S.SaveAs.Dialogs.Multiple.Message">Diese Aktion wird {0} Frames direkt in den ausgewhlten Ordner exportieren.</s:String> <s:String x:Key="S.SaveAs.Dialogs.Overwrite.Title">berschreiben</s:String> <s:String x:Key="S.SaveAs.Dialogs.Overwrite.Instruction">Mchten Sie die Datei berschreiben?</s:String> <s:String x:Key="S.SaveAs.Dialogs.Overwrite.Message">Eine Datei mit dem Namen {0} ist bereits in diesem Ordner vorhanden. Soll sie berschrieben werden?</s:String> <s:String x:Key="S.SaveAs.Dialogs.OverwriteMultiple.Instruction">Mchten Sie die Dateien berschreiben?</s:String> <s:String x:Key="S.SaveAs.Dialogs.OverwriteMultiple.Message">Eine oder mehrere Dateien mit demselben Namen sind bereits in diesem Ordner vorhanden. Sollen sie berschrieben werden?</s:String> <!--Command Preview--> <s:String x:Key="S.CommandPreviewer.Title">Befehlsvorschau</s:String> <s:String x:Key="S.CommandPreviewer.Command">Befehl</s:String> <s:String x:Key="S.CommandPreviewer.Input">Eingabepfad</s:String> <s:String x:Key="S.CommandPreviewer.Output">Ausgabepfad</s:String> <!--Feedback--> <s:String x:Key="S.Feedback.Feedback">Rckmeldung</s:String> <s:String x:Key="S.Feedback.Send">Senden</s:String> <s:String x:Key="S.Feedback.Preview">Vorschau</s:String> <s:String x:Key="S.Feedback.Header">Rckmeldung senden</s:String> <s:String x:Key="S.Feedback.Title">Titel</s:String> <s:String x:Key="S.Feedback.Message">Nachricht</s:String> <s:String x:Key="S.Feedback.Message.Info">Falls Sie einen Fehler finden, vergessen Sie nicht, Schritt fr Schritt zu erklren, wie es zu diesem Fehler gekommen ist.</s:String> <s:String x:Key="S.Feedback.Type">Art der Rckmeldung</s:String> <s:String x:Key="S.Feedback.Suggestion">Vorschlag</s:String> <s:String x:Key="S.Feedback.IssueBug">Problem/Fehler</s:String> <s:String x:Key="S.Feedback.YourEmail">E-Mail-Adresse</s:String> <s:String x:Key="S.Feedback.Warning.Title">Sie mssen Titel eingeben.</s:String> <s:String x:Key="S.Feedback.Warning.Message">Sie mssen Inhalt eingeben.</s:String> <s:String x:Key="S.Feedback.Warning.Email">Sie mssen Ihre E-Mail-Adresse eingeben, um eine Antwort vom Entwickler erhalten zu knnen.</s:String> <s:String x:Key="S.Feedback.Sending">Vielen Dank. Ihre Rckmeldung wird gesendet. Fenster schliet sich automatisch.</s:String> <s:String x:Key="S.Feedback.Attachments">Anhnge (optional, maximal 20 MB)</s:String> <s:String x:Key="S.Feedback.AddAttachments">Datei(en) anhngen</s:String> <s:String x:Key="S.Feedback.RemoveAttachments">Anhnge entfernen</s:String> <s:String x:Key="S.Feedback.LanguageInfo1">Bitte schreiben Sie mir in Englisch</s:String> <s:String x:Key="S.Feedback.LanguageInfo2">oder Portugiesisch (brasilianisch und europisch).</s:String> <s:String x:Key="S.Feedback.Preview.Info">Folgende Informationen (und Anhnge) werden verschickt.</s:String> <!--Troubleshoot--> <s:String x:Key="S.Troubleshoot.Title">Fehlersuche</s:String> <s:String x:Key="S.Troubleshoot.Windows">Fehlt ein Fenster?</s:String> <s:String x:Key="S.Troubleshoot.Windows.Info">Sollte ein Fenster (auerhalb des Bildschirms) fehlen,&#10;bitte dessen Position durch Klick auf unten stehende Option zurcksetzen.</s:String> <s:String x:Key="S.Troubleshoot.Windows.Current">Aktuelle Position aller Fenster:</s:String> <s:String x:Key="S.Troubleshoot.Windows.Next">Position aller Fenster beim nchsten ffnen:</s:String> <s:String x:Key="S.Troubleshoot.Windows.BringBack">Alle Fenster zum Hauptmonitor verschieben</s:String> <s:String x:Key="S.Troubleshoot.Windows.Reset">Position aller Fenster zurcksetzen</s:String> <!--FontStyles--> <s:String x:Key="S.FontStyles.Normal">Normal</s:String> <s:String x:Key="S.FontStyles.Italic">Kursiv</s:String> <s:String x:Key="S.FontStyles.Oblique">Schrg</s:String> <!--FontWeight--> <s:String x:Key="S.FontWeights.Black">Schwarz</s:String> <s:String x:Key="S.FontWeights.Bold">Fett</s:String> <s:String x:Key="S.FontWeights.DemiBold">Halbfett</s:String> <s:String x:Key="S.FontWeights.ExtraBlack">Extra schwarz</s:String> <s:String x:Key="S.FontWeights.ExtraBold">Extra fett</s:String> <s:String x:Key="S.FontWeights.ExtraLight">Extra schmal</s:String> <s:String x:Key="S.FontWeights.Heavy">Sehr fett</s:String> <s:String x:Key="S.FontWeights.Light">Schmal</s:String> <s:String x:Key="S.FontWeights.Medium">Mittel</s:String> <s:String x:Key="S.FontWeights.Normal">Normal</s:String> <s:String x:Key="S.FontWeights.Regular">Standard</s:String> <s:String x:Key="S.FontWeights.SemiBold">Halbfett</s:String> <s:String x:Key="S.FontWeights.Thin">Schmal</s:String> <s:String x:Key="S.FontWeights.UltraBlack">Ultra schwarz</s:String> <s:String x:Key="S.FontWeights.UltraBold">Ultra fett</s:String> <s:String x:Key="S.FontWeights.UltraLight">Ultra schmal</s:String> <!--VerticalAlignment--> <s:String x:Key="S.VerticalAlignment.Top">Oben</s:String> <s:String x:Key="S.VerticalAlignment.Center">Mitte</s:String> <s:String x:Key="S.VerticalAlignment.Bottom">Unten</s:String> <s:String x:Key="S.Alignment.Stretch">Dehnen</s:String> <!--HorizontalAlignment--> <s:String x:Key="S.HorizontalAlignment.Left">Links</s:String> <s:String x:Key="S.HorizontalAlignment.Center">Mitte</s:String> <s:String x:Key="S.HorizontalAlignment.Right">Rechts</s:String> <!--Orientation--> <s:String x:Key="S.Orientation.Horizontal">Horizontal</s:String> <s:String x:Key="S.Orientation.Vertical">Vertikal</s:String> <!--TextAlignment--> <s:String x:Key="S.TextAlignment.Left">Links</s:String> <s:String x:Key="S.TextAlignment.Right">Rechts</s:String> <s:String x:Key="S.TextAlignment.Center">Zentrieren</s:String> <s:String x:Key="S.TextAlignment.Justify">Blocksatz</s:String> <!--TextDecoration--> <s:String x:Key="S.TextDecorations.None">Keine</s:String> <s:String x:Key="S.TextDecorations.Underline">Unterstreichen</s:String> <s:String x:Key="S.TextDecorations.Strikethrough">Durchstreichen</s:String> <s:String x:Key="S.TextDecorations.OverLine">berstreichen</s:String> <s:String x:Key="S.TextDecorations.Baseline">Grundlinie</s:String> </ResourceDictionary> ```
Mar–Jana Phillips (born June 15, 1995) is a Filipino–American volleyball athlete. Personal life Mar–Jana is the daughter of Bobby, an American and Rowena, a Filipina from Zambales. She has two older brothers, Bobby Jr. and Khi. Clubs Sta. Lucia Lady Realtors (2017–2021) Petro Gazz Angels (2022–2023) Gwangju AI Peppers (2023–present) Awards Rolling Hills Preparatory First-Team All-Harbor League (2008) All-Coast League (2008–2012) All-California Interscholastic Federation honors (2011–2012) Coastal League Player of the Year (2012) Member of Power Play Volleyball Club (2008–2012) Member of Nfinity Volleyball Club (2008–2012) Juniata College Second-Team All-Landmark Conference (2013) Second-Team All-Landmark Conference (2014) NCAA Regional All-Tournament Team selection (2014) ASICS All-Tournament team (2014) Second-Team All-Landmark Conference (2015) Landmark Player of the Week (9/21/2015) AVCA Honorable Mention (2016) Landmark Conference Second Team (2016) Individual 2022 PVL Reinforced Conference "1st Best Middle Blocker" 2023 PVL All-Filipino Conference "2nd Best Middle Blocker" Clubs 2022 PVL Reinforced Conference - Champions, with Petro Gazz Angels References External links Juniata College Profile 1995 births Living people Filipino women's volleyball players Philippines women's international volleyball players American women's volleyball players American sportspeople of Filipino descent Sportspeople from Carson, California
Ro-26, originally named Submarine No. 45, was an Imperial Japanese Navy Kaichū-Type submarine, the lead unit of the Kaichū IV subclass. She was in commission from 1923 to 1938 and from 1939 to 1940. Design and description The submarines of the Kaichu IV sub-class were an improved version of the preceding Kaichu III subclass, slightly larger, with heavier torpedoes, and with the deck gun mounted forward of the conning tower instead of aft of it. They displaced surfaced and submerged. The submarines were long and had a beam of and a draft of . They had a diving depth of . For surface running, the submarines were powered by two Sulzer Mark II diesel engines, each driving one propeller shaft. When submerged each propeller was driven by a electric motor. They could reach on the surface and underwater. On the surface, they had a range of at ; submerged, they had a range of at . The submarines were armed with four internal bow torpedo tubes and carried a total of eight torpedoes. They were also armed with a single deck gun. Construction and commissioning Ro-26 was laid down as Submarine No. 45 on 10 March 1921 by the Sasebo Naval Arsenal at Sasebo, Japan. Launched on 18 October 1921, she was completed and commissioned on 25 January 1923, the lead unit of the Kaichū IV subclass. Service history Upon commissioning, Submarine No. 45 was attached to the Kure Naval District, and on 15 December 1923, she was assigned to Submarine Division 14 and to the Kure Defense Division. On 1 April 1924, Submarine Division 14 was reassigned to Submarine Squadron 2 in the 2nd Fleet. On 16 May 1924 Submarine No. 45′s diving rudders failed while she was conducting a practice attack. Her crew lost control of her, and she sank to the bottom in a vertical position in of water. Her crew managed to bring her to the surface, and she suffered no casualties. On 1 November 1924, Submarine No. 45 was renamed Ro-26. Submarine Division 14 was reassigned to the Kure Naval District on 1 August 1925, and on 18 August 1925 began duty with the Kure Defense Division. This lasted until 1 December 1925, when the division returned to Submarine Squadron 2 in the 2nd Fleet. On 1 December 1926, Submarine Division 14 was reassigned to the Kure Naval District, in which it remained until 1933. In the years that followed, the division had duty in the Kure Defense Division from 10 December 1928 to 1 December 1930, and Ro-26 underwent a refit in 1932. Ro-26 again served in the Kure Defense Division from 1 October 1932 to 1 February 1933. and was assigned directly to the Kure Naval District from 15 November 1933 to 15 November 1935, then returned to Submarine Division 14. She was decommissioned on 1 December 1938 and placed in Fourth Reserve in the Kure Naval District, then recommissioned on 1 May 1939 and assigned directly to the district. Ro-26 was decommissioned and stricken from the Navy list on 1 April 1940. She served subsequently as the training hulk Heisan No. 6 at the submarine school at Kure, Japan. She was sold for scrap after World War II; scrapping began at Kanagawa, Japan, in 1947 and was completed in April 1948. Notes References , History of Pacific War Vol.17 I-Gō Submarines, Gakken (Japan), January 1998, Rekishi Gunzō, History of Pacific War Extra, "Perfect guide, The submarines of the Imperial Japanese Forces", Gakken (Japan), March 2005, The Maru Special, Japanese Naval Vessels No.43 Japanese Submarines III, Ushio Shobō (Japan), September 1980, Book code 68343-44 The Maru Special, Japanese Naval Vessels No.132 Japanese Submarines I "Revised edition", Ushio Shobō (Japan), February 1988, Book code 68344-36 The Maru Special, Japanese Naval Vessels No.133 Japanese Submarines II "Revised edition", Ushio Shobō (Japan), March 1988, Book code 68344-37 The Maru Special, Japanese Naval Vessels No.135 Japanese Submarines IV, Ushio Shobō (Japan), May 1988, Book code 68344-39 Ro-26-class submarines Kaichū type submarines Ships built by Sasebo Naval Arsenal 1921 ships Maritime incidents in 1924
Hove College is a private not for profit further education provider in Brighton and Hove, UK which offers training in multimedia, business, and design studies. History Hove College was formerly part of the British Study Centres School of English and West London College but is now an independent not-for-profit business. Hove College remains located next to the Brighton branch of the British Study Centres. Course Specifications Hove College delivers and issues courses at Certificate, Diploma, and Advanced diploma levels. The course content are accredited & approved by OCN London also known as "Open College Network London Region ". The College courses consist of modular units which are aligned to provide students with the academic profile to support progression into final year of university degree programmes. The courses focus on a blend of professional and academic criteria. Course Duration: 18 Weeks Certificate course. 36 Weeks (1 year) Diploma courses. 72 Weeks (2-years) are the Advanced diploma courses. Admissions The admission requirements vary by person to person and the college adopts a modern perception to it. Hove College attracts many university graduates and people with strong secondary education. However, there are strict entry requirements for English language skills for all overseas students, this is also in part to meet UKBA requirements for non EU/EEA. Overall the selection criteria are based on individuals merit, their work experience level of qualification and there motive for progression. The college is a tier 4 sponsor that means non-EU resident can apply to study there. Accreditation The college builds its own courses to match the job market which are then inspected and approved and accredited by Open College Network London Region 'OCN London' which is a national not for profit awarding body, listed and regulated by UK Ofqual. Hove College is also inspected and overseen by Independent school of Inspectorate and the college is also listed in the UK Register of Learning Providers. The college is officially recognized by UKBA and by Home Office as a private educational institution and is granted the tier 4 visa sponsor license which means non EU/EEA can apply for a study visa to study in the UK with Hove College. UK (Local) Partnership Agreements Hove College and its course content is recognized nationally as a private college in the UK. However the college has special and close progression agreements with the listed universities to enroll its student in the final year of their bachelors, depending on the type of qualification they finished at the college and the grades obtained. Southampton Solent University and University of Brighton International Partnerships Hove College has an international agreement with their partner college in China, the Shanghai Culture & Creativity College (SCCC) and offers optional Shanghai placement for those at Hove College who want an international experience. The Shanghai Culture & Creativity College runs exactly the same programmes in China for its local students so it simplifies the study situation for Hove College students to transfer there for one module of their programme. The college is a member of the Swedish SACO fair and attends and represents the college at the event. See also Universities in the UK Privy Council Education in the UK Brighton and Hove University of Brighton University of Sussex Brighton and Hove City Council Royal Pavilion Bogus Colleges in the UK References Education in Brighton and Hove Higher education colleges in England
```less .@{prefix-cls}-tree-node-data { padding: 0px 0 0px 18px; } .@{prefix-cls}-tree-node__content { cursor: pointer; color: @fontColor; margin:5px 0px; } .@{prefix-cls}-tree-active > .@{prefix-cls}-tree-node__content { color: @primaryColor; } .@{prefix-cls}-tree-select-icon{ color:@fontColor; margin-left: 5px; } .@{prefix-cls}-tree-select-box { margin-left: 5px; } .@{prefix-cls}-tree-loading-box{ border-radius: 4px; padding: 0px 5px; &:hover{ cursor:pointer; background: @hoverColor; } } ```
```php <?php namespace Spatie\SchemaOrg\Contracts; interface HowToItemContract { public function additionalType($additionalType); public function alternateName($alternateName); public function description($description); public function disambiguatingDescription($disambiguatingDescription); public function identifier($identifier); public function image($image); public function item($item); public function mainEntityOfPage($mainEntityOfPage); public function name($name); public function nextItem($nextItem); public function position($position); public function potentialAction($potentialAction); public function previousItem($previousItem); public function requiredQuantity($requiredQuantity); public function sameAs($sameAs); public function subjectOf($subjectOf); public function url($url); } ```
, or Guilty Gear DS, is a fighting game of the Guilty Gear series for the Nintendo DS. Modeled after Guilty Gear Isuka, its gameplay allows up to four player fights. It was the first versus fighting game for the Nintendo DS to be released outside Japan. Guilty Gear: Dust Strikers is also the first Guilty Gear game so far to have mini-games, ranging from the Balance Game where the player must help a chibi Jam balance the falling items with her plate, to Venom's Billiards, which puts the player and opponent in a pool-style game. The boss of the game's Story and Arcade modes is Gig, an immense insect-like monster with an angel attached to its bottom half. The game has 21 playable characters in all, but only twenty story modes, as Robo-Ky has no story mode. Characters Reception Guilty Gear Dust Strikers received "mixed or average reviews", according to Metacritic. References External links Game Page on IGN X-Play Review 2006 video games Arc System Works games Guilty Gear games Majesco Entertainment games Nintendo DS games Nintendo DS-only games Platform fighters THQ games Video games developed in Japan Multiplayer and single-player video games