text
stringlengths
1
22.8M
Preska pri Medvodah () is a former settlement that is part of the town of Medvode in the Upper Carniola region of Slovenia. Name The name of the settlement was changed from Preska to Preska pri Medvodah in 1955. History Preska pri Medvodah was annexed by Medvode in 1980, ending its existence as an independent settlement. Church The parish church in the settlement is dedicated to John the Baptist. It was built in 1941 based on plans by the architect Vinko Glanz (1902–1977). The bell tower is older, dating from 1741 and reworked in the mid-19th century. The church's interior was designed by the architect Janez Valentinčič (1904–1994). Paintings in the church include Janez Krstnik (John the Baptist) by Stane Kregar (1905–1973), Krst ob Jordanu (Baptism on the Jordan) by Valentin Metzinger (1699–1759), and Mati Božja (Our Lady) by Matija Bradaška (1852–1915). The church also contains some sculptures from the previous church at the site. References External links Preska pri Medvodah on Geopedia Populated places in the Municipality of Medvode Former settlements in Slovenia
```c++ /* * Cracking the coding interview edition 6 * Problem 2-1 : Remove duplicates from an unsorted linked list. * Approach 1 : Naive approach of iterating and remove all further duplicates of current node. * Space complexity O(1) & time complexity O(n^2) * Approach 2: Use a hash table, space complexity O(n), time complexity O(n) */ #include <iostream> #include <unordered_map> #include <random> struct Node { int data = 0; Node * next = nullptr; }; /** * [insert - insert a node at the head of list] * @param head [head of the list] * @param data [new node's data] */ void insert( Node * & head, int data ) { Node * newNode = new Node; newNode->data = data; newNode->next = head; head = newNode; } /** * [printList Helper routine to print list] * @param head [head of the list] */ void printList( Node * head ) { while( head ) { std::cout << head->data << "-->"; head = head->next; } std::cout << "nullptr" << std::endl; } //generate a random int between min and max /** * [random_range helper routine to generate a random number between min and max (including)] * @param min [min of range] * @param max [max of range] * @return [A random number between min and max] */ static inline int random_range(const int min, const int max) { std::random_device rd; std::mt19937 mt(rd()); std::uniform_int_distribution<int> distribution(min, max); return distribution(mt); } // Method 1 //space complexity O(1) // time complexity O(n^2) /** * [removeDuplicates Remove duplicates without using extra space] * @param head [head of list] */ void removeDuplicates( Node * head ) { if ( head == nullptr || ( head && (head->next == nullptr))) { return; } Node * curr = head; while(curr) { Node * runner = curr; while (runner->next != nullptr) { if (runner->next->data == curr->data) { runner->next = runner->next->next; } else { runner = runner->next; } } curr = curr->next; } } // Method 2 // space complexity - O(n) // time complexity - O(n) /** * [removeDuplicates1 - Remove duplicates from the list using hash table] * @param head [head of list] */ void removeDuplicates1( Node * head ) { if ( head == nullptr || ( head && (head->next == nullptr) )) { return ; } std::unordered_map<int, int> node_map; Node * prev = head; Node * curr = head->next; node_map[head->data] = 1; while( curr != nullptr ) { while (curr && node_map.find(curr->data) != node_map.end()) { curr = curr->next; } prev->next = curr; prev = curr; if (curr) { node_map[curr->data] = 1; curr = curr->next; } } } int main() { std::cout << "Method 1 : \n"; Node * head = nullptr; for ( int i = 0; i < 10; ++i ) { insert(head, random_range(1,7)); } printList(head); removeDuplicates(head); printList(head); std::cout << "Method 2 : \n"; Node * head1 = nullptr; for ( int i = 0; i < 10; ++i ) { insert(head1, random_range(1,7)); } printList(head1); removeDuplicates1(head1); printList(head1); return 0; } ```
Edna G. Riley (also known as Edna Goldsmith Riley) (1880-1962) was an American screenwriter, author, activist, and assistant film director who worked in Hollywood primarily during the 1910s. Biography Edna was born in Lower Lake, California, April 29, 1880, to William Goldsmith and Martha Asbill. As a young woman, she worked as a schoolteacher in her hometown. She later married playwright Edward Patrick Riley; the pair had no children together. She wrote a string of scenarios for the fledgling motion pictures in the 1910s, and she continued writing into the 1930s. In 1935, she protested against censorship in motion pictures by picketing in front of a cardinal's home in Manhattan. Her script All Flags Flying had been purchased by Paramount, but the cardinal had objected to the film's content and gotten censors to bar it from production. Selected filmography As writer: All Flags Flying (1935) (unproduced script) Before Morning (1933) The Crystal Gazer (1917) The Law of Compensation (1917) The Libertine (1916) The Prima Donna's Husband (1916) On the Brink of Shame (1916) As assistant director: The Blindness of Love (1916) References 1962 deaths 1880 births American women screenwriters Screenwriters from California 20th-century American women writers 20th-century American screenwriters
```sourcepawn # Helper file to perform one insert of a value into a table with # different types on master and slave. The file will insert the # result into the type_conversions table *on the slave* to get a # summary of failing and succeeding tests. # Input: # $source_type Type on the master # $target_type Type on the slave # $source_value Value on the master (inserted into the table) # $target_value Value on the slave (expected value in the table # on the slave) # $can_convert True if conversion shall work, false if it # shall generate an error # $engine_type The storage engine to be used for storing table # on both master and slave if (!$engine_type) { # Use the default storage engine let $engine_type=`SELECT @@storage_engine`; } connection master; disable_warnings; DROP TABLE IF EXISTS t1; enable_warnings; eval CREATE TABLE t1( pk INT NOT NULL PRIMARY KEY, a $source_type ) ENGINE=$engine_type; sync_slave_with_master; eval ALTER TABLE t1 MODIFY a $target_type; connection master; eval INSERT INTO t1 VALUES(1, $source_value); if ($can_convert) { sync_slave_with_master; eval SELECT a = $target_value into @compare FROM t1; eval INSERT INTO type_conversions SET Source = "$source_type", Target = "$target_type", Flags = @@slave_type_conversions, On_Master = $source_value, Expected = $target_value, Compare = @compare; UPDATE type_conversions SET On_Slave = (SELECT a FROM t1) WHERE TestNo = LAST_INSERT_ID(); } if (!$can_convert) { connection slave; wait_for_slave_to_stop; let $error = query_get_value("SHOW SLAVE STATUS", Last_SQL_Error, 1); eval INSERT INTO type_conversions SET Source = "$source_type", Target = "$target_type", Flags = @@slave_type_conversions, On_Master = $source_value, Error = "$error"; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; START SLAVE; } ```
Mececyon trinilensis, the Trinil dog, is an extinct canid species that lived on the island of Java in Indonesia during the Pleistocene. Description The body size of Mececyon trinilensis been estimated at around , comparable to a dhole. This small size is the result of insular dwarfism. Habitat and ecology Mececyon trinilensis is endemic to the island of Java. It was part of the Pleistocene Trinil Fauna of Java, which dates to the late Early-Middle Pleistocene. Other animals of this Faunal assemblage were Bos palaesondaicus, the Indian muntjak (Muntiacus muntjak), Bubalus palaeokerabau, the Dubois santeng and Stegodon trigonocephalus. Other predators of the Trinil Fauna were the Trinil tiger (Panthera tigris trinilensis) and the leopard cat (Prionailurus bengalensis). Mececyon is suggested to have been a hypercarnivore. It has been estimated that Mececyon trinilensis hunted prey of 1 kg to 10 kg, preferably 5 kg in size. However this number could vary, because it is yet unknown if the Mececyon trinilensis hunted in packs, or if carrion left over by the Trinil tiger influenced its feeding habits. Likely prey included rats and birds. Evolution Mececyon trinilensis probably ultimately originated from the mainland Xenocyon, perhaps Xenocyon lycanoides, likely via the intermediate species Megacyon merriami, which is proportionally larger than mainland Xenocyon species, and known from older Early Pleistocene fossils on Java. The similarly dwarfed Sardinian dhole (Cynotherium sardous) is also suggested to have evolved from Xenocyon. Its closest living relatives are the African wild dog (Lycaon pictus) and the dhole (Cuon alpinus). Some authors have suggested sinking Mececyon and Megacyon into Xenocyon. During the early Middle Pleistocene, the extinct dhole species Cuon priscus arrived on Java. It has been suggested that C. priscus outcompeted M/X. trinilensis, resulting in its absence in younger deposits. References Prehistoric canines Pleistocene mammals of Asia Extinct animals of Indonesia
```java package sfBugsNew; import edu.umd.cs.findbugs.annotations.DesireNoWarning; public class Bug1240<T extends Data & Displayable> { T field; @DesireNoWarning("BC_UNCONFIRMED_CAST") public String getFromLocalVar(T value) { return value.getDisplayKey(); } @DesireNoWarning("BC_UNCONFIRMED_CAST") public String getFomField(T value) { return field.getDisplayKey(); } } interface Displayable { String getDisplayKey(); } class Data { } ```
The legal definition of a motorcycle for the purposes of registration, taxation and rider licensing in most countries is a powered two-wheel motor vehicle. Most countries distinguish between mopeds up to 49 cc (scooters do not count as a separate category) and the more powerful, larger, vehicles known as motorcycles. Many jurisdictions include some forms of three-wheelers as motorcycles. Australia and New Zealand In New Zealand, a motorcycle is any two- or three-wheeled motor vehicle weighing less than 1000 kg, that can travel faster than 50 km/h or that has an engine capacity exceeding 50 cc. A moped is a motorcycle-like vehicle with an engine capacity under 50 cc and that cannot exceed 50 km/h. Motorcycles may only be driven on a motorcycle (class 6) licence; a moped can be driven on a car (class 1) licence. Riders on their learners or restricted motorcycle licence can only ride approved motorcycles on the Learner Approved Motorcycle Scheme (LAMS) list. These motorcycles must have an engine capacity of 660 cc or less and a power-to-weight ratio of 150 kW/tonne or less (when including a 90 kg rider). Motorcycles with an engine capacity of 250 cc or less are automatically approved, except for a small number of high-performance machines. Pre-1960 motorcycles are exempt from the power-to-weight ratio restriction. The legal age to be eligible to apply for a New Zealand motorcycle licence is 16 years and over. New Zealand employs a three stage system for motor vehicle licensing. At age 16, an individual can gain their first licence known as their "learner licence". They must hold this for at least 6 months before they are able to move on to their "restricted licence". They must then hold this restricted licence for one and half years. After a period of 6–18 months, depending on age and additional training, a holder of a restricted licence may sit the third and final stage known as the "full licence". A similar system is used in most states of Australia, with some variations. "Learners Permit" and "Provisional" licence holders must not have bikes that exceed a power-to-weight ratio of 150 kW/tonne or 660 cc, whichever comes first. All 250 cc bikes (with a few listed exceptions) are automatically included in this LAMS (Learner Approved Motorcycle Scheme) list. Before getting a learners permit a pre-learner course is required, which issues a certificate of completion, valid for 3 months. Upon passing a computer test, the rider is granted a learners permit, which is valid for 12 months. Whilst on a learners permit, the rider may not carry a pillion or side car and may not exceed or the posted speed limit, whichever is lower, in certain jurisdictions. To progress to a provisional licence, the rider must successfully complete a pre-provisional riders course, followed by a riding skills test called MOST (Motorcycle Operator Skill Test). The rider is then able to obtain a P1 provisional licence enabling a new upper speed limit of and giving the rider a maximum of four demerit points. These licences can be renewed and must be held without suspension for 12 months, after which time it can be upgraded to a P2 provisional licence, which is then to be held for 2 more years before the rider obtains their full licence, providing they have not breached any laws causing them to be suspended or disqualified in that period. P2 provisional riders have an upper speed limit of and a maximum of seven demerit points. P2 provisional riders are permitted to carry a pillion, P1 riders are not. There are exceptions to this rule for mature age licence holders who also hold an unrestricted drivers license, who may be eligible to bypass the P2 provisional period. Canada and the US In Canada and the United States three-wheeled motor vehicles fall under the auspices of motorcycle regulations. The laws and regulations for legal moped usage in the U.S. vary by state. In the United States, licensing requirements vary widely among the states and territories, but generally riders are required to pass written and practical (on-cycle) competency tests. In about half the states, successful completion of a rider education course (such as those offered by the Motorcycle Safety Foundation) is accepted by state licensing agencies in lieu of examination. The specifics of the motorcycle and moped laws in the U.S. can be obtained from each individual state's Department of Motor Vehicles website. United Kingdom These rules have recently changed. Motorcycle riders in the UK must normally take a one-day Compulsory Basic Training (CBT) course, regardless of which class of motorcycle they intend to ride. In addition a theory test must be taken prior to taking a practical test for any type of motorcycle licence. Entry level to motorcycling at age 16 is the moped, a motorcycle of engine capacity no greater than 50 cc restricted to a maximum design speed of . At age 17 the rider may have a "light motorcycle" with an engine up to 125 cc and a power output not exceeding . Only a CBT certificate, obtained within the past two years, and a provisional licence is needed to ride a learner motorcycle with an L-plate. After passing a test on a 125 cc machine, riders will be restricted to ride a "large restricted motorcycle", which has a maximum power output of . After two years this restriction is lifted and any size or power of motorcycle may be ridden. For riders over age 21 there is a direct access route to gaining a licence to ride a "large motorcycle" of any engine capacity or power, which allows somebody with no motorcycle experience to train and pass a test in around five days. Three-wheeled vehicles weighing less than 8 cwt (896 lb / 406 kg) were long classified as motorcycles in the UK and could be driven with a full motorcycle licence. A requirement there be no reverse gear fitted was dropped in the 1960s. This exemption was linked to the enduring popularity of three-wheeled vehicles in the UK (such as the Reliant Regal van) but was abolished for new licence holders in October 2000. Mass-production of three-wheelers ceased in 1998 but the licensing exemption still benefits trikes and their riders. References Motorcycle Motorcycle regulation
The Nissan Saurus Jr. was first sold in 1991. It is a race car version of the Nissan Saurus. The Saurus Jr. was designed by Nissan solely for the one-make series known as the Saurus Jr. Cup, which was held at the Tsukuba circuit. It was available as a kit (2.3 million yen) or a finished vehicle (2.7 million yen). Options Available options for the Saurus were a mirror, and a rear spoiler. Tire and wheel specifications options were also available. Mechanical The Saurus was powered by an SOHC 4-cylinder MA10E producing 70 ps @ 5600 RPM sending power to a 5-speed manual gearbox. The gearbox is a transaxle RS5F31V. Except a part, the almost basically same as a gearbox of March R. As for suspension, it had front/rear wishbone suspension connected to 175/60R14 tires and a rack & pinion steering box. See also Nissan Saurus References External links Catalog Nissan racing cars
```objective-c //////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: testing.h (testing) // Authors: Ofer Dekel // //////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include <stdexcept> #include <string> #include <vector> #include <cmath> namespace ell { /// <summary> testing namespace </summary> namespace testing { /// <summary> Exception due to test failure. </summary> class TestFailureException : public std::runtime_error { public: /// <summary> Constructor. </summary> /// /// <param name="testDescription"> A description of the test failure that caused the exception. </param> TestFailureException(const std::string& testDescription); }; /// <summary> Exception due to test not implemented. </summary> class TestNotImplementedException : public std::runtime_error { public: /// <summary> Constructor. </summary> /// /// <param name="testDescription"> A description of the test that wasn't implemented. </param> TestNotImplementedException(const std::string& testDescription); }; /// <summary> Checks if a value is true </summary> /// /// <param name="a"> The value to check </param> /// /// <returns> The truth value of the value </returns> inline bool IsTrue(bool a) { return a; } /// <summary> Checks if a value is false </summary> /// /// <param name="a"> The value to check </param> /// /// <returns> The negated truth value of the value </returns> inline bool IsFalse(bool a) { return !a; } /// <summary> Checks if two values are exactly equal. </summary> /// /// <param name="a"> The first value. </param> /// <param name="b"> The second value. </param> /// /// <returns> true if equal, false if not. </returns> template <typename T1, typename T2> inline std::enable_if_t<!std::is_floating_point<T1>::value && !std::is_floating_point<T2>::value, bool> IsEqual(T1 a, T2 b) { return a == b; } /// <summary> Checks if two floats are equal, up to a small numerical error. </summary> /// /// <param name="a"> The first number. </param> /// <param name="b"> The second number. </param> /// <param name="tolerance"> The tolerance. </param> /// /// <returns> true if equal, false if not. </returns> template < typename T1, typename T2, typename T3 = std::conditional_t<sizeof(T1) >= sizeof(T2), T1, T2>> inline std::enable_if_t<std::is_floating_point<T1>::value && std::is_floating_point<T2>::value, bool> IsEqual(T1 a, T2 b, T3 tolerance = std::is_same_v<float, T3> ? 1.0e-6f : 1.0e-8) { if (std::isnan(a)) { return std::isnan(b); } if (std::isinf(a)) { return std::isinf(b); } return (a - b < tolerance && b - a < tolerance); } /// <summary> /// Checks if two vectors are equal. /// </summary> /// /// <param name="a"> The first vector. </param> /// <param name="b"> The second vector. </param> /// /// <returns> true if equal, false if not. </returns> bool IsEqual(const std::vector<bool>& a, const std::vector<bool>& b); /// <summary> /// Checks if two vectors are equal. /// </summary> /// /// <param name="a"> The first vector. </param> /// <param name="b"> The second vector. </param> /// /// <returns> true if equal, false if not. </returns> bool IsEqual(const std::vector<int>& a, const std::vector<int>& b); bool IsEqual(const std::vector<int64_t>& a, const std::vector<int64_t>& b); /// <summary> /// Checks if two vectors are equal, up to a small numerical error in each coordinate. /// </summary> /// /// <param name="a"> The first vector. </param> /// <param name="b"> The second vector. </param> /// <param name="tolerance"> The tolerance. </param> /// /// <returns> true if equal, false if not. </returns> bool IsEqual(const std::vector<float>& a, const std::vector<float>& b, float tolerance = 1.0e-8); bool IsEqual(const std::vector<double>& a, const std::vector<double>& b, double tolerance = 1.0e-8); template <typename ValueType1, typename ValueType2> bool IsEqual(const std::vector<std::vector<ValueType1>>& a, const std::vector<std::vector<ValueType2>>& b, double tolerance = 1.0e-8); /// <summary> /// Checks if two bool vectors are equal. /// </summary> /// /// <param name="a"> The first vector. </param> /// <param name="b"> The second vector. </param> /// /// <returns> true if equal, false if not. </returns> bool IsEqual(const std::vector<bool>& a, const std::vector<bool>& b); /// <summary> /// Checks if two string vectors are equal. /// </summary> /// /// <param name="a"> The first vector. </param> /// <param name="b"> The second vector. </param> /// /// <returns> true if equal, false if not. </returns> bool IsEqual(const std::vector<std::string>& a, const std::vector<std::string>& b); /// <summary> Checks if two values are not equal (using the default tolerance for floating-point values). </summary> /// /// <param name="a"> The first value. </param> /// <param name="b"> The second value. </param> /// /// <returns> true if not equal, true if equal. </returns> template <typename T1, typename T2> inline bool IsNotEqual(T1 t1, T2 t2) { return !IsEqual(t1, t2); } /// <summary> Process the test. </summary> /// /// <param name="testDescription"> Information describing the test. </param> /// <param name="success"> true if the test was a success, false if it failed. </param> /// <returns> The success value, for convenience. </returns> bool ProcessTest(const std::string& testDescription, bool success); /// <summary> Process a test, quietly. </summary> /// Identical to `ProcessTest`, except that it doesn't emit anything on success. /// /// <param name="testDescription"> Information describing the test. </param> /// <param name="success"> true if the test was a success, false if it failed. </param> /// <returns> The success value, for convenience. </returns> bool ProcessQuietTest(const std::string& testDescription, bool success); /// <summary> Process a test, throwing an exception on failure. </summary> /// /// <param name="testDescription"> Information describing the test. </param> /// <param name="success"> true if the test was a success, false if it failed. </param> void ProcessCriticalTest(const std::string& testDescription, bool success); /// <summary> Note a test failure. </summary> /// /// <param name="message"> A message to print. </param> void TestFailed(const std::string& message); /// <summary> Note a test success. </summary> /// /// <param name="message"> A message to print. </param> void TestSucceeded(const std::string& message); /// <summary> Note a test warning. </summary> /// /// <param name="message"> A message to print. </param> void TestWarning(const std::string& message); /// <summary> Checks if one of the tests failed. </summary> /// /// <returns> true if one of the tests failed. </returns> bool DidTestFail(); /// <summary> Get the exit code to return from main. </summary> /// /// <returns> 1 if any of the tests failed, otherwise 0. </returns> int GetExitCode(); /// <summary> Call a function, registering a test failure if an exception is thrown, and continue execution. </summary> /// /// <param name="function"> The test function to call. </param> /// <param name="args"> Aguments to pass to the test function. </param> template <typename FunctionType, typename... Args> bool FailOnException(FunctionType&& function, Args&&... args) { using namespace std::literals::string_literals; try { function(std::forward<Args>(args)...); return true; } catch (const std::exception& exception) { TestFailed("Got exception in test: "s + exception.what()); } catch (...) { TestFailed("Got unknown exception type in test"); } return false; } /// <summary> Call a test function, but register success if a "TestNotImplemented" exception is thrown. </summary> /// <param name="function"> The test function to call. </param> /// <param name="args"> Aguments to pass to the test function. </param> template <typename FunctionType, typename... Args> bool NoFailOnUnimplemented(FunctionType&& function, Args&&... args) { using namespace std::literals::string_literals; try { function(std::forward<Args>(args)...); return true; } catch (const TestNotImplementedException& exception) { TestWarning("Skipping unimplemented test: "s + exception.what()); return true; } catch (...) { throw; } return false; } /// <summary> Get the exit code to return from main. </summary> /// /// <returns> 1 if any of the tests failed, otherwise 0. </returns> int GetExitCode(); /// <summary> RAII helper to turn on logging for a specific test/scope /// /// Example: /// ``` /// EnableLoggingHelper enableLogging; /// ``` /// </summary> struct EnableLoggingHelper { EnableLoggingHelper(); ~EnableLoggingHelper(); EnableLoggingHelper(const EnableLoggingHelper&) = delete; EnableLoggingHelper(EnableLoggingHelper&&) = delete; EnableLoggingHelper& operator=(const EnableLoggingHelper&) = delete; EnableLoggingHelper& operator=(EnableLoggingHelper&&) = delete; }; } // namespace testing } // namespace ell // Forces a symbol to be defined so that LLVM jit can find it #if defined(_WIN32) #if defined(_WIN64) #define TESTING_FORCE_DEFINE_SYMBOL(x, returnType, ...) __pragma(comment(linker, "/export:" #x)) #else #define TESTING_FORCE_DEFINE_SYMBOL(x, returnType, ...) __pragma(comment(linker, "/export:_" #x)) #endif #else #define TESTING_FORCE_DEFINE_SYMBOL(x, returnType, ...) returnType (*__##x##_fp)(__VA_ARGS__) __attribute__((used)) = &x; #endif ```
```c++ // This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <math.h> #include <string.h> #include <algorithm> // This work is based on: // Pedro Sander, Diego Nehab and Joshua Barczak. Fast Triangle Reordering for Vertex Locality and Reduced Overdraw. 2007 namespace meshopt { struct ClusterSortData { unsigned int cluster; float dot_product; bool operator<(const ClusterSortData& other) const { // high product = possible occluder, render early return dot_product > other.dot_product; } }; static void calculateSortData(ClusterSortData* sort_data, const unsigned int* indices, size_t index_count, const float* vertex_positions, size_t vertex_positions_stride, const unsigned int* clusters, size_t cluster_count) { size_t vertex_stride_float = vertex_positions_stride / sizeof(float); float mesh_centroid[3] = {}; for (size_t i = 0; i < index_count; ++i) { const float* p = vertex_positions + vertex_stride_float * indices[i]; mesh_centroid[0] += p[0]; mesh_centroid[1] += p[1]; mesh_centroid[2] += p[2]; } mesh_centroid[0] /= index_count; mesh_centroid[1] /= index_count; mesh_centroid[2] /= index_count; for (size_t cluster = 0; cluster < cluster_count; ++cluster) { size_t cluster_begin = clusters[cluster] * 3; size_t cluster_end = (cluster_count > cluster + 1) ? clusters[cluster + 1] * 3 : index_count; assert(cluster_begin < cluster_end); float cluster_area = 0; float cluster_centroid[3] = {}; float cluster_normal[3] = {}; for (size_t i = cluster_begin; i < cluster_end; i += 3) { const float* p0 = vertex_positions + vertex_stride_float * indices[i + 0]; const float* p1 = vertex_positions + vertex_stride_float * indices[i + 1]; const float* p2 = vertex_positions + vertex_stride_float * indices[i + 2]; float p10[3] = {p1[0] - p0[0], p1[1] - p0[1], p1[2] - p0[2]}; float p20[3] = {p2[0] - p0[0], p2[1] - p0[1], p2[2] - p0[2]}; float normalx = p10[1] * p20[2] - p10[2] * p20[1]; float normaly = p10[2] * p20[0] - p10[0] * p20[2]; float normalz = p10[0] * p20[1] - p10[1] * p20[0]; float area = sqrtf(normalx * normalx + normaly * normaly + normalz * normalz); cluster_centroid[0] += (p0[0] + p1[0] + p2[0]) * (area / 3); cluster_centroid[1] += (p0[1] + p1[1] + p2[1]) * (area / 3); cluster_centroid[2] += (p0[2] + p1[2] + p2[2]) * (area / 3); cluster_normal[0] += normalx; cluster_normal[1] += normaly; cluster_normal[2] += normalz; cluster_area += area; } float inv_cluster_area = cluster_area == 0 ? 0 : 1 / cluster_area; cluster_centroid[0] *= inv_cluster_area; cluster_centroid[1] *= inv_cluster_area; cluster_centroid[2] *= inv_cluster_area; float cluster_normal_length = sqrtf(cluster_normal[0] * cluster_normal[0] + cluster_normal[1] * cluster_normal[1] + cluster_normal[2] * cluster_normal[2]); float inv_cluster_normal_length = cluster_normal_length == 0 ? 0 : 1 / cluster_normal_length; cluster_normal[0] *= inv_cluster_normal_length; cluster_normal[1] *= inv_cluster_normal_length; cluster_normal[2] *= inv_cluster_normal_length; float centroid_vector[3] = {cluster_centroid[0] - mesh_centroid[0], cluster_centroid[1] - mesh_centroid[1], cluster_centroid[2] - mesh_centroid[2]}; sort_data[cluster].cluster = unsigned(cluster); sort_data[cluster].dot_product = centroid_vector[0] * cluster_normal[0] + centroid_vector[1] * cluster_normal[1] + centroid_vector[2] * cluster_normal[2]; } } static unsigned int updateCache(unsigned int a, unsigned int b, unsigned int c, unsigned int cache_size, unsigned int* cache_timestamps, unsigned int& timestamp) { unsigned int cache_misses = 0; // if vertex is not in cache, put it in cache if (timestamp - cache_timestamps[a] > cache_size) { cache_timestamps[a] = timestamp++; cache_misses++; } if (timestamp - cache_timestamps[b] > cache_size) { cache_timestamps[b] = timestamp++; cache_misses++; } if (timestamp - cache_timestamps[c] > cache_size) { cache_timestamps[c] = timestamp++; cache_misses++; } return cache_misses; } static size_t generateHardBoundaries(unsigned int* destination, const unsigned int* indices, size_t index_count, size_t vertex_count, unsigned int cache_size) { meshopt_Buffer<unsigned int> cache_timestamps(vertex_count); memset(cache_timestamps.data, 0, vertex_count * sizeof(unsigned int)); unsigned int timestamp = cache_size + 1; size_t face_count = index_count / 3; size_t result = 0; for (size_t i = 0; i < face_count; ++i) { unsigned int m = updateCache(indices[i * 3 + 0], indices[i * 3 + 1], indices[i * 3 + 2], cache_size, &cache_timestamps[0], timestamp); // when all three vertices are not in the cache it's usually relatively safe to assume that this is a new patch in the mesh // that is disjoint from previous vertices; sometimes it might come back to reference existing vertices but that frequently // suggests an inefficiency in the vertex cache optimization algorithm // usually the first triangle has 3 misses unless it's degenerate - thus we make sure the first cluster always starts with 0 if (i == 0 || m == 3) { destination[result++] = unsigned(i); } } assert(result <= index_count / 3); return result; } static size_t generateSoftBoundaries(unsigned int* destination, const unsigned int* indices, size_t index_count, size_t vertex_count, const unsigned int* clusters, size_t cluster_count, unsigned int cache_size, float threshold) { meshopt_Buffer<unsigned int> cache_timestamps(vertex_count); memset(cache_timestamps.data, 0, vertex_count * sizeof(unsigned int)); unsigned int timestamp = 0; size_t result = 0; for (size_t it = 0; it < cluster_count; ++it) { size_t start = clusters[it]; size_t end = (it + 1 < cluster_count) ? clusters[it + 1] : index_count / 3; assert(start < end); // reset cache timestamp += cache_size + 1; // measure cluster ACMR unsigned int cluster_misses = 0; for (size_t i = start; i < end; ++i) { unsigned int m = updateCache(indices[i * 3 + 0], indices[i * 3 + 1], indices[i * 3 + 2], cache_size, &cache_timestamps[0], timestamp); cluster_misses += m; } float cluster_threshold = threshold * (float(cluster_misses) / float(end - start)); // first cluster always starts from the hard cluster boundary destination[result++] = unsigned(start); // reset cache timestamp += cache_size + 1; unsigned int running_misses = 0; unsigned int running_faces = 0; for (size_t i = start; i < end; ++i) { unsigned int m = updateCache(indices[i * 3 + 0], indices[i * 3 + 1], indices[i * 3 + 2], cache_size, &cache_timestamps[0], timestamp); running_misses += m; running_faces += 1; if (float(running_misses) / float(running_faces) <= cluster_threshold) { // we have reached the target ACMR with the current triangle so we need to start a new cluster on the next one // note that this may mean that we add 'end` to destination for the last triangle, which will imply that the last // cluster is empty; however, the 'pop_back' after the loop will clean it up destination[result++] = unsigned(i + 1); // reset cache timestamp += cache_size + 1; running_misses = 0; running_faces = 0; } } // each time we reach the target ACMR we flush the cluster // this means that the last cluster is by definition not very good - there are frequent cases where we are left with a few triangles // in the last cluster, producing a very bad ACMR and significantly penalizing the overall results // thus we remove the last cluster boundary, merging the last complete cluster with the last incomplete one // there are sometimes cases when the last cluster is actually good enough - in which case the code above would have added 'end' // to the cluster boundary array which we need to remove anyway - this code will do that automatically if (destination[result - 1] != start) { result--; } } assert(result >= cluster_count); assert(result <= index_count / 3); return result; } } // namespace void meshopt_optimizeOverdraw(unsigned int* destination, const unsigned int* indices, size_t index_count, const float* vertex_positions, size_t vertex_count, size_t vertex_positions_stride, float threshold) { using namespace meshopt; assert(index_count % 3 == 0); assert(vertex_positions_stride > 0 && vertex_positions_stride <= 256); assert(vertex_positions_stride % sizeof(float) == 0); // guard for empty meshes if (index_count == 0 || vertex_count == 0) return; // support in-place optimization meshopt_Buffer<unsigned int> indices_copy; if (destination == indices) { indices_copy.data = new unsigned int[index_count]; memcpy(indices_copy.data, indices, index_count * sizeof(unsigned int)); indices = indices_copy.data; } unsigned int cache_size = 16; // generate hard boundaries from full-triangle cache misses meshopt_Buffer<unsigned int> hard_clusters(index_count / 3); size_t hard_cluster_count = generateHardBoundaries(&hard_clusters[0], indices, index_count, vertex_count, cache_size); // generate soft boundaries meshopt_Buffer<unsigned int> soft_clusters(index_count / 3 + 1); size_t soft_cluster_count = generateSoftBoundaries(&soft_clusters[0], indices, index_count, vertex_count, &hard_clusters[0], hard_cluster_count, cache_size, threshold); const unsigned int* clusters = &soft_clusters[0]; size_t cluster_count = soft_cluster_count; // fill sort data meshopt_Buffer<ClusterSortData> sort_data(cluster_count); calculateSortData(&sort_data[0], indices, index_count, vertex_positions, vertex_positions_stride, clusters, cluster_count); // high product = possible occluder, render early std::sort(sort_data.data, sort_data.data + cluster_count); // fill output buffer size_t offset = 0; for (size_t it = 0; it < cluster_count; ++it) { unsigned int cluster = sort_data[it].cluster; assert(cluster < cluster_count); size_t start = clusters[cluster]; size_t end = (cluster + 1 < cluster_count) ? clusters[cluster + 1] : index_count / 3; assert(start < end); for (size_t i = start; i < end; ++i) { destination[offset++] = indices[3 * i + 0]; destination[offset++] = indices[3 * i + 1]; destination[offset++] = indices[3 * i + 2]; } } assert(offset == index_count); } ```
The 2016 Big Sky Conference football season is the 53rd season of college football play for the Big Sky Conference and is a part of the 2016 NCAA Division I FCS football season. Previous season Rankings Players of the Week Players of the Year All-Conference Players All-Americans Academic All-Americans National Award Winners Attendance 2017 NFL Draft Head coaches Beau Baldwin, Eastern Washington Bruce Barnum, Portland State Jeff Choate, Montana State Earnest Collins, Northern Colorado Ron Gould, UC Davis Jay Hill, Weber State Mike Kramer, Idaho State Bubba Schweigert, North Dakota Jody Sears, Sacramento State Jerome Souers, Northern Arizona Bob Stitt, Montana Tim Walsh, Cal Poly Demario Warren, Southern Utah References
This is a list of the Official Charts Company's UK R&B Chart number-one singles of 2010. Number ones Number-one artists See also List of number-one singles of 2010 (UK) List of UK Dance Chart number-one singles of 2010 List of UK Indie Chart number-one singles of 2010 List of UK Official Download Chart number-one singles of 2010 List of UK Rock Chart number-one singles of 2010 List of UK R&B Chart number-one albums of 2010 References Note that the dates included in the below sources indicate when the respective chart weeks end (as opposed to the above standard dates when the new chart is announced). External links R&B Albums Top 40 at the Official Charts Company UK Top 40 RnB Albums at BBC Radio 1 Number-one RandB hits United Kingdom RandB singles 2010
Antonio Manuel Maria Coelho (1857–1943) was a Portuguese military officer of the Portuguese Army and politician during the period of the Portuguese First Republic. In January 1891, he had been one of the leading revolutionaries during the Porto republican revolt. Among other posts, he served as governor of Portuguese Angola and governor of Portuguese Guinea. He became Prime Minister after the Noite Sangrenta (Bloody Night) terrorist assassinations of prominent state figures (including Prime Minister António Granjo) on 19 October 1921. A Freemason (like many of his colleagues), he was co-author, along with João Chagas, of the work História da Revolta do Porto (History of the Porto Revolt). References 1857 births 1943 deaths People from Chaves, Portugal Prime Ministers of Portugal Portuguese military officers Governors of Portuguese Guinea Colonial people in Angola 19th-century Portuguese people Governors of Portuguese Angola
WQOQ may refer to: WQOQ (FM), a radio station (90.5 FM) licensed to serve Laceyville, Pennsylvania, United States; see List of radio stations in Pennsylvania WRDN, a radio station (1430 AM) licensed to serve Durand, Wisconsin, United States, which held the call sign WQOQ from 2003 to 2011
```html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>websocket::close_reason::operator bool</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title="Chapter&#160;1.&#160;Boost.Beast"> <link rel="up" href="../boost__beast__websocket__close_reason.html" title="websocket::close_reason"> <link rel="prev" href="code.html" title="websocket::close_reason::code"> <link rel="next" href="reason.html" title="websocket::close_reason::reason"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="code.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__websocket__close_reason.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reason.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> <a name="beast.ref.boost__beast__websocket__close_reason.operator_bool"></a><a class="link" href="operator_bool.html" title="websocket::close_reason::operator bool">websocket::close_reason::operator bool</a> </h5></div></div></div> <p> <a class="indexterm" name="idp120381952"></a> Returns <code class="computeroutput"><span class="keyword">true</span></code> if a code was specified. </p> <h6> <a name="beast.ref.boost__beast__websocket__close_reason.operator_bool.h0"></a> <span class="phrase"><a name="beast.ref.boost__beast__websocket__close_reason.operator_bool.synopsis"></a></span><a class="link" href="operator_bool.html#beast.ref.boost__beast__websocket__close_reason.operator_bool.synopsis">Synopsis</a> </h6> <pre class="programlisting"><span class="keyword">operator</span> <span class="keyword">bool</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span> </pre> <h6> <a name="beast.ref.boost__beast__websocket__close_reason.operator_bool.h1"></a> <span class="phrase"><a name="beast.ref.boost__beast__websocket__close_reason.operator_bool.description"></a></span><a class="link" href="operator_bool.html#beast.ref.boost__beast__websocket__close_reason.operator_bool.description">Description</a> </h6> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="code.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__websocket__close_reason.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reason.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
The Stadion Narodowy im. Kazimierza Górskiego (, ), known for sponsorship reasons as the PGE Narodowy since 2015 (with patron being added in 2021), is a retractable roof football stadium located in Warsaw, Poland. It is used mostly for concerts and football matches and is the home stadium of Poland national football team. With a seating capacity of 58,580, the stadium is the largest association football arena in Poland. Its construction was started in 2008 and was finished in November 2011. It is located on the site of the former Stadion Dziesięciolecia, at the Zieleniecka Avenue in Praga Południe district, near the city center. The stadium has a retractable PVC roof which unfolds from a nest on a spire suspended above the centre of the pitch. The retractable roof is inspired by the cable-supported unfolding system of Commerzbank-Arena in Frankfurt, Germany, and is similar to the newly renovated roof of BC Place in Vancouver, British Columbia, Canada. The stadium is also very similar to the Arena Națională in Bucharest in terms of age, capacity and the roof. The National Stadium hosted the opening match (a group match), the 2 group matches, a quarterfinal, and the semifinal of the UEFA Euro 2012, co-hosted by Poland and Ukraine. The stadium is equipped with a heated pitch, training pitch, façade lighting, and underground parking. It is a multipurpose venue that is able to host sporting events, concerts, cultural events, and conferences. The official stadium opening took place on 19 January 2012, and the first football match was played on 29 February 2012. The match between the Poland national football team and the Portugal national football team ended with a 0–0 draw. The stadium hosted the 2014–15 UEFA Europa League final. On 11 November 2022, the stadium was ordered closed with immediate effect due to construction issues with the roof. Stadium specifics Construction and architecture The general contractor of the National Stadium was a German-Austrian-Polish consortium led by Alpine Bau and made up of Alpine Bau Deutschland, Alpine Construction Poland, PBG SA and Hydrobudowa Poland SA. The completion date was set for 24 months from the signing of the contract and the construction process involved approximately 1,200 employees. The stadium has a capacity of 58,580 seats for spectators during football matches and up to 72,900 during concerts and other events (including 106 sites for disabled people). The total volume of the stadium (without the roof) is more than 1,000,000 m2 and the total area is 204,000 m2. The retractable roof structure is 240 × 270 m and the central spire stands at a height of 124 metres above the River Vistula and 100 m above the pitch. The total length of the lower promenade is 924 meters. The stadium has the largest conference center in Warsaw with a capacity of 1600 people including 25,000 m2 of commercial office space. Underground parking for 1765 cars is located beneath the pitch. The stadium contains restaurants, a fitness club, a pub, and 69 luxury skyboxes. The National Stadium is a multi-sports facility that allows for the organization of sporting events, concerts and cultural events. In addition, it will also serve as an office, market place, hotel, gastronomic point and have other uses. As a result, it is expected that about 2000 to 3000 people will visit the stadium every single day. Facade The stadium's façade refers to the Polish national colors, resembling a waving flag of Poland and it consists of silver and red colors. The same palette was used to color the stadium's seating. The facade which consists of painted mesh that was imported from Spain, covers the inner aluminum and glass elevation. The stadium is an open structure, which means the lack of a closed facade, so the temperature inside is similar to the environmental temperature, despite the closed roof construction. Such a construction allows for natural ventilation of rooms placed under the stands and access to natural light. Elevations are stretched on a powerful construction of the pipes that were manufactured in Italy. This structure is completely independent from the concrete stand construction and it is fundamental to the retractable stadium's roof. Thanks to this, designers could freely design the space under the stands. The pitch The stadium is equipped with a heated pitch. The pitch is installed with a lawn of Dutch grass, cultivated in Heythuysen, the Netherlands. During the organization of events such as concerts, the pitch will be covered with special panel, which must be removed within 5 days of its installation. A second option: to install a grass field on a special floating platform, was discarded due to it being too expensive. The grandstands The National Stadium was designed by the German-Polish consortium gmp Architects von Gerkan, Marg and Partners, J.S.K Architekci Sp. z o.o. and sbp—schlaich bergermann und partner (the design by Volkwin Marg and Hubert Nienhoff with Markus Pfisterer, Zbigniew Pszczulny, Mariusz Rutz, Marcin Chruslinski). The structure is composed of two-level stands—top and bottom—with a capacity for 58,580 spectators. All seating in the National Stadium was provided by Polish company Forum Seating (part of the Nowy Styl Group located in Krosno). There are 900 seats for media and press, more than 4,600 so-called "premium seats", designed for special guests, 106 seats for disabled people and more than 800 seats in the VIP lodges. Under the stands, there are changing rooms, conference halls and living areas with a total area of 130 000 m2. The building has eight stories with varied heights. The highest point at the stands, is located 41 meters above the former 10th-Anniversary Stadium pitch, while the highest point of the steel roof structure is 70 meters above that level. The roof can cover not only the stands, but also the pitch. Retractable roof Partially transparent, the retractable roof was made of fibreglass covered with teflon. This kind of material is resistant to weather factors (rain, the heat of the sun, and can hold up to 18 cm of wet snow) and the crease tendency. The production technology comes from German company Hightex GmbH, and the textile was produced in Bangkok by the Asia Membrane Co. Ltd. The process of opening or closing the roof takes about 20 minutes and it can only be performed at temperatures above 5 °C and not during rain (this was the reason for a one-day postponement of the football match against England on 16 October 2012). A drive system is used for stretching the membrane during the process of opening and for folding the material during the process of closing the roof. The total weight of the steel-cables supporting the roof structure is 1,200 tons. Under the roof there are four LED display screens, each with an area of 200 m2. Construction history Preparations On 1 February 2008, the consortium of JSK Architects Ltd., GMP—von Gerkan, Marg und Partner Architekten and SBP—Schleich Bergermann und Partner presented a conceptual design (visualization and scale model) of a new stadium. The first pre-construction work began on 15 May 2008 when 126 concrete piles were driven into the soil of the basin of the old stadium's grandstand. On 18 June 2008, the National Sports Centre Ltd submitted documents required to obtain a construction permit from the governor of Masovia. This was approved on 22 July 2008, and on 26 September 2008, an agreement with Pol-Aqua SA to implement the first stage of construction work was signed. A few days later, on 7 October 2008, the construction of the stadium began. On the construction site, close to the National Sports Centre, an outdoor webcam was installed. Broadcasting started on 31 October 2008 and people could track the progress of construction. Since the start of the second stage of construction on 29 June 2009, the entire process was also viewable from a second camera installed on a tower at Washington Roundabout. Images from the cameras are still available on the official websites of the stadium. Main process The first stage of construction included the demolition of concrete structures of the 10th-Anniversary Stadium, preparation of the ground, driving about 7000 concrete piles into the soil, construction of 6700 gravel and concrete columns, and the building of approximately 900 construction piles that now form the foundation of the stadium. On 9 March 2009 the pile driving process was completed, and exactly one month later, opening of the offers from companies wishing to implement the second stage of the stadium construction took place. The best offer was introduced by German-Austrian-Polish consortium of companies - Alpine Bau Deutschland AG, Alpine Bau GmbH and Alpine Construction Poland Ltd., Hydrobudowa Poland SA and PBG SA and it was worth zl 1,252,755,008.64. At the end of September, the first construction elements were visible from outside the stadium. The cornerstone (foundation stone) and a time capsule were set during the ceremony held on 7 October 2009. The time capsule contained flags of Poland, the European Union and the city of Warsaw, newspapers of the day, coins, banknotes, and other artifacts. At the end of January, the first element of the roof structure arrived at the construction site. This element was 1 of 72 that became part of the massive steel roof structure. Each of them weighs about 48 tons and is 12.5 meters tall. The completion of installation of all prefabricated elements took place by 13 August 2010, which represented the entire structure of the stadium stands. Ten days later all concrete works were finished. On 16 December 2010 at the headquarters of the National Sports Centre a press conference took place dedicated to the so-called 'big lift operation' at the stadium. The conference discussed the main principles of the process, one of the most technologically advanced operations in the world and the first such project in Europe. No major problems occurred during this operation and 'big lift' was finalized on January 4, 2011. On this occasion, in the presence of Prime Minister Donald Tusk and Mayor of Warsaw Hanna Gronkiewicz-Waltz, a ceremony of symbolic topping-out was held. Completion and opening The National Stadium was originally planned to be completed on 30 June 2011. The stadium was scheduled to be opened to the public on July 22, 2011, while its official opening was scheduled to take place on August 27. Due to ongoing construction, the event was moved to January 2012 and only an inaugural illumination of the facade of the stadium took place in August. A match against the Germany national football team had been scheduled on 6 September 2011 but this was relocated to Gdańsk, because the National Stadium wasn't ready yet. Construction work was officially completed on 29 November 2011. One day later, Rafał Kapler - The NCS President submitted to the site manager an application needed to get a certificate of occupancy. The official opening ceremony of the stadium took place on 29 January 2012. The event was celebrated by concerts by Polish celebrities: Voo Voo and Haydamaky, Zakopower, Coma, T. Love, Lady Pank and ended with an evening fireworks show. On 10 February 2012, installation of heating and irrigation systems and the pitch installation was completed. Prior to the opening of the stadium, the new street on its northern side was named for Ryszard Siwiec, who committed suicide by self-immolation in protest against the Warsaw Pact invasion of Czechoslovakia at the Stadion Dziesięciolecia in 1968. Transport Railways and metro The stadium is located near the railway station Warszawa Stadion. The station has two side platforms flanking the suburban tracks of the Warsaw Cross-City Line used by the regional trains run by Koleje Mazowieckie and Szybka Kolej Miejska. The stadium can be reached by the S1 and S2 lines. The trip from central Warsaw takes about 5 minutes, and during the rush hours trains run every 4 minutes. Within an hour about 26000 people could reach stadium only by trains. In early 2012, the station has undergone thorough modernization in preparation for the new stadium and for the UEFA Euro 2012. The stadium is accessible from the Warsaw Metro. The closest station is Stadion Narodowy metro station (C14) opened in March 2015. Buses and trams Around the stadium there are several tram and bus stops. The most convenient way to reach the stadium from the city centre is to use the transport hub located at the George Washington Roundabout (Rondo Jerzego Waszyngtona). Events Poland national football team matches On February 29, 2012, 100 days before the start of UEFA Euro 2012 tournament, the Poland national football team, played the inaugural match against the Portugal national team which ended with a goalless draw. Euro 2012 matches The stadium was one of the venues for the UEFA Euro 2012 hosted jointly by Poland and Ukraine. Three Group A matches, a quarter-final and a semi-final were played there (with the other matches in that group played at the Wrocław Stadium). The following matches were played at the stadium during the UEFA Euro 2012: American football On July 15, 2012, two weeks after the UEFA Euro 2012, the National Stadium hosted the VII SuperFinal PLFA (more commonly known as the Polish Bowl), the championship game of the Polish American Football League. Science Picnic The stadium is the venue for the Science Picnic, an annual science education fair, since 2013. During the 2013 Science Picnic, the stadium was visited by 142,573 people, which was at the time record attendance at any type of event held at the stadium. 2014 FIVB Volleyball Men's World Championship On August 30, 2014, the National Stadium hosted the opening ceremony and match (Poland vs. Serbia) of the 2014 FIVB Volleyball Men's World Championship. Poland beat Serbia in front of 61,500 spectators – a new record for an FIVB volleyball match. |} Speedway The stadium also host Motorcycle speedway with the Speedway Grand Prix of Poland as Round 1 of the 2015 Speedway Grand Prix series which was held there on 18 April. Poland's popular and most recent World Champion Tomasz Gollob has been granted a Wild Card entry to the Grand Prix. Concerts See also Kazimierz Górski Warsaw Chopin Airport Warsaw-Modlin Mazovia Airport A2 motorway List of football stadiums in Poland Waldstadion Arena Națională Puskás Aréna References External links Stadion Narodowy Official Site National Stadium, Warsaw Live Webcam Webcam Photo gallery Alternative architectural rendering of the new stadium as a 60,000-seater, including surroundings Sports venues completed in 2011 2012 establishments in Poland Football venues in Warsaw American football venues in Poland Poland UEFA Euro 2012 stadiums in Poland Retractable-roof stadiums in Europe Sports venues in Warsaw Gerkan, Marg and Partners buildings Convention centres in Poland Sports venues completed in 2012 Speedway venues in Poland
"A Lover's Holiday" is the debut single by Change, from the album The Glow of Love. "A Lover's Holiday", along with the album's title track and "Searching" were very successful on the dance charts, spending nine weeks at number one - the all-time record. The three tracks were the most successful dance chart entries for 1980. Lead vocals for the tracks "Glow of Love" and "Searching" were performed by Luther Vandross. While "A Lover's Holiday" was a hit on the soul singles chart peaking at No. 5, and peaking at No. 40 on the Hot 100, "The Glow of Love" was the band's most successful single in Italy, peaking at No. 2 on the local hit parade. Track listings US 7" single "A Lover's Holiday" - 3:50 "The End" - 3:55 UK 7" single "A Lover's Holiday" - 3:50 "The Glow of Love" - 3:40 US promo 12" single "A Lover's Holiday" - 6:26 UK 12" single "A Lover's Holiday" "The Glow of Love" Personnel Arrangement and Conductor - Davide Romani and Paolo Gianolio Orchestra - Goody Music Orchestra Producer - Jacques Fred Petrus Mixing - Jim Burgess Chart positions References 1980 songs 1980 debut singles Holiday songs Change (band) songs Warner Records singles
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package main import ( "github.com/spf13/cobra" "k8s.io/klog/v2" "k8s.io/kube-state-metrics/v2/internal" "k8s.io/kube-state-metrics/v2/pkg/options" ) func main() { opts := options.NewOptions() cmd := options.InitCommand cmd.Run = func(_ *cobra.Command, _ []string) { internal.RunKubeStateMetricsWrapper(opts) } opts.AddFlags(cmd) if err := opts.Parse(); err != nil { klog.FlushAndExit(klog.ExitFlushTimeout, 1) } if err := opts.Validate(); err != nil { klog.ErrorS(err, "Validating options error") klog.FlushAndExit(klog.ExitFlushTimeout, 1) } } ```
```viml " Author: Baabelfish " Description: Typechecking for nim files let s:end_col_patterns = [ \ '\v''([^'']+)'' is declared but not used.*', \ '\videntifier expected, but found ''([^'']+)''', \ '\vimported and not used: ''([^'']+)''.*', \ '\vundeclared identifier: ''([^'']+)''', \ '\v''([^'']+)'' cannot be assigned to', \ '\vredefinition of ''([^'']+)'';', \] function! ale_linters#nim#nimcheck#Handle(buffer, lines) abort let l:buffer_filename = fnamemodify(bufname(a:buffer), ':p:t') let l:pattern = '^\(.\+\.nim\)(\(\d\+\), \(\d\+\)) \(.\+\)' let l:output = [] for l:match in ale#util#GetMatches(a:lines, l:pattern) " Only show errors of the current buffer " NOTE: Checking filename only is OK because nim enforces unique " module names. let l:temp_buffer_filename = fnamemodify(l:match[1], ':p:t') if l:buffer_filename isnot# '' && l:temp_buffer_filename isnot# l:buffer_filename continue endif let l:item = { \ 'lnum': l:match[2] + 0, \ 'col': l:match[3] + 0, \ 'text': l:match[4], \ 'type': 'W', \} " Extract error type from message of type 'Error: Some error message' let l:error_match = matchlist(l:item.text, '^\(.\{-}\): \(.\+\)$') if !empty(l:error_match) if l:error_match[1] is# 'Error' let l:item.type = 'E' let l:item.text = l:error_match[2] elseif l:error_match[1] is# 'Warning' \|| l:error_match[1] is# 'Hint' let l:item.text = l:error_match[2] endif endif let l:code_match = matchlist(l:item.text, '\v^(.+) \[([^ \[]+)\]$') if !empty(l:code_match) let l:item.text = l:code_match[1] let l:item.code = l:code_match[2] endif " Find position end_col. for l:col_match in ale#util#GetMatches(l:item.text, s:end_col_patterns) let l:item.end_col = l:item.col + len(l:col_match[1]) - 1 endfor call add(l:output, l:item) endfor return l:output endfunction function! ale_linters#nim#nimcheck#GetCommand(buffer) abort return 'nim check --verbosity:0 --colors:off --listFullPaths %s' endfunction call ale#linter#Define('nim', { \ 'name': 'nimcheck', \ 'executable': 'nim', \ 'output_stream': 'both', \ 'command': function('ale_linters#nim#nimcheck#GetCommand'), \ 'callback': 'ale_linters#nim#nimcheck#Handle', \ 'lint_file': 1, \}) ```
```smalltalk namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement { public interface IStateEventConfig { string StateName { get; set; } BaseEventReceiver EventReceiver { get; set; } } } ```
Thạch Bảo Khanh (born April 25, 1979) is the retired Vietnamese footballer. He is a member of Vietnam national football team since 2002. he is the current manager V.League 1 club Viettel. He is best known for his performance at 2004 Tiger Cup even though Vietnam was relegated from the group-stage. International goal References External links Vietnamese men's footballers Men's association football midfielders 1979 births Living people Footballers at the 2002 Asian Games Footballers at the 2006 Asian Games Sportspeople from Hanoi Viettel FC players Asian Games competitors for Vietnam Vietnam men's international footballers 21st-century Vietnamese people
Edward Conway, 1st Viscount Conway PC (1564 – 3 January 1631) was an English soldier and statesman. Notable among his descendants are Queen Elizabeth II and Barack Obama. He was the son and heir of Sir John Conway of Arrow, and his wife Ellen or Eleanor, daughter of Sir Fulke Greville of Beauchamp's Court, Warwickshire. He commanded a foot regiment at the sack of Cadiz in 1596, where he was knighted. He then served as governor of Brill, an English Cautionary Town near Rotterdam in the Netherlands, where his daughter Brilliana (who married Robert Harley) was born. In the first parliament held in the reign of James I, he sat as member for Penryn. When Brill was handed back to the States of Holland in 1616, he was given a pension. He was appointed to the Privy Council in 1622 and made a Secretary of State in January 1623 for five years. In the parliament which convened on 19 February 1624 he was returned for Evesham. He was created Baron Conway, of Ragley, in 1624 or 1625 and Viscount Conway in 1627, and received the Irish peerage title of Viscount Killultagh. No doubt as a result of his time in the Netherlands, he was a supporter of a 'Protestant' foreign policy; he was sent as ambassador to Prague. In 1628, he was appointed Lord President of the Council, a post he held until his death on 3 January 1631. Family Conway married firstly Dorothy (died 1613), daughter of Sir John Tracy of Tedington, Gloucestershire, and widow of Edmund Bray. They had three sons and four daughters, including Conway's son and heir Edward. In 1614 or 1615, he married secondly Katherine (died 1639), daughter of Giles Hueriblock, a merchant from Ghent, and widow of John West (died 1612) and Richard Fust (died 1613), both of the London Grocers' Company. She was an extensive investor in New World ventures including the Virginia Company. The second Lady Conway left various bequests for education and relief of poverty. She is buried in St Mary's Church, Acton. Notes References Attribution |- |- 1564 births 1631 deaths Secretaries of State of the Kingdom of England Lord-Lieutenants of Hampshire Lord Presidents of the Council History of Voorne aan Zee Members of the pre-1707 English Parliament for constituencies in Cornwall Members of the Privy Council of England 16th-century English nobility Peers of England created by James I People from Warwickshire 16th-century English soldiers English MPs 1604–1611 English MPs 1624–1625 Viscounts Conway Viscounts in the Peerage of Ireland Peers of Ireland created by Charles I
```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 v2beta2 // ObjectMetricSourceApplyConfiguration represents a declarative configuration of the ObjectMetricSource type for use // with apply. type ObjectMetricSourceApplyConfiguration struct { DescribedObject *CrossVersionObjectReferenceApplyConfiguration `json:"describedObject,omitempty"` Target *MetricTargetApplyConfiguration `json:"target,omitempty"` Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"` } // ObjectMetricSourceApplyConfiguration constructs a declarative configuration of the ObjectMetricSource type for use with // apply. func ObjectMetricSource() *ObjectMetricSourceApplyConfiguration { return &ObjectMetricSourceApplyConfiguration{} } // WithDescribedObject sets the DescribedObject 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 DescribedObject field is set to the value of the last call. func (b *ObjectMetricSourceApplyConfiguration) WithDescribedObject(value *CrossVersionObjectReferenceApplyConfiguration) *ObjectMetricSourceApplyConfiguration { b.DescribedObject = value return b } // WithTarget sets the Target 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 Target field is set to the value of the last call. func (b *ObjectMetricSourceApplyConfiguration) WithTarget(value *MetricTargetApplyConfiguration) *ObjectMetricSourceApplyConfiguration { b.Target = value return b } // WithMetric sets the Metric 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 Metric field is set to the value of the last call. func (b *ObjectMetricSourceApplyConfiguration) WithMetric(value *MetricIdentifierApplyConfiguration) *ObjectMetricSourceApplyConfiguration { b.Metric = value return b } ```
```xml import * as ts from 'typescript'; import { CodeTemplate, CodeTemplateFactory, CTemplateBase } from '../../template'; import { CType, ArrayType, StructType, DictType, StringVarType, NumberVarType, BooleanVarType, RegexVarType, VoidType, UniversalVarType, getTypeText } from '../../types/ctypes'; import { IScope } from '../../program'; import { CVariable } from '../../nodes/variable'; import { StandardCallResolver, IResolver } from '../../standard'; import { isSideEffectExpression, getAllNodesUnder } from '../../types/utils'; import { CAssignment } from '../../nodes/assignment'; import { CString } from '../../nodes/literals'; import { TypeHelper } from '../../types/typehelper'; @StandardCallResolver class ConsoleLogResolver implements IResolver { public matchesNode(typeHelper: TypeHelper, call: ts.CallExpression) { if (!ts.isPropertyAccessExpression(call.expression)) return false; return call.expression.getText() == "console.log"; } public returnType(typeHelper: TypeHelper, call: ts.CallExpression) { return VoidType; } public createTemplate(scope: IScope, node: ts.CallExpression) { return new CConsoleLog(scope, node); } public needsDisposal(typeHelper: TypeHelper, node: ts.CallExpression) { return false; } public getTempVarName(typeHelper: TypeHelper, node: ts.CallExpression) { return null; } public getEscapeNode(typeHelper: TypeHelper, node: ts.CallExpression) { return null; } } @CodeTemplate(` {#statements} {#if printfCalls.length} {printfCalls => {this}\n} {/if} {/statements} {printfCall}`) class CConsoleLog extends CTemplateBase { public printfCalls: CPrintf[] = []; public printfCall: CPrintf = null; constructor(scope: IScope, node: ts.CallExpression) { super(); let printfs = []; let printNodes = node.arguments; for (let i = 0; i < printNodes.length; i++) { let printNode = printNodes[i]; let nodeExpressions = processBinaryExpressions(scope, printNode); let stringLit = ''; nodeExpressions = nodeExpressions.reduce((a, c) => { if (ts.isStringLiteral(c.node)) stringLit += CodeTemplateFactory.templateToString(new CString(scope, c.node)).slice(1, -1); else { a.push(c); c.prefix = stringLit; stringLit = ''; } return a; }, []); if (stringLit) { if (nodeExpressions.length) nodeExpressions[nodeExpressions.length - 1].postfix = stringLit; else nodeExpressions.push({ node: printNode, prefix: '', postfix: '' }); } for (let j = 0; j < nodeExpressions.length; j++) { const { node, prefix, postfix } = nodeExpressions[j]; const type = scope.root.typeHelper.getCType(node); const nodesUnder: ts.Node[] = getAllNodesUnder(node); const hasSideEffects = nodesUnder.some(n => isSideEffectExpression(n)); let accessor = ""; if (hasSideEffects && (type instanceof ArrayType || type instanceof StructType || type instanceof DictType || type === UniversalVarType)) { const tempVarName = scope.root.symbolsHelper.addTemp(node, "tmp_result"); // crutch let tempVarType = type; if (tempVarType instanceof ArrayType && !tempVarType.isDynamicArray) tempVarType = getTypeText(tempVarType.elementType) + "*"; scope.variables.push(new CVariable(scope, tempVarName, tempVarType)); printfs.push(new CAssignment(scope, tempVarName, null, tempVarType, <ts.Expression>node, false)); accessor = tempVarName; } else if (ts.isStringLiteral(node)) accessor = CodeTemplateFactory.templateToString(new CString(scope, node)).slice(1, -1).replace(/%/g, "%%"); else accessor = CodeTemplateFactory.templateToString(CodeTemplateFactory.createForNode(scope, node)); let options = { prefix: (i > 0 && j == 0 ? " " : "") + prefix.replace(/%/g, "%%"), postfix: postfix.replace(/%/g, "%%") + (i == printNodes.length - 1 && j == nodeExpressions.length - 1 ? "\\n" : "") }; printfs.push(new CPrintf(scope, node, accessor, type, options)); } } this.printfCalls = printfs.slice(0, -1); this.printfCall = printfs[printfs.length - 1]; scope.root.headerFlags.printf = true; } } function processBinaryExpressions(scope: IScope, printNode: ts.Node): { node: ts.Node, prefix: string, postfix: string }[] { let type = scope.root.typeHelper.getCType(printNode); if (type == StringVarType && ts.isBinaryExpression(printNode)) { let binExpr = <ts.BinaryExpression>printNode; if (binExpr.operatorToken.kind == ts.SyntaxKind.PlusToken) { let left = processBinaryExpressions(scope, binExpr.left); let right = processBinaryExpressions(scope, binExpr.right); return [].concat(left, right); } } return [ { node: printNode, prefix: '', postfix: '' } ]; } interface PrintfOptions { prefix?: string; postfix?: string; quotedString?: boolean; propName?: string; indent?: string; } @CodeTemplate(` {#if isStringLiteral} printf("{PREFIX}{accessor}{POSTFIX}"); {#elseif isCString && quoted} printf("{PREFIX}\\"%s\\"{POSTFIX}", {accessor}); {#elseif isCString} printf("{PREFIX}%s{POSTFIX}", {accessor}); {#elseif isRegex} printf("{PREFIX}%s{POSTFIX}", {accessor}.str); {#elseif isInteger} printf("{PREFIX}%d{POSTFIX}", {accessor}); {#elseif isBoolean && !PREFIX && !POSTFIX} printf({accessor} ? "true" : "false"); {#elseif isBoolean && (PREFIX || POSTFIX)} printf("{PREFIX}%s{POSTFIX}", {accessor} ? "true" : "false"); {#elseif isDict} printf("{PREFIX}{ "); {INDENT}for ({iteratorVarName} = 0; {iteratorVarName} < {accessor}->index->size; {iteratorVarName}++) { {INDENT} if ({iteratorVarName} != 0) {INDENT} printf(", "); {INDENT} printf("\\"%s\\": ", {accessor}->index->data[{iteratorVarName}]); {INDENT} {elementPrintfs} {INDENT}} {INDENT}printf(" }{POSTFIX}"); {#elseif isStruct} printf("{PREFIX}{ "); {INDENT}{elementPrintfs { printf(", ");\n }=> {this}} {INDENT}printf(" }{POSTFIX}"); {#elseif isStaticArray && elementFormatString && +arraySize==1} printf("{PREFIX}[ {elementFormatString} ]{POSTFIX}", {accessor}[0]); {#elseif isStaticArray && elementFormatString && +arraySize==2} printf("{PREFIX}[ {elementFormatString}, {elementFormatString} ]{POSTFIX}", {accessor}[0], {accessor}[1]); {#elseif isStaticArray && elementFormatString && +arraySize==3} printf("{PREFIX}[ {elementFormatString}, {elementFormatString}, {elementFormatString} ]{POSTFIX}", {accessor}[0], {accessor}[1], {accessor}[2]); {#elseif isArray} printf("{PREFIX}[ "); {INDENT}for ({iteratorVarName} = 0; {iteratorVarName} < {arraySize}; {iteratorVarName}++) { {INDENT} if ({iteratorVarName} != 0) {INDENT} printf(", "); {INDENT} {elementPrintfs} {INDENT}} {INDENT}printf(" ]{POSTFIX}"); {#elseif isUniversalVar && quoted} printf({accessor}.type == JS_VAR_STRING ? "{PREFIX}\\"%s\\"{POSTFIX}" : "{PREFIX}%s{POSTFIX}", {tempVarName} = js_var_to_str({accessor}, &{needDisposeVarName})); {INDENT}if ({needDisposeVarName}) {INDENT} free((void *){tempVarName}); {#elseif isUniversalVar} printf("{PREFIX}%s{POSTFIX}", {tempVarName} = js_var_to_str({accessor}, &{needDisposeVarName})); {INDENT}if ({needDisposeVarName}) {INDENT} free((void *){tempVarName}); {#else} printf(/* Unsupported printf expression */); {/if}`) class CPrintf { public isStringLiteral: boolean = false; public quoted: boolean = false; public isCString: boolean = false; public isRegex: boolean = false; public isInteger: boolean = false; public isBoolean: boolean = false; public isDict: boolean = false; public isStruct: boolean = false; public isArray: boolean = false; public isStaticArray: boolean = false; public isUniversalVar: boolean = false; public iteratorVarName: string; public tempVarName: string; public needDisposeVarName: string; public arraySize: string; public elementPrintfs: CPrintf[] = []; public elementFormatString: string = ''; public propPrefix: string = ''; public PREFIX: string; public POSTFIX: string; public INDENT: string = ''; constructor(scope: IScope, printNode: ts.Node, public accessor: string, varType: CType, options: PrintfOptions) { this.isStringLiteral = varType == StringVarType && printNode.kind == ts.SyntaxKind.StringLiteral; this.isCString = varType == StringVarType; this.isRegex = varType == RegexVarType; this.isInteger = varType == NumberVarType; this.isBoolean = varType == BooleanVarType; this.isUniversalVar = varType == UniversalVarType; this.quoted = options.quotedString; if (this.isUniversalVar) { this.tempVarName = scope.root.symbolsHelper.addTemp(printNode, "tmp_str", false); this.needDisposeVarName = scope.root.symbolsHelper.addTemp(printNode, "tmp_need_dispose", false); if (!scope.variables.some(v => v.name == this.tempVarName)) scope.variables.push(new CVariable(scope, this.tempVarName, StringVarType)); if (!scope.variables.some(v => v.name == this.needDisposeVarName)) scope.variables.push(new CVariable(scope, this.needDisposeVarName, BooleanVarType)); scope.root.headerFlags.js_var_to_str = true; } this.PREFIX = options.prefix || ''; this.POSTFIX = options.postfix || ''; if (options.propName) this.PREFIX = this.PREFIX + options.propName + ": "; if (options.indent) this.INDENT = options.indent; if (varType instanceof ArrayType) { this.isArray = true; this.isStaticArray = !varType.isDynamicArray; this.elementFormatString = varType.elementType == NumberVarType ? '%d' : varType.elementType == StringVarType ? '\\"%s\\"' : ''; this.arraySize = varType.isDynamicArray ? accessor + "->size" : varType.capacity + ""; if (!this.isStaticArray || !this.elementFormatString || varType.capacity > 3) { this.iteratorVarName = scope.root.symbolsHelper.addIterator(printNode); scope.variables.push(new CVariable(scope, this.iteratorVarName, NumberVarType)); let elementAccessor = accessor + (varType.isDynamicArray ? "->data" : "") + "[" + this.iteratorVarName + "]"; let opts = { quotedString: true, indent: this.INDENT + " " }; this.elementPrintfs = [ new CPrintf(scope, printNode, elementAccessor, varType.elementType, opts) ]; } } else if (varType instanceof DictType) { this.isDict = true; this.iteratorVarName = scope.root.symbolsHelper.addIterator(printNode); scope.variables.push(new CVariable(scope, this.iteratorVarName, NumberVarType)); let opts = { quotedString: true, indent: this.INDENT + " " }; this.elementPrintfs = [ new CPrintf(scope, printNode, accessor + "->values->data[" + this.iteratorVarName + "]", varType.elementType, opts) ]; } else if (varType instanceof StructType) { this.isStruct = true; for (let k in varType.properties) { let opts = { quotedString: true, propName: k, indent: this.INDENT + " " }; if (varType.propertyDefs[k].recursive) { const objString = "[object Object]"; const stringLit = ts.createLiteral(objString); this.elementPrintfs.push(new CPrintf(scope, stringLit, objString, StringVarType, opts)); } else { let propAccessor = accessor + "->" + k; this.elementPrintfs.push(new CPrintf(scope, printNode, propAccessor, varType.properties[k], opts)); } } } } } ```
```xml import os from 'os'; import { join } from 'path'; import { readFile, writeFile } from 'fs-extra'; import { VERCEL_DIR } from '../projects/link'; export async function addToGitIgnore(path: string, ignore = VERCEL_DIR) { let isGitIgnoreUpdated = false; try { const gitIgnorePath = join(path, '.gitignore'); let gitIgnore = (await readFile(gitIgnorePath, 'utf8').catch(() => null)) ?? ''; const EOL = gitIgnore.includes('\r\n') ? '\r\n' : os.EOL; let contentModified = false; if (!gitIgnore.split(EOL).includes(ignore)) { gitIgnore += `${ gitIgnore.endsWith(EOL) || gitIgnore.length === 0 ? '' : EOL }${ignore}${EOL}`; contentModified = true; } if (contentModified) { await writeFile(gitIgnorePath, gitIgnore); isGitIgnoreUpdated = true; } } catch (error) { // ignore errors since this is non-critical } return isGitIgnoreUpdated; } ```
```smalltalk /* This file is part of the iText (R) project. Authors: Apryse Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at path_to_url For AGPL licensing, see below. AGPL licensing: This program is free software: you can redistribute it and/or modify (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the along with this program. If not, see <path_to_url */ using System.Collections.Generic; using iText.Commons.Bouncycastle.Cert; namespace iText.Commons.Bouncycastle.X509 { /// <summary> /// This interface represents the wrapper for X509CertificateParser that provides the ability /// to switch between bouncy-castle and bouncy-castle FIPS implementations. /// </summary> public interface IX509CertificateParser { /// <summary> /// Calls actual /// <c>ReadAllCerts</c> /// method for the wrapped X509CertificateParser object. /// </summary> /// <param name="contentsKey">Bytes from which certificated will be read</param> /// <returns>All read certificated</returns> List<IX509Certificate> ReadAllCerts(byte[] contentsKey); } } ```
```rust use aws_sdk_rds::Client; #[derive(Debug)] struct Error(String); impl std::fmt::Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "{}", self.0) } } impl std::error::Error for Error {} #[tokio::main] async fn main() -> Result<(), Error> { tracing_subscriber::fmt::init(); let sdk_config = aws_config::from_env().load().await; let client = Client::new(&sdk_config); let describe_db_clusters_output = client .describe_db_clusters() .send() .await .map_err(|e| Error(e.to_string()))?; println!( "Found {} clusters:", describe_db_clusters_output.db_clusters().len() ); for cluster in describe_db_clusters_output.db_clusters() { let name = cluster.database_name().unwrap_or("Unknown"); let engine = cluster.engine().unwrap_or("Unknown"); let id = cluster.db_cluster_identifier().unwrap_or("Unknown"); let class = cluster.db_cluster_instance_class().unwrap_or("Unknown"); println!("\tDatabase: {name}",); println!("\t Engine: {engine}",); println!("\t ID: {id}",); println!("\tInstance: {class}",); } Ok(()) } ```
```go // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. package block import ( "encoding/json" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/m3db/m3/src/query/models" ) func TestMeta(t *testing.T) { bounds, otherBounds := models.Bounds{}, models.Bounds{} badBounds := models.Bounds{Duration: 100} assert.True(t, bounds.Equals(otherBounds)) assert.False(t, bounds.Equals(badBounds)) } func TestResultMeta(t *testing.T) { r := NewResultMetadata() assert.True(t, r.Exhaustive) assert.True(t, r.LocalOnly) assert.Equal(t, 0, len(r.Warnings)) assert.True(t, r.IsDefault()) r.AddWarning("foo", "bar") assert.Equal(t, 1, len(r.Warnings)) assert.Equal(t, "foo", r.Warnings[0].Name) assert.Equal(t, "bar", r.Warnings[0].Message) assert.False(t, r.IsDefault()) rTwo := ResultMetadata{ LocalOnly: false, Exhaustive: false, } assert.False(t, rTwo.IsDefault()) rTwo.AddWarning("baz", "qux") merge := r.CombineMetadata(rTwo) assert.Equal(t, 1, len(r.Warnings)) assert.Equal(t, 1, len(rTwo.Warnings)) assert.False(t, merge.Exhaustive) assert.False(t, merge.LocalOnly) require.Equal(t, 2, len(merge.Warnings)) assert.Equal(t, "foo_bar", merge.Warnings[0].Header()) assert.Equal(t, "baz_qux", merge.Warnings[1].Header()) // ensure warnings are deduplicated merge = merge.CombineMetadata(rTwo) require.Equal(t, 2, len(merge.Warnings)) assert.Equal(t, "foo_bar", merge.Warnings[0].Header()) assert.Equal(t, "baz_qux", merge.Warnings[1].Header()) merge.AddWarning("foo", "bar") require.Equal(t, 2, len(merge.Warnings)) assert.Equal(t, "foo_bar", merge.Warnings[0].Header()) assert.Equal(t, "baz_qux", merge.Warnings[1].Header()) } func TestMergeEmptyWarnings(t *testing.T) { r := NewResultMetadata() r.AddWarning("foo", "bar") rTwo := NewResultMetadata() merge := r.CombineMetadata(rTwo) assert.Equal(t, 1, len(r.Warnings)) assert.Equal(t, 0, len(rTwo.Warnings)) require.Equal(t, 1, len(merge.Warnings)) assert.Equal(t, "foo_bar", merge.Warnings[0].Header()) } func TestMergeResultMetricMetadata(t *testing.T) { r1 := ResultMetricMetadata{ WithSamples: 100, NoSamples: 20, Aggregated: 10, } r2 := ResultMetricMetadata{ WithSamples: 1, Aggregated: 2, Unaggregated: 3, } r1.Merge(r2) assert.Equal(t, 101, r1.WithSamples) assert.Equal(t, 20, r1.NoSamples) assert.Equal(t, 12, r1.Aggregated) assert.Equal(t, 3, r1.Unaggregated) } func TestCombineMetadataWithMetricMetadataMaps(t *testing.T) { r1 := NewResultMetadata() r2 := NewResultMetadata() a := []byte("a") b := []byte("b") c := []byte("c") noname := []byte{} r1.ByName(a).WithSamples = 5 r1.ByName(c).Aggregated = 1 r1.ByName(noname).Unaggregated = 19 r2.ByName(nil).Aggregated = 99 r2.ByName(a).WithSamples = 6 r2.ByName(a).NoSamples = 1 r2.ByName(b).NoSamples = 1 r2.ByName(b).Unaggregated = 15 r2.ByName(c).Aggregated = 2 r := r1.CombineMetadata(r2) assert.Equal(t, &ResultMetricMetadata{ NoSamples: 1, WithSamples: 11, }, r.ByName(a)) assert.Equal(t, &ResultMetricMetadata{ NoSamples: 1, Unaggregated: 15, }, r.ByName(b)) assert.Equal(t, &ResultMetricMetadata{ Aggregated: 3, }, r.ByName(c)) assert.Equal(t, &ResultMetricMetadata{ Unaggregated: 19, Aggregated: 99, }, r.ByName(nil)) // Sanity check that accessing by nil or by an empty name // yields the same result. assert.Equal(t, r.ByName(nil), r.ByName(noname)) // And finally it should marshal to JSON without error. js, err := json.Marshal(r) assert.Nil(t, err) assert.NotEmpty(t, string(js)) } func TestMergeIntoEmptyWarnings(t *testing.T) { r := NewResultMetadata() rTwo := NewResultMetadata() rTwo.AddWarning("foo", "bar") merge := r.CombineMetadata(rTwo) assert.Equal(t, 0, len(r.Warnings)) assert.Equal(t, 1, len(rTwo.Warnings)) require.Equal(t, 1, len(merge.Warnings)) assert.Equal(t, "foo_bar", merge.Warnings[0].Header()) } func TestMergeResolutions(t *testing.T) { expected := []time.Duration{1, 2, 3} r := ResultMetadata{} rTwo := ResultMetadata{} merge := r.CombineMetadata(rTwo) assert.Nil(t, r.Resolutions) assert.Nil(t, rTwo.Resolutions) assert.Nil(t, merge.Resolutions) rTwo.Resolutions = expected merge = r.CombineMetadata(rTwo) assert.Nil(t, r.Resolutions) assert.Equal(t, 3, len(rTwo.Resolutions)) require.Equal(t, 3, len(merge.Resolutions)) assert.Equal(t, expected, merge.Resolutions) r = ResultMetadata{Resolutions: expected} rTwo = ResultMetadata{} merge = r.CombineMetadata(rTwo) assert.Equal(t, 3, len(r.Resolutions)) assert.Nil(t, rTwo.Resolutions) require.Equal(t, 3, len(merge.Resolutions)) assert.Equal(t, expected, merge.Resolutions) rTwo = ResultMetadata{Resolutions: []time.Duration{4, 5, 6}} merge = r.CombineMetadata(rTwo) assert.Equal(t, 3, len(r.Resolutions)) assert.Equal(t, 3, len(rTwo.Resolutions)) require.Equal(t, 6, len(merge.Resolutions)) assert.Equal(t, []time.Duration{1, 2, 3, 4, 5, 6}, merge.Resolutions) } func TestVerifyTemporalRange(t *testing.T) { r := ResultMetadata{ Exhaustive: true, Resolutions: []time.Duration{5, 10}, } ex0 := "resolution larger than query range_range: 1ns, resolutions: 10ns, 5ns" ex1 := "resolution larger than query range_range: 6ns, resolutions: 10ns" r.VerifyTemporalRange(11) assert.Equal(t, 0, len(r.WarningStrings())) r.VerifyTemporalRange(1) require.Equal(t, 1, len(r.WarningStrings())) assert.Equal(t, ex0, r.WarningStrings()[0]) r.VerifyTemporalRange(6) require.Equal(t, 2, len(r.WarningStrings())) assert.Equal(t, ex0, r.WarningStrings()[0]) assert.Equal(t, ex1, r.WarningStrings()[1]) r.VerifyTemporalRange(11) require.Equal(t, 2, len(r.WarningStrings())) assert.Equal(t, ex0, r.WarningStrings()[0]) assert.Equal(t, ex1, r.WarningStrings()[1]) } ```
```php <?php declare(strict_types=1); /** */ namespace OCA\Talk\Events; use OCA\Talk\Participant; use OCA\Talk\Room; abstract class ARoomModifiedEvent extends ARoomEvent { public const PROPERTY_ACTIVE_SINCE = 'activeSince'; public const PROPERTY_AVATAR = 'avatar'; public const PROPERTY_BREAKOUT_ROOM_MODE = 'breakoutRoomMode'; public const PROPERTY_BREAKOUT_ROOM_STATUS = 'breakoutRoomStatus'; public const PROPERTY_CALL_PERMISSIONS = 'callPermissions'; public const PROPERTY_CALL_RECORDING = 'callRecording'; public const PROPERTY_DEFAULT_PERMISSIONS = 'defaultPermissions'; public const PROPERTY_DESCRIPTION = 'description'; public const PROPERTY_IN_CALL = 'inCall'; public const PROPERTY_LISTABLE = 'listable'; public const PROPERTY_LOBBY = 'lobby'; public const PROPERTY_MESSAGE_EXPIRATION = 'messageExpiration'; public const PROPERTY_NAME = 'name'; public const PROPERTY_PASSWORD = 'password'; public const PROPERTY_READ_ONLY = 'readOnly'; public const PROPERTY_RECORDING_CONSENT = 'recordingConsent'; public const PROPERTY_SIP_ENABLED = 'sipEnabled'; public const PROPERTY_TYPE = 'type'; public const PROPERTY_MENTION_PERMISSIONS = 'mentionPermissions'; /** * @param self::PROPERTY_* $property */ public function __construct( Room $room, protected string $property, protected \DateTime|string|int|null $newValue, protected \DateTime|string|int|null $oldValue = null, protected ?Participant $actor = null, ) { parent::__construct($room); } public function getProperty(): string { return $this->property; } public function getNewValue(): \DateTime|string|int|null { return $this->newValue; } public function getOldValue(): \DateTime|string|int|null { return $this->oldValue; } public function getActor(): ?Participant { return $this->actor; } } ```
Redwood Park is located on the escarpment of the Great Dividing Range in Redwood, Toowoomba, Queensland, Australia. Facilities Redwood Park is a huge bushland park, covering over . It has many walking, horse-riding and mountain-bike trails and a picnic area in the bushland. History In 2020 Redwood Park was nominated for Heritage Listing by Scot McPhie. The Toowoomba Regional Council opposed the listing. In March 2021 the Queensland Government announced all of Redwood Park would not be heritage listed, but Eagles Nest Camp, a depression era itinerant workers camp located within Redwood, would be Heritage listed References External links Redwood Park - Redwood - Tooowooba Regional Council Toowoomba Parks in Queensland
```c++ LRESULT CColorPage::OnQuerySiblings(WPARAM wParam, LPARAM lParam) { UNREFERENCED_PARAMETER(lParam); return (wParam <= 0); } ```
Pastaku is a village in Elva Parish, Valga County in southeastern Estonia. It is located just north of Hellenurme, the administrative centre of the municipality; the town of Elva is located about north of Hellenurme. Pastaku has a population of 45 (as of 1 January 2011). The Tartu–Valga railway passes Pastaku on its western side, but there is no station. The nearest station is located about 4 km southwest in Palupera village. References Villages in Valga County
```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.netflix.hollow.core.read.dataaccess; import com.netflix.hollow.core.read.engine.HollowCollectionTypeReadState; import com.netflix.hollow.core.read.iterator.HollowOrdinalIterator; import com.netflix.hollow.core.schema.HollowCollectionSchema; import com.netflix.hollow.core.schema.HollowListSchema; import com.netflix.hollow.core.schema.HollowSetSchema; /** * A handle for all of the records of a specific LIST or SET type in a Hollow dataset. The most common type of {@link HollowCollectionTypeDataAccess} * is a {@link HollowCollectionTypeReadState}. * * @see HollowListSchema * @see HollowSetSchema */ public interface HollowCollectionTypeDataAccess extends HollowTypeDataAccess { /** * @param ordinal the ordinal * @return the number of elements contained in the set at the specified ordinal. */ int size(int ordinal); /** * @param ordinal the ordinal * @return an iterator over all elements in the collection. */ HollowOrdinalIterator ordinalIterator(int ordinal); HollowCollectionSchema getSchema(); } ```
```go package event_v2 import ( "context" "encoding/json" "time" "github.com/ovh/cds/engine/api/event" "github.com/ovh/cds/engine/cache" "github.com/ovh/cds/sdk" ) func PublishRunJobRunResult(ctx context.Context, store cache.Store, eventType, vcsName, repoName string, rj sdk.V2WorkflowRunJob, rr sdk.V2WorkflowRunResult) { bts, _ := json.Marshal(rr) e := sdk.WorkflowRunJobRunResultEvent{ ProjectEventV2: sdk.ProjectEventV2{ ID: sdk.UUID(), Type: eventType, Payload: bts, ProjectKey: rj.ProjectKey, }, VCSName: vcsName, Repository: repoName, Workflow: rj.WorkflowName, WorkflowRunID: rj.WorkflowRunID, RunJobID: rj.ID, RunNumber: rj.RunNumber, RunAttempt: rj.RunAttempt, Region: rj.Region, Hatchery: rj.HatcheryName, ModelType: rj.ModelType, JobID: rj.JobID, RunResult: rr.Name(), Status: rr.Status, UserID: rj.UserID, Username: rj.Username, } publish(ctx, store, e) } func PublishRunJobManualEvent(ctx context.Context, store cache.Store, eventType string, wr sdk.V2WorkflowRun, jobID string, gateInputs map[string]interface{}, u sdk.AuthentifiedUser) { bts, _ := json.Marshal(gateInputs) e := sdk.WorkflowRunJobManualEvent{ ProjectEventV2: sdk.ProjectEventV2{ ID: sdk.UUID(), Type: eventType, Payload: bts, ProjectKey: wr.ProjectKey, }, VCSName: wr.Contexts.Git.Server, Repository: wr.Contexts.Git.Repository, Workflow: wr.WorkflowName, RunNumber: wr.RunNumber, RunAttempt: wr.RunAttempt, Status: wr.Status, WorkflowRunID: wr.ID, UserID: u.ID, Username: u.Username, JobID: jobID, } publish(ctx, store, e) } func PublishRunJobEvent(ctx context.Context, store cache.Store, eventType string, wr sdk.V2WorkflowRun, rj sdk.V2WorkflowRunJob) { bts, _ := json.Marshal(rj) e := sdk.WorkflowRunJobEvent{ ProjectEventV2: sdk.ProjectEventV2{ ID: sdk.UUID(), Type: eventType, Payload: bts, ProjectKey: rj.ProjectKey, Timestamp: time.Now(), }, VCSName: wr.Contexts.Git.Server, Repository: wr.Contexts.Git.Repository, Workflow: rj.WorkflowName, WorkflowRunID: rj.WorkflowRunID, RunJobID: rj.ID, RunNumber: rj.RunNumber, RunAttempt: rj.RunAttempt, Region: rj.Region, Hatchery: rj.HatcheryName, ModelType: rj.ModelType, JobID: rj.JobID, Status: rj.Status, UserID: rj.UserID, Username: rj.Username, } publish(ctx, store, e) ev := NewEventJobSummaryV2(wr, rj) event.PublishEventJobSummary(ctx, ev, nil) } func PublishRunEvent(ctx context.Context, store cache.Store, eventType string, wr sdk.V2WorkflowRun, u sdk.AuthentifiedUser) { bts, _ := json.Marshal(wr) e := sdk.WorkflowRunEvent{ ProjectEventV2: sdk.ProjectEventV2{ ID: sdk.UUID(), Type: eventType, Payload: bts, ProjectKey: wr.ProjectKey, Timestamp: time.Now(), }, VCSName: wr.Contexts.Git.Server, Repository: wr.Contexts.Git.Repository, Workflow: wr.WorkflowName, RunNumber: wr.RunNumber, RunAttempt: wr.RunAttempt, Status: wr.Status, WorkflowRunID: wr.ID, UserID: u.ID, Username: u.Username, } publish(ctx, store, e) } func NewEventJobSummaryV2(wr sdk.V2WorkflowRun, jobrun sdk.V2WorkflowRunJob) sdk.EventJobSummary { var ejs = sdk.EventJobSummary{ JobRunID: jobrun.ID, ProjectKey: wr.ProjectKey, Workflow: wr.WorkflowName, WorkflowRunNumber: int(jobrun.RunNumber), WorkflowRunSubNumber: int(jobrun.RunAttempt), Created: &jobrun.Queued, CreatedHour: jobrun.Queued.Hour(), Job: jobrun.JobID, GitVCS: wr.Contexts.Git.Server, GitRepo: wr.Contexts.Git.Repository, GitCommit: wr.Contexts.Git.Sha, } if wr.Contexts.Git.RefType == sdk.GitRefTypeTag { ejs.GitTag = wr.Contexts.Git.Ref } else { ejs.GitBranch = wr.Contexts.Git.Ref } if jobrun.Started != nil && !jobrun.Started.IsZero() { ejs.Started = jobrun.Started ejs.InQueueDuration = int(jobrun.Started.UnixMilli() - jobrun.Queued.UnixMilli()) ejs.WorkerModel = jobrun.Job.RunsOn.Model ejs.WorkerModelType = jobrun.ModelType ejs.Worker = jobrun.WorkerName ejs.Hatchery = jobrun.HatcheryName ejs.Region = jobrun.Region } if jobrun.Ended != nil && !jobrun.Ended.IsZero() && jobrun.Started != nil { ejs.Ended = jobrun.Ended ejs.TotalDuration = int(jobrun.Ended.UnixMilli() - jobrun.Queued.UnixMilli()) ejs.BuildDuration = int(jobrun.Ended.UnixMilli() - jobrun.Started.UnixMilli()) ejs.FinalStatus = string(jobrun.Status) } return ejs } ```
Bedford Provincial Hospital is a Provincial government funded hospital in the Raymond Mhlaba Local Municipality area of Bedford, Eastern Cape in South Africa. The hospital departments include Emergency department, Paediatric ward, Maternity ward, Out Patients Department, Surgical Services, Medical Services, Operating Theatre & CSSD Services, Pharmacy, Anti-Retroviral (ARV) treatment for HIV/AIDS, PMTC & VCT, Post Trauma Counseling Services, Physiotherapy, X-ray Services, Laundry Services, Kitchen Services and Mortuary. References Eastern Cape Department of Health website - Amathole District Hospitals Hospitals in the Eastern Cape Raymond Mhlaba Local Municipality
```objective-c //===--- PrimType.h - Types for the constexpr VM --------------------*- C++ -*-===// // // See path_to_url for license information. // //===your_sha256_hash------===// // // Defines the VM types and helpers operating on types. // //===your_sha256_hash------===// #ifndef LLVM_CLANG_AST_INTERP_TYPE_H #define LLVM_CLANG_AST_INTERP_TYPE_H #include "Integral.h" #include <climits> #include <cstddef> #include <cstdint> namespace clang { namespace interp { class Pointer; class Boolean; /// Enumeration of the primitive types of the VM. enum PrimType : unsigned { PT_Sint8, PT_Uint8, PT_Sint16, PT_Uint16, PT_Sint32, PT_Uint32, PT_Sint64, PT_Uint64, PT_Bool, PT_Ptr, }; /// Mapping from primitive types to their representation. template <PrimType T> struct PrimConv; template <> struct PrimConv<PT_Sint8> { using T = Integral<8, true>; }; template <> struct PrimConv<PT_Uint8> { using T = Integral<8, false>; }; template <> struct PrimConv<PT_Sint16> { using T = Integral<16, true>; }; template <> struct PrimConv<PT_Uint16> { using T = Integral<16, false>; }; template <> struct PrimConv<PT_Sint32> { using T = Integral<32, true>; }; template <> struct PrimConv<PT_Uint32> { using T = Integral<32, false>; }; template <> struct PrimConv<PT_Sint64> { using T = Integral<64, true>; }; template <> struct PrimConv<PT_Uint64> { using T = Integral<64, false>; }; template <> struct PrimConv<PT_Bool> { using T = Boolean; }; template <> struct PrimConv<PT_Ptr> { using T = Pointer; }; /// Returns the size of a primitive type in bytes. size_t primSize(PrimType Type); /// Aligns a size to the pointer alignment. constexpr size_t align(size_t Size) { return ((Size + alignof(void *) - 1) / alignof(void *)) * alignof(void *); } constexpr bool aligned(uintptr_t Value) { return Value == align(Value); } static_assert(aligned(sizeof(void *))); static inline bool aligned(const void *P) { return aligned(reinterpret_cast<uintptr_t>(P)); } inline bool isPrimitiveIntegral(PrimType Type) { switch (Type) { case PT_Bool: case PT_Sint8: case PT_Uint8: case PT_Sint16: case PT_Uint16: case PT_Sint32: case PT_Uint32: case PT_Sint64: case PT_Uint64: return true; default: return false; } } } // namespace interp } // namespace clang /// Helper macro to simplify type switches. /// The macro implicitly exposes a type T in the scope of the inner block. #define TYPE_SWITCH_CASE(Name, B) \ case Name: { using T = PrimConv<Name>::T; B; break; } #define TYPE_SWITCH(Expr, B) \ do { \ switch (Expr) { \ TYPE_SWITCH_CASE(PT_Sint8, B) \ TYPE_SWITCH_CASE(PT_Uint8, B) \ TYPE_SWITCH_CASE(PT_Sint16, B) \ TYPE_SWITCH_CASE(PT_Uint16, B) \ TYPE_SWITCH_CASE(PT_Sint32, B) \ TYPE_SWITCH_CASE(PT_Uint32, B) \ TYPE_SWITCH_CASE(PT_Sint64, B) \ TYPE_SWITCH_CASE(PT_Uint64, B) \ TYPE_SWITCH_CASE(PT_Bool, B) \ TYPE_SWITCH_CASE(PT_Ptr, B) \ } \ } while (0) #define COMPOSITE_TYPE_SWITCH(Expr, B, D) \ do { \ switch (Expr) { \ TYPE_SWITCH_CASE(PT_Ptr, B) \ default: { D; break; } \ } \ } while (0) #endif ```
```html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Chapter&#160;12.&#160;Complex Number Functions</title> <link rel="stylesheet" href="math.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="Math Toolkit 2.6.0"> <link rel="up" href="index.html" title="Math Toolkit 2.6.0"> <link rel="prev" href="math_toolkit/double_exponential/de_refes.html" title="References"> <link rel="next" href="math_toolkit/complex_implementation.html" title="Implementation and Accuracy"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> <td align="center"><a href="../../../../index.html">Home</a></td> <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="math_toolkit/double_exponential/de_refes.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="math_toolkit/complex_implementation.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="chapter"> <div class="titlepage"><div><div><h1 class="title"> <a name="inverse_complex"></a>Chapter&#160;12.&#160;Complex Number Functions</h1></div></div></div> <div class="toc"> <p><b>Table of Contents</b></p> <dl class="toc"> <dt><span class="section"><a href="math_toolkit/complex_implementation.html">Implementation and Accuracy</a></span></dt> <dt><span class="section"><a href="math_toolkit/asin.html">asin</a></span></dt> <dt><span class="section"><a href="math_toolkit/acos.html">acos</a></span></dt> <dt><span class="section"><a href="math_toolkit/atan.html">atan</a></span></dt> <dt><span class="section"><a href="math_toolkit/asinh.html">asinh</a></span></dt> <dt><span class="section"><a href="math_toolkit/acosh.html">acosh</a></span></dt> <dt><span class="section"><a href="math_toolkit/atanh.html">atanh</a></span></dt> <dt><span class="section"><a href="math_toolkit/complex_history.html">History</a></span></dt> </dl> </div> <p> The following complex number algorithms are the inverses of trigonometric functions currently present in the C++ standard. Equivalents to these functions are part of the C99 standard, and are part of the <a href="path_to_url" target="_top">Technical Report on C++ Library Extensions</a>. </p> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> Agrawal, Anton Bikineev, Paul A. Bristow, Marco Guazzone, Christopher Kormanyos, Hubert Holin, Bruno Lalande, John Maddock, Jeremy Murphy, Johan R&#229;de, Gautam Sewani, Benjamin Sobotta, Nicholas Thompson, Thijs van den Berg, Daryle Walker and Xiaogang Zhang<p> file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="math_toolkit/double_exponential/de_refes.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="math_toolkit/complex_implementation.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
Khufiya () is a 2023 Hindi-language spy thriller film written, produced and directed by Vishal Bhardwaj. The film is based on Amar Bhushan's espionage novel Escape to Nowhere. It stars Tabu, Ali Fazal, and Wamiqa Gabbi. The film was released on 5 October 2023 on Netflix. Plot During the post-Kargil War period, Heena Rehman, who is a Bangladeshi woman supposed to be working for ISI, is killed by Bangladeshi defence minister Mirza at a party held at his house, upon Mirza receiving some information over phone. In India, Krishna Mehra (Tabu), who is an operative at the Research & Analysis Wing is devastated to know of Heena's death because she used to be her lover for a brief time, and Heena was in fact working for R&AW, and she attempted to kill Mirza for R&AW. KM's boss Jeev (Ashish Vidyarthi) tells her there is a mole in R&AW office who leaked the information leading to Heena's death. KM is assigned to track down this mole selling India's defense secrets. KM and her boss Jeev (Ashish Vidhyarthi) establish that R&AW employee Ravi (Ali Fazal) whose lavish lifestyle does not match his income must be the mole and suspect his wife Charu (Wamiqa Gabi) to be his partner in delivering secrets. They obtain permission to have Ravi's house electronically bugged. After some surveillance, they discover how things are being operated. They realise Ravi is working for CIA at his money-hungry mother's insistence, and that Charu is innocent. In the meantime, Jeev and his Chief discovers that Heena's death was caused not just due to Ravi leaking information to CIA who leaked it to Mirza, but because the central minister of home affairs had to reveal that information to CIA to prevent USA from cancelling its nuclear deal with India. Jeev and his Chief are appalled that their boss let one of their assets die for keeping the nuclear deal plan on, but Jeev and his Chief however keeps this a secret to avoid further complications. Meanwhile Ravi discovers the cameras in his house and tries to flee along with his mother, wife Charu and young son. Charu who is from a patriotic army family is appalled to realise the truth, and refuses to accompany them and refuses to let them take away her son. Ravi's mother shoots Charu in the process but Charu survives as KM's team reaches there on time and gets her to the hospital. When Charu recovers, she understands that Ravi has taken their son with him and along with his mother, has sought refuge in the US. Charu begs KM to get her son back for her. KM trains Charu and sends her to the US. Charu discovers Ravi, his mother, and her son, and starts to blend back in to the family and make Ravi and his mother believe that she just wants to be with them. In the past, KM finds herself getting drawn to Heena (Azmeri Haque Bandhon) but distances herself after discovering her true identity of a double agent, working for ISI while working for R&AW. When confronted by KM, Heena says she joined with ISI only to extract information for R&AW. KM doesn't believe her and feels she betrayed KM's love and trust. To prove her love, Heena accepts a suicide mission from Jeev to kill Brigadier Mirza, the Bangladeshi defence minister. But Heena's plan is compromised when Ravi reveals it to CIA and CIA reveals it to Mirza. Heena gets killed by Brigadier Mirza after he finds out there was poison in the perfume bottle she gifted him. At present , Ravi & his family who are living poor and as refugees in USA, are given the opportunity by KM to return to India as heroes if they kill Brigadier Mirza. While Brigadier Mirza is on a friendly visit to Ravi's home in USA, Ravi, Charu, and Ravi's mother attempt to poison and kill Mirza. But Mirza senses the ploy and kills Ravi's mother. An angry Ravi hits Mirza's head against the wall and renders him unconscious. Ravi, Charu and KM together also manage to bring on board a psychiatric doctor who was acting as Ravi's communication point with CIA. All of them together set the whole thing up in such a way that Mirza's death is found to be an accidental death caused due to head injury while he slipped in his hotel bathroom. Ravi and family is then deported to India and they begin everything afresh. At Charu's insistence, KM calls her estranged teenage son and reveals the reason for her separation from his father - because she is lesbian. Cast Tabu as Krishna Mehra alias Ms.KM Ali Fazal as Ravi Devilal Mohan, son of the late Lt.Col.Devilal Kantilal Mohan, an ex-Indian army man Wamiqa Gabbi as Charu Ravi Mohan, Ravi's wife Ashish Vidyarthi as Jeev Bonda, Krishnna's boss Atul Kulkarni as Shashank kantilal Mehra, Krishna's ex-husband Navnindra Behl as Lalita Devilal Mohan, Ravi's mother Shataf Figar as Brigadier Saqlain Mirza, 9th artillery brigade, Savar, Bangladesh Army Azmeri Haque Badhon as Heena Papon Rehman alias "Octopus" (Krishna's protége) Alexx O'Nell as Dr. David White Lalit Parimoo as Home Minister Narendra Devendra Mishra Rahul Vohra as Wasan Tumuk Shet Disney James as Kutty George Jan Graveson as Rachel McClane Meet Vohra as Vikram Shashank Mehra, Krishna's son Shashi Bhushan as Michael Michaels Monica Rae as Dr. David White's wife Rosabelle Folk as Rose White, Dr. David White's daughter Rahul Ram as His Holiness Adhunik Sant Shri. Yāra Baba aka Yāra Ji Production The film was officially announced in September 2021. Tabu, Ali Fazal and Wamiqa Gabbi were cast in primarily roles, with Bangladeshi actress Azmeri Haque Badhon making her Hindi film debut. Principal photography began in October 2021 with a schedule in Delhi. The film final schedule commenced from April 2022 in Canada. Soundtrack The music of the film is composed by Vishal Bhardwaj, with lyrics by Bhardwaj, Gulzar, Sant Rahim and Sant Kabir. Marketing and release In September 2021, a short clip of the film was released from Netflix Tudum:A Global Fan Event. The film was released on 5 October 2023 on Netflix. Reception Saibal Chatterjee of NDTV Gave 3.5 stars out of 5 and write in his reviews that Khufiya doesn't include anything that is especially or purposefully obscure. Still, with little suspense left, Netflix espionage thriller created and produced by Vishal Bhardwaj depends on the hidden, private aspects of the lives of three alluring women and a cunning man as they navigate the geopolitical whirlwind that is the aftermath of the Kargil War.Therefore, it is only to be anticipated that Khufiya would use well-established storytelling principles to create a movie that is as interested in exploring character features as it is in juggling plot details to create tension and suspense. The assured movie, which was superbly performed in and directed with a noteworthy light touch, succeeds on every level without drawing attention to its outstanding technical accomplishments. Dhaval Roy of The Times of India gave 4 stars out of 5 and said "The writer-director Vishal Bharadwaj is a master of telling stories, and one of his specialties is delivering up tense and cutting narratives. And he doesn't disappoint in his most recent work, which is partially based on Amar Bhushan's novel Escape to Nowhere from 2012. The fictitious tale, which takes place in the early 2000s, just after the Kargil War, contains all the essential components of an espionage thriller. A fascinating story about Krishna Mehra, or KM (Tabu), who is on a mission to apprehend traitor agent Ravi (Ali Fazal), who is accountable for her asset's death in Dhaka, Bangladesh, flawlessly transitions from the beautiful start." Anuj Kumar writes in The Hindu that "There are sections in Khufiya that will give anyone interested in geopolitics chills, especially given that they come at a time when India and Canada are embroiled in a diplomatic dispute and the role of American intelligence services is once again under scrutiny." But because Vishal enjoys moving from an exterior to an inward inquiry, Khufiya is more than simply a cat-and-mouse game played in South Block and the alleyways of Delhi and Dhaka. The Urdu word for "secret" refers to more than just the effort that intelligence organizations put into maintaining tabs on their targets. It is about the secrets we keep in our hearts and the masks we wear to hide who we are. Sukanya Verma of Rediff.com said Khufiya is unified by a shared goal where a mother's trip, a lover's vengeance, and a nation's mission converge and show the essence of the espionage industry amid geopolitical instability, warped patriotism, and moral disengagement. And it's everything from glamorous. Their greatest weapon is patience since they operate covertly. The workaholic spies in Khufiya are just like 9-to-5 office workers; they become upset when a leave is shortened and are constantly late for family events. You can count on Bhardwaj to depict the banal particulars of their daily lives with his distinct humour. Lachmi Deb Roy of Firstpost wrote about the film praised the film and said "Vishal Bhardwaj, a brilliant director, made his Netflix debut with Khufiya. The movie is on the convoluted dual lives of spies and is based on the book "Escape To Nowhere" by Amar Bhushan, the former head of counter-espionage of India's foreign intelligence agency, Research and Analysis Wing (RAW). Known for turning novels into films, Bhradwaj did a fantastic job this time." Prannay Pathak of Hindustan Times criticises the film and writes Vishal Bhardwaj's most recent spy thriller falls flat despite an always engaging Tabu. Espionage drama is one of the genres that draw viewers in the quickest, but it's also one of the most challenging to do well. The next film from Vishal Bhardwaj, Khufiya, which is inspired on the novel Escape to Nowhere by former R&AW employee Amar Bhushan, never quite fits. Shubhra Gupta of Indian Express criticized the film and wrote that "We needed more Tabu in this film. We needed more of the older Vishal Bhardwaj who used to make things sing." She rated the movie 2 stars out of 5 and ended the review saying "We needed more of the older Bhardwaj who makes things sing." References External links Indian spy thriller films Indian direct-to-video films Films directed by Vishal Bhardwaj Hindi-language Netflix original films 2023 films 2023 thriller films Films about the Research and Analysis Wing
Joan Botam i Casals (Les Borges Blanques, Spain 21 September 1926) is a Catalan priest and Capuchin, whose religious name is Fra Salvador de les Borges. When he finished his studies, he worked in the Registry Office and as administrator in the Les Borges Blanques town hall. In 1944 he entered as a novice in the Capuchin Order in Arenys de Mar. In 1955 he got his PhD in Theology in the Pontifical University of Salamanca and in the Pontifical Gregorian University of Rome, and in 1957 he was appointed vice-director (and later he became director) of the College of Philosofy and Theology of the Capuchin Friars. In 1952 he became a priest. He was interested in the Catalan culture, and his work Arnau de Vilanova, moralista (1956) received the Jaume Serra i Húnter prize, which is given by the Institute of Catalan Studies. He has also been interested in hiking. In 1963 he was appointed vicar provincial of the Capuchin Friars of Catalonia, and he was at the same time chaplain of the ecumenical institution Pax Christi. From this position, he was engaged in several initiatives that were linked to pacifism and ecumenism. So he took part in the foundation of the Víctor Seix Institute of Polemology, he was part of the jury of the John XXIII Memorial and he cooperated actively in the anti-Francoist cultural resistance. He had an essential role in the Caputxinada of 1966. After that the Barcelona civil governor Antonio Ibáñez Freire tried to expel him from Spain, but the religious authorities and the Vatican avoided that. In 1984 he founded the Ecumenical Centre of Catalonia in order to foster the dialogue among Orthodoxes, Anglicans, Catholics and Protestants. Later he founded also the Intercultural Platform Barcelona 1992 in order to foster the dialogue among religions during the 1992 Summer Olympics in Barcelona so that all sportsmen from all religions had a common place to pray. This way the Abraham Centre from Poblenou was created. At the same time, he was appointed president of the Union of Members of Religious Orders of Catalonia (URC) and he also fostered the First Congress of Religious Life of Catalonia. In 1997 he was president of the commission that made the draft of the Interreligious Centre / Municipal Service for Attention to Religious People and Religious Orders of Barcelona. In 2000 he represented Barcelona, together with Enric Capó, in the Millennium Summit of spiritual and religious leaders in the United Nations. In 2010 he received the Creu de Sant Jordi (Saint George cross), a high distinction given by the regional Catalan government, for his contribution to the dialogue among religions and for fostering the peace, the coexistence and the understanding among cultures. He has also received the prize in coexistence and interreligious dialogue of the Grup de Treball Estable de Religions (GTER). References External links Article about Joan Botam i Casals in the GEC Joan Cervera i Batariu's Clergues excursionistes p. 97 1926 births People from Garrigues (comarca) Capuchins Living people Pontifical University of Salamanca alumni Sarrià Capuchins
Students and Pupils Movement of Côte d'Ivoire (in French: Mouvement des Etudiants et Elèves de Côte d'Ivoire), generally called M.E.E.C.I., was an organization of students and pupils in Côte d'Ivoire. M.E.E.C.I. was founded of the initiative of the regime of Félix Houphouët-Boigny. The founding congress was held at the Democratic Party of Côte d'Ivoire office in Abidjan April 3–5, 1969. Tanoh Brou Antoine (later Minister of Environment) was elected president of the executive committee. Alphonse Djédjé Mady was elected president the standing council. Mambo Yapi was elected president of the accounting commissariat. The formation of M.E.E.C.I. provoked protests amongst students. A group of students were arrested during a students strike against the formation of M.E.E.C.I.. It was the sole officially recognized student organization in the country between 1969 and its dissolution in 1990. See also Pupils and Students Trade Union of Côte d'Ivoire References Student political organizations
```javascript /* eslint-disable unicorn/no-process-exit */ 'use strict'; let updateNotifier = require('.'); const options = JSON.parse(process.argv[2]); updateNotifier = new updateNotifier.UpdateNotifier(options); updateNotifier.checkNpm().then(update => { // Only update the last update check time on success updateNotifier.config.set('lastUpdateCheck', Date.now()); if (update.type && update.type !== 'latest') { updateNotifier.config.set('update', update); } // Call process exit explicitly to terminate the child process // Otherwise the child process will run forever, according to the Node.js docs process.exit(); }).catch(() => { process.exit(1); }); ```
Bleeke Bet is a 1934 Dutch comedy film directed by Alex Benno and Richard Oswald. Cast Aaf Bouber ... Bleeke Bet Jopie Koopman ... Jans Johan Elsensohn ... Tinus Fien de la Mar ... Ka (as Fientje de la Mar) Johannes Heesters ... Ko Monje (as Johan Heesters) Sylvain Poons ... Sally Clara Vischer-Blaaser ... Trui (as Clara Fischer) Lau Ezerman ... Lucas (as Lou Ezerman) Corry Vonk ... Leentje (as Corrie Vonk) Cor Hermus ... Van Santen Jan Lemaire Jr. ... Hannes Jan Van Ees ... Max External links 1934 films Dutch black-and-white films 1934 comedy films Films directed by Alex Benno Films directed by Richard Oswald Dutch comedy-drama films 1930s Dutch-language films
Bhuchoki Mahja is a village near Raiwind, Pakistan. Its population is almost 10,000. It was a part of union council 33 but recently it merged with union council 274. There are no water or sewage or medical facilities and travel infrastructure is poor. Domestic gas has been announce and supply by Malik Afzal Khokar Membor national assembly. Its current mayor is Rao Shahbaz Hayat Khan of the Pakistan Muslim League. References Cities in Pakistan
Rodenäs (, North Frisian Runees or Rornees) is a municipality in the district of Nordfriesland, in Schleswig-Holstein, Germany. The northernmost point of mainland Germany is located in the municipality. References Nordfriesland Denmark–Germany border crossings
This article covers the history of the Scarborough Football Club from the 1870s to 1998. Foundation and early years During the late 1870s, a group of young men from the town including cricketers wanted a game to play during the winter months and began meetings at North Marine Road cricket ground to discuss founding Scarborough Football Club. Lord Londesborough was a pivotal figure in getting the club off the ground and helped organise the first inter-club matches in October 1879. As a patron of the club he persuaded the local cricket club to allow the installation of experimental electric lights for two night football games. Due to the code preferences of the other teams from York and Hull, the rugby football code was played instead. The first ever line-up was: The first ever time the club played an association football match was on 6 November 1880 at the Cricket Ground against Bridlington. Scarborough won the game 2–1. During the early half of the 1880s the side played in the Scarborough & East Riding County Cup competition and the name of the club was changed to Scarborough Cricketers Football Club. Scarborough won their first trophy in 1885–86, lifting the County Cup; however it was a hollow victory as the final ended 4–4 against a team from Hull, but Hull refused to attend the replay and so Scarborough won by default. The following season Whitby beat them 3–2 in the final of the same competition. By the summer of 1887, the club had reverted to the name Scarborough Football Club and moved to their own ground in the form of the Recreation Ground. That season in their new ground, in front of 5,000 locals, Scarborough avenged their County Cup final defeat the previous season, by beating Whitby 6–1 in the final of the same competition. During this period rivalry between the two clubs was intense. In the 1889 FA Cup Scarborough knocked Whitby out in the First Round, with Whitby complaining that Scarborough's ground was an illegal size. Scarborough lost in the Second Round and were knocked out, though they did win the County Cup that year again by beating Whitby in the final. Unfortunately the rivalry culminated in one of the first football riots: after a disagreement about a goal, Whitby players were attacked on the pitch by Scarborough fans and eventually chased out to the Scarborough railway station. Nineteen-year-old Whitby player Albert Drabble was attacked at the game and died the following month of a heart attack; although links between the incidents were not conclusive it put a large shadow over the fixture. Developments and the Northern League The club began to develop, with more success in local Scarborough & East Riding County Cup competitions and the creation of a reserves team who would play in the newly created Scarborough League, though the first team continued to lose heavily in FA Cup games. Scarborough were invited to become one of the founding members of the Cleveland Amateur League, but they left after one season, because as soon as a visiting club was beaten at the Recreation Ground, they would complain to get the result overturned due to the pitch size. The club was also amongst the first to compete in the FA Amateur Cup. In the 1898–99 season Scarborough took a step up, by joining the Northern League Second Division, and the club also had a new ground built in the form of the Athletic Ground. A disagreement about the headquarters saw the club torn in two; half of the players and staff stayed and the other half broke off to found the Scarborough Utopians. The Second Division of the Northern League was abolished in 1900; this saw Scarborough and two other clubs admitted to the single Northern League division. Around this era the league was strong, featuring the likes of Bishop Auckland, as well as reserves of Newcastle United, Sunderland and Middlesbrough. It was during the early 1900s that Ocky Johnson debuted, the most prolific goalscorer in the history of the club with at least 245 goals, he was one of Scarborough's all-time heroes. In 1906, Thomas Cole became chairman of the club and sought efforts to battle the club's debts; he would remain chairman until the mid-1920s. Scarborough won their first North Riding Senior Cup final in 1909, a competition which they would win many times; during the league in the early 1900s they were consistently mid-table finishers. Scarborough joined a new league in 1910–11 in the form of the Yorkshire Combination, a mixture of professional and amateur clubs from the county. Boro managed decent results in the league but after four years it collapsed due to lack of support from major clubs, leading Scarborough to return to the Northern League. The First World War interrupted any meaningful sporting activities; Boro players Tommy Renwick and Sam Horsman died during it. Scarborough were more fortunate than many clubs who were dissolved during this period, managing to survive throughout. After the First World War Despite still having their star man Ocky Johnson, Scarborough had slipped in form during the post war period. The club suffered a humiliating and record defeat against Middlesbrough in 1919, losing 16–1 in total. Although financially the club were doing well, their finishing places in the league was not as rosy. Under the guidance of new chairman W.T. Medd the club adopted professionalism in 1926, joining the Yorkshire Football League, with their first ever professional match against Bridlington Town which they won 3–1. Spurred on by great home attendance figures, Scarborough left the Yorkshire League after just one season to join the stronger Midland Football League. With James McGraham as player-coach, Scarborough played attractive attacking football and managed to surprise most by finishing runners-up to Gainsborough Trinity at their first attempt. Local rivals Scarborough Penguins folded around this time and merged with Boro. Several players were signed by Football League clubs, but with goalscorer Billy Clayson leading the way, Scarborough were crowned champions of the Midland League in 1929–30. The financial cost it took to build a squad capable of winning the league backfired, many had to be sold to Football League clubs as a result. Despite the drop in form in the Midlands League, Boro shined in the F.A. Cup reaching the Third Round; one of these fixtures was considered the greatest ever played at the Athletic Ground, where Scarborough came from behind to beat Football League side Lincoln City 6–4. A couple of years later, the transfer of club hero Billy Clayson to York City just a season after Scarborough had knocked the fellow Yorkshire club out of the F.A. Cup would light the fire of a rivalry between the two, essentially taking the place of the older rivalry with Whitby. After coming close to folding and disastrous league form, experienced former Manchester United man Thomas Boyle was brought in as player-manager and helped the club to improve drastically, with a decent F.A. Cup run in the year just after he left, where Boro reached the Third Round before going out to Luton Town after a replay. Boro's league form had improved also and they managed to finish 3rd in the Midland League during 1937–38 before again war interrupted again, in the form of the Second World War. After the Second World War The club did survive the Second World War, however they missed the first season back in the Midland League because their ground had been used for military training during the war and was in very poor condition. Scarborough finally returned to the Midland League by 1946–47; Peter Cook was the star player in the first post-war years, finishing as the club's top scorer for three seasons in a row. The club suffered from having an unstable squad, with numerous different players turning out for the club in a short period of time, this showed in their league table finishes. Scarborough reserves were able to gain entry into the Yorkshire League during 1949. Boro almost dropped out of the Midland League due to a financial crisis, however a prestige friendly match against Hull City was organised to help the club, with famous players such as Don Revie and Raich Carter turning out for Hull. In 1951–52 the club managed to finish 6th in the league, with a strong squad including the likes of Bert Brenen, Bernard Massey and Jimmy Johnson. This was a brief success, before having to sell their best players on and falling back down the table. Despite poor financial conditions in the mid-1950s and unimpressive league positions, the club did have flashes of quality, exemplified by Alan Parkinson who scored 67 league goals over the course of two seasons. The Midland League itself began to decline in prestige after a shake up for the 1958–59 season which saw the majority of the clubs leaving the league, many to the Southern League. Thanks to the Supporters Club, Scarborough had the Athletic Ground bought back in 1960 after a period of Scarborough Corporation owning it. The Midland League collapsed the same year with Peterborough United were the last to be promoted to the Football League, while Scarborough themselves formed part of the new Northern Counties League. The arrival of Eddy Brown as manager and Bessie Smith, MP for Liverpool Exchange, as president, heralded a new era for the club. After the collapse of the Northern Counties League, Scarborough joined the new North Eastern League and were victorious, finishing as champions during their sole season in it. The Wembley Years: Cup glory The Midland Football League was back for 1963–64 with Scarborough deciding to rejoin; carrying momentum over from their previous season's success the Seasiders finished as runners-up, narrowly losing out to Grantham Town. At the end of the season the highly popular manager Eddy Brown left after a dispute with the board, much to the displeasure of the fans. In the following years the club were not as prominent in the league, though 1964–65 saw a positive run in the FA Cup. Scarborough knocked out league side Bradford City before going out to fellow Yorkshire club Doncaster Rovers 2–1 in a Second Round replay watched by 7,802 fans. Alan Franks proved important during this period, scoring 116 goals in 42 league matches. Boro finally left the Midland League for good when they became founding members of the Northern Premier League in 1968. It took the club a little while to adjust to the new league, but by the early 1970s they had improved significantly. 1972–73 was particularly notable all round with Colin Appleton at the helm. The club finished as runners-up in the league, missing out on the top spot to Boston United. The same season Scarborough knocked Oldham Athletic out of the FA Cup, before going out to Doncaster Rovers once again in the Second Round. In the FA Trophy the club earned a trip to Wembley where they defeated Wigan Athletic 2–1. For the rest of the decade Scarborough managed to finish in the top 5 within the league, but it was their cup runs which gained wide attention. Boro made it to Wembley in the FA Trophy for three finals in a row during the mid-1970s; the first they lost 4–0 to Matlock Town, the second they beat Dagenham and the third in 1976–77 the club beat Stafford Rangers 3–2 with Sean Marshall grabbing the winner in extra time. In the FA Cup the Seasiders had two significant runs in the latter part of the 1970s which saw them reach the Third Round. First in 1975–76, Scarborough knocked out Preston North End, before losing 2–1 to eventual semi-finalists Crystal Palace in a game screened on Match of the Day. Again in 1977–78, Scarborough reached the Third Round before losing to Brighton & Hove Albion. Scarborough played in the Anglo-Italian Cup, a competition of semi-professional teams from the respective nations; with guest appearances from Gordon Banks and Alan A'Court, Boro managed to beat Udinese 4–0 in a game of the 1976 tournament. The following year in the same competition, Scarborough beat Parma 2–0 in one of the games. The club celebrated its centenary year in 1979. Rise into The Football League Non-league football was revolutionised with the creation of the Alliance Premier League just below the Football League for the start of the 1980s. With Don Robinson as chairman, Scarborough was able to improve many elements of its ground and entered the new league. After building up a squad with seasoned former Football League players in 1980–81, Scarborough mounted a decent challenge for the championship but eventually finished third. Colin Williams was a key player for Scarborough during this time, finishing as Alliance Premier League topscorer for two seasons in a row. Harry Dunn was given a warm send off in 1983 after serving the club for twenty years, playing around 900 games for the club. Crowd attendances began to decline as Scarborough generally finished in mid-table positions, as well as being unable to progress further than the First Round of the FA Cup, or perform well in the FA Trophy. Despite John Hanson's goals. Success in the Bob Lord Trophy, beating Barnet in 1984 was one of the rare high points of this period. Fan favourite Harry Dunn returned for a spell as part-time manager, guiding the side, which included the likes of Neil Thompson to a sixth-place finish during 1984–85. New chairman Barry Adamson demanded change and brought in Neil Warnock as manager, who brought in nine new first team players. Adamson died part way through the season at age 47, which stunned the club though spurred them on to challenge for the title in his honour. Scarborough went 22 games unbeaten during part of the season, four days after beating Sutton United 2–0, the club was declared champions and promoted to The Football League for the first time in their 108-year history. Scarborough were entered into the Football League Fourth Division playing their first Football League game against Wolverhampton Wanderers in a 2–2 draw. After gaining their footing with a solid 12th-place finish during their first season in The Football League, Scarborough reached the promotion playoffs in 1988–89 due to finishing fifth, though they lost out to Leyton Orient. Rivalry with York City picked up during this period. Scarborough were having major financial problems off the field, due to the step up; this in part led to the resignation of Warnock during the 1988–89 season, with coach Colin Morris stepping up to replace him. The business smarts of Geoffrey Richmond saved the club and a deal with McCain saw the Athletic Ground renamed the McCain Stadium, nicknamed The Theatre of Chips. Despite a bad start to the following season, which led to the dismissal of Morris and his replacement by Ray McHale, Scarborough became giant killers when they dumped Chelsea out of the League Cup in October 1989, with Martin Russell scoring the winner in the 3–2 home victory. The 1992–93 season saw the introduction of the Premier League and so the division Scarborough was in was renamed Football League Division Three. The season brought more excitement in the League Cup as Scarborough reached the Fourth Round, knocking out Bradford City, Coventry City and Plymouth Argyle before narrowly losing 1–0 to Arsenal due to a Nigel Winterburn goal. Darren Foreman became the first Boro player to score a hat-trick in The Football League and was a prolific goalscorer throughout his stay. Scarborough finished dangerously close to the Division Four drop zone in the 1989–90 season, despite their cup exploits, but their form improved in the two seasons that followed, which saw finishes of 9th and 12th respectively. They were again in play-off contention for much of 1992–93, but a dismal run of form saw McHale sacked and replaced by Phil Chambers as the season drew to a close. Chambers in turn was dismissed only a few months into the following season after a poor start (though his cause was not helped by having had to sell off much of his squad during the summer), and replaced by Steve Wicks, who engineered a major turnaround in form to finish in 14th place. Richmond took control of Bradford City in 1994 and their chairman Dave Simpson took control of Scarborough in a "swap" move. Simpson in turn sold the club to John Russell later that year. A decent FA Cup run in 1994–95 saw Boro make it to a Third Round replay, before going out to Watford. Their league form, however, sunk to new lows that season. Wicks was harshly sacked just before the season started and replaced by the more experienced Billy Ayre, who himself lasted just five months as manager and was sacked with the club bottom of the league. The managerial merry-go-round came full circle as Ray McHale was reinstated as manager just a year-and-a-half since being sacked, but he had little more luck turning things around and they finished second-bottom of the Football League after statistically the club's worst-ever season, with only goals scored keeping them above bottom-place Exeter City. 1995–96 proved to be another thoroughly dismal campaign, and a horrific late-season run resulted in another second-bottom finish, albeit with a more comfortable gap over bottom-placed Torquay United. McHale finally threw the towel in and resigned weeks before the season ended, leaving coach Mitch Cook in charge for the final few matches, and making this the fourth season in a row that the club had not kept a manager in charge throughout the campaign. After finding a stable manager in Mick Wadsworth, Scarborough were able to overturn several seasons of struggle to secure a 12th-place finish in 1996–97, before reaching the Division Three playoffs the following year; unfortunately for the club they crashed 7–2 on aggregate to Torquay United. The following season in 1998–99 saw the club stuck to the bottom of the table for most of the campaign, leading to Wadsworth resigning and Colin Addison taking over as manager. Results quickly improved under the new manager, but all the other teams near the bottom also went on good runs of form at the same time, meaning that all Scarborough could do was not get cut adrift at the bottom. They finally managed to move off bottom place after the penultimate match, but in a dramatic ending to the season, Scarborough were relegated from The Football League due to a goal in the last minute, of the last day of the season by Carlisle United's on-loan goalkeeper Jimmy Glass. The fact that their 48 points was (and remains to this day) the highest for a club finishing bottom of any division was of little comfort to the fans. This was the first relegation in the history of the club, and it would ultimately prove to be the beginning of a downward spiral from which the club would never recover. References General Specific Scarborough F.C. Scarborough F.C.
```javascript import { combineReducers } from 'redux'; import { routerReducer } from 'react-router-redux'; import lists from './lists'; const rootReducer = combineReducers({ routing: routerReducer, lists, }); export default rootReducer; ```
```c /* packet-mrp_mvrp.c * Routines for MVRP (MRP Multiple VLAN Registration Protocol) dissection * * * Based on the code from packet-mrp-mmrp.c (MMRP) from * Johannes Jochen <johannes.jochen[AT]belden.com> * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald[AT]wireshark.org> * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version 2 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * The MVRP Protocol specification can be found at the following: * path_to_url * */ #include "config.h" #include <epan/packet.h> #include <epan/etypes.h> void proto_register_mrp_mvrp(void); void proto_reg_handoff_mrp_mvrp(void); /* MVRP End Mark Sequence */ #define MVRP_END_MARK 0x0000 /**********************************************************/ /* Offsets of fields within an MVRP packet */ /**********************************************************/ #define MVRP_PROTOCOL_VERSION_OFFSET 0 /* Next comes the MVRP Message group */ #define MVRP_MESSAGE_GROUP_OFFSET (MVRP_PROTOCOL_VERSION_OFFSET + 1) /* Message is a group of fields */ #define MVRP_ATTRIBUTE_TYPE_OFFSET (MVRP_MESSAGE_GROUP_OFFSET) #define MVRP_ATTRIBUTE_LENGTH_OFFSET (MVRP_ATTRIBUTE_TYPE_OFFSET + 1) /* Next comes the MVRP AttributeList group */ #define MVRP_ATTRIBUTE_LIST_GROUP_OFFSET (MVRP_ATTRIBUTE_LENGTH_OFFSET + 1) /* AttributeList is a group of fields */ /* Next comes the MVRP VectorAttribute group */ #define MVRP_VECTOR_ATTRIBUTE_GROUP_OFFSET (MVRP_ATTRIBUTE_LIST_GROUP_OFFSET) /* VectorAttribute is a group of fields */ #define MVRP_VECTOR_HEADER_OFFSET (MVRP_VECTOR_ATTRIBUTE_GROUP_OFFSET) /* contains the following two fields */ #define MVRP_LEAVE_ALL_EVENT_OFFSET (MVRP_VECTOR_HEADER_OFFSET) #define MVRP_LEAVE_ALL_EVENT_MASK 0xE000 #define MVRP_NUMBER_OF_VALUES_OFFSET (MVRP_VECTOR_HEADER_OFFSET) #define MVRP_NUMBER_OF_VALUES_MASK 0x1fff /* Next comes the MVRP FirstValue group */ #define MVRP_FIRST_VALUE_GROUP_OFFSET (MVRP_VECTOR_HEADER_OFFSET + 2) /* FirstValue is a group of fields */ #define MVRP_VID_THREE_PACKED_OFFSET (MVRP_FIRST_VALUE_GROUP_OFFSET + 2) /**********************************************************/ /* Valid field contents */ /**********************************************************/ /* Attribute Type definitions */ #define MVRP_ATTRIBUTE_TYPE_VID 0x01 static const value_string attribute_type_vals[] = { { MVRP_ATTRIBUTE_TYPE_VID, "VLAN Identifier" }, { 0, NULL } }; /* Leave All Event definitions */ #define MVRP_NULLLEAVEALL 0 #define MVRP_LEAVEALL 1 static const value_string leave_all_vals[] = { { MVRP_NULLLEAVEALL, "Null" }, { MVRP_LEAVEALL, "Leave All" }, { 0, NULL } }; /* Three Packed Event definitions */ static const value_string three_packed_vals[] = { { 0, "New" }, { 1, "JoinIn" }, { 2, "In" }, { 3, "JoinMt" }, { 4, "Mt" }, { 5, "Lv" }, { 0, NULL } }; /**********************************************************/ /* Initialize the protocol and registered fields */ /**********************************************************/ static int proto_mvrp = -1; static int hf_mvrp_proto_id = -1; static int hf_mvrp_message = -1; /* Message is a group of fields */ static int hf_mvrp_attribute_type = -1; static int hf_mvrp_attribute_length = -1; static int hf_mvrp_attribute_list = -1; /* AttributeList is a group of fields */ static int hf_mvrp_vector_attribute = -1; /* VectorAttribute is a group of fields */ /* The following VectorHeader contains the LeaveAllEvent and NumberOfValues */ static int hf_mvrp_vector_header = -1; static int hf_mvrp_leave_all_event = -1; static int hf_mvrp_number_of_values = -1; static gint ett_vector_header = -1; static const int *vector_header_fields[] = { &hf_mvrp_leave_all_event, &hf_mvrp_number_of_values, NULL }; static int hf_mvrp_first_value = -1; /* FirstValue is a group of fields */ static int hf_mvrp_vid = -1; static int hf_mvrp_three_packed_event = -1; static int hf_mvrp_end_mark = -1; /* Initialize the subtree pointers */ static gint ett_mvrp = -1; static gint ett_msg = -1; static gint ett_attr_list = -1; static gint ett_vect_attr = -1; static gint ett_first_value = -1; /**********************************************************/ /* Dissector starts here */ /**********************************************************/ /* dissect_mvrp_common1 (called from dissect_mvrp) * * dissect the following fields which are common to all MVRP attributes: * Attribute Type * Attribute Length * Attribute List Length */ static void dissect_mvrp_common1(proto_tree *msg_tree, tvbuff_t *tvb, int msg_offset) { proto_tree_add_item(msg_tree, hf_mvrp_attribute_type, tvb, MVRP_ATTRIBUTE_TYPE_OFFSET + msg_offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(msg_tree, hf_mvrp_attribute_length, tvb, MVRP_ATTRIBUTE_LENGTH_OFFSET + msg_offset, 1, ENC_BIG_ENDIAN); } /* dissect_mvrp_common2 (called from dissect_mvrp) * * dissect the following fields which are common to all MVRP attributes: * Leave All Event * Number of Values fields */ static void dissect_mvrp_common2(proto_tree *vect_attr_tree, tvbuff_t *tvb, int msg_offset) { proto_tree_add_bitmask(vect_attr_tree, tvb, MVRP_VECTOR_HEADER_OFFSET + msg_offset, hf_mvrp_vector_header, ett_vector_header, vector_header_fields, ENC_BIG_ENDIAN); } /* dissect_mvrp_three_packed_event (called from dissect_mvrp) * * dissect one or more ThreePackedEvents */ static guint dissect_mvrp_three_packed_event(proto_tree *vect_attr_tree, tvbuff_t *tvb, guint offset, guint16 number_of_values) { guint counter; for ( counter = 0; counter < number_of_values; ) { guint8 value; guint8 three_packed_event[3]; value = tvb_get_guint8(tvb, offset); three_packed_event[0] = value / 36; value -= 36 * three_packed_event[0]; three_packed_event[1] = value / 6; value -= 6 * three_packed_event[1]; three_packed_event[2] = value; proto_tree_add_uint(vect_attr_tree, hf_mvrp_three_packed_event, tvb, offset, sizeof(guint8), three_packed_event[0]); counter++; if ( counter < number_of_values ) { proto_tree_add_uint(vect_attr_tree, hf_mvrp_three_packed_event, tvb, offset, sizeof(guint8), three_packed_event[1]); counter++; } if ( counter < number_of_values ) { proto_tree_add_uint(vect_attr_tree, hf_mvrp_three_packed_event, tvb, offset, sizeof(guint8), three_packed_event[2]); counter++; } offset++; } return( offset ); } /* dissect_main * * main dissect function that calls the other functions listed above as necessary */ static int dissect_mvrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { /* Set up structures needed to add the protocol subtrees and manage them */ proto_item *ti, *msg_ti, *attr_list_ti, *vect_attr_ti, *first_value_ti; proto_tree *mvrp_tree, *msg_tree, *attr_list_tree, *vect_attr_tree, *first_value_tree; /* Make entries in Protocol column and Info column on summary display */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "MRP-MVRP"); col_set_str(pinfo->cinfo, COL_INFO, "Multiple VLAN Registration Protocol"); if (tree) { guint8 attribute_type; guint8 attribute_length; guint16 number_of_values; guint offset = 0; unsigned int vect_attr_len; unsigned int msg_offset; /* Use when handling multiple messages. This points to current msg being decoded. */ unsigned int vect_offset; /* Use when handling multiple vector attributes. This points to the current vector attribute being decoded. */ ti = proto_tree_add_item(tree, proto_mvrp, tvb, 0, -1, ENC_NA); mvrp_tree = proto_item_add_subtree(ti, ett_mvrp); proto_tree_add_item(mvrp_tree, hf_mvrp_proto_id, tvb, MVRP_PROTOCOL_VERSION_OFFSET, 1, ENC_BIG_ENDIAN); /* MVRP supports multiple MRP Messages per frame. Handle those Messages in * the following while() loop. You will know you are at the end of the list * of messages when the EndMark (0x0000) is encountered instead of an * Attribute Type and Attribute Length (guaranteed to not be 0x0000). */ msg_offset = 0; while (MVRP_ATTRIBUTE_TYPE_OFFSET + msg_offset < tvb_reported_length(tvb) && tvb_get_ntohs(tvb, MVRP_ATTRIBUTE_TYPE_OFFSET + msg_offset) != MVRP_END_MARK) { attribute_type = tvb_get_guint8(tvb, MVRP_ATTRIBUTE_TYPE_OFFSET + msg_offset); attribute_length = tvb_get_guint8(tvb, MVRP_ATTRIBUTE_LENGTH_OFFSET + msg_offset); /* MVRP Message is a group of fields * * Contains AttributeType (1 byte) * + AttributeLength (1 byte) * + AttributeList (AttributeListLength bytes) * bytes of data */ msg_ti = proto_tree_add_item(mvrp_tree, hf_mvrp_message, tvb, MVRP_MESSAGE_GROUP_OFFSET + msg_offset, -1, ENC_NA); msg_tree = proto_item_add_subtree(msg_ti, ett_msg); /* Append AttributeType description to the end of the "Message" heading */ proto_item_append_text(msg_tree, ": %s (%d)", val_to_str_const(attribute_type, attribute_type_vals, "<Unknown>"), attribute_type); dissect_mvrp_common1(msg_tree, tvb, msg_offset); /* MVRP AttributeList is a group of fields * * Contains AttributeListLength bytes of data NOT */ attr_list_ti = proto_tree_add_item(msg_tree, hf_mvrp_attribute_list, tvb, MVRP_ATTRIBUTE_LIST_GROUP_OFFSET + msg_offset, -1, ENC_NA); attr_list_tree = proto_item_add_subtree(attr_list_ti, ett_attr_list); /* MVRP supports multiple MRP Vector Attributes per Attribute List. Handle those * Vector Attributes in the following while() loop. You will know you are at the * end of the list of Vector Attributes when the EndMark (0x0000) is encountered * instead of a Vector Header (guaranteed to not be 0x0000). */ vect_offset = 0; while (MVRP_VECTOR_HEADER_OFFSET + msg_offset + vect_offset < tvb_reported_length(tvb) && tvb_get_ntohs(tvb, MVRP_VECTOR_HEADER_OFFSET + msg_offset + vect_offset) != MVRP_END_MARK) { /* MVRP VectorAttribute is a group of fields * * Contains VectorHeader (2 bytes) * + FirstValue (AttributeLength bytes) * + VectorThreePacked (NumberOfValues @ 3/vector bytes) * + VectorFourPacked (NumberOfValues @ 4/vector bytes only for Listener attributes) * bytes of data */ number_of_values = tvb_get_ntohs(tvb, MVRP_NUMBER_OF_VALUES_OFFSET + msg_offset + vect_offset) & MVRP_NUMBER_OF_VALUES_MASK; vect_attr_len = 2 + attribute_length + (number_of_values + 2)/3; /* stores 3 values per byte */ vect_attr_ti = proto_tree_add_item(attr_list_tree, hf_mvrp_vector_attribute, tvb, MVRP_VECTOR_ATTRIBUTE_GROUP_OFFSET + msg_offset + vect_offset, vect_attr_len, ENC_NA); vect_attr_tree = proto_item_add_subtree(vect_attr_ti, ett_vect_attr); dissect_mvrp_common2(vect_attr_tree, tvb, msg_offset + vect_offset); if (attribute_type == MVRP_ATTRIBUTE_TYPE_VID) { /* MVRP VLAN ID FirstValue is a group of fields * * Contains VID (2 bytes) * bytes of data */ first_value_ti = proto_tree_add_item(vect_attr_tree, hf_mvrp_first_value, tvb, MVRP_FIRST_VALUE_GROUP_OFFSET + msg_offset + vect_offset, attribute_length, ENC_NA); first_value_tree = proto_item_add_subtree(first_value_ti, ett_first_value); /* Add VLAN components to First Value tree */ proto_tree_add_item(first_value_tree, hf_mvrp_vid, tvb, MVRP_FIRST_VALUE_GROUP_OFFSET + msg_offset + vect_offset, 2, ENC_BIG_ENDIAN); /* Decode three packed events. */ offset = dissect_mvrp_three_packed_event(vect_attr_tree, tvb, MVRP_VID_THREE_PACKED_OFFSET + msg_offset + vect_offset, number_of_values); } vect_offset += vect_attr_len; /* Move to next Vector Attribute, if there is one */ } /* Multiple VectorAttribute while() */ if (MVRP_VECTOR_HEADER_OFFSET + msg_offset + vect_offset < tvb_reported_length(tvb)) { proto_tree_add_item(attr_list_tree, hf_mvrp_end_mark, tvb, offset, 2, ENC_BIG_ENDIAN); /* VectorAttribute EndMark */ } proto_item_set_len(attr_list_ti, vect_offset); /*without an endmark*/ msg_offset += vect_offset + 4; /* + endmark; Move to next Message, if there is one */ proto_item_set_len(msg_ti, vect_offset + 2); /*length of message*/ } /* Multiple Message while() */ if (MVRP_ATTRIBUTE_TYPE_OFFSET + msg_offset < tvb_reported_length(tvb)) { proto_tree_add_item(mvrp_tree, hf_mvrp_end_mark, tvb, offset+2, 2, ENC_BIG_ENDIAN); /* Message EndMark */ } } return tvb_captured_length(tvb); } /* Register the protocol with Wireshark */ void proto_register_mrp_mvrp(void) { static hf_register_info hf[] = { { &hf_mvrp_proto_id, { "Protocol Version", "mrp-mvrp.protocol_version", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_message, /* Message is a group of fields */ { "Message", "mrp-mvrp.message", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_attribute_type, { "Attribute Type", "mrp-mvrp.attribute_type", FT_UINT8, BASE_DEC, VALS(attribute_type_vals), 0x0, NULL, HFILL } }, { &hf_mvrp_attribute_length, { "Attribute Length", "mrp-mvrp.attribute_length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_attribute_list, /* AttributeList is a group of fields */ { "Attribute List", "mrp-mvrp.attribute_list", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_vector_attribute, /* VectorAttribute is a group of fields */ { "Vector Attribute", "mrp-mvrp.vector_attribute", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_vector_header, { "Vector Header", "mrp-mvrp.vector_header", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_leave_all_event, { "Leave All Event", "mrp-mvrp.leave_all_event", FT_UINT16, BASE_DEC, VALS(leave_all_vals), MVRP_LEAVE_ALL_EVENT_MASK, NULL, HFILL } }, { &hf_mvrp_number_of_values, { "Number of Values", "mrp-mvrp.number_of_values", FT_UINT16, BASE_DEC, NULL, MVRP_NUMBER_OF_VALUES_MASK, NULL, HFILL } }, { &hf_mvrp_first_value, /* FirstValue is a group of fields */ { "First Value", "mrp-mvrp.first_value", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_vid, { "VLAN ID", "mrp-mvrp.vid", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } }, { &hf_mvrp_three_packed_event, { "Attribute Event", "mrp-mvrp.three_packed_event", FT_UINT8, BASE_DEC, VALS(three_packed_vals), 0x0, NULL, HFILL } }, { &hf_mvrp_end_mark, { "End Mark", "mrp-mvrp.end_mark", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } }, }; /* Setup protocol subtree array */ static gint *ett[] = { &ett_mvrp, &ett_msg, &ett_attr_list, &ett_vect_attr, &ett_vector_header, &ett_first_value }; /* Register the protocol name and description */ proto_mvrp = proto_register_protocol("Multiple VLAN Registration Protocol", "MRP-MVRP", "mrp-mvrp"); /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_mvrp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_mrp_mvrp(void) { dissector_handle_t mvrp_handle; mvrp_handle = create_dissector_handle(dissect_mvrp, proto_mvrp); dissector_add_uint("ethertype", ETHERTYPE_MVRP, mvrp_handle); } /* * Editor modelines - path_to_url * * Local variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */ ```
```java /* * * All rights reserved. This program and the accompanying materials * * path_to_url */ package org.locationtech.jtstest.function; import org.locationtech.jts.geom.Coordinate; import org.locationtech.jts.geom.Geometry; public class OrientationFPFunctions { public static int orientationIndex(Geometry segment, Geometry ptGeom) { if (segment.getNumPoints() != 2 || ptGeom.getNumPoints() != 1) { throw new IllegalArgumentException("A must have two points and B must have one"); } Coordinate[] segPt = segment.getCoordinates(); Coordinate p = ptGeom.getCoordinate(); int index = orientationIndex(segPt[0], segPt[1], p); return index; } private static int orientationIndex(Coordinate p1, Coordinate p2, Coordinate q) { double dx1 = p2.x - p1.x; double dy1 = p2.y - p1.y; double dx2 = q.x - p2.x; double dy2 = q.y - p2.y; double det = dx1*dy2 - dx2*dy1; if (det > 0.0) return 1; if (det < 0.0) return -1; return 0; } } ```
```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\Compute; class InterconnectMacsec extends \Google\Collection { protected $collection_key = 'preSharedKeys'; /** * @var bool */ public $failOpen; protected $preSharedKeysType = InterconnectMacsecPreSharedKey::class; protected $preSharedKeysDataType = 'array'; /** * @param bool */ public function setFailOpen($failOpen) { $this->failOpen = $failOpen; } /** * @return bool */ public function getFailOpen() { return $this->failOpen; } /** * @param InterconnectMacsecPreSharedKey[] */ public function setPreSharedKeys($preSharedKeys) { $this->preSharedKeys = $preSharedKeys; } /** * @return InterconnectMacsecPreSharedKey[] */ public function getPreSharedKeys() { return $this->preSharedKeys; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InterconnectMacsec::class, 'Google_Service_Compute_InterconnectMacsec'); ```
Richard Louis Duckett (January 30, 1885 – July 19, 1972) was a Canadian athlete, lawyer and coroner, who held office in the judicial district of Montreal between 1937 and 1961. Biography Born in Montreal, the eldest son of a second-generation Irish Canadian shopkeeper and a French Canadian mother, Duckett was educated at the Collège Sainte-Marie before earning a law degree at the Université Laval à Montréal in 1908. Representing Canada as a member of the Ottawa Nationals Lacrosse Club, Duckett won a gold medal at the 1908 Summer Olympics in London. In December 1909, he briefly joined the newly-formed Club Athlétique Canadien, but never played a game for the team and did not pursue an ice hockey career any further, though he remained an active lacrosse player through most of the 1910s. After ending his athletic career, he joined a Montreal legal cabinet, before his appointment as coroner for the district of Montreal by the Duplessis administration in 1937, a position he occupied until his retirement in 1961. Duckett died in Montreal in 1972, at age 87. References External links Richard Louis Duckett's profile at Sports Reference.com Profile on HockeyGods.com 1880s births 1972 deaths Canadian coroners Canadian lacrosse players Lacrosse players at the 1908 Summer Olympics Olympic lacrosse players for Canada Olympic gold medalists for Canada Ice hockey people from Montreal Montreal Canadiens (NHA) players Medalists at the 1908 Summer Olympics Olympic medalists in lacrosse 20th-century Canadian lawyers
```javascript (window.webpackJsonp=window.webpackJsonp||[]).push([[39],{815:function(e,n){e.exports=function(e){var n={begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,n]}]}}}}]); ```
Bevan Barry John Griggs (born 29 March 1978) is a New Zealand cricketer who played for Central Districts. In his 83 first-class cricket matches he has taken 245 dismissals for Central Districts, a CD record. Bevan also plays for United cricket club in Palmerston North. He was born in Palmerston North. He scored 3155 runs from 130 innings of 83 matches. External links 1979 births Living people Cricketers from Palmerston North New Zealand cricketers Central Districts cricketers People educated at Palmerston North Boys' High School Wicket-keepers
```go // Unless explicitly stated otherwise all files in this repository are licensed // This product includes software developed at Datadog (path_to_url //go:build systemd //nolint:revive // TODO(AML) Fix revive linter package journald import ( "github.com/coreos/go-systemd/sdjournal" "github.com/DataDog/datadog-agent/comp/core/tagger" "github.com/DataDog/datadog-agent/comp/core/tagger/types" "github.com/DataDog/datadog-agent/pkg/util/containers" "github.com/DataDog/datadog-agent/pkg/util/log" ) // containerIDKey represents the key of the container identifier in a journal entry. const containerIDKey = "CONTAINER_ID_FULL" // isContainerEntry returns true if the entry comes from a docker container. func (t *Tailer) isContainerEntry(entry *sdjournal.JournalEntry) bool { _, exists := entry.Fields[containerIDKey] return exists } // getContainerID returns the container identifier of the journal entry. func (t *Tailer) getContainerID(entry *sdjournal.JournalEntry) string { //nolint:gosimple // TODO(AML) Fix gosimple linter containerID, _ := entry.Fields[containerIDKey] return containerID } // getContainerTags returns all the tags of a given container. func (t *Tailer) getContainerTags(containerID string) []string { tags, err := tagger.Tag(containers.BuildTaggerEntityName(containerID), types.HighCardinality) if err != nil { log.Warn(err) } return tags } ```
Nuvvila is a 2011 Telugu romantic comedy film written and directed by Ravi Babu. He introduced six new faces with this film in lead roles. Ajay, Havish, Yami Gautam, Vijay Deverakonda, Prasad Barve, Sarayu, and Remya Nambeesan. The film features music by Shekar Chandra and is produced by Ramoji Rao. Plot A disillusioned student Anand (Ajay), a wannabe model Mahesh (Havish) and a prospective violinist Raju (Prasad Barve) have one thing in common. All three of them work at Pizza Express as a stop-gap arrangement in the pursuit of their dreams. When one pizza delivery changes hands between them, three love stories are born. Anand makes a pizza delivery to Archana (Yami Gautam), who turns out to be his neighbour and falls in love with her. Mahesh goes to break up with his girlfriend Madhavi (Sarayu) and becomes the object of love of "Shailu gay" (Haleem Khan). Raju goes for a violin audition and bumps into the hate of his life Rani (Remya Nambeesan) and life gets out of hand for him. Love for Archana lands Anand in trouble when he learns that she was in love with a famous cricketer Vishnu (Vijay Deverakonda). Trouble compounds for him when Vishnu dies and Archana was pregnant with his child. Anand shelters Archana at the cost of being thrown out of his own home. Shailu torments Mahesh and it comes to a point that based on circumstantial evidence Mahesh's parents are convinced that their son is gay. Frustration peaks in Mahesh's life when Shailu wants to marry Mahesh and his parents give their consent. The story is further complicated by the appearance of the Shailu's former lover (Chakravarthy) who wanted to sacrifice his love and get Mahesh married to his former lover. An even stranger set of circumstances keeps leading Raju and Rani into each other. To avoid arrest and subsequent jail they are forced to marry each other only to be divorced soon. But in their brief time together they fall in love and get divorced much against their true feeling for each other. In the end Anand and Archana are accepted as a couple by Anand's parents, Mahesh and Madhavi get back together and Raju and Rani form a formidable team and get their own TV show. Cast Havish as Mahesh Ajay as Anand Yami Gautam as Archana Vijay Deverakonda as Vishnu (Credited as Vijay Sai) Sarayu as Madhavi Remya Nambeesan as Rani Prasad Barve as Fidel Raju Ravi Babu as police Haleem Khan as Shailu Master Atulith as Chitti Radha Kumari as Anand's grandmother Deva as Shailu's lover Sudhakara Raju Priyadarshini Lakshmi Bhargavi Kishore Special appearances M. M. Keeravani Koti Chakri RP Patnaik Kalyani Malik Music Reception A critic from Rediff.com wrote that "The film is entertaining but the script has loopholes". References External links 2011 films 2010s Telugu-language films Films directed by Ravi Babu
```shell How to unmodify a modified file What is stored in a commit? Search for commits by author `master` and `origin` aren't special Ignore files in git ```
Quadrant in architecture refers to a curve in a wall or a vaulted ceiling. Generally considered to be an arc of 90 degrees (one quarter of a circle), or a half of the more commonly seen architectural feature (a crescent). The quadrant curve was a feature popularised by Andrea Palladio, who used it often for the wings and colonnades which linked his classical style villas to their service wings and outbuildings. However, curved quadrant buildings should not be confused with the canted facades of Baroque architecture or the slightly curved buildings of the era such as the Quattro Canti in Palermo. The quadrant vault, a feature of Tudor architecture, is a curving interior, a continuous arc usually of brick as seen in a tunnel, as opposed to a ribbed vault where a framework of ribs or arches supports the curves of the vault. A quadrant arch was often employed in Romanesque architecture to provide decorative support, as seen in the flying buttresses of Notre-Dame de Chartres built in the second half of the 12th century. During the 18th century, the quadrant once again became a popular design shape for the terraces of smart houses in fashionable spa towns such as Buxton. Henry Currey's "Quadrant", built to rival the architecture of Bath, is considered one of Buxton's finest buildings. References Jackson-Stops, Gervase (1990). The Country House in Perspective. Pavilion Books. . A Working Glossary of Architectural Terms,Techniques and Structural Elements retrieved 17 October 2007 House styles Architectural elements
This is a list of television programs broadcast on the Jetix blocks on Toon Disney and ABC Family. Former programming 1 Also aired on ABC Kids. 2 Integrated into the Disney XD initial lineup. ABC Family Original programming Programming from ABC Programming from UPN Acquired programming Toon Disney Original programming Programming from Disney Channel Programming from ABC Programming from UPN Programming from 4Kids TV Acquired programming Notes References Jetix original programming Television programming blocks in the United States Disney Channel related-lists
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ============================================================================== """Wrappers for candidate sampling operations.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.framework import random_seed from tensorflow.python.ops import array_ops from tensorflow.python.ops import gen_candidate_sampling_ops from tensorflow.python.ops import math_ops def uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, range_max, seed=None, name=None): """Samples a set of classes using a uniform base distribution. This operation randomly samples a tensor of sampled classes (`sampled_candidates`) from the range of integers `[0, range_max)`. The elements of `sampled_candidates` are drawn without replacement (if `unique=True`) or with replacement (if `unique=False`) from the base distribution. The base distribution for this operation is the uniform distribution over the range of integers `[0, range_max)`. In addition, this operation returns tensors `true_expected_count` and `sampled_expected_count` representing the number of times each of the target classes (`true_classes`) and the sampled classes (`sampled_candidates`) is expected to occur in an average tensor of sampled classes. These values correspond to `Q(y|x)` defined in [this document](path_to_url If `unique=True`, then these are post-rejection probabilities and we compute them approximately. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. num_true: An `int`. The number of target classes per training example. num_sampled: An `int`. The number of classes to randomly sample per batch. unique: A `bool`. Determines whether all sampled classes in a batch are unique. range_max: An `int`. The number of possible classes. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. The sampled classes. true_expected_count: A tensor of type `float`. Same shape as `true_classes`. The expected counts under the sampling distribution of each of `true_classes`. sampled_expected_count: A tensor of type `float`. Same shape as `sampled_candidates`. The expected counts under the sampling distribution of each of `sampled_candidates`. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._uniform_candidate_sampler( true_classes, num_true, num_sampled, unique, range_max, seed=seed1, seed2=seed2, name=name) def log_uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, range_max, seed=None, name=None): """Samples a set of classes using a log-uniform (Zipfian) base distribution. This operation randomly samples a tensor of sampled classes (`sampled_candidates`) from the range of integers `[0, range_max)`. The elements of `sampled_candidates` are drawn without replacement (if `unique=True`) or with replacement (if `unique=False`) from the base distribution. The base distribution for this operation is an approximately log-uniform or Zipfian distribution: `P(class) = (log(class + 2) - log(class + 1)) / log(range_max + 1)` This sampler is useful when the target classes approximately follow such a distribution - for example, if the classes represent words in a lexicon sorted in decreasing order of frequency. If your classes are not ordered by decreasing frequency, do not use this op. In addition, this operation returns tensors `true_expected_count` and `sampled_expected_count` representing the number of times each of the target classes (`true_classes`) and the sampled classes (`sampled_candidates`) is expected to occur in an average tensor of sampled classes. These values correspond to `Q(y|x)` defined in [this document](path_to_url If `unique=True`, then these are post-rejection probabilities and we compute them approximately. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. num_true: An `int`. The number of target classes per training example. num_sampled: An `int`. The number of classes to randomly sample per batch. unique: A `bool`. Determines whether all sampled classes in a batch are unique. range_max: An `int`. The number of possible classes. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. The sampled classes. true_expected_count: A tensor of type `float`. Same shape as `true_classes`. The expected counts under the sampling distribution of each of `true_classes`. sampled_expected_count: A tensor of type `float`. Same shape as `sampled_candidates`. The expected counts under the sampling distribution of each of `sampled_candidates`. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._log_uniform_candidate_sampler( true_classes, num_true, num_sampled, unique, range_max, seed=seed1, seed2=seed2, name=name) def learned_unigram_candidate_sampler(true_classes, num_true, num_sampled, unique, range_max, seed=None, name=None): """Samples a set of classes from a distribution learned during training. This operation randomly samples a tensor of sampled classes (`sampled_candidates`) from the range of integers `[0, range_max)`. The elements of `sampled_candidates` are drawn without replacement (if `unique=True`) or with replacement (if `unique=False`) from the base distribution. The base distribution for this operation is constructed on the fly during training. It is a unigram distribution over the target classes seen so far during training. Every integer in `[0, range_max)` begins with a weight of 1, and is incremented by 1 each time it is seen as a target class. The base distribution is not saved to checkpoints, so it is reset when the model is reloaded. In addition, this operation returns tensors `true_expected_count` and `sampled_expected_count` representing the number of times each of the target classes (`true_classes`) and the sampled classes (`sampled_candidates`) is expected to occur in an average tensor of sampled classes. These values correspond to `Q(y|x)` defined in [this document](path_to_url If `unique=True`, then these are post-rejection probabilities and we compute them approximately. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. num_true: An `int`. The number of target classes per training example. num_sampled: An `int`. The number of classes to randomly sample per batch. unique: A `bool`. Determines whether all sampled classes in a batch are unique. range_max: An `int`. The number of possible classes. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. The sampled classes. true_expected_count: A tensor of type `float`. Same shape as `true_classes`. The expected counts under the sampling distribution of each of `true_classes`. sampled_expected_count: A tensor of type `float`. Same shape as `sampled_candidates`. The expected counts under the sampling distribution of each of `sampled_candidates`. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._learned_unigram_candidate_sampler( true_classes, num_true, num_sampled, unique, range_max, seed=seed1, seed2=seed2, name=name) def fixed_unigram_candidate_sampler(true_classes, num_true, num_sampled, unique, range_max, vocab_file='', distortion=1.0, num_reserved_ids=0, num_shards=1, shard=0, unigrams=(), seed=None, name=None): """Samples a set of classes using the provided (fixed) base distribution. This operation randomly samples a tensor of sampled classes (`sampled_candidates`) from the range of integers `[0, range_max)`. The elements of `sampled_candidates` are drawn without replacement (if `unique=True`) or with replacement (if `unique=False`) from the base distribution. The base distribution is read from a file or passed in as an in-memory array. There is also an option to skew the distribution by applying a distortion power to the weights. In addition, this operation returns tensors `true_expected_count` and `sampled_expected_count` representing the number of times each of the target classes (`true_classes`) and the sampled classes (`sampled_candidates`) is expected to occur in an average tensor of sampled classes. These values correspond to `Q(y|x)` defined in [this document](path_to_url If `unique=True`, then these are post-rejection probabilities and we compute them approximately. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. num_true: An `int`. The number of target classes per training example. num_sampled: An `int`. The number of classes to randomly sample per batch. unique: A `bool`. Determines whether all sampled classes in a batch are unique. range_max: An `int`. The number of possible classes. vocab_file: Each valid line in this file (which should have a CSV-like format) corresponds to a valid word ID. IDs are in sequential order, starting from num_reserved_ids. The last entry in each line is expected to be a value corresponding to the count or relative probability. Exactly one of `vocab_file` and `unigrams` needs to be passed to this operation. distortion: The distortion is used to skew the unigram probability distribution. Each weight is first raised to the distortion's power before adding to the internal unigram distribution. As a result, `distortion = 1.0` gives regular unigram sampling (as defined by the vocab file), and `distortion = 0.0` gives a uniform distribution. num_reserved_ids: Optionally some reserved IDs can be added in the range `[0, num_reserved_ids]` by the users. One use case is that a special unknown word token is used as ID 0. These IDs will have a sampling probability of 0. num_shards: A sampler can be used to sample from a subset of the original range in order to speed up the whole computation through parallelism. This parameter (together with `shard`) indicates the number of partitions that are being used in the overall computation. shard: A sampler can be used to sample from a subset of the original range in order to speed up the whole computation through parallelism. This parameter (together with `num_shards`) indicates the particular partition number of the operation, when partitioning is being used. unigrams: A list of unigram counts or probabilities, one per ID in sequential order. Exactly one of `vocab_file` and `unigrams` should be passed to this operation. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. The sampled classes. true_expected_count: A tensor of type `float`. Same shape as `true_classes`. The expected counts under the sampling distribution of each of `true_classes`. sampled_expected_count: A tensor of type `float`. Same shape as `sampled_candidates`. The expected counts under the sampling distribution of each of `sampled_candidates`. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._fixed_unigram_candidate_sampler( true_classes, num_true, num_sampled, unique, range_max, vocab_file=vocab_file, distortion=distortion, num_reserved_ids=num_reserved_ids, num_shards=num_shards, shard=shard, unigrams=unigrams, seed=seed1, seed2=seed2, name=name) def all_candidate_sampler(true_classes, num_true, num_sampled, unique, seed=None, name=None): """Generate the set of all classes. Deterministically generates and returns the set of all possible classes. For testing purposes. There is no need to use this, since you might as well use full softmax or full logistic regression. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. num_true: An `int`. The number of target classes per training example. num_sampled: An `int`. The number of possible classes. unique: A `bool`. Ignored. unique. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. This operation deterministically returns the entire range `[0, num_sampled]`. true_expected_count: A tensor of type `float`. Same shape as `true_classes`. The expected counts under the sampling distribution of each of `true_classes`. All returned values are 1.0. sampled_expected_count: A tensor of type `float`. Same shape as `sampled_candidates`. The expected counts under the sampling distribution of each of `sampled_candidates`. All returned values are 1.0. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._all_candidate_sampler( true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2, name=name) def compute_accidental_hits(true_classes, sampled_candidates, num_true, seed=None, name=None): """Compute the position ids in `sampled_candidates` matching `true_classes`. In Candidate Sampling, this operation facilitates virtually removing sampled classes which happen to match target classes. This is done in Sampled Softmax and Sampled Logistic. See our [Candidate Sampling Algorithms Reference](path_to_url We presuppose that the `sampled_candidates` are unique. We call it an 'accidental hit' when one of the target classes matches one of the sampled classes. This operation reports accidental hits as triples `(index, id, weight)`, where `index` represents the row number in `true_classes`, `id` represents the position in `sampled_candidates`, and weight is `-FLOAT_MAX`. The result of this op should be passed through a `sparse_to_dense` operation, then added to the logits of the sampled classes. This removes the contradictory effect of accidentally sampling the true target classes as noise classes for the same example. Args: true_classes: A `Tensor` of type `int64` and shape `[batch_size, num_true]`. The target classes. sampled_candidates: A tensor of type `int64` and shape `[num_sampled]`. The sampled_candidates output of CandidateSampler. num_true: An `int`. The number of target classes per training example. seed: An `int`. An operation-specific seed. Default is 0. name: A name for the operation (optional). Returns: indices: A `Tensor` of type `int32` and shape `[num_accidental_hits]`. Values indicate rows in `true_classes`. ids: A `Tensor` of type `int64` and shape `[num_accidental_hits]`. Values indicate positions in `sampled_candidates`. weights: A `Tensor` of type `float` and shape `[num_accidental_hits]`. Each value is `-FLOAT_MAX`. """ seed1, seed2 = random_seed.get_seed(seed) return gen_candidate_sampling_ops._compute_accidental_hits( true_classes, sampled_candidates, num_true, seed=seed1, seed2=seed2, name=name) ```
```objective-c /* */ #ifndef _LOG2F_DATA_H #define _LOG2F_DATA_H #include "musl_features.h" #define LOG2F_TABLE_BITS 4 #define LOG2F_POLY_ORDER 4 extern hidden const struct log2f_data { struct { double invc, logc; } tab[1 << LOG2F_TABLE_BITS]; double poly[LOG2F_POLY_ORDER]; } __log2f_data; #endif ```
```c /** * \file * \brief [Problem 12](path_to_url solution * \author [Krishna Vedala](path_to_url */ #include <math.h> #include <stdio.h> #include <stdlib.h> /** * Get number of divisors of a given number * * If \f$x = a \times b\f$, then both \f$a\f$ and \f$b\f$ are divisors of * \f$x\f$. Since multiplication is commutative, we only need to search till a * maximum of \f$a=b = a^2\f$ i.e., till \f$\sqrt{x}\f$. At every integer till * then, there are eaxctly 2 divisors and at \f$a=b\f$, there is only one * divisor. */ long count_divisors(long long n) { long num_divisors = 0; for (long long i = 1; i < sqrtl(n) + 1; i++) if (n % i == 0) num_divisors += 2; else if (i * i == n) num_divisors += 1; return num_divisors; } /** Main function */ int main(int argc, char **argv) { int MAX_DIVISORS = 500; long i = 1, num_divisors; long long triangle_number = 1; if (argc == 2) MAX_DIVISORS = atoi(argv[1]); while (1) { i++; triangle_number += i; num_divisors = count_divisors(triangle_number); if (num_divisors > MAX_DIVISORS) break; } printf("First Triangle number with more than %d divisors: %lld\n", MAX_DIVISORS, triangle_number); return 0; } ```
```javascript const { device } = require('detox'); beforeAll(async () => { await device.selectApp('example'); await device.launchApp(); }); ```
```xml import Link from 'next/link' import { UpdateSearchParamsButton } from '../../components/UpdateSearchParamsButton' export default function Home({ searchParams }) { return ( <main> <Link href="/dynamic-refresh/foo/login"> <button>Login button</button> </Link> <div> Random # from Root Page: <span id="random-number">{Math.random()}</span> </div> <UpdateSearchParamsButton searchParams={searchParams} /> </main> ) } ```
Viscount Scarsdale, of Scarsdale in Derbyshire, is a title in the Peerage of the United Kingdom. It was created in 1911 for the prominent Conservative politician and former Viceroy of India George Curzon, 1st Baron Curzon of Kedleston, who was created Earl Curzon of Kedleston at the same time and was later made Marquess Curzon of Kedleston. History The first member of the Curzon family to hold a hereditary title was John Curzon, who was created a baronet, of Kedleston in the County of Derby, in both the Baronetage of Nova Scotia (18 June 1636) and the Baronetage of England (11 August 1641). His grandson, the third Baronet, sat as a Member of Parliament for Derbyshire. His younger brother, the fourth Baronet, represented Derby, Clitheroe and Derbyshire in the House of Commons. His eldest son, the fifth Baronet, also sat as a Member of Parliament for Clitheroe and Derbyshire. In 1761 he was created Baron Scarsdale, of Scarsdale in the County of Derby, in the Peerage of Great Britain. Lord Scarsdale later served as Chairman of Committees in the House of Lords. His son, the second Baron, represented Derbyshire in the House of Commons. His grandson, the fourth Baron, was Rector of Kedleston for sixty years. The latter's eldest son George Curzon was a distinguished Conservative politician. On his appointment as Viceroy of India in 1898 he was created Baron Curzon of Kedleston, in the County of Derby, in the Peerage of Ireland, to enable him to potentially return to the House of Commons (as Irish peers did not have an automatic right to sit in the House of Lords). In the event he never returned to the House of Commons and following his return from India was elected an Irish Representative Peer in 1908. The barony of Curzon of Kedleston was the last title created in the Peerage of Ireland. In 1911 Curzon was made (1) Baron Ravensdale, of Ravensdale in the County of Derby, with remainder in default of male issue to his eldest daughter and the heirs of her body, failing whom to his other daughters in like manner in order of primogeniture, (2) Viscount Scarsdale, of Scarsdale in the County of Derby, with remainder in default of male issue to his father and the male heirs of his body, and (3) Earl Curzon of Kedleston, in the County of Derby, with remainder to the heirs male of his body. All these titles were in the Peerage of the United Kingdom. In 1916 he also succeeded his father in the barony of Scarsdale. In 1921, he was further honoured when he was created Earl of Kedleston, in the County of Derby, and Marquess Curzon of Kedleston, with remainder to the male heirs of his body. Both titles were in the Peerage of the United Kingdom. Lord Curzon had no sons, and on his death the barony of Curzon of Kedleston, the earldoms of Curzon of Kedleston and of Kedleston and the marquessate became extinct while he was succeeded in the barony of Ravensdale according to the special remainder by his daughter Irene. The viscountcy of Scarsdale passed according to the special remainder to his nephew, Richard Curzon, the second Viscount, who also succeeded as sixth Baron Scarsdale and as tenth Baronet. On the second Viscount's death the titles passed to his first cousin, the third Viscount. He was the son of Francis Nathaniel Curzon, third son of the fourth Baron. the titles are held by the latter's son, the fourth Viscount Scarsdale, who succeeded his father in 2000. Assheton Curzon, second son of the fourth Curzon baronet, was created Viscount Curzon in 1802 and is the ancestor of the Earls Howe (see this title for more information). As of 31 January 2018 the present baronet has not successfully proved his succession and is therefore not on the Official Roll of the Baronetage, with the baronetcy considered dormant since 2000. The family seat is Kedleston Hall, near Kedleston, Derbyshire. Curzon baronets, of Kedleston (1641) Sir John Curzon, 1st Baronet (c. 1599–1686) Sir Nathaniel Curzon, 2nd Baronet (c. 1640–1719) Sir John Curzon, 3rd Baronet (c. 1674–1727) Sir Nathaniel Curzon, 4th Baronet (c. 1676–1758) Sir Nathaniel Curzon, 5th Baronet (1726–1804) (created Baron Scarsdale in 1761) Baron Scarsdale (1761) Nathaniel Curzon, 1st Baron Scarsdale (1726–1804) Nathaniel Curzon, 2nd Baron Scarsdale (1751–1837) Nathaniel Curzon, 3rd Baron Scarsdale (1781–1856) Alfred Nathaniel Holden Curzon, 4th Baron Scarsdale (1831–1916) George Nathaniel Curzon, 5th Baron Scarsdale (1859–1925) (created Viscount Scarsdale and Earl Curzon of Kedleston in 1911) Earl Curzon of Kedleston (1911) George Nathaniel Curzon, 1st Viscount Scarsdale (1859–1925) (created Marquess Curzon of Kedleston in 1921) Marquess Curzon of Kedleston (1921) George Nathaniel Curzon, 1st Marquess Curzon of Kedleston (1859–1925) Viscount Scarsdale (1911; reverted) Richard Nathaniel Curzon, 2nd Viscount Scarsdale (1898–1977) Francis John Nathaniel Curzon, 3rd Viscount Scarsdale (1924–2000) Peter Ghislain Nathaniel Curzon, 4th Viscount Scarsdale (born 1949) The heir presumptive is the present holder's brother, David James Nathaniel Curzon (born 1958). The heir presumptive's heir apparent is his son, Andrew Linton Nathaniel Curzon (born 1986). Arms See also Earl Howe Baron Ravensdale References Kidd, Charles, Williamson, David (editors). Debrett's Peerage and Baronetage (1990 edition). New York: St Martin's Press, 1990, 1911 establishments in the United Kingdom Viscountcies in the Peerage of the United Kingdom Peerages created with special remainders Noble titles created in 1911 Noble titles created for UK MPs History of Derbyshire
Although the Netherlands does not have weapons of mass destruction made by itself, the country participates in NATO's nuclear weapons sharing arrangements and trains for delivering US nuclear weapons. These weapons were first stored in the Netherlands in 1960. The Netherlands is also one of the producers of components that can be used for creating deadly agents, chemical weapons and other kinds of weapons of mass destruction. Several Dutch companies provided the United States, Israel and Pakistan with components for these weapons. The Netherlands ratified the Geneva Protocol on 31 October 1930. It also ratified the Biological Weapons Convention on 10 April 1972 and the Chemical Weapons Convention on 30 June 1995. United States-NATO nuclear weapons sharing The Netherlands ratified the Nuclear Non-Proliferation Treaty (NPT) on 2 May 1975. In the past (1960s till 1990s), the Netherlands took part in the deployment of NATO nuclear artillery shells for its self-propelled howitzers and missile artillery units. These 8 inch shells and warheads for Honest John, and later Lance, missiles were stored at the special ammunition stores at 't Harde and Havelterberg. These weapons are no longer operational. Until 2006, Royal Netherlands Navy P-3 Orion aircraft, and their predecessors the P-2 Neptunes, based at former Naval Air Station Valkenburg in Katwijk and Curaçao in the Caribbean were assigned U.S. Navy Nuclear Depth Bombs (NDB) for use in anti-submarine warfare. These weapons were originally the Mk 101 Lulu, which yielded 11 kt; later, they were replaced by the Mk-57 (also referred to as the B-57). The NDBs were stored under U.S. Marine guard at RAF St. Mawgan, Cornwall, UK, which also held 60 similar weapons for the use of RAF Shackleton and Nimrod aircraft. The storage arrangements were agreed in 1965 between the British Prime Minister Harold Wilson and President Johnson in a secret memorandum now declassified in the UK archives. At present (2008), the USAF still provides 22 tactical B61 nuclear bombs for use by the Netherlands under the NATO nuclear weapons sharing agreement. These weapons are stored at Volkel Air Base and, in time of war, they may be delivered by Royal Netherlands Air Force F-16 warplanes. (The Dutch government has never formally admitted or denied the presence of these weapons, but former prime ministers Dries van Agt and Ruud Lubbers both acknowledged their presence in 2013.) The U.S. insists that its forces control the weapons and that no transfer of the nuclear bombs or control over them is intended "unless and until a decision were made to go to war, at which the [NPT] treaty would no longer be controlling", so there is no breach of the NPT. Dutch production of precursors to chemical weapons Alongside companies from the United Kingdom, France, Germany, the United States, Belgium, Spain, India, and Brazil, Dutch companies provided Iraq with the chemicals used as precursors to produce chemical weapons for use against Iran in the Iran–Iraq War. Suffering from chemical warfare during the Iran–Iraq War (1980–1988), 2000 Iranians submitted an indictment some years ago with a Tehran court against nine companies that had provided Saddam Hussein with such chemicals, and 455 American and European companies, two thirds being German, provided aid to Iraq during its war with Iran. The United Nations published a 12,000-page report about the conflict and named the companies involved. Poison gas experiments On 20 February 2008, it was revealed that the Netherlands had conducted chemical warfare experiments with nerve gas in the early 1950s. These experiments were conducted by the TNO organization on the request of the Defense Department. They consisted of the use of sarin, tabun, soman, and a modified French gas called Stof X (Substance X), which was more poisonous than sarin. The experiments were carried out on animals in the village of Harskamp and on the Vliehors bombing range, located on the island of Vlieland. After 1956, the only experiments were those conducted jointly with France and Belgium in the desert of Algeria, which utilized 6 kilograms of Stof X. The reason behind these experiments was the fear of an attack by the Soviet Union. See also Nuclear sharing References Sources , Contained in an exchange of letters between Prime Minister Harold Wilson and Pres Lyndon B.Johnson, declassified 2002, and now in the UK National Archives, London filed as DEFE 24/691-E28 Weapons of mass destruction by country Military history of the Netherlands Foreign relations of the Netherlands
The Gardner–Webb Runnin' Bulldogs women's basketball team is the women's basketball team that represents Gardner–Webb University in Boiling Springs, North Carolina, United States. The school's team currently competes in the Big South Conference. Postseason NCAA Division I tournament results The Runnin' Bulldogs have appeared in two NCAA tournaments. Their record is 0–2. WNIT results The Bulldogs have appeared in the Women's National Invitation Tournament (WNIT) once. Their combined record is 0–1. NCAA Division II tournament results The Bulldogs made one appearance in the NCAA Division II women's basketball tournament. They had a combined record of 0–1. References External links Gardner–Webb Runnin' Bulldogs women's basketball
Live at the Temple Bar and More is the first live album from alternative rock band Fishbone. The album was recorded live in various locations throughout August and September 2001. The album contains all new material never released on any previous Fishbone album. Though the band recorded most of the tracks as part of the 2001 "Hen House" sessions (whose recording process is documented on the unauthorized Critical Times - Fishbone's Hen House Sessions DVD), the band decided to bypass their usual record company hassles by releasing the new songs in a live format on their own independent record label. Although the band suffered considerable record company troubles following the release of their previous three studio albums, the band remained a popular live concert attraction. Track listing Personnel Angelo Moore - saxophone, vocals Walter A. Kibby II - trumpet, vocals Spacey T - guitar John Norwood Fisher - bass guitar, vocals John Steward - drums References 2002 live albums Fishbone albums
```javascript /* For licensing, see LICENSE.md or path_to_url */ (function(){function b(a,b,c){var k=n[this.id];if(k)for(var f=this instanceof CKEDITOR.ui.dialog.checkbox,e=0;e<k.length;e++){var d=k[e];switch(d.type){case g:if(!a)continue;if(null!==a.getAttribute(d.name)){a=a.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case o:if(!a)continue;if(d.name in c){a=c[d.name];f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case i:if(!b)continue; if(b.getAttribute(d.name)){a=b.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"])}}}function c(a,b,c){var k=n[this.id];if(k)for(var f=""===this.getValue(),e=this instanceof CKEDITOR.ui.dialog.checkbox,d=0;d<k.length;d++){var h=k[d];switch(h.type){case g:if(!a||"data"==h.name&&b&&!a.hasAttribute("data"))continue;var l=this.getValue();f||e&&l===h["default"]?a.removeAttribute(h.name):a.setAttribute(h.name,l);break;case o:if(!a)continue; l=this.getValue();if(f||e&&l===h["default"])h.name in c&&c[h.name].remove();else if(h.name in c)c[h.name].setAttribute("value",l);else{var p=CKEDITOR.dom.element.createFromHtml("<cke:param></cke:param>",a.getDocument());p.setAttributes({name:h.name,value:l});1>a.getChildCount()?p.appendTo(a):p.insertBefore(a.getFirst())}break;case i:if(!b)continue;l=this.getValue();f||e&&l===h["default"]?b.removeAttribute(h.name):b.setAttribute(h.name,l)}}}for(var g=1,o=2,i=4,n={id:[{type:g,name:"id"}],classid:[{type:g, name:"classid"}],codebase:[{type:g,name:"codebase"}],pluginspage:[{type:i,name:"pluginspage"}],src:[{type:o,name:"movie"},{type:i,name:"src"},{type:g,name:"data"}],name:[{type:i,name:"name"}],align:[{type:g,name:"align"}],"class":[{type:g,name:"class"},{type:i,name:"class"}],width:[{type:g,name:"width"},{type:i,name:"width"}],height:[{type:g,name:"height"},{type:i,name:"height"}],hSpace:[{type:g,name:"hSpace"},{type:i,name:"hSpace"}],vSpace:[{type:g,name:"vSpace"},{type:i,name:"vSpace"}],style:[{type:g, name:"style"},{type:i,name:"style"}],type:[{type:i,name:"type"}]},m="play loop menu quality scale salign wmode bgcolor base flashvars allowScriptAccess allowFullScreen".split(" "),j=0;j<m.length;j++)n[m[j]]=[{type:i,name:m[j]},{type:o,name:m[j]}];m=["allowFullScreen","play","loop","menu"];for(j=0;j<m.length;j++)n[m[j]][0]["default"]=n[m[j]][1]["default"]=!0;CKEDITOR.dialog.add("flash",function(a){var g=!a.config.flashEmbedTagOnly,i=a.config.flashAddEmbedTag||a.config.flashEmbedTagOnly,k,f="<div>"+ CKEDITOR.tools.htmlEncode(a.lang.common.preview)+'<br><div id="cke_FlashPreviewLoader'+CKEDITOR.tools.getNextNumber()+'" style="display:none"><div class="loading">&nbsp;</div></div><div id="cke_FlashPreviewBox'+CKEDITOR.tools.getNextNumber()+'" class="FlashPreviewBox"></div></div>';return{title:a.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){this.fakeImage=this.objectNode=this.embedNode=null;k=new CKEDITOR.dom.element("embed",a.document);var e=this.getSelectedElement();if(e&&e.data("cke-real-element-type")&& "flash"==e.data("cke-real-element-type")){this.fakeImage=e;var d=a.restoreRealElement(e),h=null,b=null,c={};if("cke:object"==d.getName()){h=d;d=h.getElementsByTag("embed","cke");0<d.count()&&(b=d.getItem(0));for(var d=h.getElementsByTag("param","cke"),g=0,i=d.count();g<i;g++){var f=d.getItem(g),j=f.getAttribute("name"),f=f.getAttribute("value");c[j]=f}}else"cke:embed"==d.getName()&&(b=d);this.objectNode=h;this.embedNode=b;this.setupContent(h,b,c,e)}},onOk:function(){var e=null,d=null,b=null;if(this.fakeImage)e= this.objectNode,d=this.embedNode;else if(g&&(e=CKEDITOR.dom.element.createFromHtml("<cke:object></cke:object>",a.document),e.setAttributes({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",codebase:"path_to_url#version=6,0,40,0"})),i)d=CKEDITOR.dom.element.createFromHtml("<cke:embed></cke:embed>",a.document),d.setAttributes({type:"application/x-shockwave-flash",pluginspage:"path_to_url"}),e&&d.appendTo(e); if(e)for(var b={},c=e.getElementsByTag("param","cke"),f=0,j=c.count();f<j;f++)b[c.getItem(f).getAttribute("name")]=c.getItem(f);c={};f={};this.commitContent(e,d,b,c,f);e=a.createFakeElement(e||d,"cke_flash","flash",!0);e.setAttributes(f);e.setStyles(c);this.fakeImage?(e.replace(this.fakeImage),a.getSelection().selectElement(e)):a.insertElement(e)},onHide:function(){this.preview&&this.preview.setHtml("")},contents:[{id:"info",label:a.lang.common.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0, children:[{type:"hbox",widths:["280px","110px"],align:"right",children:[{id:"src",type:"text",label:a.lang.common.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(a.lang.flash.validateSrc),setup:b,commit:c,onLoad:function(){var a=this.getDialog(),b=function(b){k.setAttribute("src",b);a.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(k.getAttribute("src"))+'" type="application/x-shockwave-flash"></embed>')};a.preview=a.getContentElement("info","preview").getElement().getChild(3); this.on("change",function(a){a.data&&a.data.value&&b(a.data.value)});this.getInputElement().on("change",function(){b(this.getValue())},this)}},{type:"button",id:"browse",filebrowser:"info:src",hidden:!0,style:"display:inline-block;margin-top:10px;",label:a.lang.common.browseServer}]}]},{type:"hbox",widths:["25%","25%","25%","25%","25%"],children:[{type:"text",id:"width",requiredContent:"embed[width]",style:"width:95px",label:a.lang.common.width,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1", a.lang.common.width)),setup:b,commit:c},{type:"text",id:"height",requiredContent:"embed[height]",style:"width:95px",label:a.lang.common.height,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1",a.lang.common.height)),setup:b,commit:c},{type:"text",id:"hSpace",requiredContent:"embed[hspace]",style:"width:95px",label:a.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateHSpace),setup:b,commit:c},{type:"text",id:"vSpace",requiredContent:"embed[vspace]", style:"width:95px",label:a.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateVSpace),setup:b,commit:c}]},{type:"vbox",children:[{type:"html",id:"preview",style:"width:95%;",html:f}]}]},{id:"Upload",hidden:!0,filebrowser:"uploadButton",label:a.lang.common.upload,elements:[{type:"file",id:"upload",label:a.lang.common.upload,size:38},{type:"fileButton",id:"uploadButton",label:a.lang.common.uploadSubmit,filebrowser:"info:src","for":["Upload","upload"]}]},{id:"properties", label:a.lang.flash.propertiesTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"scale",type:"select",requiredContent:"embed[scale]",label:a.lang.flash.scale,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.scaleAll,"showall"],[a.lang.flash.scaleNoBorder,"noborder"],[a.lang.flash.scaleFit,"exactfit"]],setup:b,commit:c},{id:"allowScriptAccess",type:"select",requiredContent:"embed[allowscriptaccess]",label:a.lang.flash.access,"default":"",style:"width : 100%;", items:[[a.lang.common.notSet,""],[a.lang.flash.accessAlways,"always"],[a.lang.flash.accessSameDomain,"samedomain"],[a.lang.flash.accessNever,"never"]],setup:b,commit:c}]},{type:"hbox",widths:["50%","50%"],children:[{id:"wmode",type:"select",requiredContent:"embed[wmode]",label:a.lang.flash.windowMode,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.windowModeWindow,"window"],[a.lang.flash.windowModeOpaque,"opaque"],[a.lang.flash.windowModeTransparent,"transparent"]], setup:b,commit:c},{id:"quality",type:"select",requiredContent:"embed[quality]",label:a.lang.flash.quality,"default":"high",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.qualityBest,"best"],[a.lang.flash.qualityHigh,"high"],[a.lang.flash.qualityAutoHigh,"autohigh"],[a.lang.flash.qualityMedium,"medium"],[a.lang.flash.qualityAutoLow,"autolow"],[a.lang.flash.qualityLow,"low"]],setup:b,commit:c}]},{type:"hbox",widths:["50%","50%"],children:[{id:"align",type:"select",requiredContent:"object[align]", label:a.lang.common.align,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.common.alignLeft,"left"],[a.lang.flash.alignAbsBottom,"absBottom"],[a.lang.flash.alignAbsMiddle,"absMiddle"],[a.lang.flash.alignBaseline,"baseline"],[a.lang.common.alignBottom,"bottom"],[a.lang.common.alignMiddle,"middle"],[a.lang.common.alignRight,"right"],[a.lang.flash.alignTextTop,"textTop"],[a.lang.common.alignTop,"top"]],setup:b,commit:function(a,b,f,g,i){var j=this.getValue();c.apply(this,arguments); j&&(i.align=j)}},{type:"html",html:"<div></div>"}]},{type:"fieldset",label:CKEDITOR.tools.htmlEncode(a.lang.flash.flashvars),children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"menu",label:a.lang.flash.chkMenu,"default":!0,setup:b,commit:c},{type:"checkbox",id:"play",label:a.lang.flash.chkPlay,"default":!0,setup:b,commit:c},{type:"checkbox",id:"loop",label:a.lang.flash.chkLoop,"default":!0,setup:b,commit:c},{type:"checkbox",id:"allowFullScreen",label:a.lang.flash.chkFull,"default":!0, setup:b,commit:c}]}]}]},{id:"advanced",label:a.lang.common.advancedTab,elements:[{type:"hbox",children:[{type:"text",id:"id",requiredContent:"object[id]",label:a.lang.common.id,setup:b,commit:c}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",id:"bgcolor",requiredContent:"embed[bgcolor]",label:a.lang.flash.bgcolor,setup:b,commit:c},{type:"text",id:"class",requiredContent:"embed(cke-xyz)",label:a.lang.common.cssClass,setup:b,commit:c}]},{type:"text",id:"style",requiredContent:"embed{cke-xyz}", validate:CKEDITOR.dialog.validate.inlineStyle(a.lang.common.invalidInlineStyle),label:a.lang.common.cssStyle,setup:b,commit:c}]}]}})})(); ```
```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.netflix.hollow.tools.history; import com.netflix.hollow.core.read.dataaccess.HollowDataAccess; import com.netflix.hollow.tools.history.keyindex.HollowHistoricalStateKeyOrdinalMapping; import com.netflix.hollow.tools.history.keyindex.HollowHistoryKeyIndex; import java.util.Map; /** * A data state from the past, represented as just the changes which happened on the subsequent transition. * Contains links to all subsequent deltas which happened in the interim between this state * and the now current state. */ public class HollowHistoricalState { private final long version; private final HollowHistoricalStateKeyOrdinalMapping keyOrdinalMapping; private final HollowHistoricalStateDataAccess dataAccess; private final Map<String, String> headerEntries; private HollowHistoricalState nextState; public HollowHistoricalState(long version, HollowHistoricalStateKeyOrdinalMapping keyOrdinalMapping, HollowHistoricalStateDataAccess dataAccess, Map<String, String> headerEntries) { this.version = version; this.dataAccess = dataAccess; this.keyOrdinalMapping = keyOrdinalMapping; this.headerEntries = headerEntries; } /** * @return The version of this state */ public long getVersion() { return version; } /** * @return A {@link HollowDataAccess} which can be used to retrieve the data from this state. For example, * you can use this with a generated Hollow API or the generic hollow object API. */ public HollowHistoricalStateDataAccess getDataAccess() { return dataAccess; } /** * To find a specific historical record which changed * in this state: * <ul> * <li>Use the {@link HollowHistoryKeyIndex} from the {@link HollowHistory} to look up a <i>key ordinal</i> by an indexed primary key.</li> * <li>Use the retrieved <i>key ordinal</i> with the {@link HollowHistoricalStateKeyOrdinalMapping} in this state to find the record's ordinal in this state.</li> * </ul> * <p> * If a change isn't found for the key ordinal in this state, you can try walking the chain of states up to * the present using successive calls to {@link #getNextState()} * * @return the historical state key ordinal mapping */ public HollowHistoricalStateKeyOrdinalMapping getKeyOrdinalMapping() { return keyOrdinalMapping; } /** * @return The subsequent historical state which occurred after this one */ public HollowHistoricalState getNextState() { return nextState; } /** * @return The blob header entries from this state. */ public Map<String, String> getHeaderEntries() { return headerEntries; } void setNextState(HollowHistoricalState nextState) { this.nextState = nextState; } public long getApproximateHeapFootprintInBytes() { long total = 0L; for (HollowHistoricalTypeDataAccess typeDataAccess : dataAccess.getTypeDataAccessMap().values()) { total += typeDataAccess.removedRecords.getApproximateHeapFootprintInBytes(); } return total; } } ```
The term "auction algorithm" applies to several variations of a combinatorial optimization algorithm which solves assignment problems, and network optimization problems with linear and convex/nonlinear cost. An auction algorithm has been used in a business setting to determine the best prices on a set of products offered to multiple buyers. It is an iterative procedure, so the name "auction algorithm" is related to a sales auction, where multiple bids are compared to determine the best offer, with the final sales going to the highest bidders. The original form of the auction algorithm is an iterative method to find the optimal prices and an assignment that maximizes the net benefit in a bipartite graph, the maximum weight matching problem (MWM). This algorithm was first proposed by Dimitri Bertsekas in 1979. The ideas of the auction algorithm and ε-scaling are also central in preflow-push algorithms for single commodity linear network flow problems. In fact the preflow-push algorithm for max-flow can be derived by applying the original 1979 auction algorithm to the max flow problem after reformulation as an assignment problem. Moreover, the preflow-push algorithm for the linear minimum cost flow problem is mathematically equivalent to the ε-relaxation method, which is obtained by applying the original auction algorithm after the problem is reformulated as an equivalent assignment problem. A later variation of the auction algorithm that solves shortest path problems was introduced by Bertsekas in 1991. It is a simple algorithm for finding shortest paths in a directed graph. In the single origin/single destination case, the auction algorithm maintains a single path starting at the origin, which is then extended or contracted by a single node at each iteration. Simultaneously, at most one dual variable will be adjusted at each iteration, in order to either improve or maintain the value of a dual function. In the case of multiple origins, the auction algorithm is well-suited for parallel computation. The algorithm is closely related to auction algorithms for other network flow problems. According to computational experiments, the auction algorithm is generally inferior to other state-of-the-art algorithms for the all destinations shortest path problem, but is very fast for problems with few destinations (substantially more than one and substantially less than the total number of nodes); see the article by Bertsekas, Pallottino, and Scutella, Polynomial Auction Algorithms for Shortest Paths. Auction algorithms for shortest hyperpath problems have been defined by De Leone and Pretolani in 1998. This is also a parallel auction algorithm for weighted bipartite matching, described by E. Jason Riedy in 2004. Comparisons The (sequential) auction algorithms for the shortest path problem have been the subject of experiments which have been reported in technical papers. Experiments clearly show that the auction algorithm is inferior to the state-of-the-art shortest-path algorithms for finding the optimal solution of single-origin to all-destinations problems. Although with the auction algorithm the total benefit is monotonically increasing with each iteration, in the Hungarian algorithm (from Kuhn, 1955; Munkres, 1957) the total benefit strictly increases with each iteration. The auction algorithm of Bertsekas for finding shortest paths within a directed graph is reputed to perform very well on random graphs and on problems with few destinations. See also Hungarian algorithm References External links Dimitri P. Bertsekas. "Linear Network Optimization", MIT Press, 1991, on-line. Dimitri P. Bertsekas. "Network Optimization: Continuous and Discrete Models", Athena Scientific, 1998. Dimitri P. Bertsekas. "An auction algorithm for shortest paths", SIAM Journal on Optimization, 1:425—447, 1991, webpage: PSU-bertsekas91auction. D.P. Bertsekas, S. Pallottino, M. G. Scutella. "Polynomial Auction Algorithms for Shortest Paths," , Computational Optimization and Applications, Vol. 4, 1995, pp. 99-125. Implementation of Bertsekas' Auction algorithm in Matlab by Florian Bernard, webpage: Matlab File Exchange. Optimization algorithms and methods Auction theory
The leader called Sisowath Thomico had instead of creating a political party chose to create on Friday 28 July 2006 what was called the "Sampoan Sangkum Cheat Niyum (Alliance of the national community)." This was because when gathering some of the parties like the Khmer Unity Party and Angkor Empire Party etc. Thomico said ""We decided not to form the party yet since the alliance is not yet complete" which meant the Thomico was giving more time to other political parties to join the alliance and postpone the changing of the alliance into a new political party with a new name. However, later on it was finally changed into a political party called Sangkum Jatiniyum Front Party that is recognized in October by the Interior Ministry of Cambodia. This political party was created in the year 2003 July. It generally seems to be in its orientation "liberty" and "Ultranationalist" e.g. by choosing to "defend the Khmer people" since it believes in defend "Khmer interests as a whole" and believes in a "democratic state of Cambodia”. The Khmer Front Party also criticized the Cambodian government for getting government agents to follow the KFP’s general secretary Mao Sam Oeun and KFP officials when the KFP said it was going to protest on a Saturday weekend that happened sometime during 2005 against the price of consumer goods and gas rising. References External links Khmer Front Party 2003 establishments in Cambodia Cambodian democracy movements Conservative parties in Cambodia Liberal parties in Cambodia Nationalist parties in Cambodia Political parties established in 2003 Political parties in Cambodia Republican parties in Cambodia
Motion compensation in computing, is an algorithmic technique used to predict a frame in a video, given the previous and/or future frames by accounting for motion of the camera and/or objects in the video. It is employed in the encoding of video data for video compression, for example in the generation of MPEG-2 files. Motion compensation describes a picture in terms of the transformation of a reference picture to the current picture. The reference picture may be previous in time or even from the future. When images can be accurately synthesized from previously transmitted/stored images, the compression efficiency can be improved. Motion compensation is one of the two key video compression techniques used in video coding standards, along with the discrete cosine transform (DCT). Most video coding standards, such as the H.26x and MPEG formats, typically use motion-compensated DCT hybrid coding, known as block motion compensation (BMC) or motion-compensated DCT (MC DCT). Functionality Motion compensation exploits the fact that, often, for many frames of a movie, the only difference between one frame and another is the result of either the camera moving or an object in the frame moving. In reference to a video file, this means much of the information that represents one frame will be the same as the information used in the next frame. Using motion compensation, a video stream will contain some full (reference) frames; then the only information stored for the frames in between would be the information needed to transform the previous frame into the next frame. Illustrated example The following is a simplistic illustrated explanation of how motion compensation works. Two successive frames were captured from the movie Elephants Dream. As can be seen from the images, the bottom (motion compensated) difference between two frames contains significantly less detail than the prior images, and thus compresses much better than the rest. Thus the information that is required to encode compensated frame will be much smaller than with the difference frame. This also means that it is also possible to encode the information using difference image at a cost of less compression efficiency but by saving coding complexity without motion compensated coding; as a matter of fact that motion compensated coding (together with motion estimation, motion compensation) occupies more than 90% of encoding complexity. MPEG In MPEG, images are predicted from previous frames or bidirectionally from previous and future frames are more complex because the image sequence must be transmitted and stored out of order so that the future frame is available to generate the After predicting frames using motion compensation, the coder finds the residual, which is then compressed and transmitted. Global motion compensation In global motion compensation, the motion model basically reflects camera motions such as: Dolly — moving the camera forward or backward Track — moving the camera left or right Boom — moving the camera up or down Pan — rotating the camera around its Y axis, moving the view left or right Tilt — rotating the camera around its X axis, moving the view up or down Roll — rotating the camera around the view axis It works best for still scenes without moving objects. There are several advantages of global motion compensation: It models the dominant motion usually found in video sequences with just a few parameters. The share in bit-rate of these parameters is negligible. It does not partition the frames. This avoids artifacts at partition borders. A straight line (in the time direction) of pixels with equal spatial positions in the frame corresponds to a continuously moving point in the real scene. Other MC schemes introduce discontinuities in the time direction. MPEG-4 ASP supports global motion compensation with three reference points, although some implementations can only make use of one. A single reference point only allows for translational motion which for its relatively large performance cost provides little advantage over block based motion compensation. Moving objects within a frame are not sufficiently represented by global motion compensation. Thus, local motion estimation is also needed. Motion-compensated DCT Block motion compensation Block motion compensation (BMC), also known as motion-compensated discrete cosine transform (MC DCT), is the most widely used motion compensation technique. In BMC, the frames are partitioned in blocks of pixels (e.g. macro-blocks of 16×16 pixels in MPEG). Each block is predicted from a block of equal size in the reference frame. The blocks are not transformed in any way apart from being shifted to the position of the predicted block. This shift is represented by a motion vector. To exploit the redundancy between neighboring block vectors, (e.g. for a single moving object covered by multiple blocks) it is common to encode only the difference between the current and previous motion vector in the bit-stream. The result of this differentiating process is mathematically equivalent to a global motion compensation capable of panning. Further down the encoding pipeline, an entropy coder will take advantage of the resulting statistical distribution of the motion vectors around the zero vector to reduce the output size. It is possible to shift a block by a non-integer number of pixels, which is called sub-pixel precision. The in-between pixels are generated by interpolating neighboring pixels. Commonly, half-pixel or quarter pixel precision (Qpel, used by H.264 and MPEG-4/ASP) is used. The computational expense of sub-pixel precision is much higher due to the extra processing required for interpolation and on the encoder side, a much greater number of potential source blocks to be evaluated. The main disadvantage of block motion compensation is that it introduces discontinuities at the block borders (blocking artifacts). These artifacts appear in the form of sharp horizontal and vertical edges which are easily spotted by the human eye and produce false edges and ringing effects (large coefficients in high frequency sub-bands) due to quantization of coefficients of the Fourier-related transform used for transform coding of the residual frames Block motion compensation divides up the current frame into non-overlapping blocks, and the motion compensation vector tells where those blocks come from (a common misconception is that the previous frame is divided up into non-overlapping blocks, and the motion compensation vectors tell where those blocks move to). The source blocks typically overlap in the source frame. Some video compression algorithms assemble the current frame out of pieces of several different previously-transmitted frames. Frames can also be predicted from future frames. The future frames then need to be encoded before the predicted frames and thus, the encoding order does not necessarily match the real frame order. Such frames are usually predicted from two directions, i.e. from the I- or P-frames that immediately precede or follow the predicted frame. These bidirectionally predicted frames are called B-frames. A coding scheme could, for instance, be IBBPBBPBBPBB. Further, the use of triangular tiles has also been proposed for motion compensation. Under this scheme, the frame is tiled with triangles, and the next frame is generated by performing an affine transformation on these triangles. Only the affine transformations are recorded/transmitted. This is capable of dealing with zooming, rotation, translation etc. Variable block-size motion compensation Variable block-size motion compensation (VBSMC) is the use of BMC with the ability for the encoder to dynamically select the size of the blocks. When coding video, the use of larger blocks can reduce the number of bits needed to represent the motion vectors, while the use of smaller blocks can result in a smaller amount of prediction residual information to encode. Other areas of work have examined the use of variable-shape feature metrics, beyond block boundaries, from which interframe vectors can be calculated. Older designs such as H.261 and MPEG-1 video typically use a fixed block size, while newer ones such as H.263, MPEG-4 Part 2, H.264/MPEG-4 AVC, and VC-1 give the encoder the ability to dynamically choose what block size will be used to represent the motion. Overlapped block motion compensation Overlapped block motion compensation (OBMC) is a good solution to these problems because it not only increases prediction accuracy but also avoids blocking artifacts. When using OBMC, blocks are typically twice as big in each dimension and overlap quadrant-wise with all 8 neighbouring blocks. Thus, each pixel belongs to 4 blocks. In such a scheme, there are 4 predictions for each pixel which are summed up to a weighted mean. For this purpose, blocks are associated with a window function that has the property that the sum of 4 overlapped windows is equal to 1 everywhere. Studies of methods for reducing the complexity of OBMC have shown that the contribution to the window function is smallest for the diagonally-adjacent block. Reducing the weight for this contribution to zero and increasing the other weights by an equal amount leads to a substantial reduction in complexity without a large penalty in quality. In such a scheme, each pixel then belongs to 3 blocks rather than 4, and rather than using 8 neighboring blocks, only 4 are used for each block to be compensated. Such a scheme is found in the H.263 Annex F Advanced Prediction mode Quarter Pixel (QPel) and Half Pixel motion compensation In motion compensation, quarter or half samples are actually interpolated sub-samples caused by fractional motion vectors. Based on the vectors and full-samples, the sub-samples can be calculated by using bicubic or bilinear 2-D filtering. See subclause 8.4.2.2 "Fractional sample interpolation process" of the H.264 standard. 3D image coding techniques Motion compensation is utilized in Stereoscopic Video Coding In video, time is often considered as the third dimension. Still image coding techniques can be expanded to an extra dimension. JPEG 2000 uses wavelets, and these can also be used to encode motion without gaps between blocks in an adaptive way. Fractional pixel affine transformations lead to bleeding between adjacent pixels. If no higher internal resolution is used the delta images mostly fight against the image smearing out. The delta image can also be encoded as wavelets, so that the borders of the adaptive blocks match. 2D+Delta Encoding techniques utilize H.264 and MPEG-2 compatible coding and can use motion compensation to compress between stereoscopic images. History A precursor to the concept of motion compensation dates back to 1929, when R.D. Kell in Britain proposed the concept of transmitting only the portions of an analog video scene that changed from frame-to-frame. In 1959, the concept of inter-frame motion compensation was proposed by NHK researchers Y. Taki, M. Hatori and S. Tanaka, who proposed predictive inter-frame video coding in the temporal dimension. Motion-compensated DCT Practical motion-compensated video compression emerged with the development of motion-compensated DCT (MC DCT) coding, also called block motion compensation (BMC) or DCT motion compensation. This is a hybrid coding algorithm, which combines two key data compression techniques: discrete cosine transform (DCT) coding in the spatial dimension, and predictive motion compensation in the temporal dimension. DCT coding is a lossy block compression transform coding technique that was first proposed by Nasir Ahmed, who initially intended it for image compression, in 1972. In 1974, Ali Habibi at the University of Southern California introduced hybrid coding, which combines predictive coding with transform coding. However, his algorithm was initially limited to intra-frame coding in the spatial dimension. In 1975, John A. Roese and Guner S. Robinson extended Habibi's hybrid coding algorithm to the temporal dimension, using transform coding in the spatial dimension and predictive coding in the temporal dimension, developing inter-frame motion-compensated hybrid coding. For the spatial transform coding, they experimented with the DCT and the fast Fourier transform (FFT), developing inter-frame hybrid coders for both, and found that the DCT is the most efficient due to its reduced complexity, capable of compressing image data down to 0.25-bit per pixel for a videotelephone scene with image quality comparable to an intra-frame coder requiring 2-bit per pixel. In 1977, Wen-Hsiung Chen developed a fast DCT algorithm with C.H. Smith and S.C. Fralick. In 1979, Anil K. Jain and Jaswant R. Jain further developed motion-compensated DCT video compression, also called block motion compensation. This led to Chen developing a practical video compression algorithm, called motion-compensated DCT or adaptive scene coding, in 1981. Motion-compensated DCT later became the standard coding technique for video compression from the late 1980s onwards. The first digital video coding standard was H.120, developed by the CCITT (now ITU-T) in 1984. H.120 used motion-compensated DPCM coding, which was inefficient for video coding, and H.120 was thus impractical due to low performance. The H.261 standard was developed in 1988 based on motion-compensated DCT compression, and it was the first practical video coding standard. Since then, motion-compensated DCT compression has been adopted by all the major video coding standards (including the H.26x and MPEG formats) that followed. See also Motion estimation Image stabilization Inter frame HDTV blur Television standards conversion VidFIRE X-Video Motion Compensation Applications video compression change of framerate for playback of 24 frames per second movies on 60 Hz LCDs or 100 Hz interlaced cathode ray tubes References External links Temporal Rate Conversion - article giving an overview of motion compensation techniques. A New FFT Architecture and Chip Design for Motion Compensation based on Phase Correlation DCT and DFT coefficients are related by simple factors DCT better than DFT also for video John Wiseman, An Introduction to MPEG Video Compression DCT and motion compensation Compatibility between DCT, motion compensation and other methods Film and video technology H.26x Video compression Motion in computer vision
```c++ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #if V8_TARGET_ARCH_S390 #include "src/debug/debug.h" #include "src/debug/liveedit.h" #include "src/frames-inl.h" #include "src/macro-assembler.h" namespace v8 { namespace internal { #define __ ACCESS_MASM(masm) void DebugCodegen::GenerateHandleDebuggerStatement(MacroAssembler* masm) { { FrameScope scope(masm, StackFrame::INTERNAL); __ CallRuntime(Runtime::kHandleDebuggerStatement, 0); } __ MaybeDropFrames(); // Return to caller. __ Ret(); } void DebugCodegen::GenerateFrameDropperTrampoline(MacroAssembler* masm) { // Frame is being dropped: // - Drop to the target frame specified by r3. // - Look up current function on the frame. // - Leave the frame. // - Restart the frame by calling the function. __ LoadRR(fp, r3); __ LoadP(r3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); __ LeaveFrame(StackFrame::INTERNAL); __ LoadP(r2, FieldMemOperand(r3, JSFunction::kSharedFunctionInfoOffset)); __ LoadP( r2, FieldMemOperand(r2, SharedFunctionInfo::kFormalParameterCountOffset)); __ LoadRR(r4, r2); ParameterCount dummy1(r4); ParameterCount dummy2(r2); __ InvokeFunction(r3, dummy1, dummy2, JUMP_FUNCTION); } const bool LiveEdit::kFrameDropperSupported = true; #undef __ } // namespace internal } // namespace v8 #endif // V8_TARGET_ARCH_S390 ```
```cmake vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO think-cell/think-cell-library REF "${VERSION}" SHA512 your_sha256_hashyour_sha256_hash HEAD_REF main ) file(INSTALL "${SOURCE_PATH}/tc/range" DESTINATION "${CURRENT_PACKAGES_DIR}/include/think-cell" FILES_MATCHING PATTERN "*.h") vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE_1_0.txt") file(COPY "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(COPY "${SOURCE_PATH}/range.example.cpp" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") ```
Winthrop Harbor is a station on Metra's Union Pacific North Line located in Winthrop Harbor, Illinois. It is located on 7th Street, one block east of Ravine Drive. Winthrop Harbor is away from Ogilvie Transportation Center, the inbound terminus of the Union Pacific North Line. In Metra's zone-based fare system, Winthrop Harbor is in zone I. As of 2018, Winthrop Harbor is the 206th busiest of Metra's 236 non-downtown stations, with an average of 59 weekday boardings. Winthrop Harbor is located at grade level and has two side platforms that serve two tracks. It is the northernmost Metra station in the State of Illinois. A parking lot is situated on the west side of the station. As of April 25, 2022, Winthrop Harbor is served by twelve trains (six in each direction) on weekdays, by twelve trains (five inbound, seven outbound) on Saturdays, and by six trains (three in each direction) on Sundays. References Further reading External links Metra - Winthrop Harbor Station from 7th Street from Google Maps Street View Metra stations in Illinois Former Chicago and North Western Railway stations Railway stations in Lake County, Illinois Union Pacific North Line
Balsam Creek may refer to: Balsam Creek (Prairie River), a river in Minnesota Balsam Creek, Ontario, a community
```xml import { InputVariables } from '../../../teams/components/Input/inputVariables'; import { pxToRem } from '../../../../utils'; export const inputVariables = (siteVars: any): Partial<InputVariables> => { return { borderColor: siteVars.bodyColor, borderWidth: `${pxToRem(1)} ${pxToRem(1)} ${pxToRem(2)} ${pxToRem(1)}`, inputFocusBorderColor: `${siteVars.colors.white} ${siteVars.colors.white} ${siteVars.colorScheme.brand.borderFocus1} ${siteVars.colors.white}`, }; }; ```
```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. // //////////////////////////////////////////////////////////////////////////////// import com.code_intelligence.jazzer.api.FuzzedDataProvider; import java.io.*; import com.google.gson.*; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonToken; public class FuzzReader { public static void fuzzerTestOneInput(FuzzedDataProvider data) { TypeAdapter<JsonElement> adapter = new Gson().getAdapter(JsonElement.class); boolean lenient = data.consumeBoolean(); JsonReader reader = new JsonReader(new StringReader(data.consumeRemainingAsString())); reader.setLenient(lenient); try { while (reader.peek() != JsonToken.END_DOCUMENT) { adapter.read(reader); } } catch (JsonParseException | IllegalStateException | NumberFormatException | IOException expected) { } } } ```
```c++ /* * Test types are indicated by the test label ending. * * _1_ Requires credentials, permissions, and AWS resources. * _2_ Requires credentials and permissions. * _3_ Does not require credentials. * */ #include <gtest/gtest.h> #include "iam_samples.h" #include "iam_gtests.h" namespace AwsDocTest { // This test requires a user. It fails when running in an EC2 instance that assumes a role. // Add the 'U' indicating it only runs in a user environment. // NOLINTNEXTLINE(readability-named-parameter) TEST_F(IAM_GTests, create_user_assume_role_scenario_2U_) { auto result = AwsDoc::IAM::iamCreateUserAssumeRoleScenario(*s_clientConfig); EXPECT_TRUE(result); } // NOLINTNEXTLINE(readability-named-parameter) TEST_F(IAM_GTests, create_user_assume_role_scenario_3_) { MockHTTP mockHttp; bool result = mockHttp.addResponseWithBody("mock_input/1-CreateUser.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/2-GetUser.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/3-CreateRole.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/4-CreatePolicy.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/5-AssumeRole.xml", Aws::Http::HttpResponseCode::FORBIDDEN); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/10-AssumeRole.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/ListBucketsFailed.xml", Aws::Http::HttpResponseCode::FORBIDDEN); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/11-AttachRolePolicy.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/ListBuckets.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/12-DetachRolePolicy.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/13-DeletePolicy.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/14-DeleteRole.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = mockHttp.addResponseWithBody("mock_input/15-DeleteUser.xml"); ASSERT_TRUE(result) << preconditionError() << std::endl; result = AwsDoc::IAM::iamCreateUserAssumeRoleScenario(*s_clientConfig); EXPECT_TRUE(result); } } // namespace AwsDocTest ```
```go package debianpkg import ( "fmt" "net/url" "github.com/zquestz/s/providers" ) func init() { providers.AddProvider("debianpkg", &Provider{}) } // Provider merely implements the Provider interface. type Provider struct{} // BuildURI generates a search URL for debian.org packages. func (p *Provider) BuildURI(q string) string { return fmt.Sprintf("path_to_url", url.QueryEscape(q)) } // Tags returns the tags relevant to this provider. func (p *Provider) Tags() []string { return []string{} } ```
```php --TEST-- PHPUnit_Framework_MockObject_Generator::generate('NS\Foo', array(), 'MockFoo', TRUE, TRUE) --FILE-- <?php namespace NS; class Foo { public function bar(Foo $foo) { } public function baz(Foo $foo) { } } require __DIR__ . '/../../vendor/autoload.php'; $generator = new \PHPUnit_Framework_MockObject_Generator; $mock = $generator->generate( 'NS\Foo', array(), 'MockFoo', TRUE, TRUE ); print $mock['code']; ?> --EXPECTF-- class MockFoo extends NS\Foo implements PHPUnit_Framework_MockObject_MockObject { private $__phpunit_invocationMocker; private $__phpunit_originalObject; public function __clone() { $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); } public function bar(NS\Foo $foo) { $arguments = array($foo); $count = func_num_args(); if ($count > 1) { $_arguments = func_get_args(); for ($i = 1; $i < $count; $i++) { $arguments[] = $_arguments[$i]; } } $result = $this->__phpunit_getInvocationMocker()->invoke( new PHPUnit_Framework_MockObject_Invocation_Object( 'NS\Foo', 'bar', $arguments, $this, TRUE ) ); return $result; } public function baz(NS\Foo $foo) { $arguments = array($foo); $count = func_num_args(); if ($count > 1) { $_arguments = func_get_args(); for ($i = 1; $i < $count; $i++) { $arguments[] = $_arguments[$i]; } } $result = $this->__phpunit_getInvocationMocker()->invoke( new PHPUnit_Framework_MockObject_Invocation_Object( 'NS\Foo', 'baz', $arguments, $this, TRUE ) ); return $result; } public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher) { return $this->__phpunit_getInvocationMocker()->expects($matcher); } public function method() { $any = new PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount; $expects = $this->expects($any); return call_user_func_array(array($expects, 'method'), func_get_args()); } public function __phpunit_setOriginalObject($originalObject) { $this->__phpunit_originalObject = $originalObject; } public function __phpunit_getInvocationMocker() { if ($this->__phpunit_invocationMocker === NULL) { $this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker; } return $this->__phpunit_invocationMocker; } public function __phpunit_hasMatchers() { return $this->__phpunit_getInvocationMocker()->hasMatchers(); } public function __phpunit_verify() { $this->__phpunit_getInvocationMocker()->verify(); $this->__phpunit_invocationMocker = NULL; } } ```
Song Hits from Holiday Inn is a studio album of phonograph records by Bing Crosby and Fred Astaire released in July 1942 featuring songs presented in the American musical film Holiday Inn. These are the longer studio recorded versions of the songs presented in the film. For the songs that were actually in the film, see Holiday Inn (soundtrack). This album is not only notable because it is one of the greatest works of the highly regarded songwriter Irving Berlin, but it is only Crosby's third studio album. This was also the first release of Crosby's signature song "White Christmas" on shellac disc record. The 1942 version would be released only one more time, in 1945's compilation album, Merry Christmas, before the song was re-recorded in 1947 (because the original master recording wore out). The later version became the standard. Reception Billboard was very enthusiastic saying: Decca has scored a terrific scoop in packaging 12 songs from the Irving Berlin score for Fred Astaire and Bing Crosby's movie Holiday Inn, which is already flashing on the country's screens. The album is the entire weekly release from the wax factory—and apart the music it contains, it's more than just another album, it's almost a transposition on wax of the screen score all capably executed by Bing Crosby and Fred Astaire....Plattermate is the ballad hit from the picture Be Careful It's My Heart, Crosby singing it softly and rhythmically. Trotter's soft strings and woodwinds paint the orchestral background…Album finishes in a blaze of vocal glory, most impressive in Bing Crosby's plaintive appeal for a White Christmas, assisted by the Ken Darby Singers and Trotter's music…" Original track listing These newly issued songs were featured on a 6-disc, 78 rpm album set, Decca Album No. A-306. Discs 1, 2, 3, 4 and 6 are sung by Bing Crosby while Disc 5 is sung by Fred Astaire. On Disc 4, both sing on the track "I'll Capture Your Heart". All songs by Irving Berlin. Re-issue track listing In 1946, a set was released with some of the songs from the movie. It featured all of songs except for "White Christmas" and a few others because they would sell more as a single than with a set. These reissued songs were featured on a 4-disc, 78 rpm album set, Decca Album No. A-534. Disc 1 (23820): "Happy Holiday" / "Be Careful, it's My Heart" Disc 2 (23821): "Abraham" / "Song of Freedom" Disc 3 (23822): "You're Easy to Dance With" / "I Can't Tell A Lie" Disc 4 (23823): "I'll Capture Your Heart" / "Let's Start the New Year Right" The titles "White Christmas", "Easter Parade", "I've Got Plenty to Be Thankful For" and "Lazy", were available separately as 78-rpm discs for US $0.75 each, during this period. LP track listing The 1949 10" LP album issue Decca DL 5092 consisted of eight songs on one 33 1/3 rpm record, and did not include four of the songs. All were reissues of earlier recordings. Side 1 Side 2 Other releases In 1962, Decca released Selections from Holiday Inn on Decca DL 4256 with a new pinkish look for the set Bing's Hollywood. It included all of the recorded songs. In 1998, MCA released a CD re-issue of the Selections from Holiday Inn. In 2008 UMG released a CD edition of the original version with the DVD release of Holiday Inn. References Bing Crosby albums Fred Astaire albums 1942 albums Decca Records albums
Bernard Lewis (31 May 1916 – 19 May 2018) was a British-American historian, public intellectual, and political commentator. Lewis' expertise was in the history of Islam and the interaction between Islam and the West. His advice was frequently sought by policymakers, including the Bush administration. Lewis wrote dozens of books, lectures, and essays. Books by Lewis Films References External links Books by Bernard Lewis Bibliographies by writer Bibliographies of American writers Philosophy bibliographies
```xml import camelCase from './index' // OK camelCase('myString'); // Not OK // @ts-expect-error camelCase(); // @ts-expect-error camelCase(0); // @ts-expect-error camelCase([]); // @ts-expect-error camelCase({}); // @ts-expect-error camelCase(/nope/); // @ts-expect-error camelCase(false); ```
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; var Linter = require( 'eslint' ).Linter; var rule = require( './../lib' ); var linter = new Linter(); var result; var code; code = 'var special = require( \'@stdlib/math\' ).base.special;'; linter.defineRule( 'no-nested-require', rule ); result = linter.verify( code, { 'rules': { 'no-nested-require': 'error' } }); console.log( result ); /* => [ { 'ruleId': 'no-nested-require', 'severity': 2, 'message': 'do not use nested property access for require() expressions', 'line': 2, 'column': 15, 'nodeType': 'CallExpression', 'source': 'var special = require( \'@stdlib/math\' ).base.special;', 'endLine': 2, 'endColumn': 29 } ] */ ```
Drosophila obatai is an endangered species of fly from Hawaii, in the species rich lineage of Hawaiian Drosophilidae. It is only found on the island of Oahu. D. obatai is part of the orphnopeza subgroup in the picture-wing clade, and is closely related to D. sodomae, a fly found on the islands of Maui and Molokai. Description D. obatai was described in 1972 by D. Elmo Hardy and Kenneth Y. Kaneshiro, from specimens collected in the Waiʻanae Range. This fly can be distinguished from its Maui Nui relative, D. sodomae, by having a brown spot at the base of the wing that covers most of the cell Sc, and by darker black markings on the abdomen, compared to brown markings in D. sodomae. This species has been found breeding in the bark and stems of hala pepe (formerly Pleomele species, now included in the genus Dracaena). D. obatai is named after John K. Obata, a local school teacher and botanist who is credited with being directly responsible for the discovery of many new species, habitats, and host plant associations. The species description of D. obatai refers to Mr. Obata as an "enthusiastic field man" who "knows the trails and endemic plants of Oahu exceptionally well and has worked closely with [the] collectors". Conservation Drosophila obatai was listed as federally endangered in 2006 along with ten other species of picture-wing Drosophila. Threats to the conservation of this species include loss-of-habitat, in part due to invasive pigs and goats, as well as introduced predators such as big-headed ants, yellow crazy ants, and yellowjacket wasps. An additional threat to the conservation of D. obatai is that at least one of its host plants, Dracaena forbesii, is also very rare and has been listed as federally endangered. References obatai Insects described in 1971 Insects of Hawaii ESA endangered species
```xml import React from 'react'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore-error (importing a js file) import { imported } from '../imported'; const local = 'local-value'; enum GlobalNames { top = 'top', left = 'left', } interface PropsWriterProps { /** Description */ numberRequired: number; numberOptional?: number; stringRequired: string; stringOptional?: string; booleanRequired: boolean; booleanOptional?: boolean; arrayRequired: string[]; arrayOptional?: string[]; objectRequired: Record<string, string>; objectOptional?: Record<string, string>; functionRequired: () => string; functionOptional?: () => string; dateRequired: Date; dateOptional?: Date; localReference?: string; importedReference?: string; globalReference?: any; stringGlobalName?: string; unionGlobalName?: 'top' | 'left'; unionGlobalNameMixed?: 'top' | number; enumGlobalName?: GlobalNames; } /** A component that renders its props */ export const PropsWriter: React.FC<PropsWriterProps> = ({ numberOptional = 1, stringOptional = 'stringOptional', booleanOptional = false, arrayOptional = ['array', 'optional'], objectOptional = { object: 'optional' }, functionOptional = () => 'foo', dateOptional = new Date('20 Jan 1983'), localReference = local, importedReference = imported, globalReference = Date, stringGlobalName = 'top', unionGlobalName = 'top', // If we use this default value, controls will try and render it in a JSON object editor // which leads to a circular value error. // unionGlobalNameMixed = 'top', enumGlobalName = 'top', }) => ( <pre> {JSON.stringify({ numberOptional, stringOptional, booleanOptional, arrayOptional, objectOptional, functionOptional, dateOptional, localReference, importedReference, globalReference, stringGlobalName, unionGlobalName, // unionGlobalNameMixed, enumGlobalName, })} </pre> ); export const component = PropsWriter; ```
José Miguel Elías Galindo (born 15 January 1977 in Zaragoza) is a Spanish former professional road cyclist. He rode in 3 editions of the Vuelta a España. Major results 1998 1st Troyes–Dijon 2002 1st Overall Volta a Coruña 2004 8th Overall Vuelta a Murcia 9th Overall Volta a Portugal 1st Stage 1 2005 4th Overall Vuelta a Asturias 2006 7th Overall Tour de Langkawi 2007 3rd GP Llodio 3rd Overall Euskal Bizikleta 4th Subida a Urkiola 5th Overall Vuelta a la Comunidad Valenciana 8th Overall Vuelta a Burgos 8th Overall Vuelta por un Chile Líder References 1977 births Living people Spanish male cyclists Sportspeople from Zaragoza Cyclists from Aragon
```objective-c /** * \file cmac.h * * \brief This file contains CMAC definitions and functions. * * The Cipher-based Message Authentication Code (CMAC) Mode for * Authentication is defined in <em>RFC-4493: The AES-CMAC Algorithm</em>. * It is supported with AES and DES. */ /* */ #ifndef MBEDTLS_CMAC_H #define MBEDTLS_CMAC_H #include "mbedtls/private_access.h" #include "mbedtls/build_info.h" #include "mbedtls/cipher.h" #ifdef __cplusplus extern "C" { #endif #define MBEDTLS_AES_BLOCK_SIZE 16 #define MBEDTLS_DES3_BLOCK_SIZE 8 /* We don't support Camellia or ARIA in this module */ #if defined(MBEDTLS_AES_C) #define MBEDTLS_CMAC_MAX_BLOCK_SIZE 16 /**< The longest block used by CMAC is that of AES. */ #else #define MBEDTLS_CMAC_MAX_BLOCK_SIZE 8 /**< The longest block used by CMAC is that of 3DES. */ #endif #if !defined(MBEDTLS_DEPRECATED_REMOVED) /** The longest block supported by the cipher module. * * \deprecated * For the maximum block size of a cipher supported by the CMAC module, * use #MBEDTLS_CMAC_MAX_BLOCK_SIZE. * For the maximum block size of a cipher supported by the cipher module, * use #MBEDTLS_MAX_BLOCK_LENGTH. */ /* Before Mbed TLS 3.5, this was the maximum block size supported by the CMAC * module, so it didn't take Camellia or ARIA into account. Since the name * of the macro doesn't even convey "CMAC", this was misleading. Now the size * is sufficient for any cipher, but the name is defined in cmac.h for * backward compatibility. */ #define MBEDTLS_CIPHER_BLKSIZE_MAX MBEDTLS_MAX_BLOCK_LENGTH #endif /* MBEDTLS_DEPRECATED_REMOVED */ #if !defined(MBEDTLS_CMAC_ALT) /** * The CMAC context structure. */ struct mbedtls_cmac_context_t { /** The internal state of the CMAC algorithm. */ unsigned char MBEDTLS_PRIVATE(state)[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; /** Unprocessed data - either data that was not block aligned and is still * pending processing, or the final block. */ unsigned char MBEDTLS_PRIVATE(unprocessed_block)[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; /** The length of data pending processing. */ size_t MBEDTLS_PRIVATE(unprocessed_len); }; #else /* !MBEDTLS_CMAC_ALT */ #include "cmac_alt.h" #endif /* !MBEDTLS_CMAC_ALT */ /** * \brief This function starts a new CMAC computation * by setting the CMAC key, and preparing to authenticate * the input data. * It must be called with an initialized cipher context. * * Once this function has completed, data can be supplied * to the CMAC computation by calling * mbedtls_cipher_cmac_update(). * * To start a CMAC computation using the same key as a previous * CMAC computation, use mbedtls_cipher_cmac_finish(). * * \note When the CMAC implementation is supplied by an alternate * implementation (through #MBEDTLS_CMAC_ALT), some ciphers * may not be supported by that implementation, and thus * return an error. Alternate implementations must support * AES-128 and AES-256, and may support AES-192 and 3DES. * * \param ctx The cipher context used for the CMAC operation, initialized * as one of the following types: MBEDTLS_CIPHER_AES_128_ECB, * MBEDTLS_CIPHER_AES_192_ECB, MBEDTLS_CIPHER_AES_256_ECB, * or MBEDTLS_CIPHER_DES_EDE3_ECB. * \param key The CMAC key. * \param keybits The length of the CMAC key in bits. * Must be supported by the cipher. * * \return \c 0 on success. * \return A cipher-specific error code on failure. */ int mbedtls_cipher_cmac_starts(mbedtls_cipher_context_t *ctx, const unsigned char *key, size_t keybits); /** * \brief This function feeds an input buffer into an ongoing CMAC * computation. * * The CMAC computation must have previously been started * by calling mbedtls_cipher_cmac_starts() or * mbedtls_cipher_cmac_reset(). * * Call this function as many times as needed to input the * data to be authenticated. * Once all of the required data has been input, * call mbedtls_cipher_cmac_finish() to obtain the result * of the CMAC operation. * * \param ctx The cipher context used for the CMAC operation. * \param input The buffer holding the input data. * \param ilen The length of the input data. * * \return \c 0 on success. * \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA * if parameter verification fails. */ int mbedtls_cipher_cmac_update(mbedtls_cipher_context_t *ctx, const unsigned char *input, size_t ilen); /** * \brief This function finishes an ongoing CMAC operation, and * writes the result to the output buffer. * * It should be followed either by * mbedtls_cipher_cmac_reset(), which starts another CMAC * operation with the same key, or mbedtls_cipher_free(), * which clears the cipher context. * * \param ctx The cipher context used for the CMAC operation. * \param output The output buffer for the CMAC checksum result. * * \return \c 0 on success. * \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA * if parameter verification fails. */ int mbedtls_cipher_cmac_finish(mbedtls_cipher_context_t *ctx, unsigned char *output); /** * \brief This function starts a new CMAC operation with the same * key as the previous one. * * It should be called after finishing the previous CMAC * operation with mbedtls_cipher_cmac_finish(). * After calling this function, * call mbedtls_cipher_cmac_update() to supply the new * CMAC operation with data. * * \param ctx The cipher context used for the CMAC operation. * * \return \c 0 on success. * \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA * if parameter verification fails. */ int mbedtls_cipher_cmac_reset(mbedtls_cipher_context_t *ctx); /** * \brief This function calculates the full generic CMAC * on the input buffer with the provided key. * * The function allocates the context, performs the * calculation, and frees the context. * * The CMAC result is calculated as * output = generic CMAC(cmac key, input buffer). * * \note When the CMAC implementation is supplied by an alternate * implementation (through #MBEDTLS_CMAC_ALT), some ciphers * may not be supported by that implementation, and thus * return an error. Alternate implementations must support * AES-128 and AES-256, and may support AES-192 and 3DES. * * \param cipher_info The cipher information. * \param key The CMAC key. * \param keylen The length of the CMAC key in bits. * \param input The buffer holding the input data. * \param ilen The length of the input data. * \param output The buffer for the generic CMAC result. * * \return \c 0 on success. * \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA * if parameter verification fails. */ int mbedtls_cipher_cmac(const mbedtls_cipher_info_t *cipher_info, const unsigned char *key, size_t keylen, const unsigned char *input, size_t ilen, unsigned char *output); #if defined(MBEDTLS_AES_C) /** * \brief This function implements the AES-CMAC-PRF-128 pseudorandom * function, as defined in * <em>RFC-4615: The Advanced Encryption Standard-Cipher-based * Message Authentication Code-Pseudo-Random Function-128 * (AES-CMAC-PRF-128) Algorithm for the Internet Key * Exchange Protocol (IKE).</em> * * \param key The key to use. * \param key_len The key length in Bytes. * \param input The buffer holding the input data. * \param in_len The length of the input data in Bytes. * \param output The buffer holding the generated 16 Bytes of * pseudorandom output. * * \return \c 0 on success. */ int mbedtls_aes_cmac_prf_128(const unsigned char *key, size_t key_len, const unsigned char *input, size_t in_len, unsigned char output[16]); #endif /* MBEDTLS_AES_C */ #if defined(MBEDTLS_SELF_TEST) && (defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C)) /** * \brief The CMAC checkup routine. * * \note In case the CMAC routines are provided by an alternative * implementation (i.e. #MBEDTLS_CMAC_ALT is defined), the * checkup routine will succeed even if the implementation does * not support the less widely used AES-192 or 3DES primitives. * The self-test requires at least AES-128 and AES-256 to be * supported by the underlying implementation. * * \return \c 0 on success. * \return \c 1 on failure. */ int mbedtls_cmac_self_test(int verbose); #endif /* MBEDTLS_SELF_TEST && ( MBEDTLS_AES_C || MBEDTLS_DES_C ) */ #ifdef __cplusplus } #endif #endif /* MBEDTLS_CMAC_H */ ```
There are 34 species of birds that have been recorded living in the wild in Nauru, one of which is endemic to the island and two of which have been introduced by humans. One species, the zebra finch, is now locally extinct on Nauru. Out of the 25 species of birds that have been confirmed to occur natively on Nauru, 18 are non-breeding visitors. Only two land birds, the Micronesian imperial-pigeon and the endemic Nauru reed warbler, breed on Nauru. Three species occurring on Nauru are listed as being near-threatened on the IUCN Red List and two are listed as being vulnerable. Nauru is a small atoll in the Pacific Ocean with an equatorial climate. The island's environment has been described as one of the world's most modified due to surface mining for phosphate, bombing during World War II, and rapid urbanisation. It was covered with tropical rainforest before the 19th century, but its current vegetation consists of strand, shrubland, scattered coconut trees, and various ornamental and fruit trees. Habitat destruction has most likely caused a decline in the numbers of some species, such as the Micronesian imperial-pigeon and the black noddy. This list's taxonomic treatment (designation and sequence of orders, families and species) and nomenclature (common and scientific names) follow the conventions of the 2022 edition of The Clements Checklist of Birds of the World. The family accounts at the beginning of each heading reflect this taxonomy, as do the species counts found in each family account. The following codes have been used to denote categories. Species without these tags are commonly occurring native species. (A) Accidental – A species that rarely or accidentally occurs in Nauru. (E) Endemic – A species endemic to Nauru. (I) Introduced – A species introduced to Nauru as a direct or indirect consequence of human actions. (Ex) Extirpated – A species that no longer occurs in Nauru although populations exist elsewhere. Pheasants, grouse, and allies Order: GalliformesFamily: Phasianidae The Phasianidae are a family of terrestrial birds comprising the quails, partridges, snowcocks, francolins, spurfowls, tragopans, monals, pheasants, peafowls, grouse, ptarmigan, and junglefowls. In general, they are plump (although they vary in size) and have broad, relatively short wings. Red junglefowl, Gallus gallus (I) Pigeons and doves Order: ColumbiformesFamily: Columbidae Pigeons and doves are stout-bodied birds with short necks and short slender bills with a fleshy cere. Rock pigeon, Columba livia (I) Micronesian imperial-pigeon, Ducula oceanica Cuckoos Order: CuculiformesFamily: Cuculidae The family Cuculidae includes cuckoos, roadrunners and anis. These birds are of variable size with slender bodies, long tails and strong legs. They are brood parasites. Long-tailed koel, Eudynamys taitensis Plovers and lapwings Order: CharadriiformesFamily: Charadriidae The family Charadriidae includes the plovers, dotterels and lapwings. They are small to medium-sized birds with compact bodies, short, thick necks and long, usually pointed, wings. They are found in open country worldwide, mostly in habitats near water. Black-bellied plover, Pluvialis squatarola (A) Pacific golden-plover, Pluvialis fulva Lesser sand-plover, Charadrius mongolus (A) Greater sand-plover, Charadrius leschenaultii (A) Sandpipers and allies Order: CharadriiformesFamily: Scolopacidae Scolopacidae is a large, diverse family of small to medium-sized shorebirds that includes the sandpipers, curlews, godwits, shanks, tattlers, woodcocks, snipes, dowitchers and phalaropes. The majority of these species eat small invertebrates picked out of the mud or soil. Variation in length of legs and bills enables multiple species to feed in the same habitat, particularly on the coast, without direct competition for food. Bristle-thighed curlew, Numenius tahitiensis (A) Whimbrel, Numenius phaeopus Bar-tailed godwit, Limosa lapponica (A) Ruddy turnstone, Arenaria interpres Sharp-tailed sandpiper, Calidris acuminata (A) Gray-tailed tattler, Tringa brevipes (A) Wandering tattler, Tringa incana (A) Gulls, terns, and skimmers Order: CharadriiformesFamily: Laridae Laridae is a family of medium to large seabirds, the gulls, terns, and skimmers. Gulls are typically grey or white, often with black markings on the head or wings. They have stout, longish bills and webbed feet. Terns are a group of generally medium to large seabirds typically with grey or white plumage, often with black markings on the head. Most terns hunt fish by diving but some pick insects off the surface of fresh water. Black noddies are extensively hunted as food in Nauru. Brown noddy, Anous stolidus Black noddy, Anous minutus White tern, Gygis alba Sooty tern, Onychoprion fuscatus (A) Black-naped tern, Sterna sumatrana (A) Great crested tern, Thalasseus bergii (A) Tropicbirds Order: PelecaniformesFamily: Phaethontidae Tropicbirds are slender white birds of tropical oceans, with exceptionally long central tail feathers. Their heads and long wings have black markings. White-tailed tropicbird, Phaethon lepturus Red-tailed tropicbird, Phaethon rubricauda (A) Shearwaters and petrels Order: ProcellariiformesFamily: Procellariidae The procellariiforms are the main group of medium-sized "true petrels", characterised by united nostrils with a medium nasal septum and a long outer functional primary flight feather. Tropical shearwater, Puffinus bailloni Frigatebirds Order: SuliformesFamily: Fregatidae Frigatebirds are large seabirds usually found over tropical oceans. They are large, black and white or completely black, with long wings and deeply forked tails. The males have coloured inflatable throat pouches. They do not swim or walk and cannot take off from a flat surface. Having the largest wingspan to body weight ratio of any bird, they are essentially aerial, able to stay aloft for more than a week. Lesser frigatebird, Fregata ariel Great frigatebird, Fregata minor Boobies and gannets Order: SuliformesFamily: Sulidae The sulids comprise the gannets and boobies. Both groups are medium to large coastal seabirds that plunge-dive for fish. Brown booby, Sula leucogaster Red-footed booby, Sula sula (A) Pelicans Order: PelecaniformesFamily: Pelecanidae Pelicans are large water birds with a distinctive pouch under their beak. As with other members of the order Pelecaniformes, they have webbed feet with four toes. Australian pelican, Pelecanus conspicillatus (A) Herons, egrets, and bitterns Order: PelecaniformesFamily: Ardeidae The family Ardeidae contains the bitterns, herons, and egrets. Herons and egrets are medium to large wading birds with long necks and legs. Bitterns tend to be shorter necked and more wary. Members of Ardeidae fly with their necks retracted, unlike other long-necked birds such as storks, ibises and spoonbills. Pacific reef-heron, Egretta sacra Kingfishers Order: CoraciiformesFamily: Alcedinidae Kingfishers are medium-sized birds with large heads, long pointed bills, short legs and stubby tails. Sacred kingfisher, Todirhamphus sanctus (A) Collared kingfisher, Todirhamphus chloris (A) Reed warblers and allies Order: PasseriformesFamily: Acrocephalidae The family Acrocephalidae is a group of small insectivorous passerine birds. Most have a generally undistinguished appearance, but many have distinctive songs. They are usually found in open woodland, reedbeds, or tall grass. Nauru reed warbler, Acrocephalus rehsei (E) Waxbills and allies Order: PasseriformesFamily: Estrildidae The estrildid finches are small passerine birds of the Old World tropics and Australasia. They are gregarious and often colonial seed eaters with short thick but pointed bills. They are all similar in structure and habits, but have wide variation in plumage colours and patterns. Zebra finch, Taeniopygia guttata (Ex) See also List of birds Lists of birds by region References Specific General 'Nauru Birds Nauru Birds
```java package com.iota.iri.conf; public class MainnetConfig extends BaseIotaConfig { public MainnetConfig() { //All the configs are defined in the super class super(); } @Override public boolean isTestnet() { return false; } } ```
```c++ // // ssl/detail/impl/openssl_init.ipp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // // file LICENSE_1_0.txt or copy at path_to_url // #ifndef BOOST_ASIO_SSL_DETAIL_IMPL_OPENSSL_INIT_IPP #define BOOST_ASIO_SSL_DETAIL_IMPL_OPENSSL_INIT_IPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include <boost/asio/detail/config.hpp> #include <vector> #include <boost/asio/detail/assert.hpp> #include <boost/asio/detail/mutex.hpp> #include <boost/asio/detail/tss_ptr.hpp> #include <boost/asio/ssl/detail/openssl_init.hpp> #include <boost/asio/ssl/detail/openssl_types.hpp> #include <boost/asio/detail/push_options.hpp> namespace boost { namespace asio { namespace ssl { namespace detail { class openssl_init_base::do_init { public: do_init() { #if (OPENSSL_VERSION_NUMBER < 0x10100000L) ::SSL_library_init(); ::SSL_load_error_strings(); ::OpenSSL_add_all_algorithms(); mutexes_.resize(::CRYPTO_num_locks()); for (size_t i = 0; i < mutexes_.size(); ++i) mutexes_[i].reset(new boost::asio::detail::mutex); ::CRYPTO_set_locking_callback(&do_init::openssl_locking_func); #endif // (OPENSSL_VERSION_NUMBER < 0x10100000L) #if (OPENSSL_VERSION_NUMBER < 0x10000000L) ::CRYPTO_set_id_callback(&do_init::openssl_id_func); #endif // (OPENSSL_VERSION_NUMBER < 0x10000000L) #if !defined(SSL_OP_NO_COMPRESSION) \ && (OPENSSL_VERSION_NUMBER >= 0x00908000L) null_compression_methods_ = sk_SSL_COMP_new_null(); #endif // !defined(SSL_OP_NO_COMPRESSION) // && (OPENSSL_VERSION_NUMBER >= 0x00908000L) } ~do_init() { #if !defined(SSL_OP_NO_COMPRESSION) \ && (OPENSSL_VERSION_NUMBER >= 0x00908000L) sk_SSL_COMP_free(null_compression_methods_); #endif // !defined(SSL_OP_NO_COMPRESSION) // && (OPENSSL_VERSION_NUMBER >= 0x00908000L) #if (OPENSSL_VERSION_NUMBER < 0x10000000L) ::CRYPTO_set_id_callback(0); #endif // (OPENSSL_VERSION_NUMBER < 0x10000000L) #if (OPENSSL_VERSION_NUMBER < 0x10100000L) ::CRYPTO_set_locking_callback(0); ::ERR_free_strings(); ::EVP_cleanup(); ::CRYPTO_cleanup_all_ex_data(); #endif // (OPENSSL_VERSION_NUMBER < 0x10100000L) #if (OPENSSL_VERSION_NUMBER < 0x10000000L) ::ERR_remove_state(0); #elif (OPENSSL_VERSION_NUMBER < 0x10100000L) ::ERR_remove_thread_state(NULL); #endif // (OPENSSL_VERSION_NUMBER < 0x10000000L) #if (OPENSSL_VERSION_NUMBER >= 0x10002000L) \ && (OPENSSL_VERSION_NUMBER < 0x10100000L) \ && !defined(SSL_OP_NO_COMPRESSION) ::SSL_COMP_free_compression_methods(); #endif // (OPENSSL_VERSION_NUMBER >= 0x10002000L) // && (OPENSSL_VERSION_NUMBER < 0x10100000L) // && !defined(SSL_OP_NO_COMPRESSION) #if !defined(OPENSSL_IS_BORINGSSL) && !defined(BOOST_ASIO_USE_WOLFSSL) ::CONF_modules_unload(1); #endif // !defined(OPENSSL_IS_BORINGSSL) && !defined(BOOST_ASIO_USE_WOLFSSL) #if !defined(OPENSSL_NO_ENGINE) \ && (OPENSSL_VERSION_NUMBER < 0x10100000L) ::ENGINE_cleanup(); #endif // !defined(OPENSSL_NO_ENGINE) // && (OPENSSL_VERSION_NUMBER < 0x10100000L) } #if !defined(SSL_OP_NO_COMPRESSION) \ && (OPENSSL_VERSION_NUMBER >= 0x00908000L) STACK_OF(SSL_COMP)* get_null_compression_methods() const { return null_compression_methods_; } #endif // !defined(SSL_OP_NO_COMPRESSION) // && (OPENSSL_VERSION_NUMBER >= 0x00908000L) private: #if (OPENSSL_VERSION_NUMBER < 0x10000000L) static unsigned long openssl_id_func() { #if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__) return ::GetCurrentThreadId(); #else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__) void* id = &errno; BOOST_ASIO_ASSERT(sizeof(unsigned long) >= sizeof(void*)); return reinterpret_cast<unsigned long>(id); #endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__) } #endif // (OPENSSL_VERSION_NUMBER < 0x10000000L) #if (OPENSSL_VERSION_NUMBER < 0x10100000L) static void openssl_locking_func(int mode, int n, const char* /*file*/, int /*line*/) { if (mode & CRYPTO_LOCK) instance()->mutexes_[n]->lock(); else instance()->mutexes_[n]->unlock(); } // Mutexes to be used in locking callbacks. std::vector<boost::asio::detail::shared_ptr< boost::asio::detail::mutex> > mutexes_; #endif // (OPENSSL_VERSION_NUMBER < 0x10100000L) #if !defined(SSL_OP_NO_COMPRESSION) \ && (OPENSSL_VERSION_NUMBER >= 0x00908000L) STACK_OF(SSL_COMP)* null_compression_methods_; #endif // !defined(SSL_OP_NO_COMPRESSION) // && (OPENSSL_VERSION_NUMBER >= 0x00908000L) }; boost::asio::detail::shared_ptr<openssl_init_base::do_init> openssl_init_base::instance() { static boost::asio::detail::shared_ptr<do_init> init(new do_init); return init; } #if !defined(SSL_OP_NO_COMPRESSION) \ && (OPENSSL_VERSION_NUMBER >= 0x00908000L) STACK_OF(SSL_COMP)* openssl_init_base::get_null_compression_methods() { return instance()->get_null_compression_methods(); } #endif // !defined(SSL_OP_NO_COMPRESSION) // && (OPENSSL_VERSION_NUMBER >= 0x00908000L) } // namespace detail } // namespace ssl } // namespace asio } // namespace boost #include <boost/asio/detail/pop_options.hpp> #endif // BOOST_ASIO_SSL_DETAIL_IMPL_OPENSSL_INIT_IPP ```
```scss $inactive-color: rgba(var(--theme-sidebar-search-field-border-color), 0.1); $active-color: rgba(var(--theme-sidebar-search-field-border-color), 0.5); .component { align-items: center; border-bottom: 1px solid $inactive-color; display: flex; position: relative; &:focus, &:active, &:focus-within { border-bottom-color: $active-color; .searchIcon { color: $active-color; } } } .searchIcon { bottom: 6px; color: rgba(var(--theme-sidebar-search-field-border-color), 0.2); position: absolute; svg { height: 15px; width: 15px; } } .input { border-radius: 4px; input { background: none; border: none; color: var(--theme-sidebar-menu-add-button-text-color); padding-bottom: 6px; padding-left: 25px; padding-top: 5px; &::placeholder { color: rgba(var(--theme-sidebar-search-field-border-color), 0.3); } } } .clearButton { border-radius: 3px; bottom: 4px; cursor: pointer; height: 28px; opacity: 0.5; position: absolute; right: 0; width: 28px; &:hover { opacity: 1; } svg { height: 8px; width: 8px; polygon { fill: var(--theme-sidebar-menu-add-button-text-color); } } } ```
Air guard may refer to: Air National Guard, part of the US air force Civil Air Guard T&T Air Guard, branch of Trinidad and Tobago Defence Force Air Guard, air rescue service Rega (Switzerland) Chrislea Airguard, 1930s British two-seat cabin monoplane Chengdu F-7M Airguard, China's license-built version of the MiG-21
Ampullina is an extinct taxonomic genus of deep-water sea snails, marine gastropod molluscs in the clade Caenogastropoda. These sea snails were epifaunal grazers. They lived from the Middle Triassic period to the Lower Pliocene age. Species Ampullina aethiopica Jaboli, 1959 Ampullina anguillana Cooke, 1919 Ampullina bravoensis Olsson, 1931 Ampullina butleri McNamara & Kendrick, 1994 Ampullina effusa Tate, 1893 † Ampullina? multistriata (Baily, 1855) Ampullina ortoni Gabb, 1870 Ampullina packardi Popenoe, 1937 Ampullina paracasina Rivera, 1957 Ampullina pichinka Cataldo & Lazo, 2016 Ampullina solidula Dall, 1892 Ampullina subhumerosa White, 1887 Ampullina vaughani Cooke, 1928 Ampullina woodsi Hanna & Israelsky, 1925 Natica (Ampullina) gabbi Clark, 1917 References Ampullina in the Paleobiology Database Sepkoski, Jack Sepkoski's Online Genus Database Ampullina
The St John's Wood Clique was a group of Victorian artists who mostly lived in the St John's Wood area of London. Their ideas were broadly similar to an earlier group also called The Clique. The principal members of the group were Philip Hermogenes Calderon, George Dunlop Leslie, Henry Stacy Marks, George Adolphus Storey, David Wilkie Wynfield, John Evan Hodgson and William Frederick Yeames. According to Graham Reynolds the group was notable for its love of practical jokes. Wynfield took photographs of all the members in fancy dress, along with other notable associates such as John Everett Millais and Manet. Most of the members also belonged to the Artists Rifles. Notes 19th-century art groups British art St John's Wood 19th century in London Victorian era
Tim Slover is an American playwright and professor of theatre studies at the University of Utah. Slover has a bachelor's degree in English from Brigham Young University and an M.A. and Ph.D. from the University of Michigan. Besides widely performed plays, Slover also wrote the script for A More Perfect Union. His play "A March Tale" won the Association for Mormon Letters Award for Drama in 1995. Among his many plays is God's Fisherman a play about Wilford Woodruff. His work Joyful Noise about George Handel composing the Messiah, was first performed in 1998 at BYU and later by the Lamb's Players Theatre in San Diego, California. He left BYU to teach at Utah Valley University in the mid-1990s, and then at the University of Utah in 1999. Slover also wrote the script for the film Minerva Teichert: A Mission in Paint. Slover also wrote the book The Christmas Chronicles: The Legend of Santa Claus. Slover's play "Virtue" about Hildegard of Bingen received its world premiere at Plan-B Theatre Company in February 2017. Slover is a Latter-day Saint. References Samuel French link University of Utah bio page on Slover Mormon Literature Database entry on Slover review of Slover's work Mahonri Stewart. Saints on Stage: An Anthology of Mormon Drama Zarahemla Books, 2013. New York Times review of Joyful Noise External links Interview with Tim Slover on his play Virtue, Healthy Hildegard, 2017 Living people Brigham Young University alumni University of Michigan alumni University of Utah faculty American dramatists and playwrights American Latter Day Saints Year of birth missing (living people)
```javascript OC.L10N.register( "files_versions", { "Versions" : "Versione", "Failed to revert {file} to revision {timestamp}." : "Dshtoi n rikthimin e {file} te rishikimi {timestamp}.", "_%n byte_::_%n bytes_" : ["%n bajte","%n bajte"], "Restore" : "Riktheje", "No other versions available" : "Nuk ka versione t tjera t gatshme" }, "nplurals=2; plural=(n != 1);"); ```
Łysaków is a village in the administrative district of Gmina Wólka, within Lublin County, Lublin Voivodeship, in eastern Poland. It lies approximately north-east of Jakubowice Murowane (the gmina seat) and north-east of the regional capital Lublin. References Villages in Lublin County
```go package cmap import ( "testing" "github.com/cespare/xxhash/v2" ) // input1k is some random data, base64 encoded. const input1k = "a6HStM5Y6YNd9rt4Fdtm9yccrIZviMx5PSp0EDR+8T1RI9MYQTZ9DozWDPuM3YEBnpyLpxQZKGSP86K14b/byTYoCcXig7Y9dXggNH3Cm6GzwZVu2oda1ZMpFX+5enS37/H0jc4pfLm/6zt/1jtlwO8OrMXsZq7Sq2pgWu0EMYyour_sha512_hash+YmwmocbyWfWcFDb1URSY3O/0Kt+84ldhGDKjWlI743Yzkbvu5+1c7uV16lNIksAi7your_sha512_hash/your_sha512_hash/your_sha256_hashN5HxRMF5ueh5PAwBgPTgEk0G7NID3kMXedHCSUy+ox2vjCU3PxpL19LcPmbj7tTNk+xZIPDi+RW+WU0KTWzeqEZ+hAj7X/your_sha256_hashyour_sha256_hash7U2yEH/VVNMRLvyKl82JTnlrKismrxtZ9F59sSSUOLwS9ugNq0wm8yIE+dTzxHdxKJqWpYDVBpbIfmYqIjAaUkL+/lzXiF4/gIgNgaKeEKzoirTd2cpFMxrooJd2zQsr4g9fcI4m5S5Pso9aydSK/mbFdNDRNEFeVxB87YKvl8+yMigT3J4xxv2aFf8idmndaTjm5mrqkVfUn6eR22Q14fVdbUsjhyLgd7t+eZYgfpb4W39XKYmKPDH0ZTj/F/dujwbWu6eKN1Q2eg0yM4vYF4xMCyJ0YgUdiSu5CllyrlAP+D+your_sha512_hash/0iZaGNct5CkZUFFbiaEOntDVwCDYtyJKbWzelZnJyi6mNHpbYFxJow5+055mG/uqGtxh4IVzGEz2QqwW1mMxwmXOuNvKn7cJ4065nPUU7KOtNRe3KzBb98iPEaZro/sSN4ildVAZ7RD2ADZWVMqMVteWsMPoVCKq70rhyGIgFI5fXx+4ITrqRXVy2CtUKsnpWg" // input20 is a shorter piece of random data, base64 encoded. const input20 = "6fx5haW0ty6CjwrZ+GnFZyCmGyI=" var ref1k = ref(input1k) var ref20 = ref(input20) func BenchmarkFnv32_1k(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32(input1k); x != ref1k { b.Fatalf("Does not match reference: %d (expected %d)", x, ref1k) } } } func BenchmarkFnv32_20(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32(input20); x != ref20 { b.Fatalf("Does not match reference: %d (expected %d)", x, ref20) } } } func BenchmarkFnv32_Ref1k(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := ref(input1k); x != ref1k { b.Fatalf("Does not match reference: %d (expected %d)", x, ref1k) } } } func BenchmarkFnv32_Ref20(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := ref(input20); x != ref20 { b.Fatalf("Does not match reference: %d (expected %d)", x, ref20) } } } func BenchmarkFnv32_1kXor(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32(input1k) ^ Fnv32(input1k) ^ Fnv32(input1k); x == initial { //nolint:staticcheck b.Fatalf("incorrect hash") } } } func BenchmarkFnv32_1kS(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32s(input1k, input1k, input1k); x == initial { b.Fatalf("incorrect hash") } } } func BenchmarkFnv32_20Xor(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32(input20) ^ Fnv32(input20) ^ Fnv32(input20); x == initial { //nolint:staticcheck b.Fatalf("incorrect hash") } } } func BenchmarkFnv32_20S(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { if x := Fnv32s(input20, input20, input20); x == initial { b.Fatalf("incorrect hash") } } } func BenchmarkXXHash_1k(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { XXHash(input1k) } } func BenchmarkXXHash_20(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { XXHash(input20) } } func BenchmarkXXHash_1kS(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { XXHashes(input1k, input1k, input1k) } } func BenchmarkXXHash_20S(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { XXHashes(input20, input20, input20) } } func BenchmarkXXHash_1kSx(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { xxHashes(input1k, input1k, input1k) } } func BenchmarkXXHash_20Sx(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { xxHashes(input20, input20, input20) } } // ref is our reference implementation, from OneOfOne/cmap/hashers // N.B. As of Go 1.18 the workaround is no longer needed (hence why we have our own), this // // is reproduced verbatim as a reference implementation. func ref(s string) (hash uint64) { const prime32 = 16777619 if hash = 2166136261; s == "" { return } // workaround not being able to inline for loops. // path_to_url i := 0 L: hash *= prime32 hash ^= uint64(s[i]) if i++; i < len(s) { goto L } return } // This is provided to compare against XXHashes // It's approximately half the speed on our 20-char input. func xxHashes(s ...string) uint64 { d := xxhash.New() for _, x := range s { d.WriteString(x) } return d.Sum64() } // FNV-32 code which we used to use, but no longer do. const prime32 = 16777619 const initial = uint64(2166136261) func Fnv32(s string) uint64 { hash := initial for i := 0; i < len(s); i++ { hash *= prime32 hash ^= uint64(s[i]) } return hash } func Fnv32s(s ...string) (hash uint64) { for _, x := range s { for i := 0; i < len(x); i++ { hash *= prime32 hash ^= uint64(x[i]) } } return hash } ```
Louise Hopkins Underwood (May 12, 1919- March 7, 2017) was an American patron of the arts who created the Louise Hopkins Underwood Center for the Arts (LHUCA) in Lubbock, Texas. She was a founding member of the Texas Alliance for Education and the Arts and a founding member of the Lubbock Cultural Arts Commission. In 1997, together with Neal Hanslik, she co-founded the LHUCA for the purpose of having a single location for artists to do their work and teach others. The LHUCA campus attracts almost 50,000 people a year for classes, exhibitions, a clay studio, a theater and other activities. She was married to Harris Faulkner Underwood II and raised six children with him in Lubbock, Texas. Awards She received the 'Dynamic Force' award from Lubbock's Arts Alliance and the 'Champion of the Arts' award from the Texas Alliance for Education and the Arts. She was a 2008 inductee to the Texas Women's Hall of Fame. She received the George Mahon Award for Extraordinary Public Service. References 1919 births 2017 deaths People from Lubbock, Texas American patrons of the arts