text
stringlengths 1
22.8M
|
|---|
Sir James Bourne, 1st Baronet, (8 October 1812 – 14 March 1882) was an English Conservative Party politician who sat in the House of Commons from 1865 to 1880.
Bourne was the son of Peter Bourne of Hackinsall, Lancashire, and Heathfield, Liverpool, and his wife Margaret Drinkwater, daughter of James Drinkwater of Bent, Lancashire. He was educated at Shrewsbury School. He was a Deputy Lieutenant and Justice of the Peace for Lancashire. He was also Lieutenant-Colonel Commandant of the Royal Lancashire Militia Artillery, and Colonel of the 4th Brigade Lancashire Artillery Volunteers.
Bourne stood for parliament unsuccessfully at Wexford Borough in 1841. At the 1865 general election Bourne was elected as a Member of Parliament (MP) for Evesham. He held the seat until 1880.
He was made a baronet, of Hackinsall Hall, in the parish of Stalmine, and of Heathfield, in the parish of Childwell, both in the County Palatine of Lancaster, on 10 May 1880. He was appointed Companion of the Order of the Bath (CB) in the 1881 Birthday Honours.
In 1841, Bourne married Sarah Harriet Dyson, daughter of Thomas Fournis Dyson of Willow Hall, Yorkshire, and of Everton, near Liverpool. They had children. He died at the age of 69, at his home of Heathfield House in Wavertree near Liverpool, and his son succeeded him briefly in the baronetcy.
References
External links
1812 births
1882 deaths
Conservative Party (UK) MPs for English constituencies
UK MPs 1865–1868
UK MPs 1868–1874
UK MPs 1874–1880
Baronets in the Baronetage of the United Kingdom
Deputy Lieutenants of Lancashire
People educated at Shrewsbury School
Companions of the Order of the Bath
|
Stephanie Davis (born in Montana) is an American country music singer and songwriter. She has written songs for Shelby Lynne, Garth Brooks, Waylon Jennings and Martina McBride. In addition, Davis has released five studio albums: a self-titled debut on Asylum Records in 1993, followed by four self-released albums. Her self-titled debut produced a chart single in "It's All in the Heart".
Biography
Stephanie Davis was born and raised in Bridger, Montana. She later moved to Tennessee, where she worked as a songwriter, with cuts by Shelby Lynne, and Martina McBride. Garth Brooks also recorded several of her songs, including "The Gift", "Wolves", "We Shall Be Free" (a top 20 single), "Learning to Live Again" (a top 5 success), "The Night Will Only Know", and "We Belong to Each Other". Brooks also signed her as an opening act in 1993, and she also joined his road band. She can be seen performing with Brooks' band during the concerts in Dublin at Croke Park and in New York at Central Park.
She released an album for Asylum Records in late 1993. This album produced the single "It's All in the Heart", which spent two weeks on the Billboard Hot Country Singles & Tracks (now Hot Country Songs) charts in 1993, peaking at No. 72. She moved back to Montana and began recording albums on Recluse Records, a label that she founded herself. These albums were 1996's I'm Pulling Through, 1998's River of No Return, 2004's Crocus in the Snow, and 2004's Home for the Holidays, a Christmas album.
In 2009, she released two more albums on Recluse, Western Bliss and Western Bling. These albums were released simultaneously and only contain one original composition.
Discography
Albums
Singles
References
Living people
Country musicians from Montana
American women country singers
American country singer-songwriters
American women singer-songwriters
Asylum Records artists
Songwriters from Montana
Year of birth missing (living people)
21st-century American women
|
```java
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.oracle.svm.core.genscavenge;
import org.graalvm.nativeimage.Platform;
import org.graalvm.nativeimage.Platforms;
import org.graalvm.word.Pointer;
import com.oracle.svm.core.heap.ObjectHeader;
import com.oracle.svm.core.heap.ObjectReferenceVisitor;
import com.oracle.svm.core.heap.ReferenceAccess;
import com.oracle.svm.core.heap.RuntimeCodeCacheCleaner;
import com.oracle.svm.core.hub.DynamicHub;
import com.oracle.svm.core.util.DuplicatedInNativeCode;
import jdk.graal.compiler.word.Word;
@DuplicatedInNativeCode
final class RuntimeCodeCacheReachabilityAnalyzer implements ObjectReferenceVisitor {
private boolean unreachableObjects;
@Platforms(Platform.HOSTED_ONLY.class)
RuntimeCodeCacheReachabilityAnalyzer() {
}
public void initialize() {
this.unreachableObjects = false;
}
public boolean hasUnreachableObjects() {
return unreachableObjects;
}
@Override
public boolean visitObjectReference(Pointer ptrPtrToObject, boolean compressed, Object holderObject) {
assert !unreachableObjects;
Pointer ptrToObj = ReferenceAccess.singleton().readObjectAsUntrackedPointer(ptrPtrToObject, compressed);
if (ptrToObj.isNonNull() && !isReachable(ptrToObj)) {
unreachableObjects = true;
return false;
}
return true;
}
public static boolean isReachable(Pointer ptrToObj) {
assert ptrToObj.isNonNull();
if (HeapImpl.getHeapImpl().isInImageHeap(ptrToObj)) {
return true;
}
ObjectHeaderImpl ohi = ObjectHeaderImpl.getObjectHeaderImpl();
Word header = ObjectHeader.readHeaderFromPointer(ptrToObj);
if (ObjectHeaderImpl.isForwardedHeader(header)) {
return true;
}
if (SerialGCOptions.useCompactingOldGen() && ObjectHeaderImpl.isMarkedHeader(header)) {
return true;
}
Space space = HeapChunk.getSpace(HeapChunk.getEnclosingHeapChunk(ptrToObj, header));
if (space.isToSpace()) {
return true;
}
if (space.isCompactingOldSpace() && !GCImpl.getGCImpl().isCompleteCollection()) {
return true;
}
Class<?> clazz = DynamicHub.toClass(ohi.dynamicHubFromObjectHeader(header));
return isAssumedReachable(clazz);
}
private static boolean isAssumedReachable(Class<?> clazz) {
Class<?>[] classesAssumedReachable = RuntimeCodeCacheCleaner.CLASSES_ASSUMED_REACHABLE;
for (int i = 0; i < classesAssumedReachable.length; i++) {
if (classesAssumedReachable[i].isAssignableFrom(clazz)) {
return true;
}
}
return false;
}
}
```
|
```yaml
# Core
db:
redis:
emulate: true
namespace: EG
# plugins:
# express-gateway-plugin-example:
# param1: 'param from system.config'
crypto:
cipherKey: sensitiveKey
algorithm: aes256
saltRounds: 10
# OAuth2 Settings
session:
secret: keyboard cat
resave: false
saveUninitialized: false
accessTokens:
timeToExpiry: 7200000
refreshTokens:
timeToExpiry: 7200000
authorizationCodes:
timeToExpiry: 300000
```
|
Pierre-François-Victor Foucault (1797–1871) was the inventor in 1843 of the first printing machine for braille, the decapoint.
Life
A pupil of the Institut National des Jeunes Aveugles, Foucault married Thérèse-Adèle Husson, a blind author, in 1826. This marriage gave birth to two daughters. After his wife's death in 1831, following a fire, he married a seamstress (non blind) in 1832, Adélaïde Louise Juteau. This allowed him to become a resident of the Quinze-Vingts (marriages between blind people were prohibited), which gave him the financial possibility to collaborate with Louis Braille.
The raphigraphe
His invention was awarded a platinum medal by the Société d'encouragement pour l'industrie nationale, then he showed it at The Great Exhibition (1851) in London.
References
External links
Louis Invents Decapoint
1797 births
1871 deaths
19th-century French inventors
Braille technology
|
```forth
*> \brief \b DPSTRF computes the Cholesky factorization with complete pivoting of a real symmetric positive semidefinite matrix.
*
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* path_to_url
*
*> \htmlonly
*> Download DPSTRF + dependencies
*> <a href="path_to_url">
*> [TGZ]</a>
*> <a href="path_to_url">
*> [ZIP]</a>
*> <a href="path_to_url">
*> [TXT]</a>
*> \endhtmlonly
*
* Definition:
* ===========
*
* SUBROUTINE DPSTRF( UPLO, N, A, LDA, PIV, RANK, TOL, WORK, INFO )
*
* .. Scalar Arguments ..
* DOUBLE PRECISION TOL
* INTEGER INFO, LDA, N, RANK
* CHARACTER UPLO
* ..
* .. Array Arguments ..
* DOUBLE PRECISION A( LDA, * ), WORK( 2*N )
* INTEGER PIV( N )
* ..
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> DPSTRF computes the Cholesky factorization with complete
*> pivoting of a real symmetric positive semidefinite matrix A.
*>
*> The factorization has the form
*> P**T * A * P = U**T * U , if UPLO = 'U',
*> P**T * A * P = L * L**T, if UPLO = 'L',
*> where U is an upper triangular matrix and L is lower triangular, and
*> P is stored as vector PIV.
*>
*> This algorithm does not attempt to check that A is positive
*> semidefinite. This version of the algorithm calls level 3 BLAS.
*> \endverbatim
*
* Arguments:
* ==========
*
*> \param[in] UPLO
*> \verbatim
*> UPLO is CHARACTER*1
*> Specifies whether the upper or lower triangular part of the
*> symmetric matrix A is stored.
*> = 'U': Upper triangular
*> = 'L': Lower triangular
*> \endverbatim
*>
*> \param[in] N
*> \verbatim
*> N is INTEGER
*> The order of the matrix A. N >= 0.
*> \endverbatim
*>
*> \param[in,out] A
*> \verbatim
*> A is DOUBLE PRECISION array, dimension (LDA,N)
*> On entry, the symmetric matrix A. If UPLO = 'U', the leading
*> n by n upper triangular part of A contains the upper
*> triangular part of the matrix A, and the strictly lower
*> triangular part of A is not referenced. If UPLO = 'L', the
*> leading n by n lower triangular part of A contains the lower
*> triangular part of the matrix A, and the strictly upper
*> triangular part of A is not referenced.
*>
*> On exit, if INFO = 0, the factor U or L from the Cholesky
*> factorization as above.
*> \endverbatim
*>
*> \param[in] LDA
*> \verbatim
*> LDA is INTEGER
*> The leading dimension of the array A. LDA >= max(1,N).
*> \endverbatim
*>
*> \param[out] PIV
*> \verbatim
*> PIV is INTEGER array, dimension (N)
*> PIV is such that the nonzero entries are P( PIV(K), K ) = 1.
*> \endverbatim
*>
*> \param[out] RANK
*> \verbatim
*> RANK is INTEGER
*> The rank of A given by the number of steps the algorithm
*> completed.
*> \endverbatim
*>
*> \param[in] TOL
*> \verbatim
*> TOL is DOUBLE PRECISION
*> User defined tolerance. If TOL < 0, then N*U*MAX( A(K,K) )
*> will be used. The algorithm terminates at the (K-1)st step
*> if the pivot <= TOL.
*> \endverbatim
*>
*> \param[out] WORK
*> \verbatim
*> WORK is DOUBLE PRECISION array, dimension (2*N)
*> Work space.
*> \endverbatim
*>
*> \param[out] INFO
*> \verbatim
*> INFO is INTEGER
*> < 0: If INFO = -K, the K-th argument had an illegal value,
*> = 0: algorithm completed successfully, and
*> > 0: the matrix A is either rank deficient with computed rank
*> as returned in RANK, or is not positive semidefinite. See
*> Section 7 of LAPACK Working Note #161 for further
*> information.
*> \endverbatim
*
* Authors:
* ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup pstrf
*
* =====================================================================
SUBROUTINE DPSTRF( UPLO, N, A, LDA, PIV, RANK, TOL, WORK,
$ INFO )
*
* -- LAPACK computational routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
*
* .. Scalar Arguments ..
DOUBLE PRECISION TOL
INTEGER INFO, LDA, N, RANK
CHARACTER UPLO
* ..
* .. Array Arguments ..
DOUBLE PRECISION A( LDA, * ), WORK( 2*N )
INTEGER PIV( N )
* ..
*
* =====================================================================
*
* .. Parameters ..
DOUBLE PRECISION ONE, ZERO
PARAMETER ( ONE = 1.0D+0, ZERO = 0.0D+0 )
* ..
* .. Local Scalars ..
DOUBLE PRECISION AJJ, DSTOP, DTEMP
INTEGER I, ITEMP, J, JB, K, NB, PVT
LOGICAL UPPER
* ..
* .. External Functions ..
DOUBLE PRECISION DLAMCH
INTEGER ILAENV
LOGICAL LSAME, DISNAN
EXTERNAL DLAMCH, ILAENV, LSAME, DISNAN
* ..
* .. External Subroutines ..
EXTERNAL DGEMV, DPSTF2, DSCAL, DSWAP, DSYRK,
$ XERBLA
* ..
* .. Intrinsic Functions ..
INTRINSIC MAX, MIN, SQRT, MAXLOC
* ..
* .. Executable Statements ..
*
* Test the input parameters.
*
INFO = 0
UPPER = LSAME( UPLO, 'U' )
IF( .NOT.UPPER .AND. .NOT.LSAME( UPLO, 'L' ) ) THEN
INFO = -1
ELSE IF( N.LT.0 ) THEN
INFO = -2
ELSE IF( LDA.LT.MAX( 1, N ) ) THEN
INFO = -4
END IF
IF( INFO.NE.0 ) THEN
CALL XERBLA( 'DPSTRF', -INFO )
RETURN
END IF
*
* Quick return if possible
*
IF( N.EQ.0 )
$ RETURN
*
* Get block size
*
NB = ILAENV( 1, 'DPOTRF', UPLO, N, -1, -1, -1 )
IF( NB.LE.1 .OR. NB.GE.N ) THEN
*
* Use unblocked code
*
CALL DPSTF2( UPLO, N, A( 1, 1 ), LDA, PIV, RANK, TOL, WORK,
$ INFO )
GO TO 200
*
ELSE
*
* Initialize PIV
*
DO 100 I = 1, N
PIV( I ) = I
100 CONTINUE
*
* Compute stopping value
*
PVT = 1
AJJ = A( PVT, PVT )
DO I = 2, N
IF( A( I, I ).GT.AJJ ) THEN
PVT = I
AJJ = A( PVT, PVT )
END IF
END DO
IF( AJJ.LE.ZERO.OR.DISNAN( AJJ ) ) THEN
RANK = 0
INFO = 1
GO TO 200
END IF
*
* Compute stopping value if not supplied
*
IF( TOL.LT.ZERO ) THEN
DSTOP = N * DLAMCH( 'Epsilon' ) * AJJ
ELSE
DSTOP = TOL
END IF
*
*
IF( UPPER ) THEN
*
* Compute the Cholesky factorization P**T * A * P = U**T * U
*
DO 140 K = 1, N, NB
*
* Account for last block not being NB wide
*
JB = MIN( NB, N-K+1 )
*
* Set relevant part of first half of WORK to zero,
* holds dot products
*
DO 110 I = K, N
WORK( I ) = 0
110 CONTINUE
*
DO 130 J = K, K + JB - 1
*
* Find pivot, test for exit, else swap rows and columns
* Update dot products, compute possible pivots which are
* stored in the second half of WORK
*
DO 120 I = J, N
*
IF( J.GT.K ) THEN
WORK( I ) = WORK( I ) + A( J-1, I )**2
END IF
WORK( N+I ) = A( I, I ) - WORK( I )
*
120 CONTINUE
*
IF( J.GT.1 ) THEN
ITEMP = MAXLOC( WORK( (N+J):(2*N) ), 1 )
PVT = ITEMP + J - 1
AJJ = WORK( N+PVT )
IF( AJJ.LE.DSTOP.OR.DISNAN( AJJ ) ) THEN
A( J, J ) = AJJ
GO TO 190
END IF
END IF
*
IF( J.NE.PVT ) THEN
*
* Pivot OK, so can now swap pivot rows and columns
*
A( PVT, PVT ) = A( J, J )
CALL DSWAP( J-1, A( 1, J ), 1, A( 1, PVT ), 1 )
IF( PVT.LT.N )
$ CALL DSWAP( N-PVT, A( J, PVT+1 ), LDA,
$ A( PVT, PVT+1 ), LDA )
CALL DSWAP( PVT-J-1, A( J, J+1 ), LDA,
$ A( J+1, PVT ), 1 )
*
* Swap dot products and PIV
*
DTEMP = WORK( J )
WORK( J ) = WORK( PVT )
WORK( PVT ) = DTEMP
ITEMP = PIV( PVT )
PIV( PVT ) = PIV( J )
PIV( J ) = ITEMP
END IF
*
AJJ = SQRT( AJJ )
A( J, J ) = AJJ
*
* Compute elements J+1:N of row J.
*
IF( J.LT.N ) THEN
CALL DGEMV( 'Trans', J-K, N-J, -ONE, A( K,
$ J+1 ),
$ LDA, A( K, J ), 1, ONE, A( J, J+1 ),
$ LDA )
CALL DSCAL( N-J, ONE / AJJ, A( J, J+1 ), LDA )
END IF
*
130 CONTINUE
*
* Update trailing matrix, J already incremented
*
IF( K+JB.LE.N ) THEN
CALL DSYRK( 'Upper', 'Trans', N-J+1, JB, -ONE,
$ A( K, J ), LDA, ONE, A( J, J ), LDA )
END IF
*
140 CONTINUE
*
ELSE
*
* Compute the Cholesky factorization P**T * A * P = L * L**T
*
DO 180 K = 1, N, NB
*
* Account for last block not being NB wide
*
JB = MIN( NB, N-K+1 )
*
* Set relevant part of first half of WORK to zero,
* holds dot products
*
DO 150 I = K, N
WORK( I ) = 0
150 CONTINUE
*
DO 170 J = K, K + JB - 1
*
* Find pivot, test for exit, else swap rows and columns
* Update dot products, compute possible pivots which are
* stored in the second half of WORK
*
DO 160 I = J, N
*
IF( J.GT.K ) THEN
WORK( I ) = WORK( I ) + A( I, J-1 )**2
END IF
WORK( N+I ) = A( I, I ) - WORK( I )
*
160 CONTINUE
*
IF( J.GT.1 ) THEN
ITEMP = MAXLOC( WORK( (N+J):(2*N) ), 1 )
PVT = ITEMP + J - 1
AJJ = WORK( N+PVT )
IF( AJJ.LE.DSTOP.OR.DISNAN( AJJ ) ) THEN
A( J, J ) = AJJ
GO TO 190
END IF
END IF
*
IF( J.NE.PVT ) THEN
*
* Pivot OK, so can now swap pivot rows and columns
*
A( PVT, PVT ) = A( J, J )
CALL DSWAP( J-1, A( J, 1 ), LDA, A( PVT, 1 ),
$ LDA )
IF( PVT.LT.N )
$ CALL DSWAP( N-PVT, A( PVT+1, J ), 1,
$ A( PVT+1, PVT ), 1 )
CALL DSWAP( PVT-J-1, A( J+1, J ), 1, A( PVT,
$ J+1 ),
$ LDA )
*
* Swap dot products and PIV
*
DTEMP = WORK( J )
WORK( J ) = WORK( PVT )
WORK( PVT ) = DTEMP
ITEMP = PIV( PVT )
PIV( PVT ) = PIV( J )
PIV( J ) = ITEMP
END IF
*
AJJ = SQRT( AJJ )
A( J, J ) = AJJ
*
* Compute elements J+1:N of column J.
*
IF( J.LT.N ) THEN
CALL DGEMV( 'No Trans', N-J, J-K, -ONE,
$ A( J+1, K ), LDA, A( J, K ), LDA, ONE,
$ A( J+1, J ), 1 )
CALL DSCAL( N-J, ONE / AJJ, A( J+1, J ), 1 )
END IF
*
170 CONTINUE
*
* Update trailing matrix, J already incremented
*
IF( K+JB.LE.N ) THEN
CALL DSYRK( 'Lower', 'No Trans', N-J+1, JB, -ONE,
$ A( J, K ), LDA, ONE, A( J, J ), LDA )
END IF
*
180 CONTINUE
*
END IF
END IF
*
* Ran to completion, A has full rank
*
RANK = N
*
GO TO 200
190 CONTINUE
*
* Rank is the number of steps completed. Set INFO = 1 to signal
* that the factorization cannot be used to solve a system.
*
RANK = J - 1
INFO = 1
*
200 CONTINUE
RETURN
*
* End of DPSTRF
*
END
```
|
The law of obligations is one branch of private law under the civil law legal system and so-called "mixed" legal systems. It is the body of rules that organizes and regulates the rights and duties arising between individuals. The specific rights and duties are referred to as obligations, and this area of law deals with their creation, effects and extinction.
An obligation is a legal bond (vinculum iuris) by which one or more parties (obligants) are bound to act or refrain from acting. An obligation thus imposes on the obligor a duty to perform, and simultaneously creates a corresponding right to demand performance by the obligee to whom performance is to be tendered.
History
The word originally derives from the Latin "obligare" which comes from the root "lig" which suggests being bound, as one is to God for instance in "re-ligio". This term first appears in Plautus' play Truculentus at line 214.
Obligations did not originally form part of Roman Law, which mostly concerned issues of succession, property, and family relationships. It developed as a solution to a gap in the system, when one party committed a wrong against another party. These situations were originally governed by a basic customary law of revenge. This undesirable situation eventually developed into a system of liability where people were at first encouraged and then essentially forced to accept monetary compensation from the wrongdoer or their family instead of seeking vengeance. This signaled an important shift in the law away from vengeance and towards compensation. The state supported this effort by standardizing amounts for certain wrongs. Thus the earliest form of Obligation law derives out of what we would today call Delict.
However, it is important to note that liability in this form did not yet include the idea that the debtor "owed" monetary compensation to the creditor, it was merely a means of avoiding punishment. If the debtor or his family didn't have the means to pay then the old rules still applied as outlined in the Twelve Tables, specifically Table III. This section, despite how harsh it may appear to us, was originally developed as a means to protect debtors from the excessive abuses of creditors.
Definition
Justinian first defines an obligation (obligatio) in his Institutes, Book 3, section 13 as "a legal bond, with which we are bound by necessity of performing some act according to the laws of our State." He further separates the law of obligations into contracts, delicts, quasi-contracts, and quasi-delicts.
Nowadays, obligation, as applied under civilian law, means a legal tie (vinculum iuris) by which one or more parties (obligants) are bound to perform or refrain from performing specified conduct (prestation). Thus an obligation encompasses both sides of the equation, both the obligor's duty to render prestation and the obligee's right to receive prestation. It differs from the common-law concept of obligation which only encompasses the duty aspect.
Every obligation has four essential requisites otherwise known as the elements of obligation. They are:
the obligor: obligant duty-bound to fulfill the obligation; he who has a duty.
the obligee: obligant entitled to demand the fulfillment of the obligation; he who has a right.
the subject matter, the prestation: the performance to be tendered.
a legal bond, the vinculum juris: the cause that binds or connects the obligants to the prestation.
Classification in Roman Law
Sources
Obligations arising out of the will of the parties are called voluntary, and those imposed by operation of law are called involuntary. Sometimes these are called conventional and obediential. The events giving rise to obligations may be further distinguished into specified categories.
voluntary:
unilateral promise (pollicitatio) - undertaking by promisor only to perform, not requiring the promisee's agreement
contract
quasi-contract
negotiorum gestio - duty to repay an intervenor (gestor) who has managed the affairs or property of another (dominus negotii) who was unable to so
solutio indebiti - undue payment or delivery of a thing to another (accipiens), who is then obligated to return the thing to the payer (solvens)
involuntary:
delicts and quasi-delicts (equivalent to the common-law tort).
unjust enrichment (condictio indebiti)
One of the first known classifications was made by Gaius in his Institutes, who divided obligations into obligations ex contractu (obligations arising from legal actions) and obligations ex delicto (obligations arising from illegal, unlawful actions). However, since this classification was too vague, in his work Res cottidinanae Gaius classified all obligations into the aforementioned obligations ex contractu and obligations ex delicto, as well as obligations ex variis causarum figuris, which was a heterogeneous category that was supposed to include all the cases of obligations not arising from delicts or contracts.
The most precise Roman classification of obligations was featured in Justinian's Institutes (not to be confused by Gaius' Institutes), which classified them as obligations arising from contracts (ex contractu), those arising from delicts (ex maleficio), those arising from quasi-contracts (quasi ex contractu), and those arising from quasi-delicts (quasi ex maleficio).
Contracts
A contract can be broadly defined as an agreement that is enforceable at law. Gaius classified contracts into four categories which are: contracts consensu, verbal contracts, contracts re, and contracts litteris. But this classification cannot cover all the contracts, such as pacts and innominate contracts; thus, it is no longer used. According to many modern legal scholars, the most important classification of contracts is that of contracts consensu, which only require the consent of wills to create obligations, and formal contracts, which have to be concluded in a specific form in order to be valid (for example, in many European countries a contract regulating the purchase of real estate must be concluded in a special written form that is validated by a public notary).
Delicts
Quasi-contracts
Quasi-contracts are supposed to be sources of obligations very similar to contracts, but the main difference is that they are not created by an agreement of wills. The main cases are negotiorum gestio (conducting of another person's affairs without their authorization), unjust enrichment, and solutio indebiti. This Roman classification is quite controversial for today's standards, since many of these cases would be considered as completely different from contracts (most notably unjust enrichment), and would instead be classified as delicts or special sources of obligations.They are formed by impication from circumstances regardless or the assent or dissent of parties. They are called quasi-contracts. The following are the examples of quasi-contractual obligations under the Roman law;
Quasi-delicts
The designation comprised a group of actions that are very similar to delicts, but lacking one of key elements of delicts. It includes res suspensae, responsibility for things poured or thrown out of buildings, responsibility of shippers/innkeepers/stablekeepers, and erring judges. For example, the responsibility of innkeepers creates obligations when certain things left by guests in the lodging are destroyed, damaged or lost by the innkeeper's assistants or employees. In this case, the innkeeper is responsible for the damages to the guest's property, even though he did not cause them personally.
Subject matter
Obligations are classified according to the nature of the performance (prestation):
real obligation - related somehow to immovable property
obligation to give - obligations to give or possession, or enjoyment
specific obligation - delivery of a determinate thing when it is particularly designated or physically separated from all others of the same class
generic obligation - delivery of a generic thing
personal obligations - undertakings either to do or not do all kinds of work or service
positive personal obligation - undertaking or obligation to do
negative personal obligation - forbearance or obligation to not do
See also
Right
Solidary obligations
Swiss Code of Obligations
References
Citations
Sources
|
```javascript
// Flags: --experimental-wasm-threads
'use strict';
const common = require('../common');
const assert = require('assert');
const { MessageChannel, Worker } = require('worker_threads');
// Test that SharedArrayBuffer instances created from WASM are transferrable
// through MessageChannels (without crashing).
const fixtures = require('../common/fixtures');
const wasmSource = fixtures.readSync('shared-memory.wasm');
const wasmModule = new WebAssembly.Module(wasmSource);
const instance = new WebAssembly.Instance(wasmModule);
const { buffer } = instance.exports.memory;
assert(buffer instanceof SharedArrayBuffer);
{
const { port1, port2 } = new MessageChannel();
port1.postMessage(buffer);
port2.once('message', common.mustCall((buffer2) => {
// Make sure serialized + deserialized buffer refer to the same memory.
const expected = 'Hello, world!';
const bytes = Buffer.from(buffer).write(expected);
const deserialized = Buffer.from(buffer2).toString('utf8', 0, bytes);
assert.deepStrictEqual(deserialized, expected);
}));
}
{
// Make sure we can free WASM memory originating from a thread that already
// stopped when we exit.
const worker = new Worker(`
const { parentPort } = require('worker_threads');
// Compile the same WASM module from its source bytes.
const wasmSource = new Uint8Array([${wasmSource.join(',')}]);
const wasmModule = new WebAssembly.Module(wasmSource);
const instance = new WebAssembly.Instance(wasmModule);
parentPort.postMessage(instance.exports.memory);
// Do the same thing, except we receive the WASM module via transfer.
parentPort.once('message', ({ wasmModule }) => {
const instance = new WebAssembly.Instance(wasmModule);
parentPort.postMessage(instance.exports.memory);
});
`, { eval: true });
worker.on('message', common.mustCall(({ buffer }) => {
assert(buffer instanceof SharedArrayBuffer);
worker.buf = buffer; // Basically just keep the reference to buffer alive.
}, 2));
worker.once('exit', common.mustCall());
worker.postMessage({ wasmModule });
}
```
|
SmartGeometry (SG) is a non-profit organization focusing on the use of the computer as an intelligent design aid in architecture, engineering and construction (AEC). It encourages collaboration between practicing AEC professionals, academics and students using computational and parametric software tools.
Group information and activities
The group is led by Lars Hesselgren of KPF, Hugh Whitehead of Foster + Partners and J. Parrish of Arup Sport.
SG hosts annual workshops and conferences on the use of advanced modeling tools and new design methodologies in architecture. Participants come from architectural and engineering practices.
GenerativeComponents is a commercial software product by Bentley Systems, brought to the market after a testing cycle by a user community with SG members in its core.
See also
Architecture
Architectural engineering
Design computing
Comparison of CAD Software
GenerativeComponents
References
External links
SmartGeometry Official Website
SmartGeometry Conferences Website
GenerativeComponents Website
Design Architecture Services
Building engineering organizations
Computer-aided design software
Data modeling
Architecture organizations
|
Robert Lee Watt (born January 15, 1948) is an American horn player and the first African-American French hornist hired by a major symphony orchestra in the United States.
Born in Neptune Township, New Jersey, his father was a jazz trumpet player who did not approve of his choice of instrument—feeling Watt's background and race would make a career with the horn impossible. Nevertheless, Watt won a scholarship to the New England Conservatory of Music in Boston and continued studies at California Institute of the Arts.
In 1970 at the age of twenty-two he was hired by Zubin Mehta and the Los Angeles Philharmonic to play assistant principal horn where he remained for 37 years before retiring in 2008.
References
External links
American classical horn players
Living people
American jazz horn players
California Institute of the Arts alumni
Boston Conservatory at Berklee alumni
20th-century classical musicians
20th-century American musicians
21st-century classical musicians
21st-century American musicians
1948 births
People from Neptune Township, New Jersey
Classical musicians from New Jersey
20th-century African-American musicians
21st-century African-American musicians
|
```javascript
List binaries for scripting in npm
`npm` scripts
`peerDependencies`
`optionalDependencies` in npm
Package distribution tags
```
|
Andrewhinney Hill is a hill in the Ettrick Hills range, part of the Southern Uplands of Scotland. It is the highest summit of a ridge that runs parallel to the A708 road on its southern side, with the Grey Mare's Tail in the Moffat Hills directly opposite. The northwestern slopes are designated as part of the 'Moffat Hills' SSSI and SAC.
Subsidiary SMC Summits
References
Mountains and hills of the Southern Uplands
Mountains and hills of the Scottish Borders
Mountains and hills of Dumfries and Galloway
Marilyns of Scotland
Donald mountains
Grahams
|
```javascript
!function(){function n(n,t){var e=n.split("."),l=T;e[0]in l||!l.execScript||l.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)e.length||void 0===t?l=l[r]?l[r]:l[r]={}:l[r]=t}function t(n,t){function e(){}e.prototype=t.prototype,n.M=t.prototype,n.prototype=new e,n.prototype.constructor=n,n.N=function(n,e,l){for(var r=Array(arguments.length-2),i=2;i<arguments.length;i++)r[i-2]=arguments[i];return t.prototype[e].apply(n,r)}}function e(n,t){null!=n&&this.a.apply(this,arguments)}function l(n){n.b=""}function r(n,t){n.sort(t||i)}function i(n,t){return n>t?1:n<t?-1:0}function u(n){var t,e=[],l=0;for(t in n)e[l++]=n[t];return e}function a(n,t){this.b=n,this.a={};for(var e=0;e<t.length;e++){var l=t[e];this.a[l.b]=l}}function o(n){return n=u(n.a),r(n,function(n,t){return n.b-t.b}),n}function s(n,t){switch(this.b=n,this.g=!!t.v,this.a=t.c,this.i=t.type,this.h=!1,this.a){case k:case J:case K:case O:case Z:case Y:case U:this.h=!0}this.f=t.defaultValue}function f(){this.a={},this.f=this.j().a,this.b=this.g=null}function p(n,t){for(var e=o(n.j()),l=0;l<e.length;l++){var r=e[l],i=r.b;if(null!=t.a[i]){n.b&&delete n.b[r.b];var u=11==r.a||10==r.a;if(r.g)for(var r=c(t,i)||[],a=0;a<r.length;a++){var s=n,f=i,h=u?r[a].clone():r[a];s.a[f]||(s.a[f]=[]),s.a[f].push(h),s.b&&delete s.b[f]}else r=c(t,i),u?(u=c(n,i))?p(u,r):b(n,i,r.clone()):b(n,i,r)}}}function c(n,t){var e=n.a[t];if(null==e)return null;if(n.g){if(!(t in n.b)){var l=n.g,r=n.f[t];if(null!=e)if(r.g){for(var i=[],u=0;u<e.length;u++)i[u]=l.b(r,e[u]);e=i}else e=l.b(r,e);return n.b[t]=e}return n.b[t]}return e}function h(n,t,e){var l=c(n,t);return n.f[t].g?l[e||0]:l}function g(n,t){var e;if(null!=n.a[t])e=h(n,t,void 0);else n:{if(e=n.f[t],void 0===e.f){var l=e.i;if(l===Boolean)e.f=!1;else if(l===Number)e.f=0;else{if(l!==String){e=new l;break n}e.f=e.h?"0":""}}e=e.f}return e}function m(n,t){return n.f[t].g?null!=n.a[t]?n.a[t].length:0:null!=n.a[t]?1:0}function b(n,t,e){n.a[t]=e,n.b&&(n.b[t]=e)}function y(n,t){var e,l=[];for(e in t)0!=e&&l.push(new s(e,t[e]));return new a(n,l)}/*
All other code copyright its respective owners.
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.
*/
function v(){f.call(this)}function d(){f.call(this)}function _(){f.call(this)}function S(){}function w(){}function x(){}/*
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.
*/
function A(){this.a={}}function $(n){return 0==n.length||un.test(n)}function N(n,t){if(null==t)return null;t=t.toUpperCase();var e=n.a[t];if(null==e){if(e=tn[t],null==e)return null;e=(new x).a(_.j(),e),n.a[t]=e}return e}function j(n){return n=nn[n],null==n?"ZZ":n[0]}function R(n){this.H=RegExp(""),this.C="",this.m=new e,this.w="",this.i=new e,this.u=new e,this.l=!0,this.A=this.o=this.F=!1,this.G=A.b(),this.s=0,this.b=new e,this.B=!1,this.h="",this.a=new e,this.f=[],this.D=n,this.J=this.g=E(this,this.D)}function E(n,t){var e;if(null!=t&&isNaN(t)&&t.toUpperCase()in tn){if(e=N(n.G,t),null==e)throw Error("Invalid region code: "+t);e=g(e,10)}else e=0;return e=N(n.G,j(e)),null!=e?e:an}function B(n){for(var t=n.f.length,e=0;e<t;++e){var r=n.f[e],i=g(r,1);if(n.w==i)return!1;var u;u=n;var a=r,o=g(a,1);if(-1!=o.indexOf("|"))u=!1;else{o=o.replace(on,"\\d"),o=o.replace(sn,"\\d"),l(u.m);var s;s=u;var a=g(a,2),f="999999999999999".match(o)[0];f.length<s.a.b.length?s="":(s=f.replace(new RegExp(o,"g"),a),s=s.replace(RegExp("9","g"),"")),0<s.length?(u.m.a(s),u=!0):u=!1}if(u)return n.w=i,n.B=pn.test(h(r,4)),n.s=0,!0}return n.l=!1}function F(n,t){for(var e=[],l=t.length-3,r=n.f.length,i=0;i<r;++i){var u=n.f[i];0==m(u,3)?e.push(n.f[i]):(u=h(u,3,Math.min(l,m(u,3)-1)),0==t.search(u)&&e.push(n.f[i]))}n.f=e}function C(n,t){n.i.a(t);var e=t;if(rn.test(e)||1==n.i.b.length&&ln.test(e)){var r,e=t;"+"==e?(r=e,n.u.a(e)):(r=en[e],n.u.a(r),n.a.a(r)),t=r}else n.l=!1,n.F=!0;if(!n.l){if(!n.F)if(H(n)){if(P(n))return I(n)}else if(0<n.h.length&&(e=n.a.toString(),l(n.a),n.a.a(n.h),n.a.a(e),e=n.b.toString(),r=e.lastIndexOf(n.h),l(n.b),n.b.a(e.substring(0,r))),n.h!=G(n))return n.b.a(" "),I(n);return n.i.toString()}switch(n.u.b.length){case 0:case 1:case 2:return n.i.toString();case 3:if(!H(n))return n.h=G(n),M(n);n.A=!0;default:return n.A?(P(n)&&(n.A=!1),n.b.toString()+n.a.toString()):0<n.f.length?(e=q(n,t),r=D(n),0<r.length?r:(F(n,n.a.toString()),B(n)?V(n):n.l?L(n,e):n.i.toString())):M(n)}}function I(n){return n.l=!0,n.A=!1,n.f=[],n.s=0,l(n.m),n.w="",M(n)}function D(n){for(var t=n.a.toString(),e=n.f.length,l=0;l<e;++l){var r=n.f[l],i=g(r,1);if(new RegExp("^(?:"+i+")$").test(t))return n.B=pn.test(h(r,4)),t=t.replace(new RegExp(i,"g"),h(r,2)),L(n,t)}return""}function L(n,t){var e=n.b.b.length;return n.B&&0<e&&" "!=n.b.toString().charAt(e-1)?n.b+" "+t:n.b+t}function M(n){var t=n.a.toString();if(3<=t.length){for(var e=n.o&&0==n.h.length&&0<m(n.g,20)?c(n.g,20)||[]:c(n.g,19)||[],l=e.length,r=0;r<l;++r){var i=e[r];0<n.h.length&&$(g(i,4))&&!h(i,6)&&null==i.a[5]||(0!=n.h.length||n.o||$(g(i,4))||h(i,6))&&fn.test(g(i,2))&&n.f.push(i)}return F(n,t),t=D(n),0<t.length?t:B(n)?V(n):n.i.toString()}return L(n,t)}function V(n){var t=n.a.toString(),e=t.length;if(0<e){for(var l="",r=0;r<e;r++)l=q(n,t.charAt(r));return n.l?L(n,l):n.i.toString()}return n.b.toString()}function G(n){var t,e=n.a.toString(),r=0;return 1!=h(n.g,10)?t=!1:(t=n.a.toString(),t="1"==t.charAt(0)&&"0"!=t.charAt(1)&&"1"!=t.charAt(1)),t?(r=1,n.b.a("1").a(" "),n.o=!0):null!=n.g.a[15]&&(t=new RegExp("^(?:"+h(n.g,15)+")"),t=e.match(t),null!=t&&null!=t[0]&&0<t[0].length&&(n.o=!0,r=t[0].length,n.b.a(e.substring(0,r)))),l(n.a),n.a.a(e.substring(r)),e.substring(0,r)}function H(n){var t=n.u.toString(),e=new RegExp("^(?:\\+|"+h(n.g,11)+")"),e=t.match(e);return null!=e&&null!=e[0]&&0<e[0].length&&(n.o=!0,e=e[0].length,l(n.a),n.a.a(t.substring(e)),l(n.b),n.b.a(t.substring(0,e)),"+"!=t.charAt(0)&&n.b.a(" "),!0)}function P(n){if(0==n.a.b.length)return!1;var t,r=new e;n:{if(t=n.a.toString(),0!=t.length&&"0"!=t.charAt(0))for(var i,u=t.length,a=1;3>=a&&a<=u;++a)if(i=parseInt(t.substring(0,a),10),i in nn){r.a(t.substring(a)),t=i;break n}t=0}return 0!=t&&(l(n.a),n.a.a(r.toString()),r=j(t),"001"==r?n.g=N(n.G,""+t):r!=n.D&&(n.g=E(n,r)),n.b.a(""+t).a(" "),n.h="",!0)}function q(n,t){var e=n.m.toString();if(0<=e.substring(n.s).search(n.H)){var r=e.search(n.H),e=e.replace(n.H,t);return l(n.m),n.m.a(e),n.s=r,e.substring(0,n.s+1)}return 1==n.f.length&&(n.l=!1),n.w="",n.i.toString()}var T=this;e.prototype.b="",e.prototype.set=function(n){this.b=""+n},e.prototype.a=function(n,t,e){if(this.b+=String(n),null!=t)for(var l=1;l<arguments.length;l++)this.b+=arguments[l];return this},e.prototype.toString=function(){return this.b};var U=1,Y=2,k=3,J=4,K=6,O=16,Z=18;f.prototype.set=function(n,t){b(this,n.b,t)},f.prototype.clone=function(){var n=new this.constructor;return n!=this&&(n.a={},n.b&&(n.b={}),p(n,this)),n},t(v,f);var z=null;t(d,f);var Q=null;t(_,f);var W=null;v.prototype.j=function(){var n=z;return n||(z=n=y(v,{0:{name:"NumberFormat",I:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,c:9,type:String},2:{name:"format",required:!0,c:9,type:String},3:{name:"leading_digits_pattern",v:!0,c:9,type:String},4:{name:"national_prefix_formatting_rule",c:9,type:String},6:{name:"national_prefix_optional_when_formatting",c:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",c:9,type:String}})),n},v.j=v.prototype.j,d.prototype.j=function(){var n=Q;return n||(Q=n=y(d,{0:{name:"PhoneNumberDesc",I:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",c:9,type:String},9:{name:"possible_length",v:!0,c:5,type:Number},10:{name:"possible_length_local_only",v:!0,c:5,type:Number},6:{name:"example_number",c:9,type:String}})),n},d.j=d.prototype.j,_.prototype.j=function(){var n=W;return n||(W=n=y(_,{0:{name:"PhoneMetadata",I:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",c:11,type:d},2:{name:"fixed_line",c:11,type:d},3:{name:"mobile",c:11,type:d},4:{name:"toll_free",c:11,type:d},5:{name:"premium_rate",c:11,type:d},6:{name:"shared_cost",c:11,type:d},7:{name:"personal_number",c:11,type:d},8:{name:"voip",c:11,type:d},21:{name:"pager",c:11,type:d},25:{name:"uan",c:11,type:d},27:{name:"emergency",c:11,type:d},28:{name:"voicemail",c:11,type:d},29:{name:"short_code",c:11,type:d},30:{name:"standard_rate",c:11,type:d},31:{name:"carrier_specific",c:11,type:d},33:{name:"sms_services",c:11,type:d},24:{name:"no_international_dialling",c:11,type:d},9:{name:"id",required:!0,c:9,type:String},10:{name:"country_code",c:5,type:Number},11:{name:"international_prefix",c:9,type:String},17:{name:"preferred_international_prefix",c:9,type:String},12:{name:"national_prefix",c:9,type:String},13:{name:"preferred_extn_prefix",c:9,type:String},15:{name:"national_prefix_for_parsing",c:9,type:String},16:{name:"national_prefix_transform_rule",c:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",c:8,defaultValue:!1,type:Boolean},19:{name:"number_format",v:!0,c:11,type:v},20:{name:"intl_number_format",v:!0,c:11,type:v},22:{name:"main_country_for_code",c:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",c:9,type:String},26:{name:"leading_zero_possible",c:8,defaultValue:!1,type:Boolean}})),n},_.j=_.prototype.j,S.prototype.a=function(n){throw new n.b,Error("Unimplemented")},S.prototype.b=function(n,t){if(11==n.a||10==n.a)return t instanceof f?t:this.a(n.i.prototype.j(),t);if(14==n.a){if("string"==typeof t&&X.test(t)){var e=Number(t);if(0<e)return e}return t}if(!n.h)return t;if(e=n.i,e===String){if("number"==typeof t)return String(t)}else if(e===Number&&"string"==typeof t&&("Infinity"===t||"-Infinity"===t||"NaN"===t||X.test(t)))return Number(t);return t};var X=/^-?[0-9]+$/;t(w,S),w.prototype.a=function(n,t){var e=new n.b;return e.g=this,e.a=t,e.b={},e},t(x,w),x.prototype.b=function(n,t){return 8==n.a?!!t:S.prototype.b.apply(this,arguments)},x.prototype.a=function(n,t){return x.M.a.call(this,n,t)};/*
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.
*/
var nn={231:["LR"]},tn={LR:[null,[null,null,"(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[45])\\d{6}",null,null,null,null,null,null,[7,8,9]],[null,null,"(?:2\\d{3}|33333)\\d{4}",null,null,null,"21234567",null,null,[8,9]],[null,null,"(?:(?:(?:20|77|88)\\d|330|555)\\d|4[67])\\d{5}|5\\d{6}",null,null,null,"770123456",null,null,[7,9]],[null,null,null,null,null,null,null,null,null,[-1]],[null,null,"332(?:02|[34]\\d)\\d{4}",null,null,null,"332021234",null,null,[9]],[null,null,null,null,null,null,null,null,null,[-1]],[null,null,null,null,null,null,null,null,null,[-1]],[null,null,null,null,null,null,null,null,null,[-1]],"LR",231,"00","0",null,null,"0",null,null,null,[[null,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[45]"],"0$1"],[null,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[null,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],null,[null,null,null,null,null,null,null,null,null,[-1]],null,null,[null,null,null,null,null,null,null,null,null,[-1]],[null,null,null,null,null,null,null,null,null,[-1]],null,null,[null,null,null,null,null,null,null,null,null,[-1]]]};A.b=function(){return A.a?A.a:A.a=new A};var en={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","":"0","":"1","":"2","":"3","":"4","":"5","":"6","":"7","":"8","":"9","":"0","":"1","":"2","":"3","":"4","":"5","":"6","":"7","":"8","":"9","":"0","":"1","":"2","":"3","":"4","":"5","":"6","":"7","":"8","":"9"},ln=RegExp("[+]+"),rn=RegExp("([0-9---])"),un=/^\(?\$1\)?$/,an=new _;b(an,11,"NA");var on=/\[([^\[\]])*\]/g,sn=/\d(?=[^,}][^,}])/g,fn=RegExp("^[-x-- ().\\[\\]/~]*(\\$\\d[-x-- ().\\[\\]/~]*)+$"),pn=/[- ]/;R.prototype.K=function(){this.C="",l(this.i),l(this.u),l(this.m),this.s=0,this.w="",l(this.b),this.h="",l(this.a),this.l=!0,this.A=this.o=this.F=!1,this.f=[],this.B=!1,this.g!=this.J&&(this.g=E(this,this.D))},R.prototype.L=function(n){return this.C=C(this,n)},n("Cleave.AsYouTypeFormatter",R),n("Cleave.AsYouTypeFormatter.prototype.inputDigit",R.prototype.L),n("Cleave.AsYouTypeFormatter.prototype.clear",R.prototype.K)}.call("object"==typeof global&&global?global:window);
```
|
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* specific language governing permissions and limitations
*/
package io.ballerina.syntaxapicallsgen;
import io.ballerina.compiler.syntax.tree.Node;
import io.ballerina.syntaxapicallsgen.config.SyntaxApiCallsGenConfig;
import io.ballerina.syntaxapicallsgen.formatter.SegmentFormatter;
import io.ballerina.syntaxapicallsgen.parser.SyntaxApiCallsGenParser;
import io.ballerina.syntaxapicallsgen.segment.Segment;
import io.ballerina.syntaxapicallsgen.segment.factories.NodeSegmentFactory;
/**
* Ballerina Syntax Api Calls Generator programme main class.
*
* @since 2.0.0
*/
public class SyntaxApiCallsGen {
/**
* Run the process with the given configurations.
*
* @param sourceCode Ballerina source code
* @param config Configuration object
* @return Generated Java code
*/
public static String generate(String sourceCode, SyntaxApiCallsGenConfig config) {
try {
SyntaxApiCallsGenParser parser = SyntaxApiCallsGenParser.fromConfig(config);
NodeSegmentFactory factory = NodeSegmentFactory.fromConfig(config);
SegmentFormatter formatter = SegmentFormatter.getFormatter(config);
// 1. Get the syntax tree
Node syntaxTreeNode = parser.parse(sourceCode);
// 2. Convert tree to a segment tree
Segment segment = factory.createNodeSegment(syntaxTreeNode);
// 3. Format using the formatter
return formatter.format(segment);
} catch (SyntaxApiCallsGenException exception) {
throw exception;
} catch (Exception exception) {
throw new SyntaxApiCallsGenException("There was an Exception when parsing. Please check your code.",
exception);
}
}
}
```
|
```go
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v3.11.2
// source: uac/OrganizationV2.proto
package uac
import (
context "context"
common "github.com/VertaAI/modeldb/protos/gen/go/protos/public/common"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type OrgAdminV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
}
func (x *OrgAdminV2) Reset() {
*x = OrgAdminV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrgAdminV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrgAdminV2) ProtoMessage() {}
func (x *OrgAdminV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrgAdminV2.ProtoReflect.Descriptor instead.
func (*OrgAdminV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{0}
}
func (x *OrgAdminV2) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
type ContainerRegistryConfiguration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // Unique per workspace
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // Should be hidden from non-admins
OrgId string `protobuf:"bytes,6,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}
func (x *ContainerRegistryConfiguration) Reset() {
*x = ContainerRegistryConfiguration{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContainerRegistryConfiguration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContainerRegistryConfiguration) ProtoMessage() {}
func (x *ContainerRegistryConfiguration) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContainerRegistryConfiguration.ProtoReflect.Descriptor instead.
func (*ContainerRegistryConfiguration) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{1}
}
func (x *ContainerRegistryConfiguration) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *ContainerRegistryConfiguration) GetBase() string {
if x != nil {
return x.Base
}
return ""
}
func (x *ContainerRegistryConfiguration) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *ContainerRegistryConfiguration) GetSecretKey() string {
if x != nil {
return x.SecretKey
}
return ""
}
func (x *ContainerRegistryConfiguration) GetOrgId() string {
if x != nil {
return x.OrgId
}
return ""
}
type OrganizationV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Admins []*OrgAdminV2 `protobuf:"bytes,6,rep,name=admins,proto3" json:"admins,omitempty"`
CreatedTimestamp int64 `protobuf:"varint,4,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
UpdatedTimestamp int64 `protobuf:"varint,5,opt,name=updated_timestamp,json=updatedTimestamp,proto3" json:"updated_timestamp,omitempty"`
ContainerRegistries []*ContainerRegistryConfiguration `protobuf:"bytes,7,rep,name=container_registries,json=containerRegistries,proto3" json:"container_registries,omitempty"`
CurrentUserIsAdmin bool `protobuf:"varint,8,opt,name=current_user_is_admin,json=currentUserIsAdmin,proto3" json:"current_user_is_admin,omitempty"`
}
func (x *OrganizationV2) Reset() {
*x = OrganizationV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrganizationV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrganizationV2) ProtoMessage() {}
func (x *OrganizationV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrganizationV2.ProtoReflect.Descriptor instead.
func (*OrganizationV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{2}
}
func (x *OrganizationV2) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *OrganizationV2) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *OrganizationV2) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *OrganizationV2) GetAdmins() []*OrgAdminV2 {
if x != nil {
return x.Admins
}
return nil
}
func (x *OrganizationV2) GetCreatedTimestamp() int64 {
if x != nil {
return x.CreatedTimestamp
}
return 0
}
func (x *OrganizationV2) GetUpdatedTimestamp() int64 {
if x != nil {
return x.UpdatedTimestamp
}
return 0
}
func (x *OrganizationV2) GetContainerRegistries() []*ContainerRegistryConfiguration {
if x != nil {
return x.ContainerRegistries
}
return nil
}
func (x *OrganizationV2) GetCurrentUserIsAdmin() bool {
if x != nil {
return x.CurrentUserIsAdmin
}
return false
}
type OrganizationStats struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
NumUsers int32 `protobuf:"varint,2,opt,name=num_users,json=numUsers,proto3" json:"num_users,omitempty"`
NumRegisteredModels int32 `protobuf:"varint,3,opt,name=num_registered_models,json=numRegisteredModels,proto3" json:"num_registered_models,omitempty"`
NumEndpoints int32 `protobuf:"varint,4,opt,name=num_endpoints,json=numEndpoints,proto3" json:"num_endpoints,omitempty"`
}
func (x *OrganizationStats) Reset() {
*x = OrganizationStats{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OrganizationStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrganizationStats) ProtoMessage() {}
func (x *OrganizationStats) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrganizationStats.ProtoReflect.Descriptor instead.
func (*OrganizationStats) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{3}
}
func (x *OrganizationStats) GetOrgId() string {
if x != nil {
return x.OrgId
}
return ""
}
func (x *OrganizationStats) GetNumUsers() int32 {
if x != nil {
return x.NumUsers
}
return 0
}
func (x *OrganizationStats) GetNumRegisteredModels() int32 {
if x != nil {
return x.NumRegisteredModels
}
return 0
}
func (x *OrganizationStats) GetNumEndpoints() int32 {
if x != nil {
return x.NumEndpoints
}
return 0
}
type GetOrganizationByIdV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}
func (x *GetOrganizationByIdV2) Reset() {
*x = GetOrganizationByIdV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrganizationByIdV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizationByIdV2) ProtoMessage() {}
func (x *GetOrganizationByIdV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOrganizationByIdV2.ProtoReflect.Descriptor instead.
func (*GetOrganizationByIdV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{4}
}
func (x *GetOrganizationByIdV2) GetOrgId() string {
if x != nil {
return x.OrgId
}
return ""
}
type GetOrganizationByNameV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
}
func (x *GetOrganizationByNameV2) Reset() {
*x = GetOrganizationByNameV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrganizationByNameV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizationByNameV2) ProtoMessage() {}
func (x *GetOrganizationByNameV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOrganizationByNameV2.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{5}
}
func (x *GetOrganizationByNameV2) GetOrgName() string {
if x != nil {
return x.OrgName
}
return ""
}
type ListOrganizationsV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Pagination *common.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
CurrentUserIsAdmin common.TernaryEnum_Ternary `protobuf:"varint,2,opt,name=current_user_is_admin,json=currentUserIsAdmin,proto3,enum=ai.verta.common.TernaryEnum_Ternary" json:"current_user_is_admin,omitempty"`
}
func (x *ListOrganizationsV2) Reset() {
*x = ListOrganizationsV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListOrganizationsV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListOrganizationsV2) ProtoMessage() {}
func (x *ListOrganizationsV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListOrganizationsV2.ProtoReflect.Descriptor instead.
func (*ListOrganizationsV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{6}
}
func (x *ListOrganizationsV2) GetPagination() *common.Pagination {
if x != nil {
return x.Pagination
}
return nil
}
func (x *ListOrganizationsV2) GetCurrentUserIsAdmin() common.TernaryEnum_Ternary {
if x != nil {
return x.CurrentUserIsAdmin
}
return common.TernaryEnum_Ternary(0)
}
type SetOrganizationV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Organization *OrganizationV2 `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
}
func (x *SetOrganizationV2) Reset() {
*x = SetOrganizationV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetOrganizationV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetOrganizationV2) ProtoMessage() {}
func (x *SetOrganizationV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetOrganizationV2.ProtoReflect.Descriptor instead.
func (*SetOrganizationV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{7}
}
func (x *SetOrganizationV2) GetOrganization() *OrganizationV2 {
if x != nil {
return x.Organization
}
return nil
}
type DeleteOrganizationV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}
func (x *DeleteOrganizationV2) Reset() {
*x = DeleteOrganizationV2{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteOrganizationV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteOrganizationV2) ProtoMessage() {}
func (x *DeleteOrganizationV2) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteOrganizationV2.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationV2) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{8}
}
func (x *DeleteOrganizationV2) GetOrgId() string {
if x != nil {
return x.OrgId
}
return ""
}
type GetOrganizationByIdV2_Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Organization *OrganizationV2 `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
}
func (x *GetOrganizationByIdV2_Response) Reset() {
*x = GetOrganizationByIdV2_Response{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrganizationByIdV2_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizationByIdV2_Response) ProtoMessage() {}
func (x *GetOrganizationByIdV2_Response) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOrganizationByIdV2_Response.ProtoReflect.Descriptor instead.
func (*GetOrganizationByIdV2_Response) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{4, 0}
}
func (x *GetOrganizationByIdV2_Response) GetOrganization() *OrganizationV2 {
if x != nil {
return x.Organization
}
return nil
}
type GetOrganizationByNameV2_Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Organization *OrganizationV2 `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
}
func (x *GetOrganizationByNameV2_Response) Reset() {
*x = GetOrganizationByNameV2_Response{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrganizationByNameV2_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizationByNameV2_Response) ProtoMessage() {}
func (x *GetOrganizationByNameV2_Response) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetOrganizationByNameV2_Response.ProtoReflect.Descriptor instead.
func (*GetOrganizationByNameV2_Response) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{5, 0}
}
func (x *GetOrganizationByNameV2_Response) GetOrganization() *OrganizationV2 {
if x != nil {
return x.Organization
}
return nil
}
type ListOrganizationsV2_Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Organizations []*OrganizationV2 `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
TotalRecords int64 `protobuf:"varint,2,opt,name=total_records,json=totalRecords,proto3" json:"total_records,omitempty"`
Pagination *common.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
OrganizationStats []*OrganizationStats `protobuf:"bytes,4,rep,name=organization_stats,json=organizationStats,proto3" json:"organization_stats,omitempty"`
}
func (x *ListOrganizationsV2_Response) Reset() {
*x = ListOrganizationsV2_Response{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListOrganizationsV2_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListOrganizationsV2_Response) ProtoMessage() {}
func (x *ListOrganizationsV2_Response) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListOrganizationsV2_Response.ProtoReflect.Descriptor instead.
func (*ListOrganizationsV2_Response) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{6, 0}
}
func (x *ListOrganizationsV2_Response) GetOrganizations() []*OrganizationV2 {
if x != nil {
return x.Organizations
}
return nil
}
func (x *ListOrganizationsV2_Response) GetTotalRecords() int64 {
if x != nil {
return x.TotalRecords
}
return 0
}
func (x *ListOrganizationsV2_Response) GetPagination() *common.Pagination {
if x != nil {
return x.Pagination
}
return nil
}
func (x *ListOrganizationsV2_Response) GetOrganizationStats() []*OrganizationStats {
if x != nil {
return x.OrganizationStats
}
return nil
}
type SetOrganizationV2_Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Organization *OrganizationV2 `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
}
func (x *SetOrganizationV2_Response) Reset() {
*x = SetOrganizationV2_Response{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SetOrganizationV2_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetOrganizationV2_Response) ProtoMessage() {}
func (x *SetOrganizationV2_Response) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetOrganizationV2_Response.ProtoReflect.Descriptor instead.
func (*SetOrganizationV2_Response) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{7, 0}
}
func (x *SetOrganizationV2_Response) GetOrganization() *OrganizationV2 {
if x != nil {
return x.Organization
}
return nil
}
type DeleteOrganizationV2_Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DeleteOrganizationV2_Response) Reset() {
*x = DeleteOrganizationV2_Response{}
if protoimpl.UnsafeEnabled {
mi := &file_uac_OrganizationV2_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteOrganizationV2_Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteOrganizationV2_Response) ProtoMessage() {}
func (x *DeleteOrganizationV2_Response) ProtoReflect() protoreflect.Message {
mi := &file_uac_OrganizationV2_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteOrganizationV2_Response.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationV2_Response) Descriptor() ([]byte, []int) {
return file_uac_OrganizationV2_proto_rawDescGZIP(), []int{8, 0}
}
var File_uac_OrganizationV2_proto protoreflect.FileDescriptor
var file_uac_OrganizationV2_proto_rawDesc = []byte{
0x0a, 0x18, 0x75, 0x61, 0x63, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x56, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x61, 0x69, 0x2e, 0x76,
0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x43,
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x1a, 0x14, 0x75, 0x61, 0x63, 0x2f, 0x55, 0x41, 0x43, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x22, 0x0a, 0x0a, 0x4f, 0x72, 0x67, 0x41,
0x64, 0x6d, 0x69, 0x6e, 0x56, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x96, 0x01, 0x0a,
0x1e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12,
0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62,
0x61, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x15,
0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x6f, 0x72, 0x67, 0x49, 0x64, 0x22, 0xf6, 0x02, 0x0a, 0x0e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69,
0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30,
0x0a, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x4f, 0x72,
0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x56, 0x32, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73,
0x12, 0x2b, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2b, 0x0a,
0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x5f, 0x0a, 0x14, 0x63, 0x6f,
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x69,
0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x15, 0x63,
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x73, 0x5f, 0x61,
0x64, 0x6d, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72,
0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0xa0,
0x01, 0x0a, 0x11, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
0x74, 0x61, 0x74, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e,
0x75, 0x6d, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
0x6e, 0x75, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x5f,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x23, 0x0a, 0x0d,
0x6e, 0x75, 0x6d, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
0x73, 0x22, 0x7c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x56, 0x32, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72,
0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49,
0x64, 0x1a, 0x4c, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a,
0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75,
0x61, 0x63, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56,
0x32, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
0x82, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x6f,
0x72, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
0x72, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x4c, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x22, 0xae, 0x03, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67,
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x12, 0x3b, 0x0a, 0x0a,
0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1b, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70,
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x15, 0x63, 0x75, 0x72,
0x72, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d,
0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x72, 0x6e, 0x61,
0x72, 0x79, 0x45, 0x6e, 0x75, 0x6d, 0x2e, 0x54, 0x65, 0x72, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x12,
0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x73, 0x41, 0x64, 0x6d,
0x69, 0x6e, 0x1a, 0x80, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x42, 0x0a, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74,
0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x56, 0x32, 0x52, 0x0d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x3b, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69,
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x61,
0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50,
0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x12, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63,
0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
0x74, 0x73, 0x52, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67,
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x12, 0x40, 0x0a, 0x0c, 0x6f,
0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63,
0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x52,
0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4c, 0x0a,
0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0c, 0x6f, 0x72, 0x67,
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x4f,
0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x52, 0x0c, 0x6f,
0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x0a, 0x14, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x56, 0x32, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xee, 0x08, 0x0a, 0x15, 0x4f, 0x72, 0x67, 0x61, 0x6e,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x32,
0x12, 0x8b, 0x01, 0x0a, 0x13, 0x67, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x23, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x56, 0x32, 0x1a, 0x2c, 0x2e,
0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x47, 0x65, 0x74,
0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64,
0x56, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4,
0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0x9e,
0x01, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x56, 0x32, 0x1a,
0x2e, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x47,
0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79,
0x4e, 0x61, 0x6d, 0x65, 0x56, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67,
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x4f, 0x72, 0x67,
0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x7c, 0x0a, 0x11, 0x6c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e,
0x75, 0x61, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x1a, 0x2a, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72,
0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x32,
0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x79, 0x0a,
0x0f, 0x73, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x1f, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e,
0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56,
0x32, 0x1a, 0x28, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63,
0x2e, 0x53, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x56, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4,
0x93, 0x02, 0x15, 0x3a, 0x01, 0x2a, 0x22, 0x10, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x61,
0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8b, 0x01, 0x0a, 0x12, 0x64, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x22, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x56, 0x32, 0x1a, 0x2b, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75,
0x61, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x01, 0x2a, 0x2a, 0x19, 0x2f, 0x76, 0x32,
0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6f,
0x72, 0x67, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xdd, 0x01, 0x0a, 0x2c, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72,
0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x2c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61,
0x2e, 0x75, 0x61, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65,
0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x01, 0x2a, 0x22, 0x46,
0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x4f, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xbe, 0x01, 0x0a, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x74,
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x2c, 0x2e, 0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x43,
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x13, 0x2e,
0x61, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x74, 0x61, 0x2e, 0x75, 0x61, 0x63, 0x2e, 0x45, 0x6d, 0x70,
0x74, 0x79, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x22, 0x48, 0x2f,
0x76, 0x32, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
0x7b, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
0x63, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
0x65, 0x72, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x3e, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x74, 0x61, 0x41, 0x49, 0x2f,
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x64, 0x62, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67,
0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x75, 0x62,
0x6c, 0x69, 0x63, 0x2f, 0x75, 0x61, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_uac_OrganizationV2_proto_rawDescOnce sync.Once
file_uac_OrganizationV2_proto_rawDescData = file_uac_OrganizationV2_proto_rawDesc
)
func file_uac_OrganizationV2_proto_rawDescGZIP() []byte {
file_uac_OrganizationV2_proto_rawDescOnce.Do(func() {
file_uac_OrganizationV2_proto_rawDescData = protoimpl.X.CompressGZIP(file_uac_OrganizationV2_proto_rawDescData)
})
return file_uac_OrganizationV2_proto_rawDescData
}
var file_uac_OrganizationV2_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_uac_OrganizationV2_proto_goTypes = []interface{}{
(*OrgAdminV2)(nil), // 0: ai.verta.uac.OrgAdminV2
(*ContainerRegistryConfiguration)(nil), // 1: ai.verta.uac.ContainerRegistryConfiguration
(*OrganizationV2)(nil), // 2: ai.verta.uac.OrganizationV2
(*OrganizationStats)(nil), // 3: ai.verta.uac.OrganizationStats
(*GetOrganizationByIdV2)(nil), // 4: ai.verta.uac.GetOrganizationByIdV2
(*GetOrganizationByNameV2)(nil), // 5: ai.verta.uac.GetOrganizationByNameV2
(*ListOrganizationsV2)(nil), // 6: ai.verta.uac.ListOrganizationsV2
(*SetOrganizationV2)(nil), // 7: ai.verta.uac.SetOrganizationV2
(*DeleteOrganizationV2)(nil), // 8: ai.verta.uac.DeleteOrganizationV2
(*GetOrganizationByIdV2_Response)(nil), // 9: ai.verta.uac.GetOrganizationByIdV2.Response
(*GetOrganizationByNameV2_Response)(nil), // 10: ai.verta.uac.GetOrganizationByNameV2.Response
(*ListOrganizationsV2_Response)(nil), // 11: ai.verta.uac.ListOrganizationsV2.Response
(*SetOrganizationV2_Response)(nil), // 12: ai.verta.uac.SetOrganizationV2.Response
(*DeleteOrganizationV2_Response)(nil), // 13: ai.verta.uac.DeleteOrganizationV2.Response
(*common.Pagination)(nil), // 14: ai.verta.common.Pagination
(common.TernaryEnum_Ternary)(0), // 15: ai.verta.common.TernaryEnum.Ternary
(*Empty)(nil), // 16: ai.verta.uac.Empty
}
var file_uac_OrganizationV2_proto_depIdxs = []int32{
0, // 0: ai.verta.uac.OrganizationV2.admins:type_name -> ai.verta.uac.OrgAdminV2
1, // 1: ai.verta.uac.OrganizationV2.container_registries:type_name -> ai.verta.uac.ContainerRegistryConfiguration
14, // 2: ai.verta.uac.ListOrganizationsV2.pagination:type_name -> ai.verta.common.Pagination
15, // 3: ai.verta.uac.ListOrganizationsV2.current_user_is_admin:type_name -> ai.verta.common.TernaryEnum.Ternary
2, // 4: ai.verta.uac.SetOrganizationV2.organization:type_name -> ai.verta.uac.OrganizationV2
2, // 5: ai.verta.uac.GetOrganizationByIdV2.Response.organization:type_name -> ai.verta.uac.OrganizationV2
2, // 6: ai.verta.uac.GetOrganizationByNameV2.Response.organization:type_name -> ai.verta.uac.OrganizationV2
2, // 7: ai.verta.uac.ListOrganizationsV2.Response.organizations:type_name -> ai.verta.uac.OrganizationV2
14, // 8: ai.verta.uac.ListOrganizationsV2.Response.pagination:type_name -> ai.verta.common.Pagination
3, // 9: ai.verta.uac.ListOrganizationsV2.Response.organization_stats:type_name -> ai.verta.uac.OrganizationStats
2, // 10: ai.verta.uac.SetOrganizationV2.Response.organization:type_name -> ai.verta.uac.OrganizationV2
4, // 11: ai.verta.uac.OrganizationServiceV2.getOrganizationById:input_type -> ai.verta.uac.GetOrganizationByIdV2
5, // 12: ai.verta.uac.OrganizationServiceV2.getOrganizationByName:input_type -> ai.verta.uac.GetOrganizationByNameV2
6, // 13: ai.verta.uac.OrganizationServiceV2.listOrganizations:input_type -> ai.verta.uac.ListOrganizationsV2
7, // 14: ai.verta.uac.OrganizationServiceV2.setOrganization:input_type -> ai.verta.uac.SetOrganizationV2
8, // 15: ai.verta.uac.OrganizationServiceV2.deleteOrganization:input_type -> ai.verta.uac.DeleteOrganizationV2
1, // 16: ai.verta.uac.OrganizationServiceV2.createOrUpdateContainerRegistryConfiguration:input_type -> ai.verta.uac.ContainerRegistryConfiguration
1, // 17: ai.verta.uac.OrganizationServiceV2.deleteContainerRegistryConfiguration:input_type -> ai.verta.uac.ContainerRegistryConfiguration
9, // 18: ai.verta.uac.OrganizationServiceV2.getOrganizationById:output_type -> ai.verta.uac.GetOrganizationByIdV2.Response
10, // 19: ai.verta.uac.OrganizationServiceV2.getOrganizationByName:output_type -> ai.verta.uac.GetOrganizationByNameV2.Response
11, // 20: ai.verta.uac.OrganizationServiceV2.listOrganizations:output_type -> ai.verta.uac.ListOrganizationsV2.Response
12, // 21: ai.verta.uac.OrganizationServiceV2.setOrganization:output_type -> ai.verta.uac.SetOrganizationV2.Response
13, // 22: ai.verta.uac.OrganizationServiceV2.deleteOrganization:output_type -> ai.verta.uac.DeleteOrganizationV2.Response
1, // 23: ai.verta.uac.OrganizationServiceV2.createOrUpdateContainerRegistryConfiguration:output_type -> ai.verta.uac.ContainerRegistryConfiguration
16, // 24: ai.verta.uac.OrganizationServiceV2.deleteContainerRegistryConfiguration:output_type -> ai.verta.uac.Empty
18, // [18:25] is the sub-list for method output_type
11, // [11:18] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
}
func init() { file_uac_OrganizationV2_proto_init() }
func file_uac_OrganizationV2_proto_init() {
if File_uac_OrganizationV2_proto != nil {
return
}
file_uac_UACService_proto_init()
if !protoimpl.UnsafeEnabled {
file_uac_OrganizationV2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrgAdminV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerRegistryConfiguration); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrganizationV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrganizationStats); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetOrganizationByIdV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetOrganizationByNameV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListOrganizationsV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SetOrganizationV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteOrganizationV2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetOrganizationByIdV2_Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetOrganizationByNameV2_Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListOrganizationsV2_Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SetOrganizationV2_Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_uac_OrganizationV2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteOrganizationV2_Response); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_uac_OrganizationV2_proto_rawDesc,
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_uac_OrganizationV2_proto_goTypes,
DependencyIndexes: file_uac_OrganizationV2_proto_depIdxs,
MessageInfos: file_uac_OrganizationV2_proto_msgTypes,
}.Build()
File_uac_OrganizationV2_proto = out.File
file_uac_OrganizationV2_proto_rawDesc = nil
file_uac_OrganizationV2_proto_goTypes = nil
file_uac_OrganizationV2_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// OrganizationServiceV2Client is the client API for OrganizationServiceV2 service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to path_to_url#ClientConn.NewStream.
type OrganizationServiceV2Client interface {
// Gets information from a given organization
GetOrganizationById(ctx context.Context, in *GetOrganizationByIdV2, opts ...grpc.CallOption) (*GetOrganizationByIdV2_Response, error)
// Gets information from a given organization
GetOrganizationByName(ctx context.Context, in *GetOrganizationByNameV2, opts ...grpc.CallOption) (*GetOrganizationByNameV2_Response, error)
// Lists the organizations that the current user can access
ListOrganizations(ctx context.Context, in *ListOrganizationsV2, opts ...grpc.CallOption) (*ListOrganizationsV2_Response, error)
// Create or update an organization
// Automatically sets the user making the call as owner and adds to the organization
SetOrganization(ctx context.Context, in *SetOrganizationV2, opts ...grpc.CallOption) (*SetOrganizationV2_Response, error)
// Delete an existing organization
DeleteOrganization(ctx context.Context, in *DeleteOrganizationV2, opts ...grpc.CallOption) (*DeleteOrganizationV2_Response, error)
CreateOrUpdateContainerRegistryConfiguration(ctx context.Context, in *ContainerRegistryConfiguration, opts ...grpc.CallOption) (*ContainerRegistryConfiguration, error)
DeleteContainerRegistryConfiguration(ctx context.Context, in *ContainerRegistryConfiguration, opts ...grpc.CallOption) (*Empty, error)
}
type organizationServiceV2Client struct {
cc grpc.ClientConnInterface
}
func NewOrganizationServiceV2Client(cc grpc.ClientConnInterface) OrganizationServiceV2Client {
return &organizationServiceV2Client{cc}
}
func (c *organizationServiceV2Client) GetOrganizationById(ctx context.Context, in *GetOrganizationByIdV2, opts ...grpc.CallOption) (*GetOrganizationByIdV2_Response, error) {
out := new(GetOrganizationByIdV2_Response)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/getOrganizationById", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) GetOrganizationByName(ctx context.Context, in *GetOrganizationByNameV2, opts ...grpc.CallOption) (*GetOrganizationByNameV2_Response, error) {
out := new(GetOrganizationByNameV2_Response)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/getOrganizationByName", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) ListOrganizations(ctx context.Context, in *ListOrganizationsV2, opts ...grpc.CallOption) (*ListOrganizationsV2_Response, error) {
out := new(ListOrganizationsV2_Response)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/listOrganizations", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) SetOrganization(ctx context.Context, in *SetOrganizationV2, opts ...grpc.CallOption) (*SetOrganizationV2_Response, error) {
out := new(SetOrganizationV2_Response)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/setOrganization", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) DeleteOrganization(ctx context.Context, in *DeleteOrganizationV2, opts ...grpc.CallOption) (*DeleteOrganizationV2_Response, error) {
out := new(DeleteOrganizationV2_Response)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/deleteOrganization", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) CreateOrUpdateContainerRegistryConfiguration(ctx context.Context, in *ContainerRegistryConfiguration, opts ...grpc.CallOption) (*ContainerRegistryConfiguration, error) {
out := new(ContainerRegistryConfiguration)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/createOrUpdateContainerRegistryConfiguration", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *organizationServiceV2Client) DeleteContainerRegistryConfiguration(ctx context.Context, in *ContainerRegistryConfiguration, opts ...grpc.CallOption) (*Empty, error) {
out := new(Empty)
err := c.cc.Invoke(ctx, "/ai.verta.uac.OrganizationServiceV2/deleteContainerRegistryConfiguration", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// OrganizationServiceV2Server is the server API for OrganizationServiceV2 service.
type OrganizationServiceV2Server interface {
// Gets information from a given organization
GetOrganizationById(context.Context, *GetOrganizationByIdV2) (*GetOrganizationByIdV2_Response, error)
// Gets information from a given organization
GetOrganizationByName(context.Context, *GetOrganizationByNameV2) (*GetOrganizationByNameV2_Response, error)
// Lists the organizations that the current user can access
ListOrganizations(context.Context, *ListOrganizationsV2) (*ListOrganizationsV2_Response, error)
// Create or update an organization
// Automatically sets the user making the call as owner and adds to the organization
SetOrganization(context.Context, *SetOrganizationV2) (*SetOrganizationV2_Response, error)
// Delete an existing organization
DeleteOrganization(context.Context, *DeleteOrganizationV2) (*DeleteOrganizationV2_Response, error)
CreateOrUpdateContainerRegistryConfiguration(context.Context, *ContainerRegistryConfiguration) (*ContainerRegistryConfiguration, error)
DeleteContainerRegistryConfiguration(context.Context, *ContainerRegistryConfiguration) (*Empty, error)
}
// UnimplementedOrganizationServiceV2Server can be embedded to have forward compatible implementations.
type UnimplementedOrganizationServiceV2Server struct {
}
func (*UnimplementedOrganizationServiceV2Server) GetOrganizationById(context.Context, *GetOrganizationByIdV2) (*GetOrganizationByIdV2_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationById not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) GetOrganizationByName(context.Context, *GetOrganizationByNameV2) (*GetOrganizationByNameV2_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationByName not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) ListOrganizations(context.Context, *ListOrganizationsV2) (*ListOrganizationsV2_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListOrganizations not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) SetOrganization(context.Context, *SetOrganizationV2) (*SetOrganizationV2_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetOrganization not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) DeleteOrganization(context.Context, *DeleteOrganizationV2) (*DeleteOrganizationV2_Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteOrganization not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) CreateOrUpdateContainerRegistryConfiguration(context.Context, *ContainerRegistryConfiguration) (*ContainerRegistryConfiguration, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateOrUpdateContainerRegistryConfiguration not implemented")
}
func (*UnimplementedOrganizationServiceV2Server) DeleteContainerRegistryConfiguration(context.Context, *ContainerRegistryConfiguration) (*Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteContainerRegistryConfiguration not implemented")
}
func RegisterOrganizationServiceV2Server(s *grpc.Server, srv OrganizationServiceV2Server) {
s.RegisterService(&_OrganizationServiceV2_serviceDesc, srv)
}
func _OrganizationServiceV2_GetOrganizationById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOrganizationByIdV2)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).GetOrganizationById(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/GetOrganizationById",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).GetOrganizationById(ctx, req.(*GetOrganizationByIdV2))
}
return interceptor(ctx, in, info, handler)
}
func _OrganizationServiceV2_GetOrganizationByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetOrganizationByNameV2)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).GetOrganizationByName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/GetOrganizationByName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).GetOrganizationByName(ctx, req.(*GetOrganizationByNameV2))
}
return interceptor(ctx, in, info, handler)
}
func _OrganizationServiceV2_ListOrganizations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListOrganizationsV2)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).ListOrganizations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/ListOrganizations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).ListOrganizations(ctx, req.(*ListOrganizationsV2))
}
return interceptor(ctx, in, info, handler)
}
func _OrganizationServiceV2_SetOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetOrganizationV2)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).SetOrganization(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/SetOrganization",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).SetOrganization(ctx, req.(*SetOrganizationV2))
}
return interceptor(ctx, in, info, handler)
}
func _OrganizationServiceV2_DeleteOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteOrganizationV2)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).DeleteOrganization(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/DeleteOrganization",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).DeleteOrganization(ctx, req.(*DeleteOrganizationV2))
}
return interceptor(ctx, in, info, handler)
}
func your_sha256_hashion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ContainerRegistryConfiguration)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).CreateOrUpdateContainerRegistryConfiguration(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/CreateOrUpdateContainerRegistryConfiguration",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).CreateOrUpdateContainerRegistryConfiguration(ctx, req.(*ContainerRegistryConfiguration))
}
return interceptor(ctx, in, info, handler)
}
func your_sha256_hashler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ContainerRegistryConfiguration)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OrganizationServiceV2Server).DeleteContainerRegistryConfiguration(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ai.verta.uac.OrganizationServiceV2/DeleteContainerRegistryConfiguration",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OrganizationServiceV2Server).DeleteContainerRegistryConfiguration(ctx, req.(*ContainerRegistryConfiguration))
}
return interceptor(ctx, in, info, handler)
}
var _OrganizationServiceV2_serviceDesc = grpc.ServiceDesc{
ServiceName: "ai.verta.uac.OrganizationServiceV2",
HandlerType: (*OrganizationServiceV2Server)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "getOrganizationById",
Handler: _OrganizationServiceV2_GetOrganizationById_Handler,
},
{
MethodName: "getOrganizationByName",
Handler: _OrganizationServiceV2_GetOrganizationByName_Handler,
},
{
MethodName: "listOrganizations",
Handler: _OrganizationServiceV2_ListOrganizations_Handler,
},
{
MethodName: "setOrganization",
Handler: _OrganizationServiceV2_SetOrganization_Handler,
},
{
MethodName: "deleteOrganization",
Handler: _OrganizationServiceV2_DeleteOrganization_Handler,
},
{
MethodName: "createOrUpdateContainerRegistryConfiguration",
Handler: your_sha256_hashion_Handler,
},
{
MethodName: "deleteContainerRegistryConfiguration",
Handler: your_sha256_hashler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "uac/OrganizationV2.proto",
}
```
|
The following outline is provided as an overview of and topical guide to Wallis and Futuna:
Wallis and Futuna – French island territory in Polynesia (but not part of, or even contiguous with, French Polynesia) in the South Pacific Ocean between Fiji and Samoa. It comprises three main volcanic tropical islands and a number of tiny islets. The territory is split into two island groups lying about 260 km apart:
Wallis Islands (Uvea), in the north
Wallis Island (Uvea)
Hoorn Islands (Futuna Islands), in the south
Futuna
Alofi
Since 2003 Wallis and Futuna has been a French overseas collectivity (collectivité d'outre-mer, or COM).
General reference
Pronunciation:
Common English country name: Wallis and Futuna or the Wallis and Futuna Islands
Official English country name: The French Overseas Collectivity of the Wallis and Futuna Islands
Common endonym(s):
Official endonym(s):
Adjectival(s): Wallisian, Futunan
Demonym(s): Wallisian, Futunan
Etymology:
ISO country codes: WF, WLF, 876
ISO region codes: See ISO 3166-2:WF
Internet country code top-level domain: .wf
Geography of Wallis and Futuna
Geography of Wallis and Futuna
Wallis and Futuna is: A French overseas collectivity
Location:
Southern Hemisphere and Eastern Hemisphere
Pacific Ocean
South Pacific Ocean
Oceania
Polynesia
Time zone: UTC+12
Extreme points of Wallis and Futuna
High: Mont Puke on Futuna
Low: South Pacific Ocean 0 m
Land boundaries: none
Coastline: South Pacific Ocean 129 km
Population of Wallis and Futuna: 15,000
Area of Wallis and Futuna: 264
Atlas of Wallis and Futuna
Environment of Wallis and Futuna
Climate of Wallis and Futuna
Birds of Wallis and Futuna
Mammals of Wallis and Futuna
Natural geographic features of Wallis and Futuna
Rivers of Wallis and Futuna
Regions of Wallis and Futuna
Ecoregions of Wallis and Futuna
Administrative divisions of Wallis and Futuna
Administrative divisions of Wallis and Futuna
Provinces of Wallis and Futuna
Districts of Wallis and Futuna
Municipalities of Wallis and Futuna
Capital of Wallis and Futuna: Mata-Utu
Cities of Wallis and Futuna
Demography of Wallis and Futuna
Demographics of Wallis and Futuna
Government and politics of Wallis and Futuna
Politics of Wallis and Futuna
Form of government: parliamentary representative democratic French overseas collectivity
Capital of Wallis and Futuna: Mata-Utu
Elections in Wallis and Futuna
Political parties in Wallis and Futuna
Branches of the government of Wallis and Futuna
Government of Wallis and Futuna
Executive branch of the government of Wallis and Futuna
Legislative branch of the government of Wallis and Futuna
Parliament of Wallis and Futuna
Judicial branch of the government of Wallis and Futuna
Foreign relations of Wallis and Futuna
International organization membership
The Territory of Wallis and Futuna is a member of:
Pacific Islands Forum (PIF) (observer)
The Pacific Community (SPC)
Universal Postal Union (UPU)
World Federation of Trade Unions (WFTU)
History of Wallis and Futuna
History of Wallis and Futuna
Culture of Wallis and Futuna
Culture of Wallis and Futuna
Dance of Wallis and Futuna
Languages of Wallis and Futuna
Coat of arms of Wallis and Futuna
Flag of Wallis and Futuna
National anthem of Wallis and Futuna
Public holidays in Wallis and Futuna
Sports in Wallis and Futuna
Sports in Wallis and Futuna
Football in Wallis and Futuna
Economy and infrastructure of Wallis and Futuna
Economy of Wallis and Futuna
Economic rank, by nominal GDP (2007):
Communications in Wallis and Futuna
Currency of Wallis and Futuna: Franc
ISO 4217: XPF
Transport in Wallis and Futuna
Airports in Wallis and Futuna
Education in Wallis and Futuna
Education in Wallis and Futuna
See also
Wallis and Futuna
List of international rankings
List of Wallis and Futuna-related topics
Outline of France
Outline of geography
Outline of Oceania
References
External links
Official website of the Assembly
Official website of the French Administrateur supérieur de Wallis et Futuna
Map of Wallis and Futuna, with district boundaries
Information about Wallis and Futuna
Pictures of Wallis
Wallis and Futuna
1
Outlines
|
Motza, also Mozah or Motsa, (, ) is a neighbourhood on the western edge of West Jerusalem. It is located in the Judean Hills, 600 metres above sea level, connected to Jerusalem by the Jerusalem–Tel Aviv highway and the winding mountain road to Har Nof. Established in 1854, Motza was the first Jewish farm founded outside the walls of the Old City in the modern era. It is believed to be located on the site of a Biblical village of the same name mentioned in .
History
Antiquity
Motza is the site of the Canaanite and later Israelite town of Mozah, which according to the Hebrew Bible was allotted by Joshua to the Tribe of Benjamin (). The name Mozah was found stamped on pottery handles in Tell en-Nasbeh, a site identified with the biblical city of Mizpah, also in the territory of Benjamin.
Sherds from the Late Bronze Age (only one), Iron Age II (58%), Persian/Hellenistic (16%), Early Islamic (16%) have been found; 7% were unidentified.
In 2012, Israeli archaeologists discovered an Israelite cultic building at Tel Motza, dating to the monarchic period (Iron Age IIA).
Second Temple period
During the Second Temple period, Motza was the place whence willow branches were cut down for the abundance of willows that grew in the valley, along the riverine brook, and brought to the Temple for ceremonial worship.
Biblical Mozah is listed among the Benjamite cities of . It was referred to in the Talmud as a place where people would come to cut young willow branches as a part of the celebration of Sukkot (Mishnah, Sukkah 4.5: 178).
Motza was identified as the Emmaus of Luke in 1881 by William F. Birch (1840–1916) of the Palestine Exploration Fund, and again in 1893 by Paulo Savi. Excavations in 2001–2003 headed by Professor Carsten Peter Thiede let him conclude that Khirbet Mizza/Tel Moza was the only credible candidate for the Emmaus of the New Testament.
After the demise of the Jewish polity in Jerusalem following the First Jewish–Roman War, Vespasian settled 800 Roman soldiers in the town, which became a Roman settlement known as Colonia Amosa. Following the Muslim conquest of the Levant, it became known as Qalunya.
Ottoman era
In 1854, farmland was purchased from the nearby Arab village of Qalunya (Colonia) by a Baghdadi Jew, Shaul Yehuda, with the aid of British consul James Finn. A B'nai B'rith official signed a contract with the residents of Motza residents that enabled them to pay for the land in long-term payments. Four Jewish families settled there. One family established a tile factory which was one of the earliest industries in the region.
Motza was home to one of Israel's oldest wineries, the Teperberg Winery, then called Efrat, established in 1870.
In 1871, while plowing his fields, one of the residents, Yehoshua Yellin, discovered a large subterranean hall from the Byzantine period that he turned into a travellers' inn which provided overnight shelter for pilgrims on their way to Jerusalem.
In 1894 Motza became a moshava (village).
When Theodor Herzl visited Palestine in 1898, he passed through Motza, which then had a population of 200. Captivated by the landscape, he planted a cypress tree on the hill. After he died in 1904 at age 44, it became an annual pilgrimage site by Zionist youth, who planted more trees around Herzl's tree. During World War I, Herzl's tree was cut down by the Turks who were levelling forests for firewood and supplies.
British Mandate
David Remez named the sanatorium opened in the village Arza, or "cedar", in reference to Herzl's tree. Arza, established in the 1920s, was the first Jewish "health resort" in the country.
The flourishing orchard of the Broza family is mentioned in the Hope Simpson Report in 1930. The children of Motza attended school in one of the rooms built above the vaulted hall. Their teacher was Moshe David Gaon, later father of singer and actor Yehoram Gaon. Motza was the only Jewish presence in the area. Kfar Uria and Hartuv were further west in the Judean foothills.
According to a census conducted in 1931 by the British Mandate authorities, Motza had a population of 151 inhabitants, in 20 houses.
In 1933 the villagers founded the neighbouring Upper Motza (Motza Illit).
In December 1948, United Nations General Assembly Resolution 194 recommended that "the built-up area of Motsa" be included in the Jerusalem "Corpus separatum", which was to be detached from "the rest of Palestine" and "placed under effective United Nations control". However, like other provisions of Resolution 194, this was never carried out in practice, and Motza became part of the State of Israel.
1929 murders
Despite good relations with neighbouring Arab communities, the village was attacked during the 1929 Palestine riots. Several residents of Qalunya attacked an outlying house belonging to the Makleff family, killing the father, mother, son, two daughters, and their two guests. Three children survived by escaping out a second-story window; one, Mordechai Maklef, later became Chief of Staff of the Israeli Army. The attackers included the lone police officer and armed man in the area, as well as a shepherd employed by the Makleff family. The village was subsequently abandoned by Jews for a year's time.
Refugees from Motza sent a letter to the Refugees Aid Committee in Jerusalem describing their plight and asking for help: "Our houses were burned and robbed...we have nothing left. And now we are naked and without food. We need your immediate assistance and ask for nothing more than bread to eat and clothes to wear."
State of Israel
In 2006, the Yellin and Yehuda families helped restore Joshua Yellin's original home, among the oldest and most derelict buildings at the site.
From a municipal perspective, Motza, now called Ramat Motza, is affiliated with the Jerusalem Municipality. The nearby Motza Illit is under the jurisdiction of the Mateh Yehuda Regional Council.
See also
En Esur, Chalcolithic fortified proto-city in the Sharon Plain
References
"Talking Picture Magazine", March 1933, p. 45, an article on the film: The Motza Colony, a drama after the event of the murder of the Makleff Family.
External links
Motza history on Haim Zippori centre for community education
Motza Valley
Populated places established in 1859
Neighbourhoods of Jerusalem
Jewish villages in the Ottoman Empire
Jews and Judaism in Ottoman Palestine
1859 establishments in Ottoman Syria
Crusader castles
1929 Palestine riots
|
Robert James Holt (born October 4, 1959) is a former professional American football player who played wide receiver in the National Football League (NFL) for the Buffalo Bills in 1982. He was selected in the sixth round of the 1981 NFL Draft.
As of 2022, Holt is a Physical Education Instructor at Gadsden Elementary in New Mexico.
References
1959 births
Living people
People from Denison, Texas
Players of American football from Grayson County, Texas
American football wide receivers
Baylor Bears football players
Buffalo Bills players
|
Secrets of Our Cities is an Australian factual television show that looks at the history of Australian suburbs and towns. This observational documentary series began on the SBS on 26 September 2017. It follows Greig Pickhaver (also known as HG Nelson) uncovering the hidden history and unsung residents who have helped shape suburbs and towns into the places they are today. A second series began 22 February 2020.
Episodes
Season 1
Season 1 Ep 1 "Fitzroy"
Season 1 Ep 2 "Bondi"
Season 1 Ep 3 "Fremantle"
Season 2
Season 2 Ep 1 "Gold Coast"
Season 2 Ep 3 "Footscray"
Season 2 Ep 2 "Kalgoorlie"
References
External links
Official website
Special Broadcasting Service original programming
Australian factual television series
2017 Australian television series debuts
English-language television shows
|
```javascript
import {events} from "stratocacher";
import {CACHE_NAME} from "./constants";
import {getLogger} from "./logging";
const logger = getLogger();
export default function logEvents() {
events.on('error', err => logger.error(err));
events.on('time', ({name, type, time}) => {
if (name === CACHE_NAME) {
logger.time(`stats.${type}`, time);
}
});
}
```
|
```ocaml
(* [execve] doesn't exist on Windows, so instead we do a
[Unix.create_process_env] followed by [Unix.waitpid] and finally [sys_exit].
We use [sys_exit] rather than [exit] so that [at_exit] functions are not
invoked. We don't want [at_exit] functions to be invoked to match the
behaviour of [Unix.execve] on Unix. *)
external sys_exit : int -> 'a = "caml_sys_exit"
let restore_cwd_and_execve prog argv ~env =
let env = Env.to_unix env |> Array.of_list in
let argv = Array.of_list argv in
(* run at_exit before changing the working directory *)
Stdlib.do_at_exit ();
Sys.chdir (Path.External.to_string Path.External.initial_cwd);
if Sys.win32
then (
let pid = Unix.create_process_env prog argv env Unix.stdin Unix.stdout Unix.stderr in
match snd (Unix.waitpid [] pid) with
| WEXITED n -> sys_exit n
| WSIGNALED _ -> sys_exit 255
| WSTOPPED _ -> assert false)
else (
ignore (Unix.sigprocmask SIG_SETMASK [] : int list);
Unix.execve prog argv env)
;;
module Resource_usage = struct
type t =
{ user_cpu_time : float
; system_cpu_time : float
}
end
module Times = struct
type t =
{ elapsed_time : float
; resource_usage : Resource_usage.t option
}
end
module Process_info = struct
type t =
{ pid : Pid.t
; status : Unix.process_status
; end_time : float
; resource_usage : Resource_usage.t option
}
end
external stub_wait4
: int
-> Unix.wait_flag list
-> int * Unix.process_status * float * Resource_usage.t
= "dune_wait4"
type wait =
| Any
| Pid of Pid.t
let wait wait flags =
if Sys.win32
then Code_error.raise "wait4 not available on windows" []
else (
let pid =
match wait with
| Any -> -1
| Pid pid -> Pid.to_int pid
in
let pid, status, end_time, resource_usage = stub_wait4 pid flags in
{ Process_info.pid = Pid.of_int pid
; status
; end_time
; resource_usage = Some resource_usage
})
;;
```
|
```python
"""
The :mod:`tensorly.tenalg` module contains utilities for Tensor Algebra
operations such as khatri-rao or kronecker product, n-mode product, etc.
"""
import sys
import importlib
import threading
from ..backend import BackendManager, dynamically_dispatched_class_attribute
from .base_tenalg import TenalgBackend
from .svd import SVD_FUNS, svd_interface, truncated_svd
class TenalgBackendManager(BackendManager):
_functions = [
"mode_dot",
"multi_mode_dot",
"kronecker",
"khatri_rao",
"inner",
"outer",
"batched_outer",
"higher_order_moment",
"_tt_matrix_to_tensor",
"unfolding_dot_khatri_rao",
"tensordot",
]
_attributes = []
available_backend_names = ["core", "einsum"]
_default_backend = "core"
_loaded_backends = dict()
_backend = None
_THREAD_LOCAL_DATA = threading.local()
_ENV_DEFAULT_VAR = "TENSORLY_TENALG_BACKEND"
@classmethod
def use_dynamic_dispatch(cls):
# Define class methods and attributes that dynamically dispatch to the backend
for name in cls._functions:
try:
delattr(cls, name)
except AttributeError:
pass
setattr(
cls,
name,
staticmethod(
cls.dispatch_backend_method(
name, getattr(cls.current_backend(), name)
)
),
)
for name in cls._attributes:
try:
delattr(cls, name)
except AttributeError:
pass
setattr(cls, name, dynamically_dispatched_class_attribute(name))
@classmethod
def load_backend(cls, backend_name):
"""Registers a new backend by importing the corresponding module
and adding the correspond `Backend` class in Backend._LOADED_BACKEND
under the key `backend_name`
Parameters
----------
backend_name : str, name of the backend to load
Raises
------
ValueError
If `backend_name` does not correspond to one listed
in `_KNOWN_BACKEND`
"""
if backend_name not in cls.available_backend_names:
msg = f"Unknown backend name {backend_name!r}, known backends are {cls.available_backend_names}"
raise ValueError(msg)
if backend_name not in TenalgBackend._available_tenalg_backends:
importlib.import_module(f"tensorly.tenalg.{backend_name}_tenalg")
if backend_name in TenalgBackend._available_tenalg_backends:
backend = TenalgBackend._available_tenalg_backends[backend_name]()
# backend = getattr(module, )()
cls._loaded_backends[backend_name] = backend
return backend
# Initialise the backend to the default one
TenalgBackendManager.initialize_backend()
TenalgBackendManager.use_dynamic_dispatch()
sys.modules[__name__].__class__ = TenalgBackendManager
```
|
Jason Malcolm Wilcox (born 15 March 1971) is an English football coach, former professional footballer and director of football at EFL Championship side Southampton.
As a player, Wilcox was a left winger from 1989 until 2006, notably in the Premier League for Blackburn Rovers, where he won the title in 1995. He also played in the top flight for Leeds United and for Leicester City in the Championship. He retired following a brief stint in the Football League with Blackpool. He made three appearances for England.
After retiring from football, Wilcox was initially a co-commentator for BBC Radio Lancashire before moving into coaching with Manchester City in 2012. He went on to become the academy director at Premier League side Manchester City, a post he held until 2023 when he joined Southampton.
Club career
Blackburn Rovers
Wilcox joined Blackburn Rovers at the age of sixteen after his father wrote to the club asking for a trial. After impressing at training on Sunday, Wilcox signed a contract on the Monday, before playing in the FA Youth Cup final only weeks after. Rovers youth-team manager Jim Furnell described him as "one of the best young midfielders in English football".
Wilcox would go on to score 33 goals in over 300 games with Blackburn, whom he also captained. Wilcox was one of the only first-team players of that era who came from the club's own youth system and was not signed from other teams with the multimillion-pound investments of Jack Walker. He played an important part in the title-winning Blackburn team of 1995. Playing on the left flank with attacking fullback Graeme Le Saux behind him and Stuart Ripley on the opposite flank, they forged a strong attacking line-up with Alan Shearer and Chris Sutton. International recognition was harder to come by for Wilcox and he managed only 3 international caps despite his effective partnership with Shearer, Le Saux and Tim Sherwood.
Lengthy injury problems restricted Wilcox's effectiveness in subsequent seasons and, after experiencing relegation with Blackburn, he moved on to Leeds United for £4 million in December 1999. With the club having just been relegated and with the emergence of Damien Duff, Rovers saw it as good business for a successful youth product. He was Blackburn's longest serving player at the time of joining Leeds.
Leeds United
Wilcox, who scored on his debut, played in his usual position as a left-sided midfielder at Leeds, moving Harry Kewell into a more advanced role. He helped the Yorkshire side to the semi-finals of the UEFA Cup, where they lost to Galatasaray. A year later he was part of the club's run to the UEFA Champions League semi-finals, where they lost again, this time to eventually consecutive runners-up Valencia.
Wilcox again suffered relegation, in 2004, as Leeds struggled with a large financial burden after failing to qualify for the Champions League, forcing the sale of several high-profile stars. He was released by Leeds in May 2004. Overall, he made 106 appearances for Leeds, scoring 6 goals.
Leicester City
In 2004, Wilcox signed on a free transfer with fellow relegated club Leicester on a one-year deal. He initially signed a one-year deal which was extended by another year in the summer of 2005. Wilcox made an excellent start to his Leicester career, but unfortunately picked up a horrific cruciate ligament injury in October 2004. It was feared it would end his season and maybe his career, but he returned in City's 3–1 win over Millwall on 2 April 2005. He scored once for Leicester, in a 3–2 win over Sheffield United in September 2004. In May 2005, he signed a new one-year contract with Leicester. In November 2005, he joined Blackpool on a one-month loan.
Blackpool
On 28 January 2006, Wilcox joined Blackpool on a free transfer following a two-month spell on loan to the club, after his old Blackburn teammate Simon Grayson requested Wilcox join the club to help save them from relegation. He was released at the end of the season after a disagreement with other staff members.
International career
Wilcox won his first England cap in a 3–0 win over Hungary in 1996. After a great debut, in which he hit the bar in the first minute, many tipped him to make the final squad for Euro 96; however, he was cut from the final squad of 22 players in what Terry Venables described as one of the toughest decisions of his career. He went on to play against France and Argentina: these turned out to be his only other full caps. Wilcox made the provisional squad for Euro 2000 but was replaced by Gareth Barry after an injury. He also made two appearances for the B team, against Chile and Hong Kong.
Coaching career
Wilcox joined the Manchester City coaching staff in 2012 as an academy coach, a year later he made the step up to the U18's as their head coach and oversaw a national championship title and two FA Youth Cup finals. In 2017 after a spell in the job on an interim basis he was appointed to the role of academy director.
On 20 January 2023, Wilcox was appointed director of football at Southampton. Wilcox joined Southampton in the summer after serving a notice period with City.
Personal life
Wilcox is a black belt in judo and even represented England before he became a professional footballer. When he reached the age of seventeen he was made to choose between the two sports, only being able to fully commit himself to one of them as a potential career path.
After retiring from football, Wilcox took some time out from the game before joining the commentary staff of BBC Radio Lancashire for a year, as well as having his own weekly column in the Lancashire Telegraph.
Honours
Blackburn Rovers
Premier League: 1994–95
References
External links
Living people
1971 births
Men's association football wingers
English men's footballers
England men's international footballers
English male judoka
England men's B international footballers
Blackburn Rovers F.C. players
Leeds United F.C. players
Leicester City F.C. players
Blackpool F.C. players
Premier League players
English Football League players
Footballers from Bolton
Manchester City F.C. non-playing staff
Southampton F.C. non-playing staff
|
Dakodonou, Dakodonu, Dako Donu or Dako Danzo was an early king of the Kingdom of Dahomey, in present-day Benin, ruling from around 1620 until 1645. Oral tradition recounts that Dakodonu was the son (or grandson) of Do-Aklin, the founder of the royal dynasty of Dahomey, and the father to Houegbadja, often considered the founder of the Kingdom of Dahomey. In addition, it is said that Dakodonu killed a local chieftain and founded the capital city upon the site. However, some recent historical analysis contends that Dakodonu was added into the royal line in the 18th century to legitimize the ruling dynasty over the indigenous inhabitants of the Abomey plateau.
Name
One legend tells that Dakodonou's original name was Dako but he adopted his new name Dakodonou after killing Donou (who was either a farmer or an indigo painter) in a pot of indigo and rolling his corpse around its blue tomb.
Founding of Abomey Kingdom
Oral tradition holds that a succession struggle in Allada resulted in Do-Aklin moving a large population onto the Abomey plateau, an area settled by the Gedevi. When Do-Aklin died (or in some versions was deposed), Dakodonu became the leader of the group and was given permission by the Gedevi chiefs to settle on the plateau. Dakodonu requested additional land for settlement from a prominent Gedevi chief named Dan (or Da). To this request, the chief responded "Should I open up my belly and build you a house in it." The tradition contends that Dakodonu killed Dan on the spot and ordered that his new palace be built on the site and derived the kingdom's name from the incident: Dan=chief, xo=Belly, me=Inside of. From this beginning, Dakodonu began establishing the basic structure of the Dahomey kingdom and is reported to have conquered two additional villages. Oral tradition of the ruling lineage of the kingdom says that Dakodonu's son Houegbadja, often considered the first king of Dahomey, took over after Dakodonu's reign.
Dakodonu and legitimation of the royal lineage
Dahomey historian Edna Bay argues that Dakodonu was actually himself a Gedevi, the local population of the area, and that he was added into the royal lineage story by Agaja in order to establish the legitimate rule of the Kingdom over the local population. Evidence of this is suggested through the fact that the head priest of the kingdom, the agasunon in Fon, was always from the lineage of Dakodonu. In addition, oral tradition of lineages not associated with the ruling group claim that Houegbadja was an adopted son of Dakodonu. Dakodonu's inclusion in royal lists then was a means of creating recognition for the local population in a powerful position (the head priest) and legitimating the rule of the Fon kingdom over the territory. In addition, Monroe contends that the story of the founding, the killing of Dan, is likely not based on a single incident and Bay contends that Dahomey meaning In the belly of Dan is likely a false etymology.
Constructions by Dakodonu
As an early king of Dahomey, the reign of Dakodonu coincided with some significant construction projects including the start of the Royal Palaces of Abomey, although the structures were probably replaced by construction by Houegbadja, and Agongointo-Zoungoudo Underground Town.
See also
Vodun
History of the Kingdom of Dahomey
References
Kings of Dahomey
17th-century monarchs in Africa
17th century in the Kingdom of Dahomey
Year of birth unknown
1645 deaths
|
```javascript
import gzip from 'rollup-plugin-gzip';
import { visualizer } from 'rollup-plugin-visualizer';
import { defineConfig } from 'vite';
import config from './vite.config.js';
export default defineConfig({
...config,
root: './corelib',
plugins: [
visualizer({
template: 'treemap', // or sunburst
open: true,
gzipSize: true,
brotliSize: true,
filename: './corelib/stats.html', // will be saved in project's root
}),
gzip(),
],
});
```
|
Gudilova is a Neighbourhood of Visakhapatnam district. It lies in between the beautiful hill area of Kambalakonda Wildlife Sanctuary which lies in the family of Eastern Ghats. Gudilova is famous for Lord Shiva and PandurangaSwamy.
Vijnana Vihara Residential School is also located here.
Transport
APSRTC routes
References
Neighbourhoods in Visakhapatnam
|
```javascript
/* eslint-disable no-console */
import chokidar from 'chokidar'
import { sync } from 'glob'
import { match } from 'minimatch'
import path from 'path'
import mjml2html from 'mjml-core'
import { flow, pickBy, flatMap, uniq, difference, remove } from 'lodash/fp'
import { omit } from 'lodash'
import { html as htmlBeautify } from 'js-beautify'
import { minify as htmlMinify } from 'html-minifier'
import readFile from './readFile'
import makeOutputToFile from './outputToFile'
import fileContext from '../helpers/fileContext'
let dirty = []
const _flatMap = flatMap.convert({ cap: false }) // eslint-disable-line no-underscore-dangle
const flatMapAndJoin = _flatMap((v, k) => v.map((p) => path.join(k, p)))
const flatMapKeyAndValues = flow(
_flatMap((v, k) => [k, ...v]),
uniq,
)
export default (input, options) => {
const dependencies = {}
const outputToFile = makeOutputToFile(options.o)
const getRelatedFiles = (file) =>
flow(
pickBy((v, k) => k === file || v.indexOf(file) !== -1),
Object.keys,
)(dependencies)
const synchronyzeWatcher = (filePath) => {
getRelatedFiles(filePath).forEach((f) => {
dependencies[f] = fileContext(f, options.config.filePath)
if (dirty.indexOf(f) === -1) {
dirty.push(f)
}
})
/* eslint-disable no-use-before-define */
const files = {
toWatch: flatMapKeyAndValues(dependencies),
watched: flatMapAndJoin(watcher.getWatched()),
}
watcher.add(difference(files.toWatch, files.watched))
watcher.unwatch(difference(files.watched, files.toWatch))
/* eslint-enable no-use-before-define */
}
const readAndCompile = flow(
(file) => ({ file, content: readFile(file).mjml }),
(args) => {
const { config, beautifyConfig, minifyConfig } = options
const beautify = config.beautify && config.beautify !== 'false'
const minify = config.minify && config.minify !== 'false'
const compiled = mjml2html(args.content, {
filePath: args.file,
actualPath: args.file,
...omit(config, ['minify', 'beautify']),
})
if (beautify) {
compiled.html = htmlBeautify(compiled.html, beautifyConfig)
}
if (minify) {
compiled.html = htmlMinify(compiled.html, {
...minifyConfig,
...config.minifyOptions,
})
}
return {
...args,
compiled,
}
},
(args) => {
const {
compiled: { errors },
} = args
errors.forEach((e) => console.warn(e.formattedMessage))
return args
},
(args) =>
outputToFile(args)
.then(() => console.log(`${args.file} - Successfully compiled`))
.catch(() => console.log(`${args.file} - Error while compiling file`)),
)
const watcher = chokidar
.watch(input.map((i) => i.replace(/\\/g, '/')))
.on('change', (file) => synchronyzeWatcher(path.resolve(file)))
.on('add', (file) => {
const filePath = path.resolve(file)
console.log(`Now watching file: ${filePath}`)
const matchInputOption = input.reduce(
(found, file) =>
found || match(sync(path.resolve(file)), filePath)?.length > 0,
false,
)
if (matchInputOption) {
dependencies[filePath] = getRelatedFiles(filePath)
}
synchronyzeWatcher(filePath)
})
.on('unlink', (file) => {
const filePath = path.resolve(file)
delete dependencies[path.resolve(filePath)]
remove(dirty, (f) => f === filePath)
synchronyzeWatcher(filePath)
})
setInterval(() => {
dirty.forEach((f) => {
console.log(`${f} - Change detected`)
try {
readAndCompile(f)
} catch (e) {
console.log(`${f} - Error while rendering the file : `, e)
}
})
dirty = []
}, 500)
return []
}
/* eslint-enable no-console */
```
|
```python
`set` operations
Get the most of `int`s
Get the most of `float`s
Looping techniques
`queue`s and threads
```
|
```objective-c
/*
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef SDK_ANDROID_SRC_JNI_PC_MEDIA_STREAM_H_
#define SDK_ANDROID_SRC_JNI_PC_MEDIA_STREAM_H_
#include <jni.h>
#include <memory>
#include "api/media_stream_interface.h"
#include "pc/media_stream_observer.h"
#include "sdk/android/src/jni/jni_helpers.h"
namespace webrtc {
namespace jni {
class JavaMediaStream : public sigslot::has_slots<> {
public:
explicit JavaMediaStream(
JNIEnv* env,
rtc::scoped_refptr<MediaStreamInterface> media_stream);
~JavaMediaStream() override;
const ScopedJavaGlobalRef<jobject>& j_media_stream() {
return j_media_stream_;
}
private:
void OnAudioTrackAddedToStream(AudioTrackInterface* track,
MediaStreamInterface* stream);
void OnVideoTrackAddedToStream(VideoTrackInterface* track,
MediaStreamInterface* stream);
void OnAudioTrackRemovedFromStream(AudioTrackInterface* track,
MediaStreamInterface* stream);
void OnVideoTrackRemovedFromStream(VideoTrackInterface* track,
MediaStreamInterface* stream);
ScopedJavaGlobalRef<jobject> j_media_stream_;
std::unique_ptr<MediaStreamObserver> observer_;
};
jclass GetMediaStreamClass(JNIEnv* env);
} // namespace jni
} // namespace webrtc
#endif // SDK_ANDROID_SRC_JNI_PC_MEDIA_STREAM_H_
```
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="debug|Win32">
<Configuration>debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="checked|Win32">
<Configuration>checked</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="profile|Win32">
<Configuration>profile</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="release|Win32">
<Configuration>release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{18708416-6A28-67E8-82D0-E8148F0CE318}</ProjectGuid>
<RootNamespace>SnippetSplitSim</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='checked|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='profile|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='checked|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='profile|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
<OutDir>./../../../bin/vc14win32\</OutDir>
<IntDir>./Win32/SnippetSplitSim/debug\</IntDir>
<TargetExt>.exe</TargetExt>
<TargetName>$(ProjectName)DEBUG</TargetName>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules />
<CodeAnalysisRuleAssemblies />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
<ClCompile>
<TreatWarningAsError>true</TreatWarningAsError>
<StringPooling>true</StringPooling>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<BasicRuntimeChecks>UninitializedLocalUsageCheck</BasicRuntimeChecks>
<AdditionalOptions>/MP /Wall /wd4514 /wd4820 /wd4127 /wd4710 /wd4711 /wd4435 /wd4577 /wd4464 /wd4350 /wd4668 /wd4365 /wd4548 /d2Zi+</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Include;./../../../../PxShared/include;./../../../../PxShared/src/foundation/include;./../../../../PxShared/src/fastxml/include;./../../Graphics/include/win32/GL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_HAS_EXCEPTIONS=0;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;PHYSX_PROFILE_SDK;RENDER_SNIPPET;_DEBUG;PX_DEBUG=1;PX_CHECKED=1;PX_NVTX=1;PX_SUPPORT_PVD=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level4</WarningLevel>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile></PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(TargetDir)\$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalOptions>/LIBPATH:../../../Lib/vc14win32 PhysX3CommonDEBUG_x86.lib PhysX3DEBUG_x86.lib PhysX3CookingDEBUG_x86.lib PhysX3CharacterKinematicDEBUG_x86.lib PhysX3ExtensionsDEBUG.lib PhysX3VehicleDEBUG.lib PxPvdSDKDEBUG_x86.lib PxTaskDEBUG_x86.lib PxFoundationDEBUG_x86.lib PsFastXmlDEBUG_x86.lib /LIBPATH:../../lib/vc14win32 SnippetUtilsDEBUG.lib /DEBUG</AdditionalOptions>
<AdditionalDependencies>Winmm.lib;OpenGL32.lib;glut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName)DEBUG.exe</OutputFile>
<AdditionalLibraryDirectories>./../../../Common/lib/vc14win32;./../../lib/vc14win32;./../../../../PxShared/lib/vc14win32;./../../Graphics/lib/win32/glut;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ProgramDatabaseFile>$(TargetDir)\$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<ResourceCompile>
</ResourceCompile>
<ProjectReference>
</ProjectReference>
<PostBuildEvent>
<Command>XCOPY "../../../../PxShared/bin\vc14win32\PxFoundationDEBUG_x86.dll" "$(OutDir)" /D /Y
 XCOPY "../../../../PxShared/bin\vc14win32\PxPvdSDKDEBUG_x86.dll" "$(OutDir)" /D /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='checked|Win32'">
<OutDir>./../../../bin/vc14win32\</OutDir>
<IntDir>./Win32/SnippetSplitSim/checked\</IntDir>
<TargetExt>.exe</TargetExt>
<TargetName>$(ProjectName)CHECKED</TargetName>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules />
<CodeAnalysisRuleAssemblies />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='checked|Win32'">
<ClCompile>
<TreatWarningAsError>true</TreatWarningAsError>
<StringPooling>true</StringPooling>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<AdditionalOptions>/MP /Wall /wd4514 /wd4820 /wd4127 /wd4710 /wd4711 /wd4435 /wd4577 /wd4464 /wd4350 /wd4668 /wd4365 /wd4548 /d2Zi+</AdditionalOptions>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>./../../../Include;./../../../../PxShared/include;./../../../../PxShared/src/foundation/include;./../../../../PxShared/src/fastxml/include;./../../Graphics/include/win32/GL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_HAS_EXCEPTIONS=0;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;PHYSX_PROFILE_SDK;RENDER_SNIPPET;NDEBUG;PX_CHECKED=1;PX_NVTX=1;PX_SUPPORT_PVD=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level4</WarningLevel>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile></PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(TargetDir)\$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalOptions>/LIBPATH:../../../Lib/vc14win32 PhysX3CommonCHECKED_x86.lib PhysX3CHECKED_x86.lib PhysX3CookingCHECKED_x86.lib PhysX3CharacterKinematicCHECKED_x86.lib PhysX3ExtensionsCHECKED.lib PhysX3VehicleCHECKED.lib PxPvdSDKCHECKED_x86.lib PxTaskCHECKED_x86.lib PxFoundationCHECKED_x86.lib PsFastXmlCHECKED_x86.lib /LIBPATH:../../lib/vc14win32 SnippetUtilsCHECKED.lib</AdditionalOptions>
<AdditionalDependencies>Winmm.lib;OpenGL32.lib;glut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName)CHECKED.exe</OutputFile>
<AdditionalLibraryDirectories>./../../../Common/lib/vc14win32;./../../lib/vc14win32;./../../../../PxShared/lib/vc14win32;./../../Graphics/lib/win32/glut;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ProgramDatabaseFile>$(TargetDir)\$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<ResourceCompile>
</ResourceCompile>
<ProjectReference>
</ProjectReference>
<PostBuildEvent>
<Command>XCOPY "../../../../PxShared/bin\vc14win32\PxFoundationCHECKED_x86.dll" "$(OutDir)" /D /Y
 XCOPY "../../../../PxShared/bin\vc14win32\PxPvdSDKCHECKED_x86.dll" "$(OutDir)" /D /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='profile|Win32'">
<OutDir>./../../../bin/vc14win32\</OutDir>
<IntDir>./Win32/SnippetSplitSim/profile\</IntDir>
<TargetExt>.exe</TargetExt>
<TargetName>$(ProjectName)PROFILE</TargetName>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules />
<CodeAnalysisRuleAssemblies />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='profile|Win32'">
<ClCompile>
<TreatWarningAsError>true</TreatWarningAsError>
<StringPooling>true</StringPooling>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<AdditionalOptions>/MP /Wall /wd4514 /wd4820 /wd4127 /wd4710 /wd4711 /wd4435 /wd4577 /wd4464 /wd4350 /wd4668 /wd4365 /wd4548 /d2Zi+</AdditionalOptions>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>./../../../Include;./../../../../PxShared/include;./../../../../PxShared/src/foundation/include;./../../../../PxShared/src/fastxml/include;./../../Graphics/include/win32/GL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_HAS_EXCEPTIONS=0;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;PHYSX_PROFILE_SDK;RENDER_SNIPPET;NDEBUG;PX_PROFILE=1;PX_NVTX=1;PX_SUPPORT_PVD=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level4</WarningLevel>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile></PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(TargetDir)\$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalOptions>/INCREMENTAL:NO /LIBPATH:../../../Lib/vc14win32 PhysX3CommonPROFILE_x86.lib PhysX3PROFILE_x86.lib PhysX3CookingPROFILE_x86.lib PhysX3CharacterKinematicPROFILE_x86.lib PhysX3ExtensionsPROFILE.lib PhysX3VehiclePROFILE.lib PxPvdSDKPROFILE_x86.lib PxTaskPROFILE_x86.lib PxFoundationPROFILE_x86.lib PsFastXmlPROFILE_x86.lib /LIBPATH:../../lib/vc14win32 SnippetUtilsPROFILE.lib /DEBUG</AdditionalOptions>
<AdditionalDependencies>Winmm.lib;OpenGL32.lib;glut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName)PROFILE.exe</OutputFile>
<AdditionalLibraryDirectories>./../../../Common/lib/vc14win32;./../../lib/vc14win32;./../../../../PxShared/lib/vc14win32;./../../Graphics/lib/win32/glut;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ProgramDatabaseFile>$(TargetDir)\$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<ResourceCompile>
</ResourceCompile>
<ProjectReference>
</ProjectReference>
<PostBuildEvent>
<Command>XCOPY "../../../../PxShared/bin\vc14win32\PxFoundationPROFILE_x86.dll" "$(OutDir)" /D /Y
 XCOPY "../../../../PxShared/bin\vc14win32\PxPvdSDKPROFILE_x86.dll" "$(OutDir)" /D /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
<OutDir>./../../../bin/vc14win32\</OutDir>
<IntDir>./Win32/SnippetSplitSim/release\</IntDir>
<TargetExt>.exe</TargetExt>
<TargetName>$(ProjectName)</TargetName>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules />
<CodeAnalysisRuleAssemblies />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
<ClCompile>
<TreatWarningAsError>true</TreatWarningAsError>
<StringPooling>true</StringPooling>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FloatingPointModel>Fast</FloatingPointModel>
<AdditionalOptions>/MP /Wall /wd4514 /wd4820 /wd4127 /wd4710 /wd4711 /wd4435 /wd4577 /wd4464 /wd4350 /wd4668 /wd4365 /wd4548 /d2Zi+</AdditionalOptions>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>./../../../Include;./../../../../PxShared/include;./../../../../PxShared/src/foundation/include;./../../../../PxShared/src/fastxml/include;./../../Graphics/include/win32/GL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_HAS_EXCEPTIONS=0;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;PHYSX_PROFILE_SDK;RENDER_SNIPPET;NDEBUG;PX_SUPPORT_PVD=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>false</ExceptionHandling>
<WarningLevel>Level4</WarningLevel>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile></PrecompiledHeaderFile>
<ProgramDataBaseFileName>$(TargetDir)\$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalOptions>/INCREMENTAL:NO /LIBPATH:../../../Lib/vc14win32 PhysX3Common_x86.lib PhysX3_x86.lib PhysX3Cooking_x86.lib PhysX3CharacterKinematic_x86.lib PhysX3Extensions.lib PhysX3Vehicle.lib PxPvdSDK_x86.lib PxTask_x86.lib PxFoundation_x86.lib PsFastXml_x86.lib /LIBPATH:../../lib/vc14win32 SnippetUtils.lib</AdditionalOptions>
<AdditionalDependencies>Winmm.lib;OpenGL32.lib;glut32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>./../../../Common/lib/vc14win32;./../../lib/vc14win32;./../../../../PxShared/lib/vc14win32;./../../Graphics/lib/win32/glut;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ProgramDatabaseFile>$(TargetDir)\$(TargetName).pdb</ProgramDatabaseFile>
<SubSystem>Console</SubSystem>
<ImportLibrary>$(OutDir)$(TargetName).lib</ImportLibrary>
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<ResourceCompile>
</ResourceCompile>
<ProjectReference>
</ProjectReference>
<PostBuildEvent>
<Command>XCOPY "../../../../PxShared/bin\vc14win32\PxFoundation_x86.dll" "$(OutDir)" /D /Y
 XCOPY "../../../../PxShared/bin\vc14win32\PxPvdSDK_x86.dll" "$(OutDir)" /D /Y</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\SnippetCommon\ClassicMain.cpp">
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\SnippetSplitSim\SnippetSplitSim.cpp">
</ClCompile>
<ClCompile Include="..\..\SnippetSplitSim\SnippetSplitSimRender.cpp">
</ClCompile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="./SnippetUtils.vcxproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="./SnippetRender.vcxproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"></ImportGroup>
</Project>
```
|
```scss
//
//
// 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.
//
// stylelint-disable selector-class-pattern --
// NOTE: We disable `selector-class-pattern` above to allow using `mdc-` class
// selectors.
@use 'sass:list';
@use '@material/animation/functions';
@use '@material/checkbox/mixins' as checkbox-mixins;
@use '@material/density/functions' as density-functions;
@use '@material/dom/mixins' as dom;
@use '@material/elevation/mixins';
@use '@material/feature-targeting/feature-targeting';
@use '@material/rtl/rtl';
@use '@material/shape/mixins' as shape-mixins;
@use '@material/theme/theme';
@use '@material/theme/theme-color';
@use '@material/typography/typography';
@use './data-table-cell';
@use './data-table-header-cell';
@use './data-table-pagination';
@use './data-table-progress-indicator';
@use './data-table-theme';
@mixin core-styles($query: feature-targeting.all()) {
@include table-styles($query: $query);
@include data-table-theme.sort-icon-color(
data-table-theme.$sort-icon-color,
$query: $query
);
@include data-table-theme.sort-icon-active-color(
data-table-theme.$sort-icon-active-color,
$query: $query
);
@include data-table-progress-indicator.static-styles($query: $query);
@include data-table-pagination.core-styles($query: $query);
}
@mixin static-styles($query: feature-targeting.all()) {
$feat-structure: feature-targeting.create-target($query, structure);
.mdc-data-table {
@include feature-targeting.targets($feat-structure) {
// Makes the table scroll smoothly in iOS.
// NOTE: Root element should not be scrollable, added this for backward
// compatibility.
-webkit-overflow-scrolling: touch;
display: inline-flex;
flex-direction: column;
box-sizing: border-box;
position: relative;
}
}
.mdc-data-table__table-container {
@include feature-targeting.targets($feat-structure) {
// Makes the table scroll smoothly in iOS.
-webkit-overflow-scrolling: touch;
overflow-x: auto;
width: 100%;
}
}
.mdc-data-table__table {
@include feature-targeting.targets($feat-structure) {
min-width: 100%; // Makes table full-width of its container (Firefox / IE11)
border: 0;
white-space: nowrap;
border-spacing: 0;
/**
* With table-layout:fixed, table and column widths are defined by the width
* of the first row of cells. Cells in subsequent rows do not affect column
* widths. This results in a predictable table layout and may also speed up
* rendering.
*/
table-layout: fixed;
}
}
}
// This API includes only the table styles without the sorting, pagination and
// loading styles. It is intended to be used by frameworks that only need the
// table styles.
@mixin table-styles($query: feature-targeting.all()) {
$feat-structure: feature-targeting.create-target($query, structure);
$feat-typography: feature-targeting.create-target($query, typography);
$feat-animation: feature-targeting.create-target($query, animation);
// postcss-bem-linter: define data-table
.mdc-data-table__content {
@include typography.typography(body2, $query: $query);
}
.mdc-data-table {
@include data-table-theme.fill-color(
data-table-theme.$fill-color,
$query: $query
);
@include data-table-theme.shape-radius(
data-table-theme.$shape-radius,
$query: $query
);
@include data-table-theme.stroke-size(
data-table-theme.$stroke-size,
$query: $query
);
@include data-table-theme.stroke-color(
data-table-theme.$stroke-color,
$query: $query
);
}
// Note that we don't output the color styles inside the `@at-root`,
// because it makes it difficult to consume by projects that wrap their
// themes in a class (e.g. `.my-theme { @include mdc-data-table-core-style() }`).
@include data-table-theme.row-fill-color(
data-table-theme.$row-fill-color,
$query: $query
);
@include data-table-theme.header-row-fill-color(
data-table-theme.$header-row-fill-color,
$query: $query
);
@include data-table-theme.selected-row-fill-color(
data-table-theme.$selected-row-fill-color,
$query: $query
);
@include data-table-theme.divider-color(
data-table-theme.$divider-color,
$query: $query
);
@include data-table-theme.divider-size(
data-table-theme.$divider-size,
$query: $query
);
@include data-table-theme.row-hover-fill-color(
data-table-theme.$row-hover-fill-color,
$query: $query
);
@include data-table-theme.header-row-text-color(
data-table-theme.$header-row-text-color,
$query: $query
);
@include data-table-theme.row-text-color(
data-table-theme.$row-text-color,
$query: $query
);
@include data-table-theme.density(
data-table-theme.$default-density-scale,
$query: $query
);
@include data-table-theme.cell-padding(
$leading-padding: data-table-theme.$cell-leading-padding,
$trailing-padding: data-table-theme.$cell-trailing-padding,
$query: $query
);
@include data-table-cell.core-styles($query: $query);
@include data-table-header-cell.core-styles($query: $query);
.mdc-data-table--sticky-header {
@include data-table-header-cell.header-cell-sticky($query: $query);
}
@include static-styles($query);
@include data-table-header-cell.static-styles($query);
@include data-table-cell.static-styles($query);
@include data-table-pagination.static-styles($query);
@include data-table-progress-indicator.static-styles($query);
}
@mixin theme-baseline($query: feature-targeting.all()) {
@include data-table-theme.checked-icon-color(
data-table-theme.$checked-icon-color,
$query: $query
);
}
```
|
```kotlin
package mega.privacy.android.domain.usecase.meeting
import mega.privacy.android.domain.entity.ChatRequest
import mega.privacy.android.domain.entity.call.ChatCall
import mega.privacy.android.domain.repository.CallRepository
import javax.inject.Inject
/**
* Mute peers use case by chat id
*/
class MutePeersUseCase @Inject constructor(
private val callRepository: CallRepository,
) {
/**
* Invoke
*
* @param chatId Chat id
* @param clientId Client id
* @return [ChatRequest]
*/
suspend operator fun invoke(
chatId: Long,
clientId: Long,
): ChatRequest = callRepository.mutePeers(
chatId,
clientId,
)
}
```
|
```javascript
'use strict'
const t = require('tap')
const test = t.test
const Fastify = require('..')
const Reply = require('../lib/reply')
test('should serialize reply when response stream is ended', t => {
t.plan(3)
const stream = require('node:stream')
const fastify = Fastify({
logger: {
serializers: {
res (reply) {
t.type(reply, Reply)
return reply
}
}
}
})
fastify.get('/error', function (req, reply) {
const reallyLongStream = new stream.Readable({
read: () => { }
})
reply.code(200).send(reallyLongStream)
reply.raw.end(Buffer.from('hello\n'))
})
fastify.inject({
url: '/error',
method: 'GET'
}, (err) => {
t.error(err)
fastify.close()
})
})
```
|
A Munchkin is a native of the fictional Munchkin Country in the Oz books by American author L. Frank Baum. They first appear in the classic children's novel The Wonderful Wizard of Oz (1900) where they welcome Dorothy Gale to their city in Oz. The Munchkins are described as being the same height as Dorothy and they wear only shades of blue clothing, as blue is the Munchkins' favorite color. Blue is also the predominating color that officially represents the eastern quadrant in the Land of Oz. The Munchkins have appeared in various media, including the 1939 film The Wizard of Oz, as well as in various other films and comedy acts.
Concept
While Baum may have written about it, there are no surviving notes for the composition of The Wonderful Wizard of Oz. The lack of this information has resulted in speculation of the term origins he used in the book, which include the word Munchkin. Baum researcher Brian Attebery has hypothesized that there might be a connection to the , the emblem of the Bavarian city of Munich (spelled in German). The symbol was originally a 13th-century statue of a monk, looking down from the town hall in Munich. Over the years, the image was reproduced many times, for instance as a figure on beer steins, and eventually evolved into a child wearing a pointed hood. Baum's family had German origins, suggesting that Baum could have seen one such reproduction in his childhood. It is also possible that Munchkin came from the German word , which means "mannikin" or "little figure". In 1900, Baum published a book about window displays in which he stressed the importance of mannequins in attracting customers. Another possibility is a connection to Baron Munchausen. This fictional character is based on a real baron who told outrageous tall tales based on his military career. Like the other Oz terms, the word Munchkin ends in a diminutive which in this case refers to the size of the natives.
Literature
Oz Books by Frank Baum
The Munchkins are first mentioned (quote shown) in an excerpt from chapter two of The Wonderful Wizard of Oz, titled "The Council with the Munchkins". Dorothy initially meets only three of them, along with the Good Witch of the North. The rest of the Munchkins then come out of hiding and are shown to be grateful towards Dorothy for killing their evil ruler the Wicked Witch of the East. Dorothy later eventually finds the yellow brick road and along the way attends a banquet held by a Munchkin man named Boq. Sometime in the book a background story is also given about a "Munchkin maiden" (named Nimmie Amee in later books), who was the former love interest of the Tin Woodman.
Baum also included the Munchkin characters in his later works as minor and major individual characters. The Munchkin Jinjur is the main antagonist in Baum's second book The Marvelous Land of Oz, where she seeks to overthrow the Scarecrow and take over the Emerald City. Jinjur makes a brief appearance in the next book, entitled Ozma of Oz, and is brought back in Baum's twelfth book, The Tin Woodman of Oz. By this time, she is shown to be a more prominent character who is helpful and friendly to Dorothy and her friends. Two other major Munchkin characters also appear in The Tin Woodman of Oz: Tommy Kwikstep and Nimmie Amee. The former appears in the story asking for a wish for running an errand for a witch; the latter is the name given to the mystery "Munchkin maiden" from the first book, who was the former lover of the Tin Woodman. More information is revealed that tells about the Tin Woodman's origin and their tragic love story. Lastly, the Munchkin Unc Nunkie appears in Baum's seventh book, The Patchwork Girl of Oz, where he is accidentally turned to stone. His Munchkin nephew Ojo successfully goes on a quest in search of an antidote while learning more about himself in the process.
Subsequent Oz books
L. Frank Baum died on 6 May 1919 after which other writers took up writing additional Oz stories. In some cases these books were written under Baum's name and included the Munchkins. There is at least one known Munchkin character that was created after Baum's death that appears as a major character. Zif is a Munchkin boy who appears in John R. Neill's first adaptation called The Royal Book of Oz. Zif is a student at the College of Art and Athletic Perfection; he is both respectful and resentful towards his teacher Wogglebog who considers Zif a "nobody or a nothing". The Munchkin characters that Baum had created in his lifetime also appear in these additional works.
Film and musicals
Early works (1902–1933)
While the 1939 film is the most well known adaptation (see section below), it was not the first outside work to show the Munchkins in film or musical format. One of the first musical adaptations of Baum's books took place in 1902; it was also dubbed The Wizard of Oz. The Munchkins make their appearance in act one, called "The Storm", in which they are shown dancing around their maypole, not noticing that Dorothy's house has fallen to earth killing the Wicked Witch of the East. The first film adaptation of Baum's works, titled The Wonderful Wizard of Oz, was released in 1910, followed by three sequels. However, it was not until 1914 that Munchkin characters first appeared in film works. Ojo the Lucky and Unc Nunkie both appear in a film titled The Patchwork Girl of Oz (based on the book of the same name). This film stars American actress Violet MacMillan as Ojo and was produced by Baum.
1939 film
The 1939 movie musical The Wizard of Oz was loosely based on Baum's novel. Notable differences of the Munchkins include their country name of Munchkinland and their clothes of many colors instead of an all-blue attire. In the musical, the Munchkins are mostly portrayed by adult actors with dwarfism, but a few average-sized children were also included as background extras.
In the musical, the Munchkins first appear when Dorothy and Toto arrive in the Land of Oz after her house lands on the Wicked Witch of the East. The Munchkins hide from all the commotion until Glinda the Good Witch arrives reassuring them that everything is okay. Dorothy tells them how she arrived in the Land of Oz (through a musical number) and the Munchkins celebrate. To make it official, the "Mayor of Munchkinland" and his assistant have to make sure that the Wicked Witch of the East is really dead before the celebration continues. The coroner confirms this to the mayor by saying that the witch is "not only merely dead" but is indeed "most sincerely dead" while showing a Certificate of Death. The Munchkins then celebrate further as Dorothy receives gifts from the "Lullaby League" and the "Lollipop Guild". Near the end of the song, the Wicked Witch of the West arrives, which causes the Munchkins to panic. After the Wicked Witch of the West leaves, Glinda tells Dorothy to follow the yellow brick road to the Emerald City as the Munchkins guide her out of Munchkinland.
The Munchkin actors have since not avoided controversy with alleged behavior behind the scenes. In a 1967 interview, Judy Garland referred to all of the Munchkins as "little drunks" who got intoxicated every night to the point where they had to be picked up in "butterfly nets". These accusations were denied as fabrications by fellow Munchkin Margaret Pellegrini, who said only "a couple of kids from Germany even drank beer". On 20 November 2007, the Munchkins were given a star on the Hollywood Walk of Fame. Seven of the surviving Munchkin actors from the film were present. As a result of the popularity of the 1939 film, the word "munchkin" has entered the English language as a reference to small children, persons with dwarfism, or anything of diminutive stature.
Actors and actresses
The following is a list of actors who portrayed the Munchkins in the 1939 film. Most of the dwarfs hired were acquired for MGM by Leo Singer, the proprietor of Singer's Midgets. A Daily Variety news story from 17 August 1938, stated 124 dwarves had been signed to play Munchkins; modern sources place the number either at 122 or 124. An additional dozen or so child actors were hired to make up for the shortage of dwarves. At least one Munchkin actor, Dale Paullin (stage name Paul Dale), did not make the final cut for the movie. Only two actors (Joseph Koziel and Frank Cucksey) used their actual voices for the dialogue exchanged with Dorothy where she is given the flowers. The rest of the voices, such as the "Munchkin chorus", were created by studio voices recorded at a slow speed, which were subsequently sped-up when played back.
In 1989, author Stephen Cox researched, found, and wrote about the surviving Munchkin actors fifty years after they made the film. He wrote about them in his book, The Munchkins Remember (1989, E.P. Dutton), which was later revised as The Munchkins of Oz (Cumberland House), and his book remained in print for nearly two decades. When he wrote the book, 33 of the actors with dwarfism who appeared in the film were still alive and were interviewed. Several of them outlived all the major cast, as well as the original Tin Man Buddy Ebsen. Jerry Maren, who played the green "Lollipop Guild" member, was the last living adult Munchkin actor. Maren was the only Munchkin alive when the film's longest living cast member, Shep Houghton, an extra, died in 2016.
Notes: Some of the information presented in the table below may never be complete as Social Security records remain sparse prior to the mid-twentieth century. Stage names and/or aliases are present in italics and quotation marks.
Child actresses
About a dozen children of average height were hired so they could be used for background fill. Sources differ on the number of children used for these roles ranging anywhere from 10 to 12. The names used for the women are maiden names with known aliases present in italics and quotation marks.
, at least three "child munchkins" are known to be living.
Later works (1940–1989)
The 1939 film was adapted into a musical that was released in 1942 that includes the Munchkin characters. The events that take place mirror the film including the song "Ding-Dong! The Witch Is Dead". Twenty-seven years later an animated film called The Wonderful Land of Oz was made featuring Jinjur as a main antagonist.
Other works
The Munchkins appeared in The Wiz and were played by children and teenagers. (1978)
The Munchkins appear at the end of Return to Oz. They are seen celebrating Dorothy's return after defeating the Nome King and are present at Princess Ozma's coronation. Tommy Kwikstep was also seen there. (1985)
In The Muppets' Wizard of Oz, the Munchkins were played by Rizzo the Rat (who portrayed the "Mayor of Munchkinland") and his fellow rats. (2005)
In Strawberry Shortcake, more specifically the 2003 cartoon, the fourth season contains an episode called Berry Brick Road that involves a story where Strawberry Shortcake gets whisked from her home. When she lands, she is greeted by three Munchkins that call themselves the Berrykins (after a feylike being from the 1980's cartoon), were tormented by the Wicked Witch of the West, thank Strawberry Shortcake for knocking out the Wicked Witch of the West (which she only did by landing nearby) and pressure her into stealing the latter's magic slippers (which she later uses to return to her home) as a reward. She later returns to Oz to teach the trio a lesson about caring for the environment. The Berrykins do not sing as much as their people had in the original version, and they and the other Munchkins look very small; however, the Berrykins specifically look just like Blueberry Muffin, Rainbow Sherbet, and Lemon Meringue. (2007)
The Munchkins appeared in Dorothy and the Witches of Oz. The Munchkins were first seen in the battle against the Wicked Witch of the West's forces in Oz. They were later brought to Earth by Glinda in order to combat the forces of the Wicked Witch of the West. (2012)
The Munchkins appear in Oz the Great and Powerful. They alongside the Quadlings and the Tinkers as inhabitants of Glinda's protectorate. Although the film is not otherwise a musical, the Munchkins sing and dance much as they do in the 1939 film. (2013)
The Munchkins appear in more than one skit on Mad TV where the 1939 film is parodied. The actors are played by people with dwarfism.
The Munchkins appear in the television series Once Upon a Time. Not much is known about them, but they seem to be similar to the Dwarves in the Enchanted forest as Zelena originally thought that Sneezy was a Munchkin. Also, Regina Mills once mistakenly referred to the Seven Dwarfs as Munchkins.
The Munchkins appear in Dorothy and the Wizard of Oz with the "Mayor of Munchkinland" voiced by Bill Fagerbakke and the background Munchkins voiced by Steven Blum and Jessica DiCicco. Ojo, Dr. Pipt, the Lollipop Guild, and the Lullaby League are also featured. Also, Smith & Tinker are depicted as Munchkins in this show.
Explanatory notes
References
External links
Female characters in literature
Fictional dwarves
Fictional human races
Fictional slaves
Literary characters introduced in 1900
Male characters in literature
Oz (franchise) characters
|
```python
from visidata import vd, Column, VisiData, ItemColumn, Path, AttrDict, date
from .gitsheet import GitSheet
@VisiData.api
def git_blame(vd, gitpath, args, **kwargs):
if args and not args[-1].startswith('-'):
fn = args[-1]
return GitBlame('blame', fn, source=Path(fn), **kwargs)
class FormatColumn(Column):
def calcValue(self, row):
return self.expr.format(**row)
# rowdef: (hdr, orig_linenum, linenum, line)
# hdr = { 'sha': .., 'orig_linenum': .., 'final_linenum': .. }
# source = GitSheet; .gitfile=GitFile
class GitBlame(GitSheet):
rowtype = 'lines'
guide = '''
# git blame
'''
columns = [
ItemColumn('sha', width=0),
ItemColumn('orig_linenum', width=0, type=int),
ItemColumn('final_linenum', width=0, type=int),
ItemColumn('author', width=15),
ItemColumn('author_time', width=13, type=date),
FormatColumn('committer', width=0, expr='{committer} {committer_mail}'),
ItemColumn('committer_time', width=0, type=date),
ItemColumn('linenum', width=6, type=int),
ItemColumn('line', width=72),
]
def iterload(self):
lines = list(self.git_lines('blame', '--porcelain', str(self.source)))
i = 0
headers = {} # [sha1] -> hdr
while i < len(lines):
# header
parts = lines[i].split()
sha, orig, final = parts[:3]
if len(parts) > 3:
nlines_this_group = parts[3]
if sha not in headers:
hdr = AttrDict(sha=sha, orig_linenum=orig, final_linenum=final)
headers[sha] = hdr
else:
hdr = headers[sha]
while lines[i][0] != '\t':
try:
k, v = lines[i].split(maxsplit=1)
k = k.replace('-', '_')
if '_time' in k:
v = int(v)
hdr[k] = v
except Exception:
vd.status(lines[i])
i += 1
yield AttrDict(
linenum=final,
line=lines[i][1:],
**hdr
)
i += 1
#GitBlame.addCommand(ENTER, 'diff-line', 'openDiff(str(gitfile), cursorRow[0]["sha"]+"^", cursorRow[0]["sha"])', 'open diff of the commit when this line changed')
#GitStatus.addCommand(None, 'git-blame', 'vd.push(GitBlame(cursorRow, source=sheet))', 'push blame for this file')
```
|
```javascript
module.exports = function(_report) {
return 'ok';
};
```
|
Jamalpur is a village in Jaunpur, Uttar Pradesh, India. It has a population of roughly 5,200 people.
Jamalpur's market is located in Machhlishahr, the Tej Bahadur Seva hospital is located two kilometers away from Jamalpur.
Its community is diverse, containing numerous and disparate demographics and communities, such as Yadav, Singh, Pandit, Pasi, Muslim, Harijan, Mushar, and Kayasth peoples.
Jamalpur is situated 30 km east of the township of Machhalishahar.
References
Villages in Jaunpur district
|
```graphql
type CmsTemplateList {
id:ID
createdAt:Date
updatedAt:Date
template_uuid:String
title:String
type:String
name:String
html:String
isd:Boolean
isu:Boolean
uuid:String
cms_template: CmsTemplate
}
input WhereCmsTemplateList_id {
op_eq: ID
op_ne: ID
op_or: [ID]
op_gt: ID
op_gte: ID
op_lt: ID
op_lte: ID
op_between: [ID]
op_notBetween: [ID]
op_in: [ID]
op_notIn: [ID]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_createdAt {
op_eq: Date
op_ne: Date
op_or: [Date]
op_gt: Date
op_gte: Date
op_lt: Date
op_lte: Date
op_between: [Date]
op_notBetween: [Date]
op_in: [Date]
op_notIn: [Date]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_updatedAt {
op_eq: Date
op_ne: Date
op_or: [Date]
op_gt: Date
op_gte: Date
op_lt: Date
op_lte: Date
op_between: [Date]
op_notBetween: [Date]
op_in: [Date]
op_notIn: [Date]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_template_uuid {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_title {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_type {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_name {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_html {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_isd {
op_eq: Boolean
op_ne: Boolean
op_or: [Boolean]
op_gt: Boolean
op_gte: Boolean
op_lt: Boolean
op_lte: Boolean
op_between: [Boolean]
op_notBetween: [Boolean]
op_in: [Boolean]
op_notIn: [Boolean]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_isu {
op_eq: Boolean
op_ne: Boolean
op_or: [Boolean]
op_gt: Boolean
op_gte: Boolean
op_lt: Boolean
op_lte: Boolean
op_between: [Boolean]
op_notBetween: [Boolean]
op_in: [Boolean]
op_notIn: [Boolean]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereCmsTemplateList_uuid {
op_eq: String
op_ne: String
op_or: [String]
op_gt: String
op_gte: String
op_lt: String
op_lte: String
op_between: [String]
op_notBetween: [String]
op_in: [String]
op_notIn: [String]
op_like: String
op_notLike: String
op_startsWith: String
op_endsWith: String
op_substring: String
}
input WhereFieldCmsTemplateList{
id:WhereCmsTemplateList_id
createdAt:WhereCmsTemplateList_createdAt
updatedAt:WhereCmsTemplateList_updatedAt
template_uuid:WhereCmsTemplateList_template_uuid
title:WhereCmsTemplateList_title
type:WhereCmsTemplateList_type
name:WhereCmsTemplateList_name
html:WhereCmsTemplateList_html
isd:WhereCmsTemplateList_isd
isu:WhereCmsTemplateList_isu
uuid:WhereCmsTemplateList_uuid
}
input WhereCmsTemplateList {
id:WhereCmsTemplateList_id
createdAt:WhereCmsTemplateList_createdAt
updatedAt:WhereCmsTemplateList_updatedAt
template_uuid:WhereCmsTemplateList_template_uuid
title:WhereCmsTemplateList_title
type:WhereCmsTemplateList_type
name:WhereCmsTemplateList_name
html:WhereCmsTemplateList_html
isd:WhereCmsTemplateList_isd
isu:WhereCmsTemplateList_isu
uuid:WhereCmsTemplateList_uuid
op_and: [WhereFieldCmsTemplateList]
op_or: [WhereFieldCmsTemplateList]
op_not: [WhereFieldCmsTemplateList]
}
input AddCmsTemplateList {
template_uuid: String!
title: String!
type: String!
name: String!
html: String
isd: Boolean
isu: Boolean
uuid: String!
}
input EditCmsTemplateList {
template_uuid: String
title: String
type: String
name: String
html: String
isd: Boolean
isu: Boolean
uuid: String
}
type CountCmsTemplateList {
count: Int
rows: [CmsTemplateList]
}
type ResDelCmsTemplateList {
count: Int
}
type ResEditCmsTemplateList {
ids: [Int]
}
```
|
```objective-c
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKIA_EXT_SK_DISCARDABLE_MEMORY_CHROME_H_
#define SKIA_EXT_SK_DISCARDABLE_MEMORY_CHROME_H_
#include "base/memory/discardable_memory.h"
#include "base/memory/scoped_ptr.h"
#include "third_party/skia/src/core/SkDiscardableMemory.h"
// This class implements the SkDiscardableMemory interface using
// base::DiscardableMemory.
class SK_API SkDiscardableMemoryChrome : public SkDiscardableMemory {
public:
virtual ~SkDiscardableMemoryChrome();
// SkDiscardableMemory:
virtual bool lock() OVERRIDE;
virtual void* data() OVERRIDE;
virtual void unlock() OVERRIDE;
private:
friend class SkDiscardableMemory;
SkDiscardableMemoryChrome(scoped_ptr<base::DiscardableMemory> memory);
scoped_ptr<base::DiscardableMemory> discardable_;
};
#endif // SKIA_EXT_SK_DISCARDABLE_MEMORY_CHROME_H_
```
|
R16 Korea is an annual international b-boy tournament and urban arts cultural festival sponsored primarily by the Korea Tourism Organization and the South Korean Ministry of Culture, Sports and Tourism. The main event features sixteen B-Boy crews representing fifteen countries competing in a two-day tournament for world championship titles in two categories: best crew performance and best crew battle.
The festival features graffiti artists, street wear designers, musical performers and dancers who specialize in hip-hop, popping, locking and other urban arts subcultures from South Korea and other countries.
History
Created and Organized by Korea Tourism Organization produced by Cartel Creative Inc., R16 is a celebration of the creative energy behind urban youth culture. Based on a theme of "Respect" (which is what the "R" in R16 refers to), the tournament and festivals were first held in 2007 in the city of Seoul.
The 2008 event took place in the city of Suwon The 2009 event host is the Metropolitan City of Incheon and the 2010 event was brought back to Seoul City. The event will continue annually, as the Hip Hop culture has recognized South Korean b-boys as a special part of its history. Korean-American b-boy, singer, and rapper, Jay Park, has been the official ambassador of R16 from 2011 until 2013. Since 2014, R-16 Korea partnered up with the World BBoy Series and helped create Undisputed, an event to crown the solo world b-boy champion.
In 2016, the funding from the Korean government was cancelled and the competition was not held in 2017 and 2018. In 2019 edition, Korean-sport brand FILA bought the naming rights for the competition, and the competition has therefore been named the 2019 FILA Respect Culture for sponsorship reasons.
Winners
References
External links
Official site
Breakdance
Street dance competitions
|
The Face Between is a 1922 American silent melodrama film. Directed by Bayard Veiller, the film stars Bert Lytell, Andrée Tourneur, and Sylvia Breamer. It was released on April 17, 1922.
Plot
Tom Carteret Jr. bears a striking resemblance to his father, Tom Sr. So much so that when his father is caught having an affair he decides to take the blame on himself, to spare his father. This despite the fact that just the night prior he had become engaged to his sweetheart, Sybil Eliot. Hartwell, the aggrieved husband, demands that Tom leave and go leave in a remote mountain cabin, staying there until Hartwell dies. Tom agrees, to save his family's honor. His fiancé is filled with horror at this turn of events and will not speak to him.
Once in the cabin, he meets Marianna Canfield, the daughter of the woman who does his laundry. Joe Borral is a local who is interested in Marianna. All the locals resent Tom's presence, and make life difficult for him. When Joe decides to physically attack Tom to convince him to leave, Marianna learns of the plan and rushes to the cabin to warn Tom. However, when she is discovered with Tom in his cabin, the local men are ready to tar and feather Tom. To save his life, she tells her father that she and Tom were going to elope. Just as they are about to leave for the minister, a telegram arrives, in which Tom learns that Hartwell has died, and that his family's name has been cleared. He also learns that Sybil has forgiven him.
But to save Marianna, he leaves with her to the minister's house. On the way there they are intercepted by Joe, who shoots them both. Before he slips into unconsciousness, Marianna, who has received a fatal wound, says that she will never leave him. He is discovered in a state of delirium several days later, and his taken back to his home, where he is nursed by Sybil. But every time he awakes, he sees the specter of Marianna superimposed over Sybil's visage. One night he sees Marianna's specter and attempts to follow her, but falls over a balcony to the floor a story below. When he wakes up, he learns that the visions and his fall were all part of the delirium, and that this is the first time he has awoken. He and Sybil are reconciled.
Cast
Bert Lytell as Tommy Carteret, Sr./Tommy Carteret, Jr.
Andrée Tourneur as Sybil Eliot
Sylvia Breamer as Marianna Canfield
Hardee Kirkland as Mr. Hartwell
Gerard Alexander as Mrs. Eliot
Frank Brownlee as Joe Borral
Burwell Hamrick as Jared
Joel Day as Mr. Canfield
De Witt Jennings as The doctor
Reception
The Stockton Daily Evening Record gave the film a good review, "...it can be said that this unusual and highly exciting story provides all the ingredients of a perfect picture." They commended the performance of Lytell, and said his supporting cast was of "unusual excellence". The Arizona Republican also gave the movie a good review, calling it "an unusual story in dramatic value, and offers Lytell a role which, while taxing his skill to the utmost, proves he is the most versatile and accomplished of the male stars of the screen." The Bisbee Daily Review gave the film a very positive review stating it "is a picture which wins the support of those who believe in the movies as an institution with limitless possibilities for intelligent entertainment. In this picture, in which Bert Lytell, the Metro star, heads the unusually good cast, there is unfolded a story which has all the elements of universal popularity and which grows in interest and suspense with a logical development." On the other hand, the Los Angeles Times gave the film a poor review, "The only comment to make on such a thing is to express wonder that Bert Lytell should have starred in it, or that Metro should have produced it. 'The Face Between' cannot help the reputation of either very much." The Exhibitor's Herald was ambivalent about the movie. On the one hand they said that "Lytell has had far more interesting vehicles than this...", but on the other hand they opined, "It is an entirely different story from what we are accustomed to seeing Lytell in and for those who like 'domestic tangles' it is one of the best." They gave particular applause to Martinelli's cinematography.
References
External links
American silent feature films
American black-and-white films
1922 drama films
1922 films
Silent American drama films
Melodrama films
Metro Pictures films
1920s English-language films
1920s American films
|
Kuala Lumpur Hospital (, abbr: HKL) is the largest Malaysian government-owned public general hospital in Kuala Lumpur, the capital city of Malaysia. Founded in 1870, HKL is a not-for-profit institution and serves as the flagship hospital of the Malaysian public healthcare system. This hospital serves as a tertiary and referral hospital. It is located on 150 acres of prime land in the city with 84 wards and 2,300 beds, making it one of the largest hospitals in the world. More than 90 per cent of the beds in HKL are allocated for subsidized patients, providing access to an internationally established standard of affordable healthcare.
The Kuala Lumpur Hospital or HKL has 54 different departments and units. These include 29 clinical departments and 15 clinical support services. HKL has approximately 11,000 staff with almost 2,300 professionals in various fields and disciplines. Out of the total number of staff, there are 300 medical consultants and specialists, 1,300 medical officers, 72 matrons, 253 sisters (ward managers) and 3,500 registered nurses and 258 community nurses.
History and future developments
1870: HKL was developed as a district hospital with three wards.
1920: Upgraded to 25 wards with 1st class, 2nd class and 3rd class wards classifications.
1962: Maternity Hospital, North Ward Block, Radiotherapy Department and Hostels for staff were built.
1972: South Ward Block, Neurology Institute, Surgical Block, Radiology Block, National Blood Transfusion Centre and more hostels were added.
1973: Specialist clinics, Outpatient Department and Doctor's hostel were constructed.
1974: Trainee Nurses hostel and Clubhouse added.
1975: Orthopaedic Institute, Urology Institute, Artificial Limb Centre and Radiology Block were established.
1992: Paediatric Institute was constructed.
1997: Upgrading of the Institute of Radiotherapy, Oncology and Nuclear Medicine.
2013: Specialist Complex & Ambulatory Care Centre (SCACC) was opened, consisting of 16 clinical departments, support services such as pharmacy, pathology, radiology, Central Sterile Supply Unit (CSSU) and allied health services. SCACC providing 30 beds for daycare patients, 184 consultations rooms, 7 seminar rooms and the Clinical Research Centre (CRC).
2017: A new 12-storey Women and Children’s Hospital (WCH) with 600 beds built at a cost of RM 850 million is scheduled to open within HKL's compound, offering services such as labour and delivery, nursery, therapy and women specialist clinics, child development center, pediatric specialist clinics, women health center, neonatal intensive care and obstetric wards. Future plans include a "school within a hospital" facility for children who are on long-term treatment and hospital-bound.
Statistics
HKL handles over one million outpatients annually and 131,639 in-patients in 2015. In 2015, the total management expenditure for HKL reached RM 1 billion whilst development expenditure exceeded RM 17 million. On average, HKL handles over 3,300 outpatient cases daily. The average hospital admission on a daily basis was over 360 cases, with over 44,500 surgeries and 14 million lab investigations were conducted annually.
Medical achievements
1964: A Kolff Dialysis machine was placed in HKL for the treatment of acute kidney injury. Also installed were the Thyroid Uptake Machine and a Rectilinear Scanner at the Nuclear Medicine unit.
1970: The first plastic surgical procedure and the first regular plastic surgery clinic were conducted at HKL.
1975: The first renal transplantation (living related) in Malaysia was performed at HKL, utilising an immunosuppressive protocol combining azathioprine and corticosteroids.
1976: The first cadaver renal transplantation in Malaysia was performed at HKL.
1993: A bone bank was established in HKL, supplying deep frozen bone allografts to across the country.
1994: The first bone marrow transplant service started in HKL.
2012: HKL oversaw the first successful kidney transplant between a husband and wife with different blood types. Also, a pair of conjoined twins were successfully separated at HKL in a 24-hour surgery involving a 60-strong medical team including 19 surgeons and anaesthetists, making them the 14th conjoined pair to be separated at HKL.
Facilities and transportation
Among the facilities available at the Kuala Lumpur Hospital include banking & finance, cafeteria, convenience stores, gymnasium, tennis court, police station and a post office. The library and resource center for HKL patients and visitors is located at the main block. Mobile library services are available in selected wards. HKL also provides subsidized intermediate care and short-term accommodation for patients and caregivers who are not able to afford high living costs in the city.
The hospital is accessible within walking distance east of the Titiwangsa Station. However, when the MRT Putrajaya line phase 2 opens in 2023, Hospital KL station will better serve the hospital and the surrounding vicinity. Bus stop and taxi stands are available. There are 1,950 car park bays at HKL equipped with wireless parking lot detection and guidance system. By the end of 2017, there will be additional 1,270 car park bays with the opening of the Women and Children’s Hospital (WCH) in HKL.
Awards
Global Brands Magazine Awards 2016 - Best Hospital Brand in Malaysia
Gallery
See also
Healthcare in Malaysia
References
External links
Visiting hours at HKL
Clinical Research Centre, Hospital Kuala Lumpur (CRC HKL)
HKL corporate video
Ministry of Health, Malaysia
1870 establishments in the Straits Settlements
Hospitals established in 1870
Hospitals in Kuala Lumpur
|
Mark Matthew Herd (born May 29, 1963) is an American community organizer and activist. A member of the Libertarian Party, Herd has run for office three times, most notably as the party's 2016 U.S. Senate nominee.
Early life
A native of Los Angeles, Herd is a graduate of University High School and the University of Arizona, where he got his bachelor's degree in economics.
Politics
In 2010, Herd started the Westwood Neighborhood Council, and served 4 years as its councilman.
In 2014, Herd was the Libertarian candidate for California's 33rd congressional district in 2014.
Herd was also the Libertarian candidate for Senator of California in 2016.
In 2017, Herd ran against Paul Koretz and Jesse Max Creed for Los Angeles City Council to represent District 5 .
Herd is the founder and Co-Chairman of the Venice Beach Libertarian Club and Executive Producer of the Libertarian Broadcast Network.
References
1963 births
California Libertarians
Living people
Activists from Los Angeles
University High School (Los Angeles) alumni
University of Arizona alumni
|
```text
Infinite HP
0
dron_3
0 0019A33C 807E0554
0 0019A340 907E0550
0 0019A344 4800000C
#
Max BP
0
dron_3
0 00416808 3D203B9A
0 0041680C 6129C9FF
#
AoB Infinite HP
0
dron_3
B 00010000 04000000
B 807E05502C03000A4181000C 807E0554907E05504800000C
#
AoB Max BP
0
dron_3
B 00010000 04000000
B 2C09000041800008 3D203B9A6129C9FF
#
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// MODULES //
var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
// MAIN //
/**
* Returns the minimum and maximum values and assigns results to a provided output array.
*
* @private
* @param {number} x - first number
* @param {number} y - second number
* @param {Collection} out - output array
* @param {integer} stride - output array stride
* @param {NonNegativeInteger} offset - output array index offset
* @returns {Collection} minimum and maximum values
*
* @example
* var out = [ 0.0, 0.0 ];
* var v = minmax( 3.14, 4.2, out, 1, 0 );
* // returns [ 3.14, 4.2 ]
*
* var bool = ( v === out );
* // returns true
*
* @example
* var out = [ 0.0, 0.0 ];
* var v = minmax( 3.14, NaN, out, 1, 0 );
* // returns [ NaN, NaN ]
*
* @example
* var out = [ 0.0, 0.0 ];
* var v = minmax( +0.0, -0.0, out, 1, 0 );
* // returns [ -0.0, 0.0 ]
*/
function minmax( x, y, out, stride, offset ) {
if ( isnan( x ) || isnan( y ) ) {
out[ offset ] = NaN;
out[ offset + stride ] = NaN;
return out;
}
if ( x === y && x === 0.0 ) {
if ( isNegativeZero( x ) ) {
out[ offset ] = x;
out[ offset + stride ] = y;
return out;
}
out[ offset ] = y;
out[ offset + stride ] = x;
return out;
}
if ( x < y ) {
out[ offset ] = x;
out[ offset + stride ] = y;
return out;
}
out[ offset ] = y;
out[ offset + stride ] = x;
return out;
}
// EXPORTS //
module.exports = minmax;
```
|
```objective-c
#ifndef SRC_INSPECTOR_SOCKET_H_
#define SRC_INSPECTOR_SOCKET_H_
#include "http_parser.h"
#include "util.h"
#include "util-inl.h"
#include "uv.h"
#include <string>
#include <vector>
namespace node {
namespace inspector {
enum inspector_handshake_event {
kInspectorHandshakeUpgrading,
kInspectorHandshakeUpgraded,
kInspectorHandshakeHttpGet,
kInspectorHandshakeFailed
};
class InspectorSocket;
typedef void (*inspector_cb)(InspectorSocket*, int);
// Notifies as handshake is progressing. Returning false as a response to
// kInspectorHandshakeUpgrading or kInspectorHandshakeHttpGet event will abort
// the connection. inspector_write can be used from the callback.
typedef bool (*handshake_cb)(InspectorSocket*,
enum inspector_handshake_event state,
const std::string& path);
struct http_parsing_state_s {
http_parser parser;
http_parser_settings parser_settings;
handshake_cb callback;
bool done;
bool parsing_value;
std::string ws_key;
std::string path;
std::string current_header;
};
struct ws_state_s {
uv_alloc_cb alloc_cb;
uv_read_cb read_cb;
inspector_cb close_cb;
bool close_sent;
bool received_close;
};
class InspectorSocket {
public:
InspectorSocket() : data(nullptr), http_parsing_state(nullptr),
ws_state(nullptr), buffer(0), ws_mode(false),
shutting_down(false), connection_eof(false) { }
void reinit();
void* data;
struct http_parsing_state_s* http_parsing_state;
struct ws_state_s* ws_state;
std::vector<char> buffer;
uv_tcp_t client;
bool ws_mode;
bool shutting_down;
bool connection_eof;
private:
DISALLOW_COPY_AND_ASSIGN(InspectorSocket);
};
int inspector_accept(uv_stream_t* server, InspectorSocket* inspector,
handshake_cb callback);
void inspector_close(InspectorSocket* inspector,
inspector_cb callback);
// Callbacks will receive stream handles. Use inspector_from_stream to get
// InspectorSocket* from the stream handle.
int inspector_read_start(InspectorSocket* inspector, uv_alloc_cb,
uv_read_cb);
void inspector_read_stop(InspectorSocket* inspector);
void inspector_write(InspectorSocket* inspector,
const char* data, size_t len);
bool inspector_is_active(const InspectorSocket* inspector);
inline InspectorSocket* inspector_from_stream(uv_tcp_t* stream) {
return node::ContainerOf(&InspectorSocket::client, stream);
}
inline InspectorSocket* inspector_from_stream(uv_stream_t* stream) {
return inspector_from_stream(reinterpret_cast<uv_tcp_t*>(stream));
}
inline InspectorSocket* inspector_from_stream(uv_handle_t* stream) {
return inspector_from_stream(reinterpret_cast<uv_tcp_t*>(stream));
}
} // namespace inspector
} // namespace node
#endif // SRC_INSPECTOR_SOCKET_H_
```
|
```html
{% macro t(key) %}{{ {
"language": "nl",
"clipboard.copy": "Kopiren naar klembord",
"clipboard.copied": "Gekopieerd naar klembord",
"edit.link.title": "Wijzig deze pagina",
"footer.previous": "Vorige",
"footer.next": "Volgende",
"meta.comments": "Reacties",
"meta.source": "Bron",
"search.language": "du",
"search.placeholder": "Zoeken",
"search.result.placeholder": "Typ om te beginnen met zoeken",
"search.result.none": "Geen overeenkomende documenten",
"search.result.one": "1 overeenkomende document",
"search.result.other": "# overeenkomende documenten",
"skip.link.title": "Ga naar inhoud",
"source.link.title": "Ga naar repository",
"toc.title": "Inhoudstafel"
}[key] }}{% endmacro %}
```
|
```c++
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#include "custom_raw_op_kernel_op.h" // NOLINT
#include "paddle/fluid/framework/custom_raw_op_kernel_func.h"
#include "paddle/fluid/platform/enforce.h"
void ReluCPUForward(const phi::DenseTensor &x, phi::DenseTensor *y) {
custom_raw_op::ReluForward(x, y);
}
#if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)
void ReluGPUForward(const phi::DenseTensor &x, phi::DenseTensor *y);
#else
void ReluGPUForward(const phi::DenseTensor &x, phi::DenseTensor *y) {
PADDLE_THROW(common::errors::Unimplemented(
"ReluGPUForward is not supported when not compiled with GPU."));
}
#endif
__PD_DEFINE_RAW_OP_KERNEL_FUNC(custom_raw_relu, ctx) {
namespace f = paddle::framework;
const auto *x = ctx.Input<phi::DenseTensor>("X");
auto *y = ctx.Output<phi::DenseTensor>("Y");
PADDLE_ENFORCE_NOT_NULL(
x, common::errors::InvalidArgument("Input(X) should not be nullptr."));
PADDLE_ENFORCE_NOT_NULL(
y, common::errors::InvalidArgument("Input(X) should not be nullptr."));
if (phi::is_gpu_place(x->place())) {
ReluGPUForward(*x, y);
} else {
ReluCPUForward(*x, y);
}
}
PD_BUILD_OP(custom_raw_relu).Inputs({"X"}).Outputs({"Y"});
```
|
```c
/*
* Monkey's Audio lossless audio decoder
* based upon libdemac from Dave Chapman.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*
* You should have received a copy of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avcodec.h"
#include "lossless_audiodsp.h"
static int32_t scalarproduct_and_madd_int16_c(int16_t *v1, const int16_t *v2,
const int16_t *v3,
int order, int mul)
{
int res = 0;
while (order--) {
res += *v1 * *v2++;
*v1++ += mul * *v3++;
}
return res;
}
av_cold void ff_llauddsp_init(LLAudDSPContext *c)
{
c->scalarproduct_and_madd_int16 = scalarproduct_and_madd_int16_c;
if (ARCH_ARM)
ff_llauddsp_init_arm(c);
if (ARCH_PPC)
ff_llauddsp_init_ppc(c);
if (ARCH_X86)
ff_llauddsp_init_x86(c);
}
```
|
Rosina may refer to:
Rosina, Slovakia, a municipality in Slovakia
Rosina, Bulgaria, a village in Targovishte Municipality
Rosina, West Virginia
Rosina (given name), feminine given name
Rosina (surname)
Rosina (ship), list of ships with this name
Rosina (opera), a light opera by the English composer William Shield
985 Rosina, minor planet
See also
Rosine (disambiguation)
|
```java
/*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.hotui;
import com.google.common.collect.ImmutableList;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.util.io.FileUtil;
import com.jetbrains.lang.dart.analyzer.DartAnalysisServerService;
import io.flutter.dart.FlutterDartAnalysisServer;
import io.flutter.dart.FlutterOutlineListener;
import io.flutter.inspector.InspectorService;
import io.flutter.preview.OutlineOffsetConverter;
import io.flutter.utils.EventStream;
import org.dartlang.analysis.server.protocol.FlutterOutline;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* Class that uses the FlutterOutline to maintain the source location for a
* Widget even when code edits that would otherwise confuse location tracking
* occur.
*/
public class StableWidgetTracker implements Disposable {
private final String currentFilePath;
private final InspectorService.Location initialLocation;
private final FlutterDartAnalysisServer flutterAnalysisServer;
private final OutlineOffsetConverter converter;
// Path to the current outline
private ArrayList<FlutterOutline> lastPath;
FlutterOutline root;
private final FlutterOutlineListener outlineListener = new FlutterOutlineListener() {
@Override
public void outlineUpdated(@NotNull String filePath, @NotNull FlutterOutline outline, @Nullable String instrumentedCode) {
if (Objects.equals(currentFilePath, filePath)) {
ApplicationManager.getApplication().invokeLater(() -> outlineChanged(outline));
}
}
};
private void outlineChanged(FlutterOutline outline) {
this.root = outline;
FlutterOutline match;
if (lastPath == null) {
// First outline.
lastPath = new ArrayList<>();
findOutlineAtOffset(root, initialLocation.getOffset(), lastPath);
}
else {
lastPath = findSimilarPath(root, lastPath);
}
currentOutlines.setValue(lastPath.isEmpty() ? ImmutableList.of() : ImmutableList.of(lastPath.get(lastPath.size() - 1)));
}
private static int findChildIndex(FlutterOutline node, FlutterOutline child) {
final List<FlutterOutline> children = node.getChildren();
for (int i = 0; i < children.size(); i++) {
if (children.get(i) == child) return i;
}
return -1;
}
private ArrayList<FlutterOutline> findSimilarPath(FlutterOutline root, ArrayList<FlutterOutline> lastPath) {
final ArrayList<FlutterOutline> path = new ArrayList<>();
FlutterOutline node = root;
path.add(node);
int i = 1;
while (i < lastPath.size() && node != null && !node.getChildren().isEmpty()) {
final FlutterOutline oldChild = lastPath.get(i);
final int expectedIndex = findChildIndex(lastPath.get(i - 1), oldChild);
assert (expectedIndex != -1);
final List<FlutterOutline> children = node.getChildren();
final int index = Math.min(Math.max(0, expectedIndex), children.size());
node = children.get(index);
if (!Objects.equals(node.getClassName(), oldChild.getClassName()) && node.getChildren().size() == 1) {
final FlutterOutline child = node.getChildren().get(0);
if (Objects.equals(child.getClassName(), oldChild.getClassName())) {
// We have detected that the previous widget was wrapped by a new widget.
// Add the wrapping widget to the path and otherwise proceed normally.
path.add(node);
node = child;
}
}
// TODO(jacobr): consider doing some additional validation that the children have the same class names, etc.
// We could use that to be reslient to small changes such as adding a new parent widget, etc.
path.add(node);
i++;
}
return path;
}
private boolean findOutlineAtOffset(FlutterOutline outline, int offset, ArrayList<FlutterOutline> path) {
if (outline == null) {
return false;
}
path.add(outline);
if (converter.getConvertedOutlineOffset(outline) <= offset && offset <= converter.getConvertedOutlineEnd(outline)) {
final List<FlutterOutline> children = outline.getChildren();
if (children != null) {
for (FlutterOutline child : children) {
final boolean foundChild = findOutlineAtOffset(child, offset, path);
if (foundChild) {
return true;
}
}
}
return true;
}
path.remove(path.size() - 1);
return false;
}
private final EventStream<List<FlutterOutline>> currentOutlines;
public EventStream<List<FlutterOutline>> getCurrentOutlines() {
return currentOutlines;
}
public StableWidgetTracker(
InspectorService.Location initialLocation,
FlutterDartAnalysisServer flutterAnalysisServer,
Project project,
Disposable parentDisposable
) {
Disposer.register(parentDisposable, this);
converter = new OutlineOffsetConverter(project, initialLocation.getFile());
currentOutlines = new EventStream<>(ImmutableList.of());
this.flutterAnalysisServer = flutterAnalysisServer;
this.initialLocation = initialLocation;
final DartAnalysisServerService analysisServerService = DartAnalysisServerService.getInstance(project);
currentFilePath = FileUtil.toSystemDependentName(initialLocation.getFile().getPath());
flutterAnalysisServer.addOutlineListener(currentFilePath, outlineListener);
}
@Override
public void dispose() {
flutterAnalysisServer.removeOutlineListener(currentFilePath, outlineListener);
}
public boolean isValid() {
return !getCurrentOutlines().getValue().isEmpty();
}
public int getOffset() {
final List<FlutterOutline> outlines = getCurrentOutlines().getValue();
if (outlines.isEmpty()) return 0;
final FlutterOutline outline = outlines.get(0);
return converter.getConvertedOutlineOffset(outline);
}
}
```
|
```c
/*
* RTP packetization for MPEG video
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*
* You should have received a copy of the GNU Lesser General Public
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavcodec/internal.h"
#include "avformat.h"
#include "rtpenc.h"
/* NOTE: a single frame must be passed with sequence header if
needed. XXX: use slices. */
void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
{
RTPMuxContext *s = s1->priv_data;
int len, h, max_packet_size;
uint8_t *q;
const uint8_t *end = buf1 + size;
int begin_of_slice, end_of_slice, frame_type, temporal_reference;
max_packet_size = s->max_payload_size;
begin_of_slice = 1;
end_of_slice = 0;
frame_type = 0;
temporal_reference = 0;
while (size > 0) {
int begin_of_sequence;
begin_of_sequence = 0;
len = max_packet_size - 4;
if (len >= size) {
len = size;
end_of_slice = 1;
} else {
const uint8_t *r, *r1;
int start_code;
r1 = buf1;
while (1) {
start_code = -1;
r = avpriv_find_start_code(r1, end, &start_code);
if((start_code & 0xFFFFFF00) == 0x100) {
/* New start code found */
if (start_code == 0x100) {
frame_type = (r[1] & 0x38) >> 3;
temporal_reference = (int)r[0] << 2 | r[1] >> 6;
}
if (start_code == 0x1B8) {
begin_of_sequence = 1;
}
if (r - buf1 - 4 <= len) {
/* The current slice fits in the packet */
if (begin_of_slice == 0) {
/* no slice at the beginning of the packet... */
end_of_slice = 1;
len = r - buf1 - 4;
break;
}
r1 = r;
} else {
if ((r1 - buf1 > 4) && (r - r1 < max_packet_size)) {
len = r1 - buf1 - 4;
end_of_slice = 1;
}
break;
}
} else {
break;
}
}
}
h = 0;
h |= temporal_reference << 16;
h |= begin_of_sequence << 13;
h |= begin_of_slice << 12;
h |= end_of_slice << 11;
h |= frame_type << 8;
q = s->buf;
*q++ = h >> 24;
*q++ = h >> 16;
*q++ = h >> 8;
*q++ = h;
memcpy(q, buf1, len);
q += len;
/* 90kHz time stamp */
s->timestamp = s->cur_timestamp;
ff_rtp_send_data(s1, s->buf, q - s->buf, (len == size));
buf1 += len;
size -= len;
begin_of_slice = end_of_slice;
end_of_slice = 0;
}
}
```
|
Marija Edita Šolić (26 August 1946 - 31 October 2021), was a Croatian botanist, museum curator and educator. She studied Biokovo's flora and floristic endemism, as well as chorology, systematic-taxonomical issues and conservation possibilities of the Biokovo area.
Early life and education
She was born in Brštanovo near Klis, where she completed elementary school, and in 1963 joined the order of the School Sisters of St. Francis, taking her vows and religious name Edita in 1965. Following year Šolić went to Franciscan convent in Makarska, where she was employed at the Malacology Museum, becoming Jure Radić's associate. Together they worked on the establishment of the Mountain and the Sea Institute (Croatian: Institut "Planina i more") and forming malacological collection, collections of fossil mollusks and other invertebrates, as well as live and herbaria plant collections. On 26 September 1972 at the Department of Biology, Faculty of Science, University of Sarajevo she passed an entrance exam, enrolling Environment Conservation study. Šolić graduated biology on 24 August 1980 with thesis “Significant Biokovo plants with special emphasis on their protection” under the supervision of Professor Radomir Lakušić. On 30 May 1986 she successfully defended her master's thesis in ecology “Chorologic-ecological and phenologic-morphological differentiation of Biokovo’s endemic Centaureas from subgenus Acrolophus (Cass.) Dobr.-Kov.”. Šolić acquired her doctoral degree at the Faculty of Science, University of Zagreb on July 14, 1993. with dissertation “Floristic-ecological features of the coastal slopes of Mt Biokovo".
Professional work
During her postgraduate education by working in the Malacology Museum and the Mountain and the Sea Institute she gain knowledge in malacology and museology, advancing to the position of he museum curator. Along with institutional work, she did extensive field researches at Biokovo mountain range. She became the curator of the Herbarium, established in 1963, which was recognized and registered as the Herbarium of the Biokovo Area. She attained the rank of scientific assistant on 17 December 1992 and upon the decision of the Ministry of Science of the Republic of Croatia was entered in the Register of Researchers on 11 February 1993. Her scientific interest included autecology, synecology, as well as malacofauna of the Adriatic Sea. She was member of the editorial board (1983-2001) and journal editor (1997-2001) of Acta Biocovica, as well as an associate at the Institute of Oceanography and Fishery in Split (2002-2010). Sister Šolić was active in popularisation of biosciences, giving lectures to various audiences (from kindergarten to students) and advocating for nature conservation of Mt. Biokovo and the surrounding of Makarska.
Personal life
Her parents Petar and Luca had nine children, Marija being third oldest. During Second World War family moves to Slavonia, where due to hunger their two children died. By returning to Brštanovo, Marija was born, as the oldest of the living children.
Šolić entered monastery of School Sisters of St. Francis in Split on 1 May 1963, starting her novitiate on 8 September 1965, at the feast of Nativity of Mary. She gave temporary vows on 9 September 1966 and lifelong on 25 August 1971.
She died in Split on 31 October 2021 and was buried at the Lovinac cemetery in Split, on 4 November 2021.
Acknowledgements
Silver Plaque for the exceptional achievements and merits in the promotion of the Croatian economy (Croatian Chamber of Commerce, 1992)
Award of Biokovo Croatian Mountaineering Association (1996)
Annual Award and recognition of the achievements in the fields of environment conservation and biological and environmental diversity (1997)
City of Makarska Award (1998)
Selected works
Book chapters
Šolić, M.E., 1983: "Poznavanje flore Biokova od Visianija do danas". In: Pavletić, Z., Matković, P., Grubšić, S. (eds.), Zbornik Roberta Visianija Šibenčanina, 349–364. Muzej grada Šibenika, Šibenik.
Šolić, M.E., 1999: "Prirodna baština - nezaobilazani temelj odgoja i obrazovanja". In: Macan, T. (ed.), Hrvatska i održivi razvitak. Humane i odgojne vrednote. Ministarstvo razvitka i obnove, Zagreb.
Pustahija, F., Šolić, E.M., Siljak-Yakovlev, S., 2017: "Karyological study of some Mediterranean species from Bosnia and Herzegovina, Croatia and Lebanon". In: Kamari, G., Blanché, C., Siljak-Yakovlev, S. (eds.), Mediterranean chromosome data – 27. Flora Mediterranea 27, 295–301
References
External links
Bibliography in CROSBI
Bibliography at Researchgate
1946 births
2021 deaths
People from Split-Dalmatia County
Croatian botanists
Women botanists
University of Sarajevo alumni
Faculty of Science, University of Zagreb alumni
Third Order Regular Franciscans
Croatian Roman Catholic religious sisters and nuns
Croatian women curators
|
Pictures Please is a Canadian children's television series which aired on CBC Television in 1956.
Premise
This series for children was produced in Ottawa by Fred Rainsberry.
Fire safety was the subject of the second episode (16 July 1956), featuring guest Maynard Dolman, chief of Ottawa's Fire Department. Comic illustrations were used to demonstrate the topic.
Scheduling
Pictures Please aired for 15 minutes each Monday at 5:45 p.m. from 9 July to 24 September 1956.
References
External links
CBC Television original programming
1956 Canadian television series debuts
1956 Canadian television series endings
1950s Canadian children's television series
Black-and-white Canadian television shows
Television shows filmed in Ottawa
|
```sqlpl
SELECT 2 BETWEEN 1 + 1 AND 3 - 1;
```
|
```nix
{ pkgs ? import <nixpkgs> }:
pkgs.mkShell {
buildInputs = [
pkgs.nodejs-18_x
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}
```
|
Nat LaCour (February 11, 1938 - October 10, 2020) was an American labor union leader and teacher. From 1971 to 1998, he was president of United Teachers of New Orleans (UTNO), American Federation of Teachers Local 527, the longest serving president in the local's history. Under his leadership, UTNO became the largest teachers union in the Deep South, eventually representing more than 7000 teachers, paraprofessionals, school secretaries, and administrative clericals.
Originally a school teacher with the New Orleans public schools, he signed up as a member of AFT Local 527 on his first day of teaching in 1961. In the middle of the decade, seeing how some of his fellow teachers were mistreated, he became more of an activist. In 1969, he was elected vice-president of the local, and in 1971, he was elected president. In 1972 he engineered along with Cheryl Epling, president of the rival and mostly White Orleans Educators' Association (OEA) and Bob Crowley, the Executive Director of the NEA affiliate in New Orleans, a merger with the National Education Association local to form United Teachers of New Orleans (UTNO). In 1974, UTNO became the first teachers' union in the Deep South to win a contract without the protection of a state public employee collective bargaining law.
LaCour was elected a vice president of the AFT, and in 1998 was elected to the newly formed position of executive vice president of the union. In 2004, LaCour was elected secretary-treasurer of the union after the retirement of AFT president Sandra Feldman and the election of secretary-treasurer Edward J. McElroy as president. The same year, he was elected to the executive council of the AFL-CIO.
LaCour is a founding member of the National Board for Professional Teaching Standards, and serves on the board of directors of the Albert Shanker Institute, National Democratic Institute, the A. Philip Randolph Institute and the Coalition of Black Trade Unionists.
On February 11, 2008, LaCour announced he would retire as Secretary-Treasurer of the AFT at its regularly scheduled biennial convention in Chicago in July 2008.
References
External links
Tribute to a Legend: Nat LaCour
American Federation of Teachers
United Teachers of New Orleans, Local 527, AFT
1938 births
2020 deaths
American trade union leaders
American Federation of Teachers people
Vice presidents of the AFL–CIO
Coalition of Black Trade Unionists people
African-American trade unionists
|
The Patterson House in Larned, Kansas is a three-bedroom Lustron house built in 1949. Together with its matching Lustron garage, it was listed on the National Register of Historic Places in 2001.
It was built by Great Bend, Kansas Lustron dealer Don Brack in 1949 and would have cost somewhat more than $10,500. All exterior surfaces and walls and ceilings inside the house are porcelain enamel steel. It has an original built-in dining room china cabinet and pass-through to the kitchen, which identifies the house as a "Deluxe" edition of Lustron's Westchester house model. Other porcelain enamel built-in features include bookcases, a mirrored vanity, and closets and overhead storage.
It is a front-gabled, house with "Dove Gray" walls, white trim, and a green roof.
The two-car Lustron garage, like the house, is front-gabled and sits on a concrete slab foundation.
The property was deemed notable in 2001 as "an excellent and rare example of a three-bedroom Westchester Deluxe Lustron with an accompanying Lustron garage." A red brick wall holding an outdoor brick fireplace connects the house and garage and defines an outdoor patio area; this is compatible with intentions of Lustron designers for renovations to be added and does not detract from the historic integrity of the property.
The first owners, Harold and Alice Patterson, raised five children in the home. Donald and Joanne Reep bought the house in 1964. Mrs. Reep recalled taking the kitchen cabinets to an auto body shop to repair, after a kitchen fire, and appreciated the "'indestructible'" Lustron roof. In 2000, Mrs. Reep worked as a realtor in Larned, Kansas and reportedly knew at least one Lustron owner who valued the durability of Lustron houses for rental property.
Only about 2,500 Lustrons were ever manufactured.
References
External links
title=About Pawnee County on Pawnee County Kansas
Houses on the National Register of Historic Places in Kansas
Lustron houses in Kansas
Houses completed in 1949
Houses in Pawnee County, Kansas
National Register of Historic Places in Pawnee County, Kansas
|
The Ministry of Women's Affairs () is a government ministry responsible for women affairs in Cambodia. It was established in 1993 as the Ministry of Women and Veterans' Affairs (). Its minister since 2004 is Dr. Ing Kantha Phavi.
Departments
Department of Administration and Staff
Department of Finance and Supply
Department of Planning and Statistic
Department of International Cooperation
Department of Information
Department of Gender Equality
Department of Economic Development
Department of Legal Protection
Department of Women and Health
Department of Women and Education
Department of Internal Audit
Source: Organization chart
See also
Government of Cambodia
Cabinet of Cambodia
Women's Affairs
Phnom Penh
Ministries established in 1993
1993 establishments in Cambodia
Cambodia
Women in Cambodia
Women's rights in Cambodia
|
Isotenes miserana (orange fruit borer) is a species of moth of the family Tortricidae. It is found in the Northern Territory, Queensland, New South Wales and Victoria. This species has been introduced to New Zealand.
The wingspan is about 20 mm.
The larvae are considered a pest for flowers and fruit of a wide variety of agricultural plants and fruit trees, including Citrus sinensis, Persea americana, Macadamia integrifolia, Litchi chinensis, Vitis vinifera and Morus species.
References
Moths described in 1863
Moths of Australia
Archipini
|
```c++
// This file is part of libigl, a simple c++ geometry processing library.
//
//
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at path_to_url
#include "find.h"
#include "verbose.h"
#include <iostream>
template <
typename T,
typename DerivedI,
typename DerivedJ,
typename DerivedV>
IGL_INLINE void igl::find(
const Eigen::SparseMatrix<T>& X,
Eigen::DenseBase<DerivedI> & I,
Eigen::DenseBase<DerivedJ> & J,
Eigen::DenseBase<DerivedV> & V)
{
// Resize outputs to fit nonzeros
I.derived().resize(X.nonZeros(),1);
J.derived().resize(X.nonZeros(),1);
V.derived().resize(X.nonZeros(),1);
int i = 0;
// Iterate over outside
for(int k=0; k<X.outerSize(); ++k)
{
// Iterate over inside
for(typename Eigen::SparseMatrix<T>::InnerIterator it (X,k); it; ++it)
{
V(i) = it.value();
I(i) = it.row();
J(i) = it.col();
i++;
}
}
}
template <
typename DerivedX,
typename DerivedI,
typename DerivedJ,
typename DerivedV>
IGL_INLINE void igl::find(
const Eigen::DenseBase<DerivedX>& X,
Eigen::PlainObjectBase<DerivedI> & I,
Eigen::PlainObjectBase<DerivedJ> & J,
Eigen::PlainObjectBase<DerivedV> & V)
{
const int nnz = X.count();
I.resize(nnz,1);
J.resize(nnz,1);
V.resize(nnz,1);
{
int k = 0;
for(int j = 0;j<X.cols();j++)
{
for(int i = 0;i<X.rows();i++)
{
if(X(i,j))
{
I(k) = i;
J(k) = j;
V(k) = X(i,j);
k++;
}
}
}
}
}
template <
typename DerivedX,
typename DerivedI>
IGL_INLINE void igl::find(
const Eigen::DenseBase<DerivedX>& X,
Eigen::PlainObjectBase<DerivedI> & I)
{
const int nnz = X.count();
I.resize(nnz,1);
{
int k = 0;
for(int j = 0;j<X.cols();j++)
{
for(int i = 0;i<X.rows();i++)
{
if(X(i,j))
{
I(k) = i+X.rows()*j;
k++;
}
}
}
}
}
template <typename T>
IGL_INLINE void igl::find(
const Eigen::SparseVector<T>& X,
Eigen::Matrix<int,Eigen::Dynamic,1> & I,
Eigen::Matrix<T,Eigen::Dynamic,1> & V)
{
// Resize outputs to fit nonzeros
I.resize(X.nonZeros());
V.resize(X.nonZeros());
int i = 0;
// loop over non-zeros
for(typename Eigen::SparseVector<T>::InnerIterator it(X); it; ++it)
{
I(i) = it.index();
V(i) = it.value();
i++;
}
}
#ifdef IGL_STATIC_LIBRARY
// Explicit template instantiation
template void igl::find<bool, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Array<bool, -1, 1, 0, -1, 1> >(Eigen::SparseMatrix<bool, 0, int> const&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Array<bool, -1, 1, 0, -1, 1> >&);
template void igl::find<Eigen::Array<bool, -1, 1, 0, -1, 1>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >(Eigen::DenseBase<Eigen::Array<bool, -1, 1, 0, -1, 1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&);
template void igl::find<double, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >(Eigen::SparseMatrix<double, 0, int> const&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> >&);
template void igl::find<double, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >(Eigen::SparseMatrix<double, 0, int> const&, Eigen::DenseBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> >&);
template void igl::find<double, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::SparseMatrix<double, 0, int> const&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&);
template void igl::find<Eigen::Matrix<int, -1, 1, 0, -1, 1>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >(Eigen::DenseBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&);
template void igl::find<double, Eigen::Matrix<long, -1, 1, 0, -1, 1>, Eigen::Matrix<long, -1, 1, 0, -1, 1>, Eigen::Matrix<double, -1, 1, 0, -1, 1> >(Eigen::SparseMatrix<double, 0, int> const&, Eigen::DenseBase<Eigen::Matrix<long, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<long, -1, 1, 0, -1, 1> >&, Eigen::DenseBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> >&);
#if EIGEN_VERSION_AT_LEAST(3,3,0)
#else
template void igl::find<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<long, (Eigen::internal::ComparisonName)0>, Eigen::PartialReduxExpr<Eigen::Array<bool, -1, 3, 0, -1, 3>, Eigen::internal::member_count<long>, 1> const, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<long>, Eigen::Array<long, -1, 1, 0, -1, 1> > const>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >(Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<long, (Eigen::internal::ComparisonName)0>, Eigen::PartialReduxExpr<Eigen::Array<bool, -1, 3, 0, -1, 3>, Eigen::internal::member_count<long>, 1> const, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<long>, Eigen::Array<long, -1, 1, 0, -1, 1> > const> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&);
template void igl::find<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, (Eigen::internal::ComparisonName)0>, Eigen::Array<int, -1, 1, 0, -1, 1> const, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1, 0, -1, 1> > const>, Eigen::Matrix<int, -1, 1, 0, -1, 1> >(Eigen::DenseBase<Eigen::CwiseBinaryOp<Eigen::internal::scalar_cmp_op<int, (Eigen::internal::ComparisonName)0>, Eigen::Array<int, -1, 1, 0, -1, 1> const, Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<int>, Eigen::Array<int, -1, 1, 0, -1, 1> > const> > const&, Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1, 0, -1, 1> >&);
#endif
#endif
```
|
Filipov (), female form Filipova (), is a Bulgarian surname.
It is a commonly used surname in North Macedonia. A large Filipov family exists in Australia that immigrated there in the late 1960s.
Notable people
Notable people who have this surname include:
Filip Filipov, Bulgarian football player
Georgi Filipov, Bulgarian football player
Grisha Filipov, Bulgarian politician
Hyusein Filipov, Bulgarian football player
Nadiya Filipova, Bulgarian rowing cox
Pavlina Filipova, Bulgarian biathlete
Strashimira Filipova, Bulgarian volleyball player
Tsvetan Filipov, Bulgarian football player
Venelin Filipov, Bulgarian football player
See also
Filippov, the Russian equivalent
Bulgarian-language surnames
Patronymic surnames
Surnames from given names
|
```go
// mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64le,linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AAFS_MAGIC = 0x5a3c69f0
ADFS_SUPER_MAGIC = 0xadf5
AFFS_SUPER_MAGIC = 0xadff
AFS_FS_MAGIC = 0x6b414653
AFS_SUPER_MAGIC = 0x5346414f
AF_ALG = 0x26
AF_APPLETALK = 0x5
AF_ASH = 0x12
AF_ATMPVC = 0x8
AF_ATMSVC = 0x14
AF_AX25 = 0x3
AF_BLUETOOTH = 0x1f
AF_BRIDGE = 0x7
AF_CAIF = 0x25
AF_CAN = 0x1d
AF_DECnet = 0xc
AF_ECONET = 0x13
AF_FILE = 0x1
AF_IB = 0x1b
AF_IEEE802154 = 0x24
AF_INET = 0x2
AF_INET6 = 0xa
AF_IPX = 0x4
AF_IRDA = 0x17
AF_ISDN = 0x22
AF_IUCV = 0x20
AF_KCM = 0x29
AF_KEY = 0xf
AF_LLC = 0x1a
AF_LOCAL = 0x1
AF_MAX = 0x2d
AF_MPLS = 0x1c
AF_NETBEUI = 0xd
AF_NETLINK = 0x10
AF_NETROM = 0x6
AF_NFC = 0x27
AF_PACKET = 0x11
AF_PHONET = 0x23
AF_PPPOX = 0x18
AF_QIPCRTR = 0x2a
AF_RDS = 0x15
AF_ROSE = 0xb
AF_ROUTE = 0x10
AF_RXRPC = 0x21
AF_SECURITY = 0xe
AF_SMC = 0x2b
AF_SNA = 0x16
AF_TIPC = 0x1e
AF_UNIX = 0x1
AF_UNSPEC = 0x0
AF_VSOCK = 0x28
AF_WANPIPE = 0x19
AF_X25 = 0x9
AF_XDP = 0x2c
ALG_OP_DECRYPT = 0x0
ALG_OP_ENCRYPT = 0x1
ALG_SET_AEAD_ASSOCLEN = 0x4
ALG_SET_AEAD_AUTHSIZE = 0x5
ALG_SET_IV = 0x2
ALG_SET_KEY = 0x1
ALG_SET_OP = 0x3
ANON_INODE_FS_MAGIC = 0x9041934
ARPHRD_6LOWPAN = 0x339
ARPHRD_ADAPT = 0x108
ARPHRD_APPLETLK = 0x8
ARPHRD_ARCNET = 0x7
ARPHRD_ASH = 0x30d
ARPHRD_ATM = 0x13
ARPHRD_AX25 = 0x3
ARPHRD_BIF = 0x307
ARPHRD_CAIF = 0x336
ARPHRD_CAN = 0x118
ARPHRD_CHAOS = 0x5
ARPHRD_CISCO = 0x201
ARPHRD_CSLIP = 0x101
ARPHRD_CSLIP6 = 0x103
ARPHRD_DDCMP = 0x205
ARPHRD_DLCI = 0xf
ARPHRD_ECONET = 0x30e
ARPHRD_EETHER = 0x2
ARPHRD_ETHER = 0x1
ARPHRD_EUI64 = 0x1b
ARPHRD_FCAL = 0x311
ARPHRD_FCFABRIC = 0x313
ARPHRD_FCPL = 0x312
ARPHRD_FCPP = 0x310
ARPHRD_FDDI = 0x306
ARPHRD_FRAD = 0x302
ARPHRD_HDLC = 0x201
ARPHRD_HIPPI = 0x30c
ARPHRD_HWX25 = 0x110
ARPHRD_IEEE1394 = 0x18
ARPHRD_IEEE802 = 0x6
ARPHRD_IEEE80211 = 0x321
ARPHRD_IEEE80211_PRISM = 0x322
ARPHRD_IEEE80211_RADIOTAP = 0x323
ARPHRD_IEEE802154 = 0x324
ARPHRD_IEEE802154_MONITOR = 0x325
ARPHRD_IEEE802_TR = 0x320
ARPHRD_INFINIBAND = 0x20
ARPHRD_IP6GRE = 0x337
ARPHRD_IPDDP = 0x309
ARPHRD_IPGRE = 0x30a
ARPHRD_IRDA = 0x30f
ARPHRD_LAPB = 0x204
ARPHRD_LOCALTLK = 0x305
ARPHRD_LOOPBACK = 0x304
ARPHRD_METRICOM = 0x17
ARPHRD_NETLINK = 0x338
ARPHRD_NETROM = 0x0
ARPHRD_NONE = 0xfffe
ARPHRD_PHONET = 0x334
ARPHRD_PHONET_PIPE = 0x335
ARPHRD_PIMREG = 0x30b
ARPHRD_PPP = 0x200
ARPHRD_PRONET = 0x4
ARPHRD_RAWHDLC = 0x206
ARPHRD_RAWIP = 0x207
ARPHRD_ROSE = 0x10e
ARPHRD_RSRVD = 0x104
ARPHRD_SIT = 0x308
ARPHRD_SKIP = 0x303
ARPHRD_SLIP = 0x100
ARPHRD_SLIP6 = 0x102
ARPHRD_TUNNEL = 0x300
ARPHRD_TUNNEL6 = 0x301
ARPHRD_VOID = 0xffff
ARPHRD_VSOCKMON = 0x33a
ARPHRD_X25 = 0x10f
AUTOFS_SUPER_MAGIC = 0x187
B0 = 0x0
B1000000 = 0x1008
B110 = 0x3
B115200 = 0x1002
B1152000 = 0x1009
B1200 = 0x9
B134 = 0x4
B150 = 0x5
B1500000 = 0x100a
B1800 = 0xa
B19200 = 0xe
B200 = 0x6
B2000000 = 0x100b
B230400 = 0x1003
B2400 = 0xb
B2500000 = 0x100c
B300 = 0x7
B3000000 = 0x100d
B3500000 = 0x100e
B38400 = 0xf
B4000000 = 0x100f
B460800 = 0x1004
B4800 = 0xc
B50 = 0x1
B500000 = 0x1005
B57600 = 0x1001
B576000 = 0x1006
B600 = 0x8
B75 = 0x2
B921600 = 0x1007
B9600 = 0xd
BALLOON_KVM_MAGIC = 0x13661366
BDEVFS_MAGIC = 0x62646576
BINDERFS_SUPER_MAGIC = 0x6c6f6f70
BINFMTFS_MAGIC = 0x42494e4d
BLKBSZGET = 0x40081270
BLKBSZSET = 0x80081271
BLKFLSBUF = 0x20001261
BLKFRAGET = 0x20001265
BLKFRASET = 0x20001264
BLKGETSIZE = 0x20001260
BLKGETSIZE64 = 0x40081272
BLKPBSZGET = 0x2000127b
BLKRAGET = 0x20001263
BLKRASET = 0x20001262
BLKROGET = 0x2000125e
BLKROSET = 0x2000125d
BLKRRPART = 0x2000125f
BLKSECTGET = 0x20001267
BLKSECTSET = 0x20001266
BLKSSZGET = 0x20001268
BOTHER = 0x1000
BPF_A = 0x10
BPF_ABS = 0x20
BPF_ADD = 0x0
BPF_ADJ_ROOM_ENCAP_L2_MASK = 0xff
BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 0x38
BPF_ALU = 0x4
BPF_ALU64 = 0x7
BPF_AND = 0x50
BPF_ANY = 0x0
BPF_ARSH = 0xc0
BPF_B = 0x10
BPF_BUILD_ID_SIZE = 0x14
BPF_CALL = 0x80
BPF_DEVCG_ACC_MKNOD = 0x1
BPF_DEVCG_ACC_READ = 0x2
BPF_DEVCG_ACC_WRITE = 0x4
BPF_DEVCG_DEV_BLOCK = 0x1
BPF_DEVCG_DEV_CHAR = 0x2
BPF_DIV = 0x30
BPF_DW = 0x18
BPF_END = 0xd0
BPF_EXIST = 0x2
BPF_EXIT = 0x90
BPF_FROM_BE = 0x8
BPF_FROM_LE = 0x0
BPF_FS_MAGIC = 0xcafe4a11
BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 0x2
BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 0x4
BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 0x8
BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 0x10
BPF_F_ADJ_ROOM_FIXED_GSO = 0x1
BPF_F_ALLOW_MULTI = 0x2
BPF_F_ALLOW_OVERRIDE = 0x1
BPF_F_ANY_ALIGNMENT = 0x2
BPF_F_CTXLEN_MASK = 0xfffff00000000
BPF_F_CURRENT_CPU = 0xffffffff
BPF_F_CURRENT_NETNS = -0x1
BPF_F_DONT_FRAGMENT = 0x4
BPF_F_FAST_STACK_CMP = 0x200
BPF_F_HDR_FIELD_MASK = 0xf
BPF_F_INDEX_MASK = 0xffffffff
BPF_F_INGRESS = 0x1
BPF_F_INVALIDATE_HASH = 0x2
BPF_F_LOCK = 0x4
BPF_F_MARK_ENFORCE = 0x40
BPF_F_MARK_MANGLED_0 = 0x20
BPF_F_NO_COMMON_LRU = 0x2
BPF_F_NO_PREALLOC = 0x1
BPF_F_NUMA_NODE = 0x4
BPF_F_PSEUDO_HDR = 0x10
BPF_F_QUERY_EFFECTIVE = 0x1
BPF_F_RDONLY = 0x8
BPF_F_RDONLY_PROG = 0x80
BPF_F_RECOMPUTE_CSUM = 0x1
BPF_F_REUSE_STACKID = 0x400
BPF_F_SEQ_NUMBER = 0x8
BPF_F_SKIP_FIELD_MASK = 0xff
BPF_F_STACK_BUILD_ID = 0x20
BPF_F_STRICT_ALIGNMENT = 0x1
BPF_F_SYSCTL_BASE_NAME = 0x1
BPF_F_TUNINFO_IPV6 = 0x1
BPF_F_USER_BUILD_ID = 0x800
BPF_F_USER_STACK = 0x100
BPF_F_WRONLY = 0x10
BPF_F_WRONLY_PROG = 0x100
BPF_F_ZERO_CSUM_TX = 0x2
BPF_F_ZERO_SEED = 0x40
BPF_H = 0x8
BPF_IMM = 0x0
BPF_IND = 0x40
BPF_JA = 0x0
BPF_JEQ = 0x10
BPF_JGE = 0x30
BPF_JGT = 0x20
BPF_JLE = 0xb0
BPF_JLT = 0xa0
BPF_JMP = 0x5
BPF_JMP32 = 0x6
BPF_JNE = 0x50
BPF_JSET = 0x40
BPF_JSGE = 0x70
BPF_JSGT = 0x60
BPF_JSLE = 0xd0
BPF_JSLT = 0xc0
BPF_K = 0x0
BPF_LD = 0x0
BPF_LDX = 0x1
BPF_LEN = 0x80
BPF_LL_OFF = -0x200000
BPF_LSH = 0x60
BPF_MAJOR_VERSION = 0x1
BPF_MAXINSNS = 0x1000
BPF_MEM = 0x60
BPF_MEMWORDS = 0x10
BPF_MINOR_VERSION = 0x1
BPF_MISC = 0x7
BPF_MOD = 0x90
BPF_MOV = 0xb0
BPF_MSH = 0xa0
BPF_MUL = 0x20
BPF_NEG = 0x80
BPF_NET_OFF = -0x100000
BPF_NOEXIST = 0x1
BPF_OBJ_NAME_LEN = 0x10
BPF_OR = 0x40
BPF_PSEUDO_CALL = 0x1
BPF_PSEUDO_MAP_FD = 0x1
BPF_PSEUDO_MAP_VALUE = 0x2
BPF_RET = 0x6
BPF_RSH = 0x70
BPF_SK_STORAGE_GET_F_CREATE = 0x1
BPF_SOCK_OPS_ALL_CB_FLAGS = 0x7
BPF_SOCK_OPS_RETRANS_CB_FLAG = 0x2
BPF_SOCK_OPS_RTO_CB_FLAG = 0x1
BPF_SOCK_OPS_STATE_CB_FLAG = 0x4
BPF_ST = 0x2
BPF_STX = 0x3
BPF_SUB = 0x10
BPF_TAG_SIZE = 0x8
BPF_TAX = 0x0
BPF_TO_BE = 0x8
BPF_TO_LE = 0x0
BPF_TXA = 0x80
BPF_W = 0x0
BPF_X = 0x8
BPF_XADD = 0xc0
BPF_XOR = 0xa0
BRKINT = 0x2
BS0 = 0x0
BS1 = 0x2000
BSDLY = 0x2000
BTRFS_SUPER_MAGIC = 0x9123683e
BTRFS_TEST_MAGIC = 0x73727279
CAN_BCM = 0x2
CAN_EFF_FLAG = 0x80000000
CAN_EFF_ID_BITS = 0x1d
CAN_EFF_MASK = 0x1fffffff
CAN_ERR_FLAG = 0x20000000
CAN_ERR_MASK = 0x1fffffff
CAN_INV_FILTER = 0x20000000
CAN_ISOTP = 0x6
CAN_MAX_DLC = 0x8
CAN_MAX_DLEN = 0x8
CAN_MCNET = 0x5
CAN_MTU = 0x10
CAN_NPROTO = 0x7
CAN_RAW = 0x1
CAN_RAW_FILTER_MAX = 0x200
CAN_RTR_FLAG = 0x40000000
CAN_SFF_ID_BITS = 0xb
CAN_SFF_MASK = 0x7ff
CAN_TP16 = 0x3
CAN_TP20 = 0x4
CAP_AUDIT_CONTROL = 0x1e
CAP_AUDIT_READ = 0x25
CAP_AUDIT_WRITE = 0x1d
CAP_BLOCK_SUSPEND = 0x24
CAP_CHOWN = 0x0
CAP_DAC_OVERRIDE = 0x1
CAP_DAC_READ_SEARCH = 0x2
CAP_FOWNER = 0x3
CAP_FSETID = 0x4
CAP_IPC_LOCK = 0xe
CAP_IPC_OWNER = 0xf
CAP_KILL = 0x5
CAP_LAST_CAP = 0x25
CAP_LEASE = 0x1c
CAP_LINUX_IMMUTABLE = 0x9
CAP_MAC_ADMIN = 0x21
CAP_MAC_OVERRIDE = 0x20
CAP_MKNOD = 0x1b
CAP_NET_ADMIN = 0xc
CAP_NET_BIND_SERVICE = 0xa
CAP_NET_BROADCAST = 0xb
CAP_NET_RAW = 0xd
CAP_SETFCAP = 0x1f
CAP_SETGID = 0x6
CAP_SETPCAP = 0x8
CAP_SETUID = 0x7
CAP_SYSLOG = 0x22
CAP_SYS_ADMIN = 0x15
CAP_SYS_BOOT = 0x16
CAP_SYS_CHROOT = 0x12
CAP_SYS_MODULE = 0x10
CAP_SYS_NICE = 0x17
CAP_SYS_PACCT = 0x14
CAP_SYS_PTRACE = 0x13
CAP_SYS_RAWIO = 0x11
CAP_SYS_RESOURCE = 0x18
CAP_SYS_TIME = 0x19
CAP_SYS_TTY_CONFIG = 0x1a
CAP_WAKE_ALARM = 0x23
CBAUD = 0x100f
CBAUDEX = 0x1000
CFLUSH = 0xf
CGROUP2_SUPER_MAGIC = 0x63677270
CGROUP_SUPER_MAGIC = 0x27e0eb
CIBAUD = 0x100f0000
CLOCAL = 0x800
CLOCK_BOOTTIME = 0x7
CLOCK_BOOTTIME_ALARM = 0x9
CLOCK_DEFAULT = 0x0
CLOCK_EXT = 0x1
CLOCK_INT = 0x2
CLOCK_MONOTONIC = 0x1
CLOCK_MONOTONIC_COARSE = 0x6
CLOCK_MONOTONIC_RAW = 0x4
CLOCK_PROCESS_CPUTIME_ID = 0x2
CLOCK_REALTIME = 0x0
CLOCK_REALTIME_ALARM = 0x8
CLOCK_REALTIME_COARSE = 0x5
CLOCK_TAI = 0xb
CLOCK_THREAD_CPUTIME_ID = 0x3
CLOCK_TXFROMRX = 0x4
CLOCK_TXINT = 0x3
CLONE_CHILD_CLEARTID = 0x200000
CLONE_CHILD_SETTID = 0x1000000
CLONE_DETACHED = 0x400000
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
CLONE_NEWPID = 0x20000000
CLONE_NEWUSER = 0x10000000
CLONE_NEWUTS = 0x4000000
CLONE_PARENT = 0x8000
CLONE_PARENT_SETTID = 0x100000
CLONE_PIDFD = 0x1000
CLONE_PTRACE = 0x2000
CLONE_SETTLS = 0x80000
CLONE_SIGHAND = 0x800
CLONE_SYSVSEM = 0x40000
CLONE_THREAD = 0x10000
CLONE_UNTRACED = 0x800000
CLONE_VFORK = 0x4000
CLONE_VM = 0x100
CMSPAR = 0x40000000
CODA_SUPER_MAGIC = 0x73757245
CR0 = 0x0
CR1 = 0x200
CR2 = 0x400
CR3 = 0x600
CRAMFS_MAGIC = 0x28cd3d45
CRDLY = 0x600
CREAD = 0x80
CRTSCTS = 0x80000000
CRYPTO_MAX_NAME = 0x40
CRYPTO_MSG_MAX = 0x15
CRYPTO_NR_MSGTYPES = 0x6
CRYPTO_REPORT_MAXSIZE = 0x160
CS5 = 0x0
CS6 = 0x10
CS7 = 0x20
CS8 = 0x30
CSIGNAL = 0xff
CSIZE = 0x30
CSTART = 0x11
CSTATUS = 0x0
CSTOP = 0x13
CSTOPB = 0x40
CSUSP = 0x1a
DAXFS_MAGIC = 0x64646178
DEBUGFS_MAGIC = 0x64626720
DEVPTS_SUPER_MAGIC = 0x1cd1
DT_BLK = 0x6
DT_CHR = 0x2
DT_DIR = 0x4
DT_FIFO = 0x1
DT_LNK = 0xa
DT_REG = 0x8
DT_SOCK = 0xc
DT_UNKNOWN = 0x0
DT_WHT = 0xe
ECHO = 0x8
ECHOCTL = 0x200
ECHOE = 0x10
ECHOK = 0x20
ECHOKE = 0x800
ECHONL = 0x40
ECHOPRT = 0x400
ECRYPTFS_SUPER_MAGIC = 0xf15f
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x80
EFD_SEMAPHORE = 0x1
EFIVARFS_MAGIC = 0xde5e81e4
EFS_SUPER_MAGIC = 0x414a53
ENCODING_DEFAULT = 0x0
ENCODING_FM_MARK = 0x3
ENCODING_FM_SPACE = 0x4
ENCODING_MANCHESTER = 0x5
ENCODING_NRZ = 0x1
ENCODING_NRZI = 0x2
EPOLLERR = 0x8
EPOLLET = 0x80000000
EPOLLEXCLUSIVE = 0x10000000
EPOLLHUP = 0x10
EPOLLIN = 0x1
EPOLLMSG = 0x400
EPOLLONESHOT = 0x40000000
EPOLLOUT = 0x4
EPOLLPRI = 0x2
EPOLLRDBAND = 0x80
EPOLLRDHUP = 0x2000
EPOLLRDNORM = 0x40
EPOLLWAKEUP = 0x20000000
EPOLLWRBAND = 0x200
EPOLLWRNORM = 0x100
EPOLL_CLOEXEC = 0x80000
EPOLL_CTL_ADD = 0x1
EPOLL_CTL_DEL = 0x2
EPOLL_CTL_MOD = 0x3
ETH_P_1588 = 0x88f7
ETH_P_8021AD = 0x88a8
ETH_P_8021AH = 0x88e7
ETH_P_8021Q = 0x8100
ETH_P_80221 = 0x8917
ETH_P_802_2 = 0x4
ETH_P_802_3 = 0x1
ETH_P_802_3_MIN = 0x600
ETH_P_802_EX1 = 0x88b5
ETH_P_AARP = 0x80f3
ETH_P_AF_IUCV = 0xfbfb
ETH_P_ALL = 0x3
ETH_P_AOE = 0x88a2
ETH_P_ARCNET = 0x1a
ETH_P_ARP = 0x806
ETH_P_ATALK = 0x809b
ETH_P_ATMFATE = 0x8884
ETH_P_ATMMPOA = 0x884c
ETH_P_AX25 = 0x2
ETH_P_BATMAN = 0x4305
ETH_P_BPQ = 0x8ff
ETH_P_CAIF = 0xf7
ETH_P_CAN = 0xc
ETH_P_CANFD = 0xd
ETH_P_CONTROL = 0x16
ETH_P_CUST = 0x6006
ETH_P_DDCMP = 0x6
ETH_P_DEC = 0x6000
ETH_P_DIAG = 0x6005
ETH_P_DNA_DL = 0x6001
ETH_P_DNA_RC = 0x6002
ETH_P_DNA_RT = 0x6003
ETH_P_DSA = 0x1b
ETH_P_DSA_8021Q = 0xdadb
ETH_P_ECONET = 0x18
ETH_P_EDSA = 0xdada
ETH_P_ERSPAN = 0x88be
ETH_P_ERSPAN2 = 0x22eb
ETH_P_FCOE = 0x8906
ETH_P_FIP = 0x8914
ETH_P_HDLC = 0x19
ETH_P_HSR = 0x892f
ETH_P_IBOE = 0x8915
ETH_P_IEEE802154 = 0xf6
ETH_P_IEEEPUP = 0xa00
ETH_P_IEEEPUPAT = 0xa01
ETH_P_IFE = 0xed3e
ETH_P_IP = 0x800
ETH_P_IPV6 = 0x86dd
ETH_P_IPX = 0x8137
ETH_P_IRDA = 0x17
ETH_P_LAT = 0x6004
ETH_P_LINK_CTL = 0x886c
ETH_P_LOCALTALK = 0x9
ETH_P_LOOP = 0x60
ETH_P_LOOPBACK = 0x9000
ETH_P_MACSEC = 0x88e5
ETH_P_MAP = 0xf9
ETH_P_MOBITEX = 0x15
ETH_P_MPLS_MC = 0x8848
ETH_P_MPLS_UC = 0x8847
ETH_P_MVRP = 0x88f5
ETH_P_NCSI = 0x88f8
ETH_P_NSH = 0x894f
ETH_P_PAE = 0x888e
ETH_P_PAUSE = 0x8808
ETH_P_PHONET = 0xf5
ETH_P_PPPTALK = 0x10
ETH_P_PPP_DISC = 0x8863
ETH_P_PPP_MP = 0x8
ETH_P_PPP_SES = 0x8864
ETH_P_PREAUTH = 0x88c7
ETH_P_PRP = 0x88fb
ETH_P_PUP = 0x200
ETH_P_PUPAT = 0x201
ETH_P_QINQ1 = 0x9100
ETH_P_QINQ2 = 0x9200
ETH_P_QINQ3 = 0x9300
ETH_P_RARP = 0x8035
ETH_P_SCA = 0x6007
ETH_P_SLOW = 0x8809
ETH_P_SNAP = 0x5
ETH_P_TDLS = 0x890d
ETH_P_TEB = 0x6558
ETH_P_TIPC = 0x88ca
ETH_P_TRAILER = 0x1c
ETH_P_TR_802_2 = 0x11
ETH_P_TSN = 0x22f0
ETH_P_WAN_PPP = 0x7
ETH_P_WCCP = 0x883e
ETH_P_X25 = 0x805
ETH_P_XDSA = 0xf8
EXABYTE_ENABLE_NEST = 0xf0
EXT2_SUPER_MAGIC = 0xef53
EXT3_SUPER_MAGIC = 0xef53
EXT4_SUPER_MAGIC = 0xef53
EXTA = 0xe
EXTB = 0xf
EXTPROC = 0x10000
F2FS_SUPER_MAGIC = 0xf2f52010
FALLOC_FL_COLLAPSE_RANGE = 0x8
FALLOC_FL_INSERT_RANGE = 0x20
FALLOC_FL_KEEP_SIZE = 0x1
FALLOC_FL_NO_HIDE_STALE = 0x4
FALLOC_FL_PUNCH_HOLE = 0x2
FALLOC_FL_UNSHARE_RANGE = 0x40
FALLOC_FL_ZERO_RANGE = 0x10
FANOTIFY_METADATA_VERSION = 0x3
FAN_ACCESS = 0x1
FAN_ACCESS_PERM = 0x20000
FAN_ALLOW = 0x1
FAN_ALL_CLASS_BITS = 0xc
FAN_ALL_EVENTS = 0x3b
FAN_ALL_INIT_FLAGS = 0x3f
FAN_ALL_MARK_FLAGS = 0xff
FAN_ALL_OUTGOING_EVENTS = 0x3403b
FAN_ALL_PERM_EVENTS = 0x30000
FAN_ATTRIB = 0x4
FAN_AUDIT = 0x10
FAN_CLASS_CONTENT = 0x4
FAN_CLASS_NOTIF = 0x0
FAN_CLASS_PRE_CONTENT = 0x8
FAN_CLOEXEC = 0x1
FAN_CLOSE = 0x18
FAN_CLOSE_NOWRITE = 0x10
FAN_CLOSE_WRITE = 0x8
FAN_CREATE = 0x100
FAN_DELETE = 0x200
FAN_DELETE_SELF = 0x400
FAN_DENY = 0x2
FAN_ENABLE_AUDIT = 0x40
FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_METADATA_LEN = 0x18
FAN_EVENT_ON_CHILD = 0x8000000
FAN_MARK_ADD = 0x1
FAN_MARK_DONT_FOLLOW = 0x4
FAN_MARK_FILESYSTEM = 0x100
FAN_MARK_FLUSH = 0x80
FAN_MARK_IGNORED_MASK = 0x20
FAN_MARK_IGNORED_SURV_MODIFY = 0x40
FAN_MARK_INODE = 0x0
FAN_MARK_MOUNT = 0x10
FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2
FAN_MODIFY = 0x2
FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40
FAN_MOVED_TO = 0x80
FAN_MOVE_SELF = 0x800
FAN_NOFD = -0x1
FAN_NONBLOCK = 0x2
FAN_ONDIR = 0x40000000
FAN_OPEN = 0x20
FAN_OPEN_EXEC = 0x1000
FAN_OPEN_EXEC_PERM = 0x40000
FAN_OPEN_PERM = 0x10000
FAN_Q_OVERFLOW = 0x4000
FAN_REPORT_FID = 0x200
FAN_REPORT_TID = 0x100
FAN_UNLIMITED_MARKS = 0x20
FAN_UNLIMITED_QUEUE = 0x10
FD_CLOEXEC = 0x1
FD_SETSIZE = 0x400
FF0 = 0x0
FF1 = 0x8000
FFDLY = 0x8000
FLUSHO = 0x2000
FS_ENCRYPTION_MODE_ADIANTUM = 0x9
FS_ENCRYPTION_MODE_AES_128_CBC = 0x5
FS_ENCRYPTION_MODE_AES_128_CTS = 0x6
FS_ENCRYPTION_MODE_AES_256_CBC = 0x3
FS_ENCRYPTION_MODE_AES_256_CTS = 0x4
FS_ENCRYPTION_MODE_AES_256_GCM = 0x2
FS_ENCRYPTION_MODE_AES_256_XTS = 0x1
FS_ENCRYPTION_MODE_INVALID = 0x0
FS_ENCRYPTION_MODE_SPECK128_256_CTS = 0x8
FS_ENCRYPTION_MODE_SPECK128_256_XTS = 0x7
FS_IOC_GET_ENCRYPTION_POLICY = 0x800c6615
FS_IOC_GET_ENCRYPTION_PWSALT = 0x80106614
FS_IOC_SET_ENCRYPTION_POLICY = 0x400c6613
FS_KEY_DESCRIPTOR_SIZE = 0x8
FS_KEY_DESC_PREFIX = "fscrypt:"
FS_KEY_DESC_PREFIX_SIZE = 0x8
FS_MAX_KEY_SIZE = 0x40
FS_POLICY_FLAGS_PAD_16 = 0x2
FS_POLICY_FLAGS_PAD_32 = 0x3
FS_POLICY_FLAGS_PAD_4 = 0x0
FS_POLICY_FLAGS_PAD_8 = 0x1
FS_POLICY_FLAGS_PAD_MASK = 0x3
FS_POLICY_FLAGS_VALID = 0x7
FUTEXFS_SUPER_MAGIC = 0xbad1dea
F_ADD_SEALS = 0x409
F_DUPFD = 0x0
F_DUPFD_CLOEXEC = 0x406
F_EXLCK = 0x4
F_GETFD = 0x1
F_GETFL = 0x3
F_GETLEASE = 0x401
F_GETLK = 0xe
F_GETLK64 = 0xe
F_GETOWN = 0x17
F_GETOWN_EX = 0x10
F_GETPIPE_SZ = 0x408
F_GETSIG = 0xb
F_GET_FILE_RW_HINT = 0x40d
F_GET_RW_HINT = 0x40b
F_GET_SEALS = 0x40a
F_LOCK = 0x1
F_NOTIFY = 0x402
F_OFD_GETLK = 0x24
F_OFD_SETLK = 0x25
F_OFD_SETLKW = 0x26
F_OK = 0x0
F_RDLCK = 0x0
F_SEAL_FUTURE_WRITE = 0x10
F_SEAL_GROW = 0x4
F_SEAL_SEAL = 0x1
F_SEAL_SHRINK = 0x2
F_SEAL_WRITE = 0x8
F_SETFD = 0x2
F_SETFL = 0x4
F_SETLEASE = 0x400
F_SETLK = 0x6
F_SETLK64 = 0x6
F_SETLKW = 0x7
F_SETLKW64 = 0x7
F_SETOWN = 0x18
F_SETOWN_EX = 0xf
F_SETPIPE_SZ = 0x407
F_SETSIG = 0xa
F_SET_FILE_RW_HINT = 0x40e
F_SET_RW_HINT = 0x40c
F_SHLCK = 0x8
F_TEST = 0x3
F_TLOCK = 0x2
F_ULOCK = 0x0
F_UNLCK = 0x2
F_WRLCK = 0x1
GENL_ADMIN_PERM = 0x1
GENL_CMD_CAP_DO = 0x2
GENL_CMD_CAP_DUMP = 0x4
GENL_CMD_CAP_HASPOL = 0x8
GENL_HDRLEN = 0x4
GENL_ID_CTRL = 0x10
GENL_ID_PMCRAID = 0x12
GENL_ID_VFS_DQUOT = 0x11
GENL_MAX_ID = 0x3ff
GENL_MIN_ID = 0x10
GENL_NAMSIZ = 0x10
GENL_START_ALLOC = 0x13
GENL_UNS_ADMIN_PERM = 0x10
GRND_NONBLOCK = 0x1
GRND_RANDOM = 0x2
HDIO_DRIVE_CMD = 0x31f
HDIO_DRIVE_CMD_AEB = 0x31e
HDIO_DRIVE_CMD_HDR_SIZE = 0x4
HDIO_DRIVE_HOB_HDR_SIZE = 0x8
HDIO_DRIVE_RESET = 0x31c
HDIO_DRIVE_TASK = 0x31e
HDIO_DRIVE_TASKFILE = 0x31d
HDIO_DRIVE_TASK_HDR_SIZE = 0x8
HDIO_GETGEO = 0x301
HDIO_GET_32BIT = 0x309
HDIO_GET_ACOUSTIC = 0x30f
HDIO_GET_ADDRESS = 0x310
HDIO_GET_BUSSTATE = 0x31a
HDIO_GET_DMA = 0x30b
HDIO_GET_IDENTITY = 0x30d
HDIO_GET_KEEPSETTINGS = 0x308
HDIO_GET_MULTCOUNT = 0x304
HDIO_GET_NICE = 0x30c
HDIO_GET_NOWERR = 0x30a
HDIO_GET_QDMA = 0x305
HDIO_GET_UNMASKINTR = 0x302
HDIO_GET_WCACHE = 0x30e
HDIO_OBSOLETE_IDENTITY = 0x307
HDIO_SCAN_HWIF = 0x328
HDIO_SET_32BIT = 0x324
HDIO_SET_ACOUSTIC = 0x32c
HDIO_SET_ADDRESS = 0x32f
HDIO_SET_BUSSTATE = 0x32d
HDIO_SET_DMA = 0x326
HDIO_SET_KEEPSETTINGS = 0x323
HDIO_SET_MULTCOUNT = 0x321
HDIO_SET_NICE = 0x329
HDIO_SET_NOWERR = 0x325
HDIO_SET_PIO_MODE = 0x327
HDIO_SET_QDMA = 0x32e
HDIO_SET_UNMASKINTR = 0x322
HDIO_SET_WCACHE = 0x32b
HDIO_SET_XFER = 0x306
HDIO_TRISTATE_HWIF = 0x31b
HDIO_UNREGISTER_HWIF = 0x32a
HOSTFS_SUPER_MAGIC = 0xc0ffee
HPFS_SUPER_MAGIC = 0xf995e849
HUGETLBFS_MAGIC = 0x958458f6
HUPCL = 0x400
IBSHIFT = 0x10
ICANON = 0x2
ICMPV6_FILTER = 0x1
ICRNL = 0x100
IEXTEN = 0x100
IFA_F_DADFAILED = 0x8
IFA_F_DEPRECATED = 0x20
IFA_F_HOMEADDRESS = 0x10
IFA_F_MANAGETEMPADDR = 0x100
IFA_F_MCAUTOJOIN = 0x400
IFA_F_NODAD = 0x2
IFA_F_NOPREFIXROUTE = 0x200
IFA_F_OPTIMISTIC = 0x4
IFA_F_PERMANENT = 0x80
IFA_F_SECONDARY = 0x1
IFA_F_STABLE_PRIVACY = 0x800
IFA_F_TEMPORARY = 0x1
IFA_F_TENTATIVE = 0x40
IFA_MAX = 0xa
IFF_ALLMULTI = 0x200
IFF_ATTACH_QUEUE = 0x200
IFF_AUTOMEDIA = 0x4000
IFF_BROADCAST = 0x2
IFF_DEBUG = 0x4
IFF_DETACH_QUEUE = 0x400
IFF_DORMANT = 0x20000
IFF_DYNAMIC = 0x8000
IFF_ECHO = 0x40000
IFF_LOOPBACK = 0x8
IFF_LOWER_UP = 0x10000
IFF_MASTER = 0x400
IFF_MULTICAST = 0x1000
IFF_MULTI_QUEUE = 0x100
IFF_NAPI = 0x10
IFF_NAPI_FRAGS = 0x20
IFF_NOARP = 0x80
IFF_NOFILTER = 0x1000
IFF_NOTRAILERS = 0x20
IFF_NO_PI = 0x1000
IFF_ONE_QUEUE = 0x2000
IFF_PERSIST = 0x800
IFF_POINTOPOINT = 0x10
IFF_PORTSEL = 0x2000
IFF_PROMISC = 0x100
IFF_RUNNING = 0x40
IFF_SLAVE = 0x800
IFF_TAP = 0x2
IFF_TUN = 0x1
IFF_TUN_EXCL = 0x8000
IFF_UP = 0x1
IFF_VNET_HDR = 0x4000
IFF_VOLATILE = 0x70c5a
IFNAMSIZ = 0x10
IGNBRK = 0x1
IGNCR = 0x80
IGNPAR = 0x4
IMAXBEL = 0x2000
INLCR = 0x40
INPCK = 0x10
IN_ACCESS = 0x1
IN_ALL_EVENTS = 0xfff
IN_ATTRIB = 0x4
IN_CLASSA_HOST = 0xffffff
IN_CLASSA_MAX = 0x80
IN_CLASSA_NET = 0xff000000
IN_CLASSA_NSHIFT = 0x18
IN_CLASSB_HOST = 0xffff
IN_CLASSB_MAX = 0x10000
IN_CLASSB_NET = 0xffff0000
IN_CLASSB_NSHIFT = 0x10
IN_CLASSC_HOST = 0xff
IN_CLASSC_NET = 0xffffff00
IN_CLASSC_NSHIFT = 0x8
IN_CLOEXEC = 0x80000
IN_CLOSE = 0x18
IN_CLOSE_NOWRITE = 0x10
IN_CLOSE_WRITE = 0x8
IN_CREATE = 0x100
IN_DELETE = 0x200
IN_DELETE_SELF = 0x400
IN_DONT_FOLLOW = 0x2000000
IN_EXCL_UNLINK = 0x4000000
IN_IGNORED = 0x8000
IN_ISDIR = 0x40000000
IN_LOOPBACKNET = 0x7f
IN_MASK_ADD = 0x20000000
IN_MASK_CREATE = 0x10000000
IN_MODIFY = 0x2
IN_MOVE = 0xc0
IN_MOVED_FROM = 0x40
IN_MOVED_TO = 0x80
IN_MOVE_SELF = 0x800
IN_NONBLOCK = 0x80
IN_ONESHOT = 0x80000000
IN_ONLYDIR = 0x1000000
IN_OPEN = 0x20
IN_Q_OVERFLOW = 0x4000
IN_UNMOUNT = 0x2000
IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x200007b9
IPPROTO_AH = 0x33
IPPROTO_BEETPH = 0x5e
IPPROTO_COMP = 0x6c
IPPROTO_DCCP = 0x21
IPPROTO_DSTOPTS = 0x3c
IPPROTO_EGP = 0x8
IPPROTO_ENCAP = 0x62
IPPROTO_ESP = 0x32
IPPROTO_FRAGMENT = 0x2c
IPPROTO_GRE = 0x2f
IPPROTO_HOPOPTS = 0x0
IPPROTO_ICMP = 0x1
IPPROTO_ICMPV6 = 0x3a
IPPROTO_IDP = 0x16
IPPROTO_IGMP = 0x2
IPPROTO_IP = 0x0
IPPROTO_IPIP = 0x4
IPPROTO_IPV6 = 0x29
IPPROTO_MH = 0x87
IPPROTO_MPLS = 0x89
IPPROTO_MTP = 0x5c
IPPROTO_NONE = 0x3b
IPPROTO_PIM = 0x67
IPPROTO_PUP = 0xc
IPPROTO_RAW = 0xff
IPPROTO_ROUTING = 0x2b
IPPROTO_RSVP = 0x2e
IPPROTO_SCTP = 0x84
IPPROTO_TCP = 0x6
IPPROTO_TP = 0x1d
IPPROTO_UDP = 0x11
IPPROTO_UDPLITE = 0x88
IPV6_2292DSTOPTS = 0x4
IPV6_2292HOPLIMIT = 0x8
IPV6_2292HOPOPTS = 0x3
IPV6_2292PKTINFO = 0x2
IPV6_2292PKTOPTIONS = 0x6
IPV6_2292RTHDR = 0x5
IPV6_ADDRFORM = 0x1
IPV6_ADDR_PREFERENCES = 0x48
IPV6_ADD_MEMBERSHIP = 0x14
IPV6_AUTHHDR = 0xa
IPV6_AUTOFLOWLABEL = 0x46
IPV6_CHECKSUM = 0x7
IPV6_DONTFRAG = 0x3e
IPV6_DROP_MEMBERSHIP = 0x15
IPV6_DSTOPTS = 0x3b
IPV6_FREEBIND = 0x4e
IPV6_HDRINCL = 0x24
IPV6_HOPLIMIT = 0x34
IPV6_HOPOPTS = 0x36
IPV6_IPSEC_POLICY = 0x22
IPV6_JOIN_ANYCAST = 0x1b
IPV6_JOIN_GROUP = 0x14
IPV6_LEAVE_ANYCAST = 0x1c
IPV6_LEAVE_GROUP = 0x15
IPV6_MINHOPCOUNT = 0x49
IPV6_MTU = 0x18
IPV6_MTU_DISCOVER = 0x17
IPV6_MULTICAST_ALL = 0x1d
IPV6_MULTICAST_HOPS = 0x12
IPV6_MULTICAST_IF = 0x11
IPV6_MULTICAST_LOOP = 0x13
IPV6_NEXTHOP = 0x9
IPV6_ORIGDSTADDR = 0x4a
IPV6_PATHMTU = 0x3d
IPV6_PKTINFO = 0x32
IPV6_PMTUDISC_DO = 0x2
IPV6_PMTUDISC_DONT = 0x0
IPV6_PMTUDISC_INTERFACE = 0x4
IPV6_PMTUDISC_OMIT = 0x5
IPV6_PMTUDISC_PROBE = 0x3
IPV6_PMTUDISC_WANT = 0x1
IPV6_RECVDSTOPTS = 0x3a
IPV6_RECVERR = 0x19
IPV6_RECVFRAGSIZE = 0x4d
IPV6_RECVHOPLIMIT = 0x33
IPV6_RECVHOPOPTS = 0x35
IPV6_RECVORIGDSTADDR = 0x4a
IPV6_RECVPATHMTU = 0x3c
IPV6_RECVPKTINFO = 0x31
IPV6_RECVRTHDR = 0x38
IPV6_RECVTCLASS = 0x42
IPV6_ROUTER_ALERT = 0x16
IPV6_ROUTER_ALERT_ISOLATE = 0x1e
IPV6_RTHDR = 0x39
IPV6_RTHDRDSTOPTS = 0x37
IPV6_RTHDR_LOOSE = 0x0
IPV6_RTHDR_STRICT = 0x1
IPV6_RTHDR_TYPE_0 = 0x0
IPV6_RXDSTOPTS = 0x3b
IPV6_RXHOPOPTS = 0x36
IPV6_TCLASS = 0x43
IPV6_TRANSPARENT = 0x4b
IPV6_UNICAST_HOPS = 0x10
IPV6_UNICAST_IF = 0x4c
IPV6_V6ONLY = 0x1a
IPV6_XFRM_POLICY = 0x23
IP_ADD_MEMBERSHIP = 0x23
IP_ADD_SOURCE_MEMBERSHIP = 0x27
IP_BIND_ADDRESS_NO_PORT = 0x18
IP_BLOCK_SOURCE = 0x26
IP_CHECKSUM = 0x17
IP_DEFAULT_MULTICAST_LOOP = 0x1
IP_DEFAULT_MULTICAST_TTL = 0x1
IP_DF = 0x4000
IP_DROP_MEMBERSHIP = 0x24
IP_DROP_SOURCE_MEMBERSHIP = 0x28
IP_FREEBIND = 0xf
IP_HDRINCL = 0x3
IP_IPSEC_POLICY = 0x10
IP_MAXPACKET = 0xffff
IP_MAX_MEMBERSHIPS = 0x14
IP_MF = 0x2000
IP_MINTTL = 0x15
IP_MSFILTER = 0x29
IP_MSS = 0x240
IP_MTU = 0xe
IP_MTU_DISCOVER = 0xa
IP_MULTICAST_ALL = 0x31
IP_MULTICAST_IF = 0x20
IP_MULTICAST_LOOP = 0x22
IP_MULTICAST_TTL = 0x21
IP_NODEFRAG = 0x16
IP_OFFMASK = 0x1fff
IP_OPTIONS = 0x4
IP_ORIGDSTADDR = 0x14
IP_PASSSEC = 0x12
IP_PKTINFO = 0x8
IP_PKTOPTIONS = 0x9
IP_PMTUDISC = 0xa
IP_PMTUDISC_DO = 0x2
IP_PMTUDISC_DONT = 0x0
IP_PMTUDISC_INTERFACE = 0x4
IP_PMTUDISC_OMIT = 0x5
IP_PMTUDISC_PROBE = 0x3
IP_PMTUDISC_WANT = 0x1
IP_RECVERR = 0xb
IP_RECVFRAGSIZE = 0x19
IP_RECVOPTS = 0x6
IP_RECVORIGDSTADDR = 0x14
IP_RECVRETOPTS = 0x7
IP_RECVTOS = 0xd
IP_RECVTTL = 0xc
IP_RETOPTS = 0x7
IP_RF = 0x8000
IP_ROUTER_ALERT = 0x5
IP_TOS = 0x1
IP_TRANSPARENT = 0x13
IP_TTL = 0x2
IP_UNBLOCK_SOURCE = 0x25
IP_UNICAST_IF = 0x32
IP_XFRM_POLICY = 0x11
ISIG = 0x1
ISOFS_SUPER_MAGIC = 0x9660
ISTRIP = 0x20
IUCLC = 0x200
IUTF8 = 0x4000
IXANY = 0x800
IXOFF = 0x1000
IXON = 0x400
JFFS2_SUPER_MAGIC = 0x72b6
KEXEC_ARCH_386 = 0x30000
KEXEC_ARCH_68K = 0x40000
KEXEC_ARCH_AARCH64 = 0xb70000
KEXEC_ARCH_ARM = 0x280000
KEXEC_ARCH_DEFAULT = 0x0
KEXEC_ARCH_IA_64 = 0x320000
KEXEC_ARCH_MASK = 0xffff0000
KEXEC_ARCH_MIPS = 0x80000
KEXEC_ARCH_MIPS_LE = 0xa0000
KEXEC_ARCH_PPC = 0x140000
KEXEC_ARCH_PPC64 = 0x150000
KEXEC_ARCH_S390 = 0x160000
KEXEC_ARCH_SH = 0x2a0000
KEXEC_ARCH_X86_64 = 0x3e0000
KEXEC_FILE_NO_INITRAMFS = 0x4
KEXEC_FILE_ON_CRASH = 0x2
KEXEC_FILE_UNLOAD = 0x1
KEXEC_ON_CRASH = 0x1
KEXEC_PRESERVE_CONTEXT = 0x2
KEXEC_SEGMENT_MAX = 0x10
KEYCTL_ASSUME_AUTHORITY = 0x10
KEYCTL_CHOWN = 0x4
KEYCTL_CLEAR = 0x7
KEYCTL_DESCRIBE = 0x6
KEYCTL_DH_COMPUTE = 0x17
KEYCTL_GET_KEYRING_ID = 0x0
KEYCTL_GET_PERSISTENT = 0x16
KEYCTL_GET_SECURITY = 0x11
KEYCTL_INSTANTIATE = 0xc
KEYCTL_INSTANTIATE_IOV = 0x14
KEYCTL_INVALIDATE = 0x15
KEYCTL_JOIN_SESSION_KEYRING = 0x1
KEYCTL_LINK = 0x8
KEYCTL_NEGATE = 0xd
KEYCTL_PKEY_DECRYPT = 0x1a
KEYCTL_PKEY_ENCRYPT = 0x19
KEYCTL_PKEY_QUERY = 0x18
KEYCTL_PKEY_SIGN = 0x1b
KEYCTL_PKEY_VERIFY = 0x1c
KEYCTL_READ = 0xb
KEYCTL_REJECT = 0x13
KEYCTL_RESTRICT_KEYRING = 0x1d
KEYCTL_REVOKE = 0x3
KEYCTL_SEARCH = 0xa
KEYCTL_SESSION_TO_PARENT = 0x12
KEYCTL_SETPERM = 0x5
KEYCTL_SET_REQKEY_KEYRING = 0xe
KEYCTL_SET_TIMEOUT = 0xf
KEYCTL_SUPPORTS_DECRYPT = 0x2
KEYCTL_SUPPORTS_ENCRYPT = 0x1
KEYCTL_SUPPORTS_SIGN = 0x4
KEYCTL_SUPPORTS_VERIFY = 0x8
KEYCTL_UNLINK = 0x9
KEYCTL_UPDATE = 0x2
KEY_REQKEY_DEFL_DEFAULT = 0x0
KEY_REQKEY_DEFL_GROUP_KEYRING = 0x6
KEY_REQKEY_DEFL_NO_CHANGE = -0x1
KEY_REQKEY_DEFL_PROCESS_KEYRING = 0x2
KEY_REQKEY_DEFL_REQUESTOR_KEYRING = 0x7
KEY_REQKEY_DEFL_SESSION_KEYRING = 0x3
KEY_REQKEY_DEFL_THREAD_KEYRING = 0x1
KEY_REQKEY_DEFL_USER_KEYRING = 0x4
KEY_REQKEY_DEFL_USER_SESSION_KEYRING = 0x5
KEY_SPEC_GROUP_KEYRING = -0x6
KEY_SPEC_PROCESS_KEYRING = -0x2
KEY_SPEC_REQKEY_AUTH_KEY = -0x7
KEY_SPEC_REQUESTOR_KEYRING = -0x8
KEY_SPEC_SESSION_KEYRING = -0x3
KEY_SPEC_THREAD_KEYRING = -0x1
KEY_SPEC_USER_KEYRING = -0x4
KEY_SPEC_USER_SESSION_KEYRING = -0x5
LINUX_REBOOT_CMD_CAD_OFF = 0x0
LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
LINUX_REBOOT_CMD_HALT = 0xcdef0123
LINUX_REBOOT_CMD_KEXEC = 0x45584543
LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
LINUX_REBOOT_CMD_RESTART = 0x1234567
LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
LINUX_REBOOT_MAGIC1 = 0xfee1dead
LINUX_REBOOT_MAGIC2 = 0x28121969
LOCK_EX = 0x2
LOCK_NB = 0x4
LOCK_SH = 0x1
LOCK_UN = 0x8
LOOP_CLR_FD = 0x4c01
LOOP_CTL_ADD = 0x4c80
LOOP_CTL_GET_FREE = 0x4c82
LOOP_CTL_REMOVE = 0x4c81
LOOP_GET_STATUS = 0x4c03
LOOP_GET_STATUS64 = 0x4c05
LOOP_SET_BLOCK_SIZE = 0x4c09
LOOP_SET_CAPACITY = 0x4c07
LOOP_SET_DIRECT_IO = 0x4c08
LOOP_SET_FD = 0x4c00
LOOP_SET_STATUS = 0x4c02
LOOP_SET_STATUS64 = 0x4c04
LO_KEY_SIZE = 0x20
LO_NAME_SIZE = 0x40
MADV_DODUMP = 0x11
MADV_DOFORK = 0xb
MADV_DONTDUMP = 0x10
MADV_DONTFORK = 0xa
MADV_DONTNEED = 0x4
MADV_FREE = 0x8
MADV_HUGEPAGE = 0xe
MADV_HWPOISON = 0x64
MADV_KEEPONFORK = 0x13
MADV_MERGEABLE = 0xc
MADV_NOHUGEPAGE = 0xf
MADV_NORMAL = 0x0
MADV_RANDOM = 0x1
MADV_REMOVE = 0x9
MADV_SEQUENTIAL = 0x2
MADV_UNMERGEABLE = 0xd
MADV_WILLNEED = 0x3
MADV_WIPEONFORK = 0x12
MAP_ANON = 0x800
MAP_ANONYMOUS = 0x800
MAP_DENYWRITE = 0x2000
MAP_EXECUTABLE = 0x4000
MAP_FILE = 0x0
MAP_FIXED = 0x10
MAP_FIXED_NOREPLACE = 0x100000
MAP_GROWSDOWN = 0x1000
MAP_HUGETLB = 0x80000
MAP_HUGE_MASK = 0x3f
MAP_HUGE_SHIFT = 0x1a
MAP_LOCKED = 0x8000
MAP_NONBLOCK = 0x20000
MAP_NORESERVE = 0x400
MAP_POPULATE = 0x10000
MAP_PRIVATE = 0x2
MAP_RENAME = 0x800
MAP_SHARED = 0x1
MAP_SHARED_VALIDATE = 0x3
MAP_STACK = 0x40000
MAP_TYPE = 0xf
MCAST_BLOCK_SOURCE = 0x2b
MCAST_EXCLUDE = 0x0
MCAST_INCLUDE = 0x1
MCAST_JOIN_GROUP = 0x2a
MCAST_JOIN_SOURCE_GROUP = 0x2e
MCAST_LEAVE_GROUP = 0x2d
MCAST_LEAVE_SOURCE_GROUP = 0x2f
MCAST_MSFILTER = 0x30
MCAST_UNBLOCK_SOURCE = 0x2c
MCL_CURRENT = 0x1
MCL_FUTURE = 0x2
MCL_ONFAULT = 0x4
MFD_ALLOW_SEALING = 0x2
MFD_CLOEXEC = 0x1
MFD_HUGETLB = 0x4
MFD_HUGE_16GB = -0x78000000
MFD_HUGE_16MB = 0x60000000
MFD_HUGE_1GB = 0x78000000
MFD_HUGE_1MB = 0x50000000
MFD_HUGE_256MB = 0x70000000
MFD_HUGE_2GB = 0x7c000000
MFD_HUGE_2MB = 0x54000000
MFD_HUGE_32MB = 0x64000000
MFD_HUGE_512KB = 0x4c000000
MFD_HUGE_512MB = 0x74000000
MFD_HUGE_64KB = 0x40000000
MFD_HUGE_8MB = 0x5c000000
MFD_HUGE_MASK = 0x3f
MFD_HUGE_SHIFT = 0x1a
MINIX2_SUPER_MAGIC = 0x2468
MINIX2_SUPER_MAGIC2 = 0x2478
MINIX3_SUPER_MAGIC = 0x4d5a
MINIX_SUPER_MAGIC = 0x137f
MINIX_SUPER_MAGIC2 = 0x138f
MNT_DETACH = 0x2
MNT_EXPIRE = 0x4
MNT_FORCE = 0x1
MODULE_INIT_IGNORE_MODVERSIONS = 0x1
MODULE_INIT_IGNORE_VERMAGIC = 0x2
MSDOS_SUPER_MAGIC = 0x4d44
MSG_BATCH = 0x40000
MSG_CMSG_CLOEXEC = 0x40000000
MSG_CONFIRM = 0x800
MSG_CTRUNC = 0x8
MSG_DONTROUTE = 0x4
MSG_DONTWAIT = 0x40
MSG_EOR = 0x80
MSG_ERRQUEUE = 0x2000
MSG_FASTOPEN = 0x20000000
MSG_FIN = 0x200
MSG_MORE = 0x8000
MSG_NOSIGNAL = 0x4000
MSG_OOB = 0x1
MSG_PEEK = 0x2
MSG_PROXY = 0x10
MSG_RST = 0x1000
MSG_SYN = 0x400
MSG_TRUNC = 0x20
MSG_TRYHARD = 0x4
MSG_WAITALL = 0x100
MSG_WAITFORONE = 0x10000
MSG_ZEROCOPY = 0x4000000
MS_ACTIVE = 0x40000000
MS_ASYNC = 0x1
MS_BIND = 0x1000
MS_BORN = 0x20000000
MS_DIRSYNC = 0x80
MS_INVALIDATE = 0x2
MS_I_VERSION = 0x800000
MS_KERNMOUNT = 0x400000
MS_LAZYTIME = 0x2000000
MS_MANDLOCK = 0x40
MS_MGC_MSK = 0xffff0000
MS_MGC_VAL = 0xc0ed0000
MS_MOVE = 0x2000
MS_NOATIME = 0x400
MS_NODEV = 0x4
MS_NODIRATIME = 0x800
MS_NOEXEC = 0x8
MS_NOREMOTELOCK = 0x8000000
MS_NOSEC = 0x10000000
MS_NOSUID = 0x2
MS_NOUSER = -0x80000000
MS_POSIXACL = 0x10000
MS_PRIVATE = 0x40000
MS_RDONLY = 0x1
MS_REC = 0x4000
MS_RELATIME = 0x200000
MS_REMOUNT = 0x20
MS_RMT_MASK = 0x2800051
MS_SHARED = 0x100000
MS_SILENT = 0x8000
MS_SLAVE = 0x80000
MS_STRICTATIME = 0x1000000
MS_SUBMOUNT = 0x4000000
MS_SYNC = 0x4
MS_SYNCHRONOUS = 0x10
MS_UNBINDABLE = 0x20000
MS_VERBOSE = 0x8000
MTD_INODE_FS_MAGIC = 0x11307854
NAME_MAX = 0xff
NCP_SUPER_MAGIC = 0x564c
NETLINK_ADD_MEMBERSHIP = 0x1
NETLINK_AUDIT = 0x9
NETLINK_BROADCAST_ERROR = 0x4
NETLINK_CAP_ACK = 0xa
NETLINK_CONNECTOR = 0xb
NETLINK_CRYPTO = 0x15
NETLINK_DNRTMSG = 0xe
NETLINK_DROP_MEMBERSHIP = 0x2
NETLINK_ECRYPTFS = 0x13
NETLINK_EXT_ACK = 0xb
NETLINK_FIB_LOOKUP = 0xa
NETLINK_FIREWALL = 0x3
NETLINK_GENERIC = 0x10
NETLINK_GET_STRICT_CHK = 0xc
NETLINK_INET_DIAG = 0x4
NETLINK_IP6_FW = 0xd
NETLINK_ISCSI = 0x8
NETLINK_KOBJECT_UEVENT = 0xf
NETLINK_LISTEN_ALL_NSID = 0x8
NETLINK_LIST_MEMBERSHIPS = 0x9
NETLINK_NETFILTER = 0xc
NETLINK_NFLOG = 0x5
NETLINK_NO_ENOBUFS = 0x5
NETLINK_PKTINFO = 0x3
NETLINK_RDMA = 0x14
NETLINK_ROUTE = 0x0
NETLINK_RX_RING = 0x6
NETLINK_SCSITRANSPORT = 0x12
NETLINK_SELINUX = 0x7
NETLINK_SMC = 0x16
NETLINK_SOCK_DIAG = 0x4
NETLINK_TX_RING = 0x7
NETLINK_UNUSED = 0x1
NETLINK_USERSOCK = 0x2
NETLINK_XFRM = 0x6
NETNSA_MAX = 0x5
NETNSA_NSID_NOT_ASSIGNED = -0x1
NFNETLINK_V0 = 0x0
NFNLGRP_ACCT_QUOTA = 0x8
NFNLGRP_CONNTRACK_DESTROY = 0x3
NFNLGRP_CONNTRACK_EXP_DESTROY = 0x6
NFNLGRP_CONNTRACK_EXP_NEW = 0x4
NFNLGRP_CONNTRACK_EXP_UPDATE = 0x5
NFNLGRP_CONNTRACK_NEW = 0x1
NFNLGRP_CONNTRACK_UPDATE = 0x2
NFNLGRP_MAX = 0x9
NFNLGRP_NFTABLES = 0x7
NFNLGRP_NFTRACE = 0x9
NFNLGRP_NONE = 0x0
NFNL_BATCH_MAX = 0x1
NFNL_MSG_BATCH_BEGIN = 0x10
NFNL_MSG_BATCH_END = 0x11
NFNL_NFA_NEST = 0x8000
NFNL_SUBSYS_ACCT = 0x7
NFNL_SUBSYS_COUNT = 0xc
NFNL_SUBSYS_CTHELPER = 0x9
NFNL_SUBSYS_CTNETLINK = 0x1
NFNL_SUBSYS_CTNETLINK_EXP = 0x2
NFNL_SUBSYS_CTNETLINK_TIMEOUT = 0x8
NFNL_SUBSYS_IPSET = 0x6
NFNL_SUBSYS_NFTABLES = 0xa
NFNL_SUBSYS_NFT_COMPAT = 0xb
NFNL_SUBSYS_NONE = 0x0
NFNL_SUBSYS_OSF = 0x5
NFNL_SUBSYS_QUEUE = 0x3
NFNL_SUBSYS_ULOG = 0x4
NFS_SUPER_MAGIC = 0x6969
NILFS_SUPER_MAGIC = 0x3434
NL0 = 0x0
NL1 = 0x100
NLA_ALIGNTO = 0x4
NLA_F_NESTED = 0x8000
NLA_F_NET_BYTEORDER = 0x4000
NLA_HDRLEN = 0x4
NLDLY = 0x100
NLMSG_ALIGNTO = 0x4
NLMSG_DONE = 0x3
NLMSG_ERROR = 0x2
NLMSG_HDRLEN = 0x10
NLMSG_MIN_TYPE = 0x10
NLMSG_NOOP = 0x1
NLMSG_OVERRUN = 0x4
NLM_F_ACK = 0x4
NLM_F_ACK_TLVS = 0x200
NLM_F_APPEND = 0x800
NLM_F_ATOMIC = 0x400
NLM_F_CAPPED = 0x100
NLM_F_CREATE = 0x400
NLM_F_DUMP = 0x300
NLM_F_DUMP_FILTERED = 0x20
NLM_F_DUMP_INTR = 0x10
NLM_F_ECHO = 0x8
NLM_F_EXCL = 0x200
NLM_F_MATCH = 0x200
NLM_F_MULTI = 0x2
NLM_F_NONREC = 0x100
NLM_F_REPLACE = 0x100
NLM_F_REQUEST = 0x1
NLM_F_ROOT = 0x100
NOFLSH = 0x80
NSFS_MAGIC = 0x6e736673
OCFS2_SUPER_MAGIC = 0x7461636f
OCRNL = 0x8
OFDEL = 0x80
OFILL = 0x40
OLCUC = 0x2
ONLCR = 0x4
ONLRET = 0x20
ONOCR = 0x10
OPENPROM_SUPER_MAGIC = 0x9fa1
OPOST = 0x1
OVERLAYFS_SUPER_MAGIC = 0x794c7630
O_ACCMODE = 0x3
O_APPEND = 0x8
O_ASYNC = 0x1000
O_CLOEXEC = 0x80000
O_CREAT = 0x100
O_DIRECT = 0x8000
O_DIRECTORY = 0x10000
O_DSYNC = 0x10
O_EXCL = 0x400
O_FSYNC = 0x4010
O_LARGEFILE = 0x0
O_NDELAY = 0x80
O_NOATIME = 0x40000
O_NOCTTY = 0x800
O_NOFOLLOW = 0x20000
O_NONBLOCK = 0x80
O_PATH = 0x200000
O_RDONLY = 0x0
O_RDWR = 0x2
O_RSYNC = 0x4010
O_SYNC = 0x4010
O_TMPFILE = 0x410000
O_TRUNC = 0x200
O_WRONLY = 0x1
PACKET_ADD_MEMBERSHIP = 0x1
PACKET_AUXDATA = 0x8
PACKET_BROADCAST = 0x1
PACKET_COPY_THRESH = 0x7
PACKET_DROP_MEMBERSHIP = 0x2
PACKET_FANOUT = 0x12
PACKET_FANOUT_CBPF = 0x6
PACKET_FANOUT_CPU = 0x2
PACKET_FANOUT_DATA = 0x16
PACKET_FANOUT_EBPF = 0x7
PACKET_FANOUT_FLAG_DEFRAG = 0x8000
PACKET_FANOUT_FLAG_ROLLOVER = 0x1000
PACKET_FANOUT_FLAG_UNIQUEID = 0x2000
PACKET_FANOUT_HASH = 0x0
PACKET_FANOUT_LB = 0x1
PACKET_FANOUT_QM = 0x5
PACKET_FANOUT_RND = 0x4
PACKET_FANOUT_ROLLOVER = 0x3
PACKET_FASTROUTE = 0x6
PACKET_HDRLEN = 0xb
PACKET_HOST = 0x0
PACKET_IGNORE_OUTGOING = 0x17
PACKET_KERNEL = 0x7
PACKET_LOOPBACK = 0x5
PACKET_LOSS = 0xe
PACKET_MR_ALLMULTI = 0x2
PACKET_MR_MULTICAST = 0x0
PACKET_MR_PROMISC = 0x1
PACKET_MR_UNICAST = 0x3
PACKET_MULTICAST = 0x2
PACKET_ORIGDEV = 0x9
PACKET_OTHERHOST = 0x3
PACKET_OUTGOING = 0x4
PACKET_QDISC_BYPASS = 0x14
PACKET_RECV_OUTPUT = 0x3
PACKET_RESERVE = 0xc
PACKET_ROLLOVER_STATS = 0x15
PACKET_RX_RING = 0x5
PACKET_STATISTICS = 0x6
PACKET_TIMESTAMP = 0x11
PACKET_TX_HAS_OFF = 0x13
PACKET_TX_RING = 0xd
PACKET_TX_TIMESTAMP = 0x10
PACKET_USER = 0x6
PACKET_VERSION = 0xa
PACKET_VNET_HDR = 0xf
PARENB = 0x100
PARITY_CRC16_PR0 = 0x2
PARITY_CRC16_PR0_CCITT = 0x4
PARITY_CRC16_PR1 = 0x3
PARITY_CRC16_PR1_CCITT = 0x5
PARITY_CRC32_PR0_CCITT = 0x6
PARITY_CRC32_PR1_CCITT = 0x7
PARITY_DEFAULT = 0x0
PARITY_NONE = 0x1
PARMRK = 0x8
PARODD = 0x200
PENDIN = 0x4000
PERF_EVENT_IOC_DISABLE = 0x20002401
PERF_EVENT_IOC_ENABLE = 0x20002400
PERF_EVENT_IOC_ID = 0x40082407
PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x8008240b
PERF_EVENT_IOC_PAUSE_OUTPUT = 0x80042409
PERF_EVENT_IOC_PERIOD = 0x80082404
PERF_EVENT_IOC_QUERY_BPF = 0xc008240a
PERF_EVENT_IOC_REFRESH = 0x20002402
PERF_EVENT_IOC_RESET = 0x20002403
PERF_EVENT_IOC_SET_BPF = 0x80042408
PERF_EVENT_IOC_SET_FILTER = 0x80082406
PERF_EVENT_IOC_SET_OUTPUT = 0x20002405
PIPEFS_MAGIC = 0x50495045
PPPIOCATTACH = 0x8004743d
PPPIOCATTCHAN = 0x80047438
PPPIOCCONNECT = 0x8004743a
PPPIOCDETACH = 0x8004743c
PPPIOCDISCONN = 0x20007439
PPPIOCGASYNCMAP = 0x40047458
PPPIOCGCHAN = 0x40047437
PPPIOCGDEBUG = 0x40047441
PPPIOCGFLAGS = 0x4004745a
PPPIOCGIDLE = 0x4010743f
PPPIOCGL2TPSTATS = 0x40487436
PPPIOCGMRU = 0x40047453
PPPIOCGNPMODE = 0xc008744c
PPPIOCGRASYNCMAP = 0x40047455
PPPIOCGUNIT = 0x40047456
PPPIOCGXASYNCMAP = 0x40207450
PPPIOCNEWUNIT = 0xc004743e
PPPIOCSACTIVE = 0x80107446
PPPIOCSASYNCMAP = 0x80047457
PPPIOCSCOMPRESS = 0x8010744d
PPPIOCSDEBUG = 0x80047440
PPPIOCSFLAGS = 0x80047459
PPPIOCSMAXCID = 0x80047451
PPPIOCSMRRU = 0x8004743b
PPPIOCSMRU = 0x80047452
PPPIOCSNPMODE = 0x8008744b
PPPIOCSPASS = 0x80107447
PPPIOCSRASYNCMAP = 0x80047454
PPPIOCSXASYNCMAP = 0x8020744f
PPPIOCXFERUNIT = 0x2000744e
PRIO_PGRP = 0x1
PRIO_PROCESS = 0x0
PRIO_USER = 0x2
PROC_SUPER_MAGIC = 0x9fa0
PROT_EXEC = 0x4
PROT_GROWSDOWN = 0x1000000
PROT_GROWSUP = 0x2000000
PROT_NONE = 0x0
PROT_READ = 0x1
PROT_WRITE = 0x2
PR_CAPBSET_DROP = 0x18
PR_CAPBSET_READ = 0x17
PR_CAP_AMBIENT = 0x2f
PR_CAP_AMBIENT_CLEAR_ALL = 0x4
PR_CAP_AMBIENT_IS_SET = 0x1
PR_CAP_AMBIENT_LOWER = 0x3
PR_CAP_AMBIENT_RAISE = 0x2
PR_ENDIAN_BIG = 0x0
PR_ENDIAN_LITTLE = 0x1
PR_ENDIAN_PPC_LITTLE = 0x2
PR_FPEMU_NOPRINT = 0x1
PR_FPEMU_SIGFPE = 0x2
PR_FP_EXC_ASYNC = 0x2
PR_FP_EXC_DISABLED = 0x0
PR_FP_EXC_DIV = 0x10000
PR_FP_EXC_INV = 0x100000
PR_FP_EXC_NONRECOV = 0x1
PR_FP_EXC_OVF = 0x20000
PR_FP_EXC_PRECISE = 0x3
PR_FP_EXC_RES = 0x80000
PR_FP_EXC_SW_ENABLE = 0x80
PR_FP_EXC_UND = 0x40000
PR_FP_MODE_FR = 0x1
PR_FP_MODE_FRE = 0x2
PR_GET_CHILD_SUBREAPER = 0x25
PR_GET_DUMPABLE = 0x3
PR_GET_ENDIAN = 0x13
PR_GET_FPEMU = 0x9
PR_GET_FPEXC = 0xb
PR_GET_FP_MODE = 0x2e
PR_GET_KEEPCAPS = 0x7
PR_GET_NAME = 0x10
PR_GET_NO_NEW_PRIVS = 0x27
PR_GET_PDEATHSIG = 0x2
PR_GET_SECCOMP = 0x15
PR_GET_SECUREBITS = 0x1b
PR_GET_SPECULATION_CTRL = 0x34
PR_GET_THP_DISABLE = 0x2a
PR_GET_TID_ADDRESS = 0x28
PR_GET_TIMERSLACK = 0x1e
PR_GET_TIMING = 0xd
PR_GET_TSC = 0x19
PR_GET_UNALIGN = 0x5
PR_MCE_KILL = 0x21
PR_MCE_KILL_CLEAR = 0x0
PR_MCE_KILL_DEFAULT = 0x2
PR_MCE_KILL_EARLY = 0x1
PR_MCE_KILL_GET = 0x22
PR_MCE_KILL_LATE = 0x0
PR_MCE_KILL_SET = 0x1
PR_MPX_DISABLE_MANAGEMENT = 0x2c
PR_MPX_ENABLE_MANAGEMENT = 0x2b
PR_PAC_APDAKEY = 0x4
PR_PAC_APDBKEY = 0x8
PR_PAC_APGAKEY = 0x10
PR_PAC_APIAKEY = 0x1
PR_PAC_APIBKEY = 0x2
PR_PAC_RESET_KEYS = 0x36
PR_SET_CHILD_SUBREAPER = 0x24
PR_SET_DUMPABLE = 0x4
PR_SET_ENDIAN = 0x14
PR_SET_FPEMU = 0xa
PR_SET_FPEXC = 0xc
PR_SET_FP_MODE = 0x2d
PR_SET_KEEPCAPS = 0x8
PR_SET_MM = 0x23
PR_SET_MM_ARG_END = 0x9
PR_SET_MM_ARG_START = 0x8
PR_SET_MM_AUXV = 0xc
PR_SET_MM_BRK = 0x7
PR_SET_MM_END_CODE = 0x2
PR_SET_MM_END_DATA = 0x4
PR_SET_MM_ENV_END = 0xb
PR_SET_MM_ENV_START = 0xa
PR_SET_MM_EXE_FILE = 0xd
PR_SET_MM_MAP = 0xe
PR_SET_MM_MAP_SIZE = 0xf
PR_SET_MM_START_BRK = 0x6
PR_SET_MM_START_CODE = 0x1
PR_SET_MM_START_DATA = 0x3
PR_SET_MM_START_STACK = 0x5
PR_SET_NAME = 0xf
PR_SET_NO_NEW_PRIVS = 0x26
PR_SET_PDEATHSIG = 0x1
PR_SET_PTRACER = 0x59616d61
PR_SET_PTRACER_ANY = 0xffffffffffffffff
PR_SET_SECCOMP = 0x16
PR_SET_SECUREBITS = 0x1c
PR_SET_SPECULATION_CTRL = 0x35
PR_SET_THP_DISABLE = 0x29
PR_SET_TIMERSLACK = 0x1d
PR_SET_TIMING = 0xe
PR_SET_TSC = 0x1a
PR_SET_UNALIGN = 0x6
PR_SPEC_DISABLE = 0x4
PR_SPEC_DISABLE_NOEXEC = 0x10
PR_SPEC_ENABLE = 0x2
PR_SPEC_FORCE_DISABLE = 0x8
PR_SPEC_INDIRECT_BRANCH = 0x1
PR_SPEC_NOT_AFFECTED = 0x0
PR_SPEC_PRCTL = 0x1
PR_SPEC_STORE_BYPASS = 0x0
PR_SVE_GET_VL = 0x33
PR_SVE_SET_VL = 0x32
PR_SVE_SET_VL_ONEXEC = 0x40000
PR_SVE_VL_INHERIT = 0x20000
PR_SVE_VL_LEN_MASK = 0xffff
PR_TASK_PERF_EVENTS_DISABLE = 0x1f
PR_TASK_PERF_EVENTS_ENABLE = 0x20
PR_TIMING_STATISTICAL = 0x0
PR_TIMING_TIMESTAMP = 0x1
PR_TSC_ENABLE = 0x1
PR_TSC_SIGSEGV = 0x2
PR_UNALIGN_NOPRINT = 0x1
PR_UNALIGN_SIGBUS = 0x2
PSTOREFS_MAGIC = 0x6165676c
PTRACE_ATTACH = 0x10
PTRACE_CONT = 0x7
PTRACE_DETACH = 0x11
PTRACE_EVENT_CLONE = 0x3
PTRACE_EVENT_EXEC = 0x4
PTRACE_EVENT_EXIT = 0x6
PTRACE_EVENT_FORK = 0x1
PTRACE_EVENT_SECCOMP = 0x7
PTRACE_EVENT_STOP = 0x80
PTRACE_EVENT_VFORK = 0x2
PTRACE_EVENT_VFORK_DONE = 0x5
PTRACE_GETEVENTMSG = 0x4201
PTRACE_GETFPREGS = 0xe
PTRACE_GETREGS = 0xc
PTRACE_GETREGSET = 0x4204
PTRACE_GETSIGINFO = 0x4202
PTRACE_GETSIGMASK = 0x420a
PTRACE_GET_THREAD_AREA = 0x19
PTRACE_GET_THREAD_AREA_3264 = 0xc4
PTRACE_GET_WATCH_REGS = 0xd0
PTRACE_INTERRUPT = 0x4207
PTRACE_KILL = 0x8
PTRACE_LISTEN = 0x4208
PTRACE_OLDSETOPTIONS = 0x15
PTRACE_O_EXITKILL = 0x100000
PTRACE_O_MASK = 0x3000ff
PTRACE_O_SUSPEND_SECCOMP = 0x200000
PTRACE_O_TRACECLONE = 0x8
PTRACE_O_TRACEEXEC = 0x10
PTRACE_O_TRACEEXIT = 0x40
PTRACE_O_TRACEFORK = 0x2
PTRACE_O_TRACESECCOMP = 0x80
PTRACE_O_TRACESYSGOOD = 0x1
PTRACE_O_TRACEVFORK = 0x4
PTRACE_O_TRACEVFORKDONE = 0x20
PTRACE_PEEKDATA = 0x2
PTRACE_PEEKDATA_3264 = 0xc1
PTRACE_PEEKSIGINFO = 0x4209
PTRACE_PEEKSIGINFO_SHARED = 0x1
PTRACE_PEEKTEXT = 0x1
PTRACE_PEEKTEXT_3264 = 0xc0
PTRACE_PEEKUSR = 0x3
PTRACE_POKEDATA = 0x5
PTRACE_POKEDATA_3264 = 0xc3
PTRACE_POKETEXT = 0x4
PTRACE_POKETEXT_3264 = 0xc2
PTRACE_POKEUSR = 0x6
PTRACE_SECCOMP_GET_FILTER = 0x420c
PTRACE_SECCOMP_GET_METADATA = 0x420d
PTRACE_SEIZE = 0x4206
PTRACE_SETFPREGS = 0xf
PTRACE_SETOPTIONS = 0x4200
PTRACE_SETREGS = 0xd
PTRACE_SETREGSET = 0x4205
PTRACE_SETSIGINFO = 0x4203
PTRACE_SETSIGMASK = 0x420b
PTRACE_SET_THREAD_AREA = 0x1a
PTRACE_SET_WATCH_REGS = 0xd1
PTRACE_SINGLESTEP = 0x9
PTRACE_SYSCALL = 0x18
PTRACE_TRACEME = 0x0
QNX4_SUPER_MAGIC = 0x2f
QNX6_SUPER_MAGIC = 0x68191122
RAMFS_MAGIC = 0x858458f6
RDTGROUP_SUPER_MAGIC = 0x7655821
REISERFS_SUPER_MAGIC = 0x52654973
RENAME_EXCHANGE = 0x2
RENAME_NOREPLACE = 0x1
RENAME_WHITEOUT = 0x4
RLIMIT_AS = 0x6
RLIMIT_CORE = 0x4
RLIMIT_CPU = 0x0
RLIMIT_DATA = 0x2
RLIMIT_FSIZE = 0x1
RLIMIT_LOCKS = 0xa
RLIMIT_MEMLOCK = 0x9
RLIMIT_MSGQUEUE = 0xc
RLIMIT_NICE = 0xd
RLIMIT_NOFILE = 0x5
RLIMIT_NPROC = 0x8
RLIMIT_RSS = 0x7
RLIMIT_RTPRIO = 0xe
RLIMIT_RTTIME = 0xf
RLIMIT_SIGPENDING = 0xb
RLIMIT_STACK = 0x3
RLIM_INFINITY = 0xffffffffffffffff
RNDADDENTROPY = 0x80085203
RNDADDTOENTCNT = 0x80045201
RNDCLEARPOOL = 0x20005206
RNDGETENTCNT = 0x40045200
RNDGETPOOL = 0x40085202
RNDRESEEDCRNG = 0x20005207
RNDZAPENTCNT = 0x20005204
RTAX_ADVMSS = 0x8
RTAX_CC_ALGO = 0x10
RTAX_CWND = 0x7
RTAX_FASTOPEN_NO_COOKIE = 0x11
RTAX_FEATURES = 0xc
RTAX_FEATURE_ALLFRAG = 0x8
RTAX_FEATURE_ECN = 0x1
RTAX_FEATURE_MASK = 0xf
RTAX_FEATURE_SACK = 0x2
RTAX_FEATURE_TIMESTAMP = 0x4
RTAX_HOPLIMIT = 0xa
RTAX_INITCWND = 0xb
RTAX_INITRWND = 0xe
RTAX_LOCK = 0x1
RTAX_MAX = 0x11
RTAX_MTU = 0x2
RTAX_QUICKACK = 0xf
RTAX_REORDERING = 0x9
RTAX_RTO_MIN = 0xd
RTAX_RTT = 0x4
RTAX_RTTVAR = 0x5
RTAX_SSTHRESH = 0x6
RTAX_UNSPEC = 0x0
RTAX_WINDOW = 0x3
RTA_ALIGNTO = 0x4
RTA_MAX = 0x1d
RTCF_DIRECTSRC = 0x4000000
RTCF_DOREDIRECT = 0x1000000
RTCF_LOG = 0x2000000
RTCF_MASQ = 0x400000
RTCF_NAT = 0x800000
RTCF_VALVE = 0x200000
RTC_AF = 0x20
RTC_AIE_OFF = 0x20007002
RTC_AIE_ON = 0x20007001
RTC_ALM_READ = 0x40247008
RTC_ALM_SET = 0x80247007
RTC_EPOCH_READ = 0x4008700d
RTC_EPOCH_SET = 0x8008700e
RTC_IRQF = 0x80
RTC_IRQP_READ = 0x4008700b
RTC_IRQP_SET = 0x8008700c
RTC_MAX_FREQ = 0x2000
RTC_PF = 0x40
RTC_PIE_OFF = 0x20007006
RTC_PIE_ON = 0x20007005
RTC_PLL_GET = 0x40207011
RTC_PLL_SET = 0x80207012
RTC_RD_TIME = 0x40247009
RTC_SET_TIME = 0x8024700a
RTC_UF = 0x10
RTC_UIE_OFF = 0x20007004
RTC_UIE_ON = 0x20007003
RTC_VL_CLR = 0x20007014
RTC_VL_READ = 0x40047013
RTC_WIE_OFF = 0x20007010
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
RTF_ADDRCLASSMASK = 0xf8000000
RTF_ADDRCONF = 0x40000
RTF_ALLONLINK = 0x20000
RTF_BROADCAST = 0x10000000
RTF_CACHE = 0x1000000
RTF_DEFAULT = 0x10000
RTF_DYNAMIC = 0x10
RTF_FLOW = 0x2000000
RTF_GATEWAY = 0x2
RTF_HOST = 0x4
RTF_INTERFACE = 0x40000000
RTF_IRTT = 0x100
RTF_LINKRT = 0x100000
RTF_LOCAL = 0x80000000
RTF_MODIFIED = 0x20
RTF_MSS = 0x40
RTF_MTU = 0x40
RTF_MULTICAST = 0x20000000
RTF_NAT = 0x8000000
RTF_NOFORWARD = 0x1000
RTF_NONEXTHOP = 0x200000
RTF_NOPMTUDISC = 0x4000
RTF_POLICY = 0x4000000
RTF_REINSTATE = 0x8
RTF_REJECT = 0x200
RTF_STATIC = 0x400
RTF_THROW = 0x2000
RTF_UP = 0x1
RTF_WINDOW = 0x80
RTF_XRESOLVE = 0x800
RTM_BASE = 0x10
RTM_DELACTION = 0x31
RTM_DELADDR = 0x15
RTM_DELADDRLABEL = 0x49
RTM_DELCHAIN = 0x65
RTM_DELLINK = 0x11
RTM_DELMDB = 0x55
RTM_DELNEIGH = 0x1d
RTM_DELNETCONF = 0x51
RTM_DELNSID = 0x59
RTM_DELQDISC = 0x25
RTM_DELROUTE = 0x19
RTM_DELRULE = 0x21
RTM_DELTCLASS = 0x29
RTM_DELTFILTER = 0x2d
RTM_F_CLONED = 0x200
RTM_F_EQUALIZE = 0x400
RTM_F_FIB_MATCH = 0x2000
RTM_F_LOOKUP_TABLE = 0x1000
RTM_F_NOTIFY = 0x100
RTM_F_PREFIX = 0x800
RTM_GETACTION = 0x32
RTM_GETADDR = 0x16
RTM_GETADDRLABEL = 0x4a
RTM_GETANYCAST = 0x3e
RTM_GETCHAIN = 0x66
RTM_GETDCB = 0x4e
RTM_GETLINK = 0x12
RTM_GETMDB = 0x56
RTM_GETMULTICAST = 0x3a
RTM_GETNEIGH = 0x1e
RTM_GETNEIGHTBL = 0x42
RTM_GETNETCONF = 0x52
RTM_GETNSID = 0x5a
RTM_GETQDISC = 0x26
RTM_GETROUTE = 0x1a
RTM_GETRULE = 0x22
RTM_GETSTATS = 0x5e
RTM_GETTCLASS = 0x2a
RTM_GETTFILTER = 0x2e
RTM_MAX = 0x67
RTM_NEWACTION = 0x30
RTM_NEWADDR = 0x14
RTM_NEWADDRLABEL = 0x48
RTM_NEWCACHEREPORT = 0x60
RTM_NEWCHAIN = 0x64
RTM_NEWLINK = 0x10
RTM_NEWMDB = 0x54
RTM_NEWNDUSEROPT = 0x44
RTM_NEWNEIGH = 0x1c
RTM_NEWNEIGHTBL = 0x40
RTM_NEWNETCONF = 0x50
RTM_NEWNSID = 0x58
RTM_NEWPREFIX = 0x34
RTM_NEWQDISC = 0x24
RTM_NEWROUTE = 0x18
RTM_NEWRULE = 0x20
RTM_NEWSTATS = 0x5c
RTM_NEWTCLASS = 0x28
RTM_NEWTFILTER = 0x2c
RTM_NR_FAMILIES = 0x16
RTM_NR_MSGTYPES = 0x58
RTM_SETDCB = 0x4f
RTM_SETLINK = 0x13
RTM_SETNEIGHTBL = 0x43
RTNH_ALIGNTO = 0x4
RTNH_COMPARE_MASK = 0x19
RTNH_F_DEAD = 0x1
RTNH_F_LINKDOWN = 0x10
RTNH_F_OFFLOAD = 0x8
RTNH_F_ONLINK = 0x4
RTNH_F_PERVASIVE = 0x2
RTNH_F_UNRESOLVED = 0x20
RTN_MAX = 0xb
RTPROT_BABEL = 0x2a
RTPROT_BGP = 0xba
RTPROT_BIRD = 0xc
RTPROT_BOOT = 0x3
RTPROT_DHCP = 0x10
RTPROT_DNROUTED = 0xd
RTPROT_EIGRP = 0xc0
RTPROT_GATED = 0x8
RTPROT_ISIS = 0xbb
RTPROT_KERNEL = 0x2
RTPROT_MROUTED = 0x11
RTPROT_MRT = 0xa
RTPROT_NTK = 0xf
RTPROT_OSPF = 0xbc
RTPROT_RA = 0x9
RTPROT_REDIRECT = 0x1
RTPROT_RIP = 0xbd
RTPROT_STATIC = 0x4
RTPROT_UNSPEC = 0x0
RTPROT_XORP = 0xe
RTPROT_ZEBRA = 0xb
RT_CLASS_DEFAULT = 0xfd
RT_CLASS_LOCAL = 0xff
RT_CLASS_MAIN = 0xfe
RT_CLASS_MAX = 0xff
RT_CLASS_UNSPEC = 0x0
RUSAGE_CHILDREN = -0x1
RUSAGE_SELF = 0x0
RUSAGE_THREAD = 0x1
SCM_CREDENTIALS = 0x2
SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x1d
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
SCM_TIMESTAMPNS = 0x23
SCM_TXTIME = 0x3d
SCM_WIFI_STATUS = 0x29
SC_LOG_FLUSH = 0x100000
SECCOMP_MODE_DISABLED = 0x0
SECCOMP_MODE_FILTER = 0x2
SECCOMP_MODE_STRICT = 0x1
SECURITYFS_MAGIC = 0x73636673
SELINUX_MAGIC = 0xf97cff8c
SFD_CLOEXEC = 0x80000
SFD_NONBLOCK = 0x80
SHUT_RD = 0x0
SHUT_RDWR = 0x2
SHUT_WR = 0x1
SIOCADDDLCI = 0x8980
SIOCADDMULTI = 0x8931
SIOCADDRT = 0x890b
SIOCATMARK = 0x40047307
SIOCBONDCHANGEACTIVE = 0x8995
SIOCBONDENSLAVE = 0x8990
SIOCBONDINFOQUERY = 0x8994
SIOCBONDRELEASE = 0x8991
SIOCBONDSETHWADDR = 0x8992
SIOCBONDSLAVEINFOQUERY = 0x8993
SIOCBRADDBR = 0x89a0
SIOCBRADDIF = 0x89a2
SIOCBRDELBR = 0x89a1
SIOCBRDELIF = 0x89a3
SIOCDARP = 0x8953
SIOCDELDLCI = 0x8981
SIOCDELMULTI = 0x8932
SIOCDELRT = 0x890c
SIOCDEVPRIVATE = 0x89f0
SIOCDIFADDR = 0x8936
SIOCDRARP = 0x8960
SIOCETHTOOL = 0x8946
SIOCGARP = 0x8954
SIOCGHWTSTAMP = 0x89b1
SIOCGIFADDR = 0x8915
SIOCGIFBR = 0x8940
SIOCGIFBRDADDR = 0x8919
SIOCGIFCONF = 0x8912
SIOCGIFCOUNT = 0x8938
SIOCGIFDSTADDR = 0x8917
SIOCGIFENCAP = 0x8925
SIOCGIFFLAGS = 0x8913
SIOCGIFHWADDR = 0x8927
SIOCGIFINDEX = 0x8933
SIOCGIFMAP = 0x8970
SIOCGIFMEM = 0x891f
SIOCGIFMETRIC = 0x891d
SIOCGIFMTU = 0x8921
SIOCGIFNAME = 0x8910
SIOCGIFNETMASK = 0x891b
SIOCGIFPFLAGS = 0x8935
SIOCGIFSLAVE = 0x8929
SIOCGIFTXQLEN = 0x8942
SIOCGIFVLAN = 0x8982
SIOCGMIIPHY = 0x8947
SIOCGMIIREG = 0x8948
SIOCGPGRP = 0x40047309
SIOCGPPPCSTATS = 0x89f2
SIOCGPPPSTATS = 0x89f0
SIOCGPPPVER = 0x89f1
SIOCGRARP = 0x8961
SIOCGSKNS = 0x894c
SIOCGSTAMP = 0x8906
SIOCGSTAMPNS = 0x8907
SIOCGSTAMPNS_NEW = 0x40108907
SIOCGSTAMPNS_OLD = 0x8907
SIOCGSTAMP_NEW = 0x40108906
SIOCGSTAMP_OLD = 0x8906
SIOCINQ = 0x467f
SIOCOUTQ = 0x7472
SIOCOUTQNSD = 0x894b
SIOCPROTOPRIVATE = 0x89e0
SIOCRTMSG = 0x890d
SIOCSARP = 0x8955
SIOCSHWTSTAMP = 0x89b0
SIOCSIFADDR = 0x8916
SIOCSIFBR = 0x8941
SIOCSIFBRDADDR = 0x891a
SIOCSIFDSTADDR = 0x8918
SIOCSIFENCAP = 0x8926
SIOCSIFFLAGS = 0x8914
SIOCSIFHWADDR = 0x8924
SIOCSIFHWBROADCAST = 0x8937
SIOCSIFLINK = 0x8911
SIOCSIFMAP = 0x8971
SIOCSIFMEM = 0x8920
SIOCSIFMETRIC = 0x891e
SIOCSIFMTU = 0x8922
SIOCSIFNAME = 0x8923
SIOCSIFNETMASK = 0x891c
SIOCSIFPFLAGS = 0x8934
SIOCSIFSLAVE = 0x8930
SIOCSIFTXQLEN = 0x8943
SIOCSIFVLAN = 0x8983
SIOCSMIIREG = 0x8949
SIOCSPGRP = 0x80047308
SIOCSRARP = 0x8962
SIOCWANDEV = 0x894a
SMACK_MAGIC = 0x43415d53
SMART_AUTOSAVE = 0xd2
SMART_AUTO_OFFLINE = 0xdb
SMART_DISABLE = 0xd9
SMART_ENABLE = 0xd8
SMART_HCYL_PASS = 0xc2
SMART_IMMEDIATE_OFFLINE = 0xd4
SMART_LCYL_PASS = 0x4f
SMART_READ_LOG_SECTOR = 0xd5
SMART_READ_THRESHOLDS = 0xd1
SMART_READ_VALUES = 0xd0
SMART_SAVE = 0xd3
SMART_STATUS = 0xda
SMART_WRITE_LOG_SECTOR = 0xd6
SMART_WRITE_THRESHOLDS = 0xd7
SMB_SUPER_MAGIC = 0x517b
SOCKFS_MAGIC = 0x534f434b
SOCK_CLOEXEC = 0x80000
SOCK_DCCP = 0x6
SOCK_DGRAM = 0x1
SOCK_IOC_TYPE = 0x89
SOCK_NONBLOCK = 0x80
SOCK_PACKET = 0xa
SOCK_RAW = 0x3
SOCK_RDM = 0x4
SOCK_SEQPACKET = 0x5
SOCK_STREAM = 0x2
SOL_AAL = 0x109
SOL_ALG = 0x117
SOL_ATM = 0x108
SOL_CAIF = 0x116
SOL_CAN_BASE = 0x64
SOL_DCCP = 0x10d
SOL_DECNET = 0x105
SOL_ICMPV6 = 0x3a
SOL_IP = 0x0
SOL_IPV6 = 0x29
SOL_IRDA = 0x10a
SOL_IUCV = 0x115
SOL_KCM = 0x119
SOL_LLC = 0x10c
SOL_NETBEUI = 0x10b
SOL_NETLINK = 0x10e
SOL_NFC = 0x118
SOL_PACKET = 0x107
SOL_PNPIPE = 0x113
SOL_PPPOL2TP = 0x111
SOL_RAW = 0xff
SOL_RDS = 0x114
SOL_RXRPC = 0x110
SOL_SOCKET = 0xffff
SOL_TCP = 0x6
SOL_TIPC = 0x10f
SOL_TLS = 0x11a
SOL_X25 = 0x106
SOL_XDP = 0x11b
SOMAXCONN = 0x80
SO_ACCEPTCONN = 0x1009
SO_ATTACH_BPF = 0x32
SO_ATTACH_FILTER = 0x1a
SO_ATTACH_REUSEPORT_CBPF = 0x33
SO_ATTACH_REUSEPORT_EBPF = 0x34
SO_BINDTODEVICE = 0x19
SO_BINDTOIFINDEX = 0x3e
SO_BPF_EXTENSIONS = 0x30
SO_BROADCAST = 0x20
SO_BSDCOMPAT = 0xe
SO_BUSY_POLL = 0x2e
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DEBUG = 0x1
SO_DETACH_BPF = 0x1b
SO_DETACH_FILTER = 0x1b
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_EE_CODE_TXTIME_INVALID_PARAM = 0x1
SO_EE_CODE_TXTIME_MISSED = 0x2
SO_EE_CODE_ZEROCOPY_COPIED = 0x1
SO_EE_ORIGIN_ICMP = 0x2
SO_EE_ORIGIN_ICMP6 = 0x3
SO_EE_ORIGIN_LOCAL = 0x1
SO_EE_ORIGIN_NONE = 0x0
SO_EE_ORIGIN_TIMESTAMPING = 0x4
SO_EE_ORIGIN_TXSTATUS = 0x4
SO_EE_ORIGIN_TXTIME = 0x6
SO_EE_ORIGIN_ZEROCOPY = 0x5
SO_ERROR = 0x1007
SO_GET_FILTER = 0x1a
SO_INCOMING_CPU = 0x31
SO_INCOMING_NAPI_ID = 0x38
SO_KEEPALIVE = 0x8
SO_LINGER = 0x80
SO_LOCK_FILTER = 0x2c
SO_MARK = 0x24
SO_MAX_PACING_RATE = 0x2f
SO_MEMINFO = 0x37
SO_NOFCS = 0x2b
SO_NO_CHECK = 0xb
SO_OOBINLINE = 0x100
SO_PASSCRED = 0x11
SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x12
SO_PEERGROUPS = 0x3b
SO_PEERNAME = 0x1c
SO_PEERSEC = 0x1e
SO_PRIORITY = 0xc
SO_PROTOCOL = 0x1028
SO_RCVBUF = 0x1002
SO_RCVBUFFORCE = 0x21
SO_RCVLOWAT = 0x1004
SO_RCVTIMEO = 0x1006
SO_RCVTIMEO_NEW = 0x42
SO_RCVTIMEO_OLD = 0x1006
SO_REUSEADDR = 0x4
SO_REUSEPORT = 0x200
SO_RXQ_OVFL = 0x28
SO_SECURITY_AUTHENTICATION = 0x16
SO_SECURITY_ENCRYPTION_NETWORK = 0x18
SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
SO_SELECT_ERR_QUEUE = 0x2d
SO_SNDBUF = 0x1001
SO_SNDBUFFORCE = 0x1f
SO_SNDLOWAT = 0x1003
SO_SNDTIMEO = 0x1005
SO_SNDTIMEO_NEW = 0x43
SO_SNDTIMEO_OLD = 0x1005
SO_STYLE = 0x1008
SO_TIMESTAMP = 0x1d
SO_TIMESTAMPING = 0x25
SO_TIMESTAMPING_NEW = 0x41
SO_TIMESTAMPING_OLD = 0x25
SO_TIMESTAMPNS = 0x23
SO_TIMESTAMPNS_NEW = 0x40
SO_TIMESTAMPNS_OLD = 0x23
SO_TIMESTAMP_NEW = 0x3f
SO_TIMESTAMP_OLD = 0x1d
SO_TXTIME = 0x3d
SO_TYPE = 0x1008
SO_VM_SOCKETS_BUFFER_MAX_SIZE = 0x2
SO_VM_SOCKETS_BUFFER_MIN_SIZE = 0x1
SO_VM_SOCKETS_BUFFER_SIZE = 0x0
SO_VM_SOCKETS_CONNECT_TIMEOUT = 0x6
SO_VM_SOCKETS_NONBLOCK_TXRX = 0x7
SO_VM_SOCKETS_PEER_HOST_VM_ID = 0x3
SO_VM_SOCKETS_TRUSTED = 0x5
SO_WIFI_STATUS = 0x29
SO_ZEROCOPY = 0x3c
SPLICE_F_GIFT = 0x8
SPLICE_F_MORE = 0x4
SPLICE_F_MOVE = 0x1
SPLICE_F_NONBLOCK = 0x2
SQUASHFS_MAGIC = 0x73717368
STACK_END_MAGIC = 0x57ac6e9d
STATX_ALL = 0xfff
STATX_ATIME = 0x20
STATX_ATTR_APPEND = 0x20
STATX_ATTR_AUTOMOUNT = 0x1000
STATX_ATTR_COMPRESSED = 0x4
STATX_ATTR_ENCRYPTED = 0x800
STATX_ATTR_IMMUTABLE = 0x10
STATX_ATTR_NODUMP = 0x40
STATX_BASIC_STATS = 0x7ff
STATX_BLOCKS = 0x400
STATX_BTIME = 0x800
STATX_CTIME = 0x80
STATX_GID = 0x10
STATX_INO = 0x100
STATX_MODE = 0x2
STATX_MTIME = 0x40
STATX_NLINK = 0x4
STATX_SIZE = 0x200
STATX_TYPE = 0x1
STATX_UID = 0x8
STATX__RESERVED = 0x80000000
SYNC_FILE_RANGE_WAIT_AFTER = 0x4
SYNC_FILE_RANGE_WAIT_BEFORE = 0x1
SYNC_FILE_RANGE_WRITE = 0x2
SYNC_FILE_RANGE_WRITE_AND_WAIT = 0x7
SYSFS_MAGIC = 0x62656572
S_BLKSIZE = 0x200
S_IEXEC = 0x40
S_IFBLK = 0x6000
S_IFCHR = 0x2000
S_IFDIR = 0x4000
S_IFIFO = 0x1000
S_IFLNK = 0xa000
S_IFMT = 0xf000
S_IFREG = 0x8000
S_IFSOCK = 0xc000
S_IREAD = 0x100
S_IRGRP = 0x20
S_IROTH = 0x4
S_IRUSR = 0x100
S_IRWXG = 0x38
S_IRWXO = 0x7
S_IRWXU = 0x1c0
S_ISGID = 0x400
S_ISUID = 0x800
S_ISVTX = 0x200
S_IWGRP = 0x10
S_IWOTH = 0x2
S_IWRITE = 0x80
S_IWUSR = 0x80
S_IXGRP = 0x8
S_IXOTH = 0x1
S_IXUSR = 0x40
TAB0 = 0x0
TAB1 = 0x800
TAB2 = 0x1000
TAB3 = 0x1800
TABDLY = 0x1800
TASKSTATS_CMD_ATTR_MAX = 0x4
TASKSTATS_CMD_MAX = 0x2
TASKSTATS_GENL_NAME = "TASKSTATS"
TASKSTATS_GENL_VERSION = 0x1
TASKSTATS_TYPE_MAX = 0x6
TASKSTATS_VERSION = 0x9
TCFLSH = 0x5407
TCGETA = 0x5401
TCGETS = 0x540d
TCGETS2 = 0x4030542a
TCIFLUSH = 0x0
TCIOFF = 0x2
TCIOFLUSH = 0x2
TCION = 0x3
TCOFLUSH = 0x1
TCOOFF = 0x0
TCOON = 0x1
TCP_BPF_IW = 0x3e9
TCP_BPF_SNDCWND_CLAMP = 0x3ea
TCP_CC_INFO = 0x1a
TCP_CM_INQ = 0x24
TCP_CONGESTION = 0xd
TCP_COOKIE_IN_ALWAYS = 0x1
TCP_COOKIE_MAX = 0x10
TCP_COOKIE_MIN = 0x8
TCP_COOKIE_OUT_NEVER = 0x2
TCP_COOKIE_PAIR_SIZE = 0x20
TCP_COOKIE_TRANSACTIONS = 0xf
TCP_CORK = 0x3
TCP_DEFER_ACCEPT = 0x9
TCP_FASTOPEN = 0x17
TCP_FASTOPEN_CONNECT = 0x1e
TCP_FASTOPEN_KEY = 0x21
TCP_FASTOPEN_NO_COOKIE = 0x22
TCP_INFO = 0xb
TCP_INQ = 0x24
TCP_KEEPCNT = 0x6
TCP_KEEPIDLE = 0x4
TCP_KEEPINTVL = 0x5
TCP_LINGER2 = 0x8
TCP_MAXSEG = 0x2
TCP_MAXWIN = 0xffff
TCP_MAX_WINSHIFT = 0xe
TCP_MD5SIG = 0xe
TCP_MD5SIG_EXT = 0x20
TCP_MD5SIG_FLAG_PREFIX = 0x1
TCP_MD5SIG_MAXKEYLEN = 0x50
TCP_MSS = 0x200
TCP_MSS_DEFAULT = 0x218
TCP_MSS_DESIRED = 0x4c4
TCP_NODELAY = 0x1
TCP_NOTSENT_LOWAT = 0x19
TCP_QUEUE_SEQ = 0x15
TCP_QUICKACK = 0xc
TCP_REPAIR = 0x13
TCP_REPAIR_OFF = 0x0
TCP_REPAIR_OFF_NO_WP = -0x1
TCP_REPAIR_ON = 0x1
TCP_REPAIR_OPTIONS = 0x16
TCP_REPAIR_QUEUE = 0x14
TCP_REPAIR_WINDOW = 0x1d
TCP_SAVED_SYN = 0x1c
TCP_SAVE_SYN = 0x1b
TCP_SYNCNT = 0x7
TCP_S_DATA_IN = 0x4
TCP_S_DATA_OUT = 0x8
TCP_THIN_DUPACK = 0x11
TCP_THIN_LINEAR_TIMEOUTS = 0x10
TCP_TIMESTAMP = 0x18
TCP_ULP = 0x1f
TCP_USER_TIMEOUT = 0x12
TCP_WINDOW_CLAMP = 0xa
TCP_ZEROCOPY_RECEIVE = 0x23
TCSAFLUSH = 0x5410
TCSBRK = 0x5405
TCSBRKP = 0x5486
TCSETA = 0x5402
TCSETAF = 0x5404
TCSETAW = 0x5403
TCSETS = 0x540e
TCSETS2 = 0x8030542b
TCSETSF = 0x5410
TCSETSF2 = 0x8030542d
TCSETSW = 0x540f
TCSETSW2 = 0x8030542c
TCXONC = 0x5406
TIMER_ABSTIME = 0x1
TIOCCBRK = 0x5428
TIOCCONS = 0x80047478
TIOCEXCL = 0x740d
TIOCGDEV = 0x40045432
TIOCGETD = 0x7400
TIOCGETP = 0x7408
TIOCGEXCL = 0x40045440
TIOCGICOUNT = 0x5492
TIOCGISO7816 = 0x40285442
TIOCGLCKTRMIOS = 0x548b
TIOCGLTC = 0x7474
TIOCGPGRP = 0x40047477
TIOCGPKT = 0x40045438
TIOCGPTLCK = 0x40045439
TIOCGPTN = 0x40045430
TIOCGPTPEER = 0x20005441
TIOCGRS485 = 0x4020542e
TIOCGSERIAL = 0x5484
TIOCGSID = 0x7416
TIOCGSOFTCAR = 0x5481
TIOCGWINSZ = 0x40087468
TIOCINQ = 0x467f
TIOCLINUX = 0x5483
TIOCMBIC = 0x741c
TIOCMBIS = 0x741b
TIOCMGET = 0x741d
TIOCMIWAIT = 0x5491
TIOCMSET = 0x741a
TIOCM_CAR = 0x100
TIOCM_CD = 0x100
TIOCM_CTS = 0x40
TIOCM_DSR = 0x400
TIOCM_DTR = 0x2
TIOCM_LE = 0x1
TIOCM_RI = 0x200
TIOCM_RNG = 0x200
TIOCM_RTS = 0x4
TIOCM_SR = 0x20
TIOCM_ST = 0x10
TIOCNOTTY = 0x5471
TIOCNXCL = 0x740e
TIOCOUTQ = 0x7472
TIOCPKT = 0x5470
TIOCPKT_DATA = 0x0
TIOCPKT_DOSTOP = 0x20
TIOCPKT_FLUSHREAD = 0x1
TIOCPKT_FLUSHWRITE = 0x2
TIOCPKT_IOCTL = 0x40
TIOCPKT_NOSTOP = 0x10
TIOCPKT_START = 0x8
TIOCPKT_STOP = 0x4
TIOCSBRK = 0x5427
TIOCSCTTY = 0x5480
TIOCSERCONFIG = 0x5488
TIOCSERGETLSR = 0x548e
TIOCSERGETMULTI = 0x548f
TIOCSERGSTRUCT = 0x548d
TIOCSERGWILD = 0x5489
TIOCSERSETMULTI = 0x5490
TIOCSERSWILD = 0x548a
TIOCSER_TEMT = 0x1
TIOCSETD = 0x7401
TIOCSETN = 0x740a
TIOCSETP = 0x7409
TIOCSIG = 0x80045436
TIOCSISO7816 = 0xc0285443
TIOCSLCKTRMIOS = 0x548c
TIOCSLTC = 0x7475
TIOCSPGRP = 0x80047476
TIOCSPTLCK = 0x80045431
TIOCSRS485 = 0xc020542f
TIOCSSERIAL = 0x5485
TIOCSSOFTCAR = 0x5482
TIOCSTI = 0x5472
TIOCSWINSZ = 0x80087467
TIOCVHANGUP = 0x5437
TMPFS_MAGIC = 0x1021994
TOSTOP = 0x8000
TPACKET_ALIGNMENT = 0x10
TPACKET_HDRLEN = 0x34
TP_STATUS_AVAILABLE = 0x0
TP_STATUS_BLK_TMO = 0x20
TP_STATUS_COPY = 0x2
TP_STATUS_CSUMNOTREADY = 0x8
TP_STATUS_CSUM_VALID = 0x80
TP_STATUS_KERNEL = 0x0
TP_STATUS_LOSING = 0x4
TP_STATUS_SENDING = 0x2
TP_STATUS_SEND_REQUEST = 0x1
TP_STATUS_TS_RAW_HARDWARE = -0x80000000
TP_STATUS_TS_SOFTWARE = 0x20000000
TP_STATUS_TS_SYS_HARDWARE = 0x40000000
TP_STATUS_USER = 0x1
TP_STATUS_VLAN_TPID_VALID = 0x40
TP_STATUS_VLAN_VALID = 0x10
TP_STATUS_WRONG_FORMAT = 0x4
TRACEFS_MAGIC = 0x74726163
TS_COMM_LEN = 0x20
TUNATTACHFILTER = 0x801054d5
TUNDETACHFILTER = 0x801054d6
TUNGETDEVNETNS = 0x200054e3
TUNGETFEATURES = 0x400454cf
TUNGETFILTER = 0x401054db
TUNGETIFF = 0x400454d2
TUNGETSNDBUF = 0x400454d3
TUNGETVNETBE = 0x400454df
TUNGETVNETHDRSZ = 0x400454d7
TUNGETVNETLE = 0x400454dd
TUNSETCARRIER = 0x800454e2
TUNSETDEBUG = 0x800454c9
TUNSETFILTEREBPF = 0x400454e1
TUNSETGROUP = 0x800454ce
TUNSETIFF = 0x800454ca
TUNSETIFINDEX = 0x800454da
TUNSETLINK = 0x800454cd
TUNSETNOCSUM = 0x800454c8
TUNSETOFFLOAD = 0x800454d0
TUNSETOWNER = 0x800454cc
TUNSETPERSIST = 0x800454cb
TUNSETQUEUE = 0x800454d9
TUNSETSNDBUF = 0x800454d4
TUNSETSTEERINGEBPF = 0x400454e0
TUNSETTXFILTER = 0x800454d1
TUNSETVNETBE = 0x800454de
TUNSETVNETHDRSZ = 0x800454d8
TUNSETVNETLE = 0x800454dc
UBI_IOCATT = 0x80186f40
UBI_IOCDET = 0x80046f41
UBI_IOCEBCH = 0x80044f02
UBI_IOCEBER = 0x80044f01
UBI_IOCEBISMAP = 0x40044f05
UBI_IOCEBMAP = 0x80084f03
UBI_IOCEBUNMAP = 0x80044f04
UBI_IOCMKVOL = 0x80986f00
UBI_IOCRMVOL = 0x80046f01
UBI_IOCRNVOL = 0x91106f03
UBI_IOCRPEB = 0x80046f04
UBI_IOCRSVOL = 0x800c6f02
UBI_IOCSETVOLPROP = 0x80104f06
UBI_IOCSPEB = 0x80046f05
UBI_IOCVOLCRBLK = 0x80804f07
UBI_IOCVOLRMBLK = 0x20004f08
UBI_IOCVOLUP = 0x80084f00
UDF_SUPER_MAGIC = 0x15013346
UMOUNT_NOFOLLOW = 0x8
USBDEVICE_SUPER_MAGIC = 0x9fa2
UTIME_NOW = 0x3fffffff
UTIME_OMIT = 0x3ffffffe
V9FS_MAGIC = 0x1021997
VDISCARD = 0xd
VEOF = 0x10
VEOL = 0x11
VEOL2 = 0x6
VERASE = 0x2
VINTR = 0x0
VKILL = 0x3
VLNEXT = 0xf
VMADDR_CID_ANY = 0xffffffff
VMADDR_CID_HOST = 0x2
VMADDR_CID_HYPERVISOR = 0x0
VMADDR_CID_RESERVED = 0x1
VMADDR_PORT_ANY = 0xffffffff
VMIN = 0x4
VM_SOCKETS_INVALID_VERSION = 0xffffffff
VQUIT = 0x1
VREPRINT = 0xc
VSTART = 0x8
VSTOP = 0x9
VSUSP = 0xa
VSWTC = 0x7
VSWTCH = 0x7
VT0 = 0x0
VT1 = 0x4000
VTDLY = 0x4000
VTIME = 0x5
VWERASE = 0xe
WALL = 0x40000000
WCLONE = 0x80000000
WCONTINUED = 0x8
WDIOC_GETBOOTSTATUS = 0x40045702
WDIOC_GETPRETIMEOUT = 0x40045709
WDIOC_GETSTATUS = 0x40045701
WDIOC_GETSUPPORT = 0x40285700
WDIOC_GETTEMP = 0x40045703
WDIOC_GETTIMELEFT = 0x4004570a
WDIOC_GETTIMEOUT = 0x40045707
WDIOC_KEEPALIVE = 0x40045705
WDIOC_SETOPTIONS = 0x40045704
WDIOC_SETPRETIMEOUT = 0xc0045708
WDIOC_SETTIMEOUT = 0xc0045706
WEXITED = 0x4
WIN_ACKMEDIACHANGE = 0xdb
WIN_CHECKPOWERMODE1 = 0xe5
WIN_CHECKPOWERMODE2 = 0x98
WIN_DEVICE_RESET = 0x8
WIN_DIAGNOSE = 0x90
WIN_DOORLOCK = 0xde
WIN_DOORUNLOCK = 0xdf
WIN_DOWNLOAD_MICROCODE = 0x92
WIN_FLUSH_CACHE = 0xe7
WIN_FLUSH_CACHE_EXT = 0xea
WIN_FORMAT = 0x50
WIN_GETMEDIASTATUS = 0xda
WIN_IDENTIFY = 0xec
WIN_IDENTIFY_DMA = 0xee
WIN_IDLEIMMEDIATE = 0xe1
WIN_INIT = 0x60
WIN_MEDIAEJECT = 0xed
WIN_MULTREAD = 0xc4
WIN_MULTREAD_EXT = 0x29
WIN_MULTWRITE = 0xc5
WIN_MULTWRITE_EXT = 0x39
WIN_NOP = 0x0
WIN_PACKETCMD = 0xa0
WIN_PIDENTIFY = 0xa1
WIN_POSTBOOT = 0xdc
WIN_PREBOOT = 0xdd
WIN_QUEUED_SERVICE = 0xa2
WIN_READ = 0x20
WIN_READDMA = 0xc8
WIN_READDMA_EXT = 0x25
WIN_READDMA_ONCE = 0xc9
WIN_READDMA_QUEUED = 0xc7
WIN_READDMA_QUEUED_EXT = 0x26
WIN_READ_BUFFER = 0xe4
WIN_READ_EXT = 0x24
WIN_READ_LONG = 0x22
WIN_READ_LONG_ONCE = 0x23
WIN_READ_NATIVE_MAX = 0xf8
WIN_READ_NATIVE_MAX_EXT = 0x27
WIN_READ_ONCE = 0x21
WIN_RECAL = 0x10
WIN_RESTORE = 0x10
WIN_SECURITY_DISABLE = 0xf6
WIN_SECURITY_ERASE_PREPARE = 0xf3
WIN_SECURITY_ERASE_UNIT = 0xf4
WIN_SECURITY_FREEZE_LOCK = 0xf5
WIN_SECURITY_SET_PASS = 0xf1
WIN_SECURITY_UNLOCK = 0xf2
WIN_SEEK = 0x70
WIN_SETFEATURES = 0xef
WIN_SETIDLE1 = 0xe3
WIN_SETIDLE2 = 0x97
WIN_SETMULT = 0xc6
WIN_SET_MAX = 0xf9
WIN_SET_MAX_EXT = 0x37
WIN_SLEEPNOW1 = 0xe6
WIN_SLEEPNOW2 = 0x99
WIN_SMART = 0xb0
WIN_SPECIFY = 0x91
WIN_SRST = 0x8
WIN_STANDBY = 0xe2
WIN_STANDBY2 = 0x96
WIN_STANDBYNOW1 = 0xe0
WIN_STANDBYNOW2 = 0x94
WIN_VERIFY = 0x40
WIN_VERIFY_EXT = 0x42
WIN_VERIFY_ONCE = 0x41
WIN_WRITE = 0x30
WIN_WRITEDMA = 0xca
WIN_WRITEDMA_EXT = 0x35
WIN_WRITEDMA_ONCE = 0xcb
WIN_WRITEDMA_QUEUED = 0xcc
WIN_WRITEDMA_QUEUED_EXT = 0x36
WIN_WRITE_BUFFER = 0xe8
WIN_WRITE_EXT = 0x34
WIN_WRITE_LONG = 0x32
WIN_WRITE_LONG_ONCE = 0x33
WIN_WRITE_ONCE = 0x31
WIN_WRITE_SAME = 0xe9
WIN_WRITE_VERIFY = 0x3c
WNOHANG = 0x1
WNOTHREAD = 0x20000000
WNOWAIT = 0x1000000
WORDSIZE = 0x40
WSTOPPED = 0x2
WUNTRACED = 0x2
XATTR_CREATE = 0x1
XATTR_REPLACE = 0x2
XCASE = 0x4
XDP_COPY = 0x2
XDP_FLAGS_DRV_MODE = 0x4
XDP_FLAGS_HW_MODE = 0x8
XDP_FLAGS_MASK = 0xf
XDP_FLAGS_MODES = 0xe
XDP_FLAGS_SKB_MODE = 0x2
XDP_FLAGS_UPDATE_IF_NOEXIST = 0x1
XDP_MMAP_OFFSETS = 0x1
XDP_PACKET_HEADROOM = 0x100
XDP_PGOFF_RX_RING = 0x0
XDP_PGOFF_TX_RING = 0x80000000
XDP_RX_RING = 0x2
XDP_SHARED_UMEM = 0x1
XDP_STATISTICS = 0x7
XDP_TX_RING = 0x3
XDP_UMEM_COMPLETION_RING = 0x6
XDP_UMEM_FILL_RING = 0x5
XDP_UMEM_PGOFF_COMPLETION_RING = 0x180000000
XDP_UMEM_PGOFF_FILL_RING = 0x100000000
XDP_UMEM_REG = 0x4
XDP_ZEROCOPY = 0x4
XENFS_SUPER_MAGIC = 0xabba1974
XFS_SUPER_MAGIC = 0x58465342
XTABS = 0x1800
ZSMALLOC_MAGIC = 0x58295829
)
// Errors
const (
E2BIG = syscall.Errno(0x7)
EACCES = syscall.Errno(0xd)
EADDRINUSE = syscall.Errno(0x7d)
EADDRNOTAVAIL = syscall.Errno(0x7e)
EADV = syscall.Errno(0x44)
EAFNOSUPPORT = syscall.Errno(0x7c)
EAGAIN = syscall.Errno(0xb)
EALREADY = syscall.Errno(0x95)
EBADE = syscall.Errno(0x32)
EBADF = syscall.Errno(0x9)
EBADFD = syscall.Errno(0x51)
EBADMSG = syscall.Errno(0x4d)
EBADR = syscall.Errno(0x33)
EBADRQC = syscall.Errno(0x36)
EBADSLT = syscall.Errno(0x37)
EBFONT = syscall.Errno(0x3b)
EBUSY = syscall.Errno(0x10)
ECANCELED = syscall.Errno(0x9e)
ECHILD = syscall.Errno(0xa)
ECHRNG = syscall.Errno(0x25)
ECOMM = syscall.Errno(0x46)
ECONNABORTED = syscall.Errno(0x82)
ECONNREFUSED = syscall.Errno(0x92)
ECONNRESET = syscall.Errno(0x83)
EDEADLK = syscall.Errno(0x2d)
EDEADLOCK = syscall.Errno(0x38)
EDESTADDRREQ = syscall.Errno(0x60)
EDOM = syscall.Errno(0x21)
EDOTDOT = syscall.Errno(0x49)
EDQUOT = syscall.Errno(0x46d)
EEXIST = syscall.Errno(0x11)
EFAULT = syscall.Errno(0xe)
EFBIG = syscall.Errno(0x1b)
EHOSTDOWN = syscall.Errno(0x93)
EHOSTUNREACH = syscall.Errno(0x94)
EHWPOISON = syscall.Errno(0xa8)
EIDRM = syscall.Errno(0x24)
EILSEQ = syscall.Errno(0x58)
EINIT = syscall.Errno(0x8d)
EINPROGRESS = syscall.Errno(0x96)
EINTR = syscall.Errno(0x4)
EINVAL = syscall.Errno(0x16)
EIO = syscall.Errno(0x5)
EISCONN = syscall.Errno(0x85)
EISDIR = syscall.Errno(0x15)
EISNAM = syscall.Errno(0x8b)
EKEYEXPIRED = syscall.Errno(0xa2)
EKEYREJECTED = syscall.Errno(0xa4)
EKEYREVOKED = syscall.Errno(0xa3)
EL2HLT = syscall.Errno(0x2c)
EL2NSYNC = syscall.Errno(0x26)
EL3HLT = syscall.Errno(0x27)
EL3RST = syscall.Errno(0x28)
ELIBACC = syscall.Errno(0x53)
ELIBBAD = syscall.Errno(0x54)
ELIBEXEC = syscall.Errno(0x57)
ELIBMAX = syscall.Errno(0x56)
ELIBSCN = syscall.Errno(0x55)
ELNRNG = syscall.Errno(0x29)
ELOOP = syscall.Errno(0x5a)
EMEDIUMTYPE = syscall.Errno(0xa0)
EMFILE = syscall.Errno(0x18)
EMLINK = syscall.Errno(0x1f)
EMSGSIZE = syscall.Errno(0x61)
EMULTIHOP = syscall.Errno(0x4a)
ENAMETOOLONG = syscall.Errno(0x4e)
ENAVAIL = syscall.Errno(0x8a)
ENETDOWN = syscall.Errno(0x7f)
ENETRESET = syscall.Errno(0x81)
ENETUNREACH = syscall.Errno(0x80)
ENFILE = syscall.Errno(0x17)
ENOANO = syscall.Errno(0x35)
ENOBUFS = syscall.Errno(0x84)
ENOCSI = syscall.Errno(0x2b)
ENODATA = syscall.Errno(0x3d)
ENODEV = syscall.Errno(0x13)
ENOENT = syscall.Errno(0x2)
ENOEXEC = syscall.Errno(0x8)
ENOKEY = syscall.Errno(0xa1)
ENOLCK = syscall.Errno(0x2e)
ENOLINK = syscall.Errno(0x43)
ENOMEDIUM = syscall.Errno(0x9f)
ENOMEM = syscall.Errno(0xc)
ENOMSG = syscall.Errno(0x23)
ENONET = syscall.Errno(0x40)
ENOPKG = syscall.Errno(0x41)
ENOPROTOOPT = syscall.Errno(0x63)
ENOSPC = syscall.Errno(0x1c)
ENOSR = syscall.Errno(0x3f)
ENOSTR = syscall.Errno(0x3c)
ENOSYS = syscall.Errno(0x59)
ENOTBLK = syscall.Errno(0xf)
ENOTCONN = syscall.Errno(0x86)
ENOTDIR = syscall.Errno(0x14)
ENOTEMPTY = syscall.Errno(0x5d)
ENOTNAM = syscall.Errno(0x89)
ENOTRECOVERABLE = syscall.Errno(0xa6)
ENOTSOCK = syscall.Errno(0x5f)
ENOTSUP = syscall.Errno(0x7a)
ENOTTY = syscall.Errno(0x19)
ENOTUNIQ = syscall.Errno(0x50)
ENXIO = syscall.Errno(0x6)
EOPNOTSUPP = syscall.Errno(0x7a)
EOVERFLOW = syscall.Errno(0x4f)
EOWNERDEAD = syscall.Errno(0xa5)
EPERM = syscall.Errno(0x1)
EPFNOSUPPORT = syscall.Errno(0x7b)
EPIPE = syscall.Errno(0x20)
EPROTO = syscall.Errno(0x47)
EPROTONOSUPPORT = syscall.Errno(0x78)
EPROTOTYPE = syscall.Errno(0x62)
ERANGE = syscall.Errno(0x22)
EREMCHG = syscall.Errno(0x52)
EREMDEV = syscall.Errno(0x8e)
EREMOTE = syscall.Errno(0x42)
EREMOTEIO = syscall.Errno(0x8c)
ERESTART = syscall.Errno(0x5b)
ERFKILL = syscall.Errno(0xa7)
EROFS = syscall.Errno(0x1e)
ESHUTDOWN = syscall.Errno(0x8f)
ESOCKTNOSUPPORT = syscall.Errno(0x79)
ESPIPE = syscall.Errno(0x1d)
ESRCH = syscall.Errno(0x3)
ESRMNT = syscall.Errno(0x45)
ESTALE = syscall.Errno(0x97)
ESTRPIPE = syscall.Errno(0x5c)
ETIME = syscall.Errno(0x3e)
ETIMEDOUT = syscall.Errno(0x91)
ETOOMANYREFS = syscall.Errno(0x90)
ETXTBSY = syscall.Errno(0x1a)
EUCLEAN = syscall.Errno(0x87)
EUNATCH = syscall.Errno(0x2a)
EUSERS = syscall.Errno(0x5e)
EWOULDBLOCK = syscall.Errno(0xb)
EXDEV = syscall.Errno(0x12)
EXFULL = syscall.Errno(0x34)
)
// Signals
const (
SIGABRT = syscall.Signal(0x6)
SIGALRM = syscall.Signal(0xe)
SIGBUS = syscall.Signal(0xa)
SIGCHLD = syscall.Signal(0x12)
SIGCLD = syscall.Signal(0x12)
SIGCONT = syscall.Signal(0x19)
SIGEMT = syscall.Signal(0x7)
SIGFPE = syscall.Signal(0x8)
SIGHUP = syscall.Signal(0x1)
SIGILL = syscall.Signal(0x4)
SIGINT = syscall.Signal(0x2)
SIGIO = syscall.Signal(0x16)
SIGIOT = syscall.Signal(0x6)
SIGKILL = syscall.Signal(0x9)
SIGPIPE = syscall.Signal(0xd)
SIGPOLL = syscall.Signal(0x16)
SIGPROF = syscall.Signal(0x1d)
SIGPWR = syscall.Signal(0x13)
SIGQUIT = syscall.Signal(0x3)
SIGSEGV = syscall.Signal(0xb)
SIGSTOP = syscall.Signal(0x17)
SIGSYS = syscall.Signal(0xc)
SIGTERM = syscall.Signal(0xf)
SIGTRAP = syscall.Signal(0x5)
SIGTSTP = syscall.Signal(0x18)
SIGTTIN = syscall.Signal(0x1a)
SIGTTOU = syscall.Signal(0x1b)
SIGURG = syscall.Signal(0x15)
SIGUSR1 = syscall.Signal(0x10)
SIGUSR2 = syscall.Signal(0x11)
SIGVTALRM = syscall.Signal(0x1c)
SIGWINCH = syscall.Signal(0x14)
SIGXCPU = syscall.Signal(0x1e)
SIGXFSZ = syscall.Signal(0x1f)
)
// Error table
var errorList = [...]struct {
num syscall.Errno
name string
desc string
}{
{1, "EPERM", "operation not permitted"},
{2, "ENOENT", "no such file or directory"},
{3, "ESRCH", "no such process"},
{4, "EINTR", "interrupted system call"},
{5, "EIO", "input/output error"},
{6, "ENXIO", "no such device or address"},
{7, "E2BIG", "argument list too long"},
{8, "ENOEXEC", "exec format error"},
{9, "EBADF", "bad file descriptor"},
{10, "ECHILD", "no child processes"},
{11, "EAGAIN", "resource temporarily unavailable"},
{12, "ENOMEM", "cannot allocate memory"},
{13, "EACCES", "permission denied"},
{14, "EFAULT", "bad address"},
{15, "ENOTBLK", "block device required"},
{16, "EBUSY", "device or resource busy"},
{17, "EEXIST", "file exists"},
{18, "EXDEV", "invalid cross-device link"},
{19, "ENODEV", "no such device"},
{20, "ENOTDIR", "not a directory"},
{21, "EISDIR", "is a directory"},
{22, "EINVAL", "invalid argument"},
{23, "ENFILE", "too many open files in system"},
{24, "EMFILE", "too many open files"},
{25, "ENOTTY", "inappropriate ioctl for device"},
{26, "ETXTBSY", "text file busy"},
{27, "EFBIG", "file too large"},
{28, "ENOSPC", "no space left on device"},
{29, "ESPIPE", "illegal seek"},
{30, "EROFS", "read-only file system"},
{31, "EMLINK", "too many links"},
{32, "EPIPE", "broken pipe"},
{33, "EDOM", "numerical argument out of domain"},
{34, "ERANGE", "numerical result out of range"},
{35, "ENOMSG", "no message of desired type"},
{36, "EIDRM", "identifier removed"},
{37, "ECHRNG", "channel number out of range"},
{38, "EL2NSYNC", "level 2 not synchronized"},
{39, "EL3HLT", "level 3 halted"},
{40, "EL3RST", "level 3 reset"},
{41, "ELNRNG", "link number out of range"},
{42, "EUNATCH", "protocol driver not attached"},
{43, "ENOCSI", "no CSI structure available"},
{44, "EL2HLT", "level 2 halted"},
{45, "EDEADLK", "resource deadlock avoided"},
{46, "ENOLCK", "no locks available"},
{50, "EBADE", "invalid exchange"},
{51, "EBADR", "invalid request descriptor"},
{52, "EXFULL", "exchange full"},
{53, "ENOANO", "no anode"},
{54, "EBADRQC", "invalid request code"},
{55, "EBADSLT", "invalid slot"},
{56, "EDEADLOCK", "file locking deadlock error"},
{59, "EBFONT", "bad font file format"},
{60, "ENOSTR", "device not a stream"},
{61, "ENODATA", "no data available"},
{62, "ETIME", "timer expired"},
{63, "ENOSR", "out of streams resources"},
{64, "ENONET", "machine is not on the network"},
{65, "ENOPKG", "package not installed"},
{66, "EREMOTE", "object is remote"},
{67, "ENOLINK", "link has been severed"},
{68, "EADV", "advertise error"},
{69, "ESRMNT", "srmount error"},
{70, "ECOMM", "communication error on send"},
{71, "EPROTO", "protocol error"},
{73, "EDOTDOT", "RFS specific error"},
{74, "EMULTIHOP", "multihop attempted"},
{77, "EBADMSG", "bad message"},
{78, "ENAMETOOLONG", "file name too long"},
{79, "EOVERFLOW", "value too large for defined data type"},
{80, "ENOTUNIQ", "name not unique on network"},
{81, "EBADFD", "file descriptor in bad state"},
{82, "EREMCHG", "remote address changed"},
{83, "ELIBACC", "can not access a needed shared library"},
{84, "ELIBBAD", "accessing a corrupted shared library"},
{85, "ELIBSCN", ".lib section in a.out corrupted"},
{86, "ELIBMAX", "attempting to link in too many shared libraries"},
{87, "ELIBEXEC", "cannot exec a shared library directly"},
{88, "EILSEQ", "invalid or incomplete multibyte or wide character"},
{89, "ENOSYS", "function not implemented"},
{90, "ELOOP", "too many levels of symbolic links"},
{91, "ERESTART", "interrupted system call should be restarted"},
{92, "ESTRPIPE", "streams pipe error"},
{93, "ENOTEMPTY", "directory not empty"},
{94, "EUSERS", "too many users"},
{95, "ENOTSOCK", "socket operation on non-socket"},
{96, "EDESTADDRREQ", "destination address required"},
{97, "EMSGSIZE", "message too long"},
{98, "EPROTOTYPE", "protocol wrong type for socket"},
{99, "ENOPROTOOPT", "protocol not available"},
{120, "EPROTONOSUPPORT", "protocol not supported"},
{121, "ESOCKTNOSUPPORT", "socket type not supported"},
{122, "ENOTSUP", "operation not supported"},
{123, "EPFNOSUPPORT", "protocol family not supported"},
{124, "EAFNOSUPPORT", "address family not supported by protocol"},
{125, "EADDRINUSE", "address already in use"},
{126, "EADDRNOTAVAIL", "cannot assign requested address"},
{127, "ENETDOWN", "network is down"},
{128, "ENETUNREACH", "network is unreachable"},
{129, "ENETRESET", "network dropped connection on reset"},
{130, "ECONNABORTED", "software caused connection abort"},
{131, "ECONNRESET", "connection reset by peer"},
{132, "ENOBUFS", "no buffer space available"},
{133, "EISCONN", "transport endpoint is already connected"},
{134, "ENOTCONN", "transport endpoint is not connected"},
{135, "EUCLEAN", "structure needs cleaning"},
{137, "ENOTNAM", "not a XENIX named type file"},
{138, "ENAVAIL", "no XENIX semaphores available"},
{139, "EISNAM", "is a named type file"},
{140, "EREMOTEIO", "remote I/O error"},
{141, "EINIT", "unknown error 141"},
{142, "EREMDEV", "unknown error 142"},
{143, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
{144, "ETOOMANYREFS", "too many references: cannot splice"},
{145, "ETIMEDOUT", "connection timed out"},
{146, "ECONNREFUSED", "connection refused"},
{147, "EHOSTDOWN", "host is down"},
{148, "EHOSTUNREACH", "no route to host"},
{149, "EALREADY", "operation already in progress"},
{150, "EINPROGRESS", "operation now in progress"},
{151, "ESTALE", "stale file handle"},
{158, "ECANCELED", "operation canceled"},
{159, "ENOMEDIUM", "no medium found"},
{160, "EMEDIUMTYPE", "wrong medium type"},
{161, "ENOKEY", "required key not available"},
{162, "EKEYEXPIRED", "key has expired"},
{163, "EKEYREVOKED", "key has been revoked"},
{164, "EKEYREJECTED", "key was rejected by service"},
{165, "EOWNERDEAD", "owner died"},
{166, "ENOTRECOVERABLE", "state not recoverable"},
{167, "ERFKILL", "operation not possible due to RF-kill"},
{168, "EHWPOISON", "memory page has hardware error"},
{1133, "EDQUOT", "disk quota exceeded"},
}
// Signal table
var signalList = [...]struct {
num syscall.Signal
name string
desc string
}{
{1, "SIGHUP", "hangup"},
{2, "SIGINT", "interrupt"},
{3, "SIGQUIT", "quit"},
{4, "SIGILL", "illegal instruction"},
{5, "SIGTRAP", "trace/breakpoint trap"},
{6, "SIGABRT", "aborted"},
{7, "SIGEMT", "EMT trap"},
{8, "SIGFPE", "floating point exception"},
{9, "SIGKILL", "killed"},
{10, "SIGBUS", "bus error"},
{11, "SIGSEGV", "segmentation fault"},
{12, "SIGSYS", "bad system call"},
{13, "SIGPIPE", "broken pipe"},
{14, "SIGALRM", "alarm clock"},
{15, "SIGTERM", "terminated"},
{16, "SIGUSR1", "user defined signal 1"},
{17, "SIGUSR2", "user defined signal 2"},
{18, "SIGCHLD", "child exited"},
{19, "SIGPWR", "power failure"},
{20, "SIGWINCH", "window changed"},
{21, "SIGURG", "urgent I/O condition"},
{22, "SIGIO", "I/O possible"},
{23, "SIGSTOP", "stopped (signal)"},
{24, "SIGTSTP", "stopped"},
{25, "SIGCONT", "continued"},
{26, "SIGTTIN", "stopped (tty input)"},
{27, "SIGTTOU", "stopped (tty output)"},
{28, "SIGVTALRM", "virtual timer expired"},
{29, "SIGPROF", "profiling timer expired"},
{30, "SIGXCPU", "CPU time limit exceeded"},
{31, "SIGXFSZ", "file size limit exceeded"},
}
```
|
```vue
<template>
<div>
<div class="input-group input-wrapper">
<div class="input-group search-wrapper" v-bind:class="{activewrapper: isShowing}" >
<div class="input-group-btn search-panel">
<button type="button" class="btn search-type-picker" data-toggle="dropdown">
<span id="search_concept">{{trans(searchType) | capitalize }}</span> <span class="caret"></span>
</button>
<ul class="dropdown-menu search-type-list" role="menu">
<li><a @click="setSearchType('clients')" href="#">{{trans('Clients')}}</a></li>
<li><a @click="setSearchType('tasks')" href="#">{{trans('Tasks')}}</a></li>
<li><a @click="setSearchType('leads')" href="#">{{trans('Leads')}}</a></li>
<li><a @click="setSearchType('projects')" href="#">{{trans('Projects')}}</a></li>
</ul>
</div>
<div class="frame">
<input type="hidden" name="search_param" value="all" id="search_param">
<input type="text" class="search-input" name="x" v-bind:placeholder="trans('Search term')" @keyup="search" v-model="searchQuery">
<div class="results" v-if="searchQueryLength >= 3">
<ul class="results-ul" v-if="results.length">
<li v-for="result in results" class="result-li">
<a :href="result._source.link" class="result-a">
<span class="result-span">
{{result._source.display_value}}
</span>
</a>
</li>
</ul>
<div v-else-if="searchQueryLength >= 3">
<p>No Results</p>
</div>
</div>
</div>
</div>
<span class="input-group-btn">
<button class="btn search-button" type="button" v-on:click="isShowing = !isShowing"><span class="ion ion-ios-search search-icon"></span></button>
</span>
</div>
</div>
</template>
<script>
export default {
data() {
return {
searchQuery: '',
results: [],
isShowing: false,
searchType: 'clients',
}
},
methods: {
search() {
if (this.searchQueryLength < 3) {
return [];
}
var self = this;
axios.get('/search/' + this.searchQuery + '/' + this.searchType , {
searchQuery: self.searchQuery
}).then(function (response) {
self.results = response.data.hits.hits
});
},
setSearchType(val) {
this.searchType = val;
}
},
filters: {
capitalize: function (value) {
if (!value) return ''
value = value.toString()
return value.charAt(0).toUpperCase() + value.slice(1)
}
},
computed: {
searchQueryLength: function () {
return this.searchQuery.length;
}
}
}
</script>
<style>
.results-ul {
list-style: none;
padding-left: 15px;
}
.result-li {
color: #337ab7;
text-decoration: none;
}
.result-span {
color: #646c9a;
font-size: 1.13em;
line-height: 2.2em;
}
.result-span:hover {
color: #23527c;
}
.result-a:hover {
color: #23527c;
text-decoration: none;
}
.frame {
position: relative;
}
.search-input {
height: 50px;
padding-left: 25px;
font-size: 1.2em;
border-radius: 0px;
border: none;
border-left: 1px #dedede solid;
}
.search-input:focus {
outline: none;
}
.search-icon {
font-size:2em;
}
.search-type-picker {
padding: 14px 50px;
background: none;
border: none;
}
.search-type-picker:focus, .search-type-picker:active {
color: inherit;
background-color: transparent;
border: none;
outline: none !important;
box-shadow: none !important;
}
.search-type-picker:hover{
color: inherit;
background-color: transparent;
border: none;
outline: none;
box-shadow: none;
}
.search-panel:focus {
outline: none;
}
.results {
position: absolute;
border: 1px solid rgba(0, 0, 0, 0.15);
display:block;
padding: 5px 5px;
background: white;
margin-top: 5px;
width:100%;
}
.search-type-list {
box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
border: 0;
background: #fff;
padding: 20px 30px;
margin-top: 2px;
border-radius: 4px;
}
.result-wrapper {
padding: 14px 11px;
margin-top: 33px;
z-index: 1000;
width: 100%;
}
.input-wrapper {
width: 30%;
float: right;
}
.activewrapper {
opacity: 1 !important;
z-index: 10 !important;
left: 0 !important;
transition: opacity 0.3s, left 0.5s;
}
.search-wrapper {
opacity: 0;
z-index: -9999;
transition: opacity 0.5s, left 0.5s;
left: 100px;
border: 1px #efefef solid;
}
.search-button {
background-color: transparent;
padding: 8px 21px 13px 20px;
border-radius: 0px;
border: none;
color: #337ab7;
}
.search-button:focus, .search-button:active {
color: #23527c;
background-color: #f0f3ff;
border: none;
outline: none !important;
box-shadow: none !important;
}
.search-button:hover{
color: #23527c;
background-color: #f0f3ff;
border: none;
outline: none;
box-shadow: none;
transition: 0.3s;
}
</style>
```
|
```python
# !/usr/bin/env python
#-*- coding: utf-8 -*-
#=============================================================================
# FileName: idc_api.py
# Desc:
# Author:
# Email: voilet@qq.com
# HomePage: path_to_url
# Version: 0.0.1
# LastChange: 2014-09-23
# History:
#=============================================================================
import json, time, urllib
from django.shortcuts import render_to_response,get_object_or_404
from django import forms
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth.decorators import login_required
from django.template import RequestContext
from django.template.loader import render_to_string
from django.core.urlresolvers import reverse
from assets.models import Host, IDC, Server_System, Cores, System_os, system_arch, ENVIRONMENT, room_hours
from salt_ui.api.salt_token_id import *
import requests, re
def host_all():
"""
"""
content = {"room_id": {}, "room": []}
node_list = Host.objects.all()
content["install_system"] = node_list.filter(business__isnull=True).count()
content["centos_system"] = node_list.filter(system="CentOS").count()
content["debian"] = node_list.filter(system="Debian").count()
content["server_list_count"] = node_list.count()
content["room_number"] = {"bumber": [i[0] for i in room_hours]}
for i in room_hours:
room_data = node_list.filter(room_number=i[0])
cabinet_list = []
cab_num = []
for cabinet_id in room_data:
cabinet_list.append(cabinet_id.cabinet)
cabinet_list = list(set(cabinet_list))
for num in sorted(cabinet_list):
cab_num.append({"cab_num": node_list.filter(room_number=i[0], cabinet=num).count(), "cab_name": num})
content["room"].append({"cabinet_name": i[0], "count_len": len(cabinet_list), "count": sorted(cabinet_list), "name": cab_num})
return content
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// MODULES //
var tape = require( 'tape' );
var evalpoly = require( './../lib' );
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof evalpoly, 'function', 'main export is a function' );
t.end();
});
tape( 'attached to the main export is a `factory` method', function test( t ) {
t.strictEqual( typeof evalpoly.factory, 'function', 'has method' );
t.end();
});
```
|
Challenge Park may refer to:
Cedar Point's Challenge Park was an area that featured the parks upcharge attractions at Cedar Point in Sandusky, Ohio. Closed and at the end of 2016 for Soak City's (Now Cedar Point Shores) Expansion, Challenge golf, Ripcord, the tickets booth Were removed, earlier in 2016 the Go karts and SkyScraper were removed earlier as well.
Valleyfair#Challenge Park, was an area, not directly connected with ValleyFair, that featured the parks up-charge attractions at Valleyfair in Shakopee, Minnesota. It had a club house with an arcade inside, refreshments, and food. It was also the location you would pick up your putters and golf balls for Mini golf. Challenge Park attractions included, Adventure Golf, a Go-Kart track, Bumper Boats, and the Rip-Cord. Challenge park was enclosed with the rest of ValleyFair the year, Steel Venom, was built in 2003.
Adventure Golf - Opening in 1992 it was a 2 - 18 hole mini golf course which included an "Easy" course and an "Advanced course" it had water elements, water falls, and a mountain. Its last operating season was 2011, closed during the 2012 season and removed and replaced with Picnic Cove.
Bumper Boats - Opened in 1993 was motorized bumper boats in a pool of water. This ride was removed and relocated to Michigan's Adventure in 2009.
Go-Karts - Opened in 1991 was a quarter mile racetrack. It was removed in 2013 when ValleyFair moved Route 76 (Antique cars) from inside the park to this location.
RipCord - Opened in 1996, along with the Wild Thing, at the two new attractions that season! An 180-foot tower pulls 1 to 3 fliers to the top and allows them to free fall, for about 18 stories, until the cord becomes tense and then they swing back and forth. The RipCord is the only attraction left, of what was once Challenge Park. This is still an up-charge attraction.
Valleyfair's Challenge park was closed in 2013 with the removal of the Go-Kart track, the RipCord, is the only surviving attraction of Challenge Park, which is now a part of ValleyFair.
|
```xml
import * as React from 'react';
const chatProtoStyle: Record<string, React.CSSProperties> = {
screenReaderContainerStyles: {
border: '0px',
clip: 'rect(0px, 0px, 0px, 0px)',
height: '1px',
margin: '-1px',
overflow: 'hidden',
padding: '0px',
width: '1px',
position: 'absolute',
},
};
export default chatProtoStyle;
```
|
```go
// Code generated by smithy-go-codegen DO NOT EDIT.
package ec2
import (
"context"
"fmt"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
"github.com/aws/smithy-go/middleware"
smithyhttp "github.com/aws/smithy-go/transport/http"
"time"
)
// Detaches an EBS volume from an instance. Make sure to unmount any file systems
// on the device within your operating system before detaching the volume. Failure
// to do so can result in the volume becoming stuck in the busy state while
// detaching. If this happens, detachment can be delayed indefinitely until you
// unmount the volume, force detachment, reboot the instance, or all three. If an
// EBS volume is the root device of an instance, it can't be detached while the
// instance is running. To detach the root volume, stop the instance first.
//
// When a volume with an Amazon Web Services Marketplace product code is detached
// from an instance, the product code is no longer associated with the instance.
//
// You can't detach or force detach volumes that are attached to Amazon ECS or
// Fargate tasks. Attempting to do this results in the
// UnsupportedOperationException exception with the Unable to detach volume
// attached to ECS tasks error message.
//
// For more information, see [Detach an Amazon EBS volume] in the Amazon EBS User Guide.
//
// [Detach an Amazon EBS volume]: path_to_url
func (c *Client) DetachVolume(ctx context.Context, params *DetachVolumeInput, optFns ...func(*Options)) (*DetachVolumeOutput, error) {
if params == nil {
params = &DetachVolumeInput{}
}
result, metadata, err := c.invokeOperation(ctx, "DetachVolume", params, optFns, c.addOperationDetachVolumeMiddlewares)
if err != nil {
return nil, err
}
out := result.(*DetachVolumeOutput)
out.ResultMetadata = metadata
return out, nil
}
type DetachVolumeInput struct {
// The ID of the volume.
//
// This member is required.
VolumeId *string
// The device name.
Device *string
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have the
// required permissions, the error response is DryRunOperation . Otherwise, it is
// UnauthorizedOperation .
DryRun *bool
// Forces detachment if the previous detachment attempt did not occur cleanly (for
// example, logging into an instance, unmounting the volume, and detaching
// normally). This option can lead to data loss or a corrupted file system. Use
// this option only as a last resort to detach a volume from a failed instance. The
// instance won't have an opportunity to flush file system caches or file system
// metadata. If you use this option, you must perform file system check and repair
// procedures.
Force *bool
// The ID of the instance. If you are detaching a Multi-Attach enabled volume, you
// must specify an instance ID.
InstanceId *string
noSmithyDocumentSerde
}
// Describes volume attachment details.
type DetachVolumeOutput struct {
// The ARN of the Amazon ECS or Fargate task to which the volume is attached.
AssociatedResource *string
// The time stamp when the attachment initiated.
AttachTime *time.Time
// Indicates whether the EBS volume is deleted on instance termination.
DeleteOnTermination *bool
// The device name.
//
// If the volume is attached to a Fargate task, this parameter returns null .
Device *string
// The ID of the instance.
//
// If the volume is attached to a Fargate task, this parameter returns null .
InstanceId *string
// The service principal of Amazon Web Services service that owns the underlying
// instance to which the volume is attached.
//
// This parameter is returned only for volumes that are attached to Fargate tasks.
InstanceOwningService *string
// The attachment state of the volume.
State types.VolumeAttachmentState
// The ID of the volume.
VolumeId *string
// Metadata pertaining to the operation's result.
ResultMetadata middleware.Metadata
noSmithyDocumentSerde
}
func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, options Options) (err error) {
if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil {
return err
}
err = stack.Serialize.Add(&awsEc2query_serializeOpDetachVolume{}, middleware.After)
if err != nil {
return err
}
err = stack.Deserialize.Add(&awsEc2query_deserializeOpDetachVolume{}, middleware.After)
if err != nil {
return err
}
if err := addProtocolFinalizerMiddlewares(stack, options, "DetachVolume"); err != nil {
return fmt.Errorf("add protocol finalizers: %v", err)
}
if err = addlegacyEndpointContextSetter(stack, options); err != nil {
return err
}
if err = addSetLoggerMiddleware(stack, options); err != nil {
return err
}
if err = addClientRequestID(stack); err != nil {
return err
}
if err = addComputeContentLength(stack); err != nil {
return err
}
if err = addResolveEndpointMiddleware(stack, options); err != nil {
return err
}
if err = addComputePayloadSHA256(stack); err != nil {
return err
}
if err = addRetry(stack, options); err != nil {
return err
}
if err = addRawResponseToMetadata(stack); err != nil {
return err
}
if err = addRecordResponseTiming(stack); err != nil {
return err
}
if err = addClientUserAgent(stack, options); err != nil {
return err
}
if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil {
return err
}
if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil {
return err
}
if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil {
return err
}
if err = addTimeOffsetBuild(stack, c); err != nil {
return err
}
if err = addUserAgentRetryMode(stack, options); err != nil {
return err
}
if err = addOpDetachVolumeValidationMiddleware(stack); err != nil {
return err
}
if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDetachVolume(options.Region), middleware.Before); err != nil {
return err
}
if err = addRecursionDetection(stack); err != nil {
return err
}
if err = addRequestIDRetrieverMiddleware(stack); err != nil {
return err
}
if err = addResponseErrorMiddleware(stack); err != nil {
return err
}
if err = addRequestResponseLogging(stack, options); err != nil {
return err
}
if err = addDisableHTTPSMiddleware(stack, options); err != nil {
return err
}
return nil
}
func newServiceMetadataMiddleware_opDetachVolume(region string) *awsmiddleware.RegisterServiceMetadata {
return &awsmiddleware.RegisterServiceMetadata{
Region: region,
ServiceID: ServiceID,
OperationName: "DetachVolume",
}
}
```
|
"Municipal Guard" also known as the Public Formation for the Protection of Public Order is a municipal militia in Odesa established in 2015, originally under the name of the "Municipal Guard". The stated purpose of this agency the protection of property of the territorial community of Odesa and prevention of crime in the city. The agency is led by Kolchik Vladimir Vasilyevich. and is currently part of the Department of Public Safety established by the Odesa City Council on August 27, 2014.
According to Mayor Gennadiy Trukhanov, the enterprise received a first-level security license from the Ministry of Internal Affairs of Ukraine. By April 2017, the agency was reported to employ more than 100 people.
In July 2018, Odesa City Councillor Olga Kvasnitsky reported that the agency employed approximately 300 people.
History
Attempts to establish a municipal militia
The first attempts to establish a municipal guard in Odesa began in 2007. Odesa Mayor Eduard Gurwits announced the plans for establishment of a municipal militia force to guard the law and order in the city with a personnel of 1,000 people, which is going to fight against domestic crime.
Afterwards, the leadership of the Ministry of Internal Affairs of Ukraine in the context of the opposition between the mayor of Odesa Eduard Gurwitz and the chairman of the regional council Ruslan Bodelan opposed the establishment of "illegal military formations," instead of the municipal militia in 2008 there were "Municipal Squadrons" formed which consisted of 50 people who did not play a specific role in managing the lawful order in the city.
In 2008 a working group led by Doctor of Law Mikhail Baymuratov created a draft project – the charter of the territorial bulk of Odesa, which was supposed to establish the municipal militia. However, the project was not adopted, and the status of the municipal militia was not regulated in the legislation of Ukraine. In 2012 with the goal of protecting Odesa City Council instead of the state security service there were private security firms used of Odesa Mayor Alexei Kostusev.
Department of the Municipal Guard
On August 27, 2014 the Department of Municipal Guard of the Odesa City Council was established.
This structure assumed the functions of a disbanded environmental militia, the city inspection for the improvement, the management of advertising and trade and of the legal department. The Department coordinated activities of private security agencies involved in "protecting public order".
Among these structures the security company "Gepard" and the public organization "Narodnaya Strazha" were related to the mayor of Odesa Gennadiy Trukhanov and the chairman of Odesa Regional State Administration Igor Palitsa.
"Gepard" and "Narodnaya Strazha" were seen in a number of incidents, including the attack on Odesa activists during protests against deforestation and the construction of a parking lot on the Health Route, former members of Rodina and Antimaidan parties were seen among the attackers.
On June 16, 2014 representatives of the security company "Gepard" fought with participants in protest actions near the Russian consulate in Odesa in the view of the shot down IL-76 in Luhansk. As a result of the conflict activists had suffered. "Gepard" also participated in an armed confrontation around the Odesa oil refinery.
As the director of the Department of the Municipal Guard in April 2017 was appointed Viktor Kuznetsov, who served as the head of the traffic militia in Odesa during the presidency of Yanukovych and was noticed in a number of corruption scandals.
The Municipal Guard
On April 16, 2015 the decision was taken to establish a municipal enterprise of the Odesa City Council "The Municipal Guard".
The newly established enterprise includes former members of security companies "Gepard" and "Narodnaya Strazha".
In March 2016 municipal enterprise "The Municipal Guard" received the first level license for security activities of the Ministry of Internal Affairs and received the right to carry special means (gas cartridges, rubber batons), to patrol the streets, to protect administrative buildings and ensure the security of administrative buildings and individuals. Other functions of the Municipal Guard include the promotion of the protection and maintenance of public order during mass events, as well as the control over trade, dismantling and installation of small architectural forms, implementation of rules for development, repair of buildings and sidewalks, dismantling of uniparkers, fight against illegal seizures of land, control of passage of vehicles on the Health Route.
The municipal enterprise "The Municipal Guard" took over the functions of guarding the Odesa City Council, as well as the district councils of Odesa, after which the admission of social activists and journalists to the city council was restricted. On the fact of non-admission of journalists on June 14, 2017 to the session of the Odesa City Council criminal proceedings were initiated.
On December 14, 2017 at the session of the Odesa City Council, a decision was taken to reorganize the municipal enterprise "The Municipal Guard" into the municipal institution "Municipal Watch".
The necessity for reorganization was justified by the fact that the municipal enterprise was not engaged in the activities related to making a profit, therefore it was reorganized into a municipal institution.
On April 25, 2018 Odesa City Council session decided to allocate an additional ₴26 million to increase wages to employees of the municipal enterprise "Municipal Guard", the purchase of ammunition, clothing and other needs. Director of the Department of Municipal Guard Viktor Kuznetsov justified the need to increase the number of employees of the "Municipal Guard" from 100 to 200 people.
Scandals
Attacks against activists
Journalists have repeatedly called the institution a "personal army of Trukhanov", they reported about obstruction of journalistic activities and beatings. The public activist Vladislav Balinsky reported that on April 10, 2015 during the flashmob he was forcefully withdrawn by five members of the Municipal Guard to a room in the City Council, which had no CCTV cameras, and beaten. The case is listed in the Unified Register of Pre-trial Investigations. In the summer and early autumn of 2017, the municipal guard took part several times in the dispersal of indefinite actions against Mayor Trukhanov. More than a dozen of activists were beaten, later they were taken to hospitals with fractures. No sanctions were taken for the abuse of authority, only one employee of the municipal institution was fired.
On February 15, 2018 in Kyiv, while considering the measure of restraint to the mayor of Odesa, there were clashes between unknown men in black uniforms and activists of right-wing radical organizations "Natsdruzhina" and "C14". On the same day a representative of the deputy head of Odesa published a photo of 71 employees of the Municipal Guard on Dumskaya Square, claiming that the photo was taken at 17:45, and the charge that guard were involved in the Kyiv bouts is false. He stated that another 128 employees were absent at the disposition because of the employment on duty.
Dismantling in the territory of the "Pavlovs’ House" Gostiny Dvor
On July 10, 2018, the employees of the Municipal Guard dismantled the decorative fence in the territory of the guest yard "Pavlovs’ House". The actions of municipalities caused criticism from a legal viewpoint. Several vehicles of the public utility came to dismantle with about 80 people, some of them were armed with special means. Besides, a bulldozer was involved in the dismantling process. According to eyewitnesses, Yuriy Savchenko the first deputy head of the department of municipal security was among mentioned people. Neither he nor other employees of the Municipal Guard presented their IDs.
Moreover, the above-mentioned individuals refused to show documents that would give them permission to carry out dismantling operations. On the other hand, the owners of the building showed documents certifying the legality of the building. Moreover, the day before the court forbade any kind of dismantling actions in the parking lot area on Veksler's lane, where the guest yard of the "Pavlovs’ House" is located.
The events of July 10 were preceded by amendments to the system of urban cadastre in Odesa. In the opinion of the attorney Stanislav Desyatnikov, not identified for that moment, an employee of LLC "Odesgeoservis" inserted deliberately false information to a tablet with geodesic tables, namely, aforementioned person erased from the map the fence of the "Pavlovs’ House". Upon the fact of the violation, the data were entered to the Unified Register of Pre-Trial Investigations with legal qualification – article 366 part 1 of the Criminal Code of Ukraine (forgery by an official).
Such type of the actions by the employees of the Department of Municipal Security and the Municipal Guard, according to the representatives of the "Pavlovs’ House", emphasize the tendency of violating one of the key rights of the Ukrainian democratic society, namely the property right.
Attack on journalists
On July 13, 2018, members of the Municipal Guard attacked journalists who were filming the conflict between representatives of the Municipal Guard" and a law firm (Redut) in the parking lot. The reason of the conflict was the dismantling process of parking poles.
Municipal Guard members used tear gas and rubber batons to attack journalists. As a result, two journalists from the Public Priboy newspaper, Vitaly Tkachenko and Miroslav Bekchiv, as well as the journalist of the "Unsolved Crimes" newspaper Konstantin Slobodyanyuk were injured. Bekchiv was hospitalized with a traumatic brain injury, burns on the face and signs of strangulation.
Two employees of "The Municipal Guard" were given suspicion because of the attack on journalists, in relation to this incident the police initiated a criminal case under three articles of the Criminal Code of Ukraine: hooliganism, obstruction of the lawful professional activities of journalists, threat or violence against a journalist.
On July 16, 2018, the prosecutor's office petitioned the Primorsky District Court to choose the measure of restraint for the offenders.
On July 18, 2018 Primorsky District Court of Odesa appointed a house arrest for two employees of the Municipal Guard, who beat journalists. On October 9, 2018, the Odesa prosecutor's office sent indictments against two employees of the Municipal Guard.
An attack on journalists was condemned by Professor Massimo Introvigne, the former OSCE representative against racism, xenophobia and discrimination. In his opinion, the brutality of the authorities in such a minor conflict looks rather strange and is probably only "a demonstration of primitive force and power".
On September 4, 2019, members of the Municipal Guard did not admit journalists to a meeting of the Odesa City Council and tried to knock out a phone from a media employee.
References
External links
Municipal Guard
Companies based in Odesa
Security companies of Ukraine
|
Sally Sadie Singhateh (born 1977) is a Gambian poet and novelist.
Biography
While interning at the Foundation for Research on Women's Health, Productivity and the Environment (BAFROW), she published several articles in The Voice of Young People Magazine, published by BAFROW and aimed at young people. In 1995, she won Merit's International Poetry Award.
Singhateh earned a Bachelor of Arts in Communication and was in the process of earning a Master of Arts in Contemporary Literature in 2004. At the University of Wales, Swansea. At BAFROW, an organization that campaigns against female genital cutting in The Gambia, she worked in public relations around 2008. She then worked at the Gambian office of UNESCO, also in public relations, from 2009.
Works
Novels
Christie's Crises, 1988
Baby Trouble, Nairobi
The Sun Will Soon Shine, London: Athena Press, 2004
References
1977 births
Living people
Gambian novelists
Gambian poets
Gambian women writers
Gambian women poets
Gambian women novelists
20th-century women writers
20th-century writers
21st-century women writers
|
Baurusuchus is an extinct member of the ancestral crocodilian lineage, which lived in Brazil from 90 to 83.5 million years ago, in the Late Cretaceous period. Technically, it is a genus of baurusuchid mesoeucrocodylian. It was a terrestrial predator and scavenger, estimated to reach up to in weight. Baurusuchus lived during the Turonian to Santonian stages of the Late Cretaceous Period, in Adamantina Formation, Brazil. It gets its name from the Brazilian Bauru Group ("Bauru crocodile"). It was related to the earlier-named Cynodontosuchus rothi, which was smaller, with weaker dentition. The three species are B. pachechoi, named after Eng Joviano Pacheco, its discoverer, B. salgadoensis (named after General Salgado County in São Paulo, Brazil) and B. albertoi (named after Alberto Barbosa de Carvalho, Brazilian paleontologist). The latter species is disputed (see phylogeny section). Its relatives include the similarly sized Stratiotosuchus from the Adamantina Formation, and Pabweshi, from the Pakistani Pab Formation.
Paleoecology
B. salgadoensis is seen as a terrestrial predator, living in a hot and arid climate. The position of the external nares was unsuited for an amphibious lifestyle like in modern crocodilians and the snout and teeth are laterally compressed like in theropods. Both of this supports the terrestrial hypothesis. The hot environment hypothesis is based on the lifestyle of modern crocodilians and the stratigraphy of Baurusuchus. B. salgadoensis was found in fine massive sandstones which are interpreted as a floodplain area in a hot and arid climate. Baurusuchus was likely able to dig holes for finding water in dry seasons or, like modern alligators do, for thermoregulation. The occurrence of very complete skeletons in correlated stratigraphic levels supports this. Such a strategy would have made it less water-bound than most modern crocodiles, allowing it to live in more continental climate. The strongly bent pterygoids suggest a powerful bite and that Baurusuchus could close its jaw very quickly. The skull and tooth morphology indicates that the biting strategies of Baurusuchus were similar to a Komodo dragon which include ambushing the prey, biting it and pulling back the serrated, blade-like teeth. Baurusuchus likely played an important role in its ecosystem, competing with the abelisaurids for food.
Classification
Baurusuchus is the type genus of the family Baurusuchidae, a family consisting of crocodilians with elongated and laterally compressed skulls. Other members of that family from the Cretaceous of South America include Stratiotosuchus and Cynodontosuchus, but baurusuchids are also known from the Cretaceous of Asia (Pakistan) and the Tertiary of Europe.
A study in 2011 erected a new subfamily called Baurusuchinae. Seven diagnostic features for the group were described which include the moderate size and the broad frontals. The paper referred only Stratiotosuchus maxhechti and Baurusuchus to the subfamily, making Stratiotosuchus Baurusuchus''' closest relative so far. However, a study in the year 2014 referred a new species called Aplestosuchus sordidus to the subfamily, but supported a closer relationship of Baurususchus with Stratiotosuchus than with it. The species B. albertoi is an exception. The paper does not support its affiliation to Baurusuchus and views it as a close relative of Aplestosuchus. This is the cladogram they presented:
Sources
In the Shadow of the Dinosaurs: Early Mesozoic Tetrapods by Nicholas C. Fraser and Hans-Dieter Sues
The Osteology of the Reptiles'' by Alfred Sherwood Romer
References
Late Cretaceous crocodylomorphs of South America
Terrestrial crocodylomorphs
Baurusuchids
Fossil taxa described in 1945
Adamantina Formation
Prehistoric pseudosuchian genera
|
```smalltalk
using Microsoft.AspNetCore.Mvc;
using System.Globalization;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Localization;
var builder = WebApplication.CreateBuilder();
builder.Services.AddLocalization(opts => { opts.ResourcesPath = "Resources"; });
builder.Services.AddControllersWithViews();
var app = builder.Build();
app.UseStaticFiles();
var supportedCultures = new List<CultureInfo>
{
new CultureInfo("fr-FR")
};
var options = new RequestLocalizationOptions
{
DefaultRequestCulture = new RequestCulture("fr-FR"),
SupportedCultures = supportedCultures,
SupportedUICultures = supportedCultures
};
app.UseRequestLocalization(options);
app.MapDefaultControllerRoute();
app.Run();
namespace MvcLocalization
{
// Leave this class empty
public class Global
{
}
public class HomeController : Controller
{
readonly IStringLocalizer<Global> _local;
public HomeController(IStringLocalizer<Global> local)
{
_local = local;
}
public ActionResult Index()
{
var culture = this.HttpContext.Features.Get<IRequestCultureFeature>();
return new ContentResult
{
Content = $@"<html><body>
<h1>MVC Shared Resources - Home</h1>
<p>
<a href=""/about/index"">About</a>
</p>
<b>Culture requested</b> {culture.RequestCulture.Culture} <br/>
<b>UI Culture requested</b> {culture.RequestCulture.UICulture} <br/>
Text: {_local["Hello"]}<br/>
Text: {_local["Goodbye"]}</body></html>",
ContentType = "text/html"
};
}
}
public class AboutController : Controller
{
readonly IStringLocalizer<Global> _local;
public AboutController(IStringLocalizer<Global> local)
{
_local = local;
}
public ActionResult Index()
{
var culture = this.HttpContext.Features.Get<IRequestCultureFeature>();
return new ContentResult
{
Content = $@"<html><body>
<h1>MVC Shared Resources - About</h1>
<p>
<a href=""/"">Home</a>
</p>
<b>Culture requested</b> {culture.RequestCulture.Culture} <br/>
<b>UI Culture requested</b> {culture.RequestCulture.UICulture} <br/>
Text: {_local["Hello"]}<br/>
Text: {_local["Goodbye"]}</body></html>",
ContentType = "text/html"
};
}
}
}
```
|
WWFC generally refers to English association football club Wolverhampton Wanderers F.C.
WWFC may also refer to:
WWFC-LP, a defunct radio station (99.9 FM) formerly licensed to serve Bryant, Alabama, United States
Wycombe Wanderers F.C., an English association football club
Whitehill Welfare F.C., a Scottish association football club
Woodlands Wellington FC, a Singaporean association football club
|
Abelard Piotr Giza (born 15 November 1980) is a comedian and screenwriter. He was a leader and founder of the Kabaret Limo, a cabaret group that existed between 1999 and 2014.
Comedian career
He was a creator of Kabaret Limo, a cabaret group that existed from 1999 to 2014.
Private life
Abelard Giza was born on 15 November 1980 in Gdańsk, Poland. He is an older brother of painter Hugon Giza (born 1982) and grandson of painter Hugon Lasecki. He graduated political science at University of Gdańsk. He is married to Daria Zarówna-Giza, who is a photographer, and with whom he has 2 dauthers, Mia and Ida.
Filmography
Movie production, scriptwriting and directing
Wożonko (2003)
Towar (2005)
Demo (2005)
W stepie szerokim (2007)
Swing (2013)
Voice acting
Kayko and Kokosh as Oferma (2021)
Theater and stand-up comedy
With Muflasz Group
Babie Doły (2001)
Delektacja (2002)
Atlantikon (2002)
Truflasz, czyli polowanie na dzika (2006)
Dżangyl (2007)
Stand-up comedy
Stand up. Zabij mnie śmiechem (2010)
Proteus Vulgaris (2015)
Jeszcze To (2015)
Ludzie, trzymajcie kapelusze (2016)
Numer 3 (2018)
Piniata (2019)
Awards
Film awards
2005: Kolbudy Festival – Złoty Grombuś for Towar film
2005: Oskariada (Warsaw) – 2nd award for Towar film
2005: KAN Film Festival (Wrocław) – Kanewka Publiczności for Towar film
2005: Sztorm Roku – Gazeta Wyborcza award in "film and multimedia" category
2006: OFFskar – best script for Towar film
2007: Barejada Film Festival (Jelenia Góra) – Best Independent Feature Film for W stepie szerokim
2007: 32nd Gdynia Film Festival – distinction for W stepie szerokim
Other
City of Gdańsk Award for Young Culture Creators (2008)
References
1980 births
Living people
University of Gdańsk alumni
Artists from Gdańsk
Polish cabaret performers
Polish film directors
Polish male voice actors
Polish screenwriters
Polish stand-up comedians
Polish theatre directors
20th-century Polish male actors
21st-century Polish male actors
Male actors from Gdańsk
|
```xml
import { TemplatePortal } from "@angular/cdk/portal";
import { Component, HostBinding, Input } from "@angular/core";
@Component({
selector: "bit-tab-body",
templateUrl: "tab-body.component.html",
})
export class TabBodyComponent {
private _firstRender: boolean;
@Input() content: TemplatePortal;
@Input() preserveContent = false;
@HostBinding("attr.hidden") get hidden() {
return !this.active || null;
}
@Input()
get active() {
return this._active;
}
set active(value: boolean) {
this._active = value;
if (this._active) {
this._firstRender = true;
}
}
private _active: boolean;
/**
* The tab content to render.
* Inactive tabs that have never been rendered/active do not have their
* content rendered by default for performance. If `preserveContent` is `true`
* then the content persists after the first time content is rendered.
*/
get tabContent() {
if (this.active) {
return this.content;
}
if (this.preserveContent && this._firstRender) {
return this.content;
}
return null;
}
}
```
|
```objective-c
//
//
// path_to_url
//
#ifndef PXR_USD_SDF_SCHEMA_TYPE_REGISTRATION_H
#define PXR_USD_SDF_SCHEMA_TYPE_REGISTRATION_H
#include "pxr/pxr.h"
#include "pxr/usd/sdf/layerOffset.h"
#include "pxr/usd/sdf/listOp.h"
#include "pxr/usd/sdf/path.h"
#include "pxr/usd/sdf/schema.h"
#include "pxr/usd/sdf/types.h"
#include "pxr/base/vt/dictionary.h"
#include "pxr/base/vt/value.h"
#include "pxr/base/tf/enum.h"
#include "pxr/base/tf/token.h"
#include <string>
#include <vector>
PXR_NAMESPACE_OPEN_SCOPE
// Defines the built-in scene description fields supplied by Sdf as
// well as their C++ value types. SdfSchema supplies additional information
// about these fields, such as their default value and validation functions.
//
// XXX: bug 123508
// StartFrame and EndFrame should be migrated to Sd.
//
#define _SDF_FIELDS \
((SdfFieldKeys->Active, bool)) \
((SdfFieldKeys->AllowedTokens, VtTokenArray)) \
((SdfFieldKeys->AssetInfo, VtDictionary)) \
((SdfFieldKeys->ColorConfiguration, SdfAssetPath)) \
((SdfFieldKeys->ColorManagementSystem, TfToken)) \
((SdfFieldKeys->ColorSpace, TfToken)) \
((SdfFieldKeys->Comment, std::string)) \
((SdfFieldKeys->ConnectionPaths, SdfPathListOp)) \
((SdfFieldKeys->Custom, bool)) \
((SdfFieldKeys->CustomData, VtDictionary)) \
((SdfFieldKeys->CustomLayerData, VtDictionary)) \
((SdfFieldKeys->Default, VtValue)) \
((SdfFieldKeys->DefaultPrim, TfToken)) \
((SdfFieldKeys->DisplayGroup, std::string)) \
((SdfFieldKeys->DisplayGroupOrder, VtStringArray)) \
((SdfFieldKeys->DisplayName, std::string)) \
((SdfFieldKeys->DisplayUnit, TfEnum)) \
((SdfFieldKeys->Documentation, std::string)) \
((SdfFieldKeys->EndFrame, double)) \
((SdfFieldKeys->EndTimeCode, double)) \
((SdfFieldKeys->ExpressionVariables, VtDictionary)) \
((SdfFieldKeys->FramePrecision, int)) \
((SdfFieldKeys->FramesPerSecond, double)) \
((SdfFieldKeys->Hidden, bool)) \
((SdfFieldKeys->HasOwnedSubLayers, bool)) \
((SdfFieldKeys->InheritPaths, SdfPathListOp)) \
((SdfFieldKeys->Instanceable, bool)) \
((SdfFieldKeys->Kind, TfToken)) \
((SdfFieldKeys->LayerRelocates, SdfRelocates)) \
((SdfFieldKeys->Owner, std::string)) \
((SdfFieldKeys->PrimOrder, std::vector<TfToken>)) \
((SdfFieldKeys->NoLoadHint, bool)) \
((SdfFieldKeys->Payload, SdfPayloadListOp)) \
((SdfFieldKeys->Permission, SdfPermission)) \
((SdfFieldKeys->Prefix, std::string)) \
((SdfFieldKeys->PrefixSubstitutions, VtDictionary)) \
((SdfFieldKeys->PropertyOrder, std::vector<TfToken>)) \
((SdfFieldKeys->References, SdfReferenceListOp)) \
((SdfFieldKeys->SessionOwner, std::string)) \
((SdfFieldKeys->TargetPaths, SdfPathListOp)) \
((SdfFieldKeys->TimeSamples, SdfTimeSampleMap)) \
((SdfFieldKeys->Relocates, SdfRelocatesMap)) \
((SdfFieldKeys->Specializes, SdfPathListOp)) \
((SdfFieldKeys->Specifier, SdfSpecifier)) \
((SdfFieldKeys->StartFrame, double)) \
((SdfFieldKeys->StartTimeCode, double)) \
((SdfFieldKeys->SubLayers, std::vector<std::string>)) \
((SdfFieldKeys->SubLayerOffsets, std::vector<SdfLayerOffset>)) \
((SdfFieldKeys->Suffix, std::string)) \
((SdfFieldKeys->SuffixSubstitutions, VtDictionary)) \
((SdfFieldKeys->SymmetricPeer, std::string)) \
((SdfFieldKeys->SymmetryArgs, VtDictionary)) \
((SdfFieldKeys->SymmetryArguments, VtDictionary)) \
((SdfFieldKeys->SymmetryFunction, TfToken)) \
((SdfFieldKeys->TimeCodesPerSecond, double)) \
((SdfFieldKeys->TypeName, TfToken)) \
((SdfFieldKeys->VariantSetNames, SdfStringListOp)) \
((SdfFieldKeys->VariantSelection, SdfVariantSelectionMap)) \
((SdfFieldKeys->Variability, SdfVariability)) \
((SdfChildrenKeys->ConnectionChildren, std::vector<SdfPath>)) \
((SdfChildrenKeys->ExpressionChildren, std::vector<TfToken>)) \
((SdfChildrenKeys->MapperArgChildren, std::vector<TfToken>)) \
((SdfChildrenKeys->MapperChildren, std::vector<SdfPath>)) \
((SdfChildrenKeys->PrimChildren, std::vector<TfToken>)) \
((SdfChildrenKeys->PropertyChildren, std::vector<TfToken>)) \
((SdfChildrenKeys->RelationshipTargetChildren, std::vector<SdfPath>)) \
((SdfChildrenKeys->VariantChildren, std::vector<TfToken>)) \
((SdfChildrenKeys->VariantSetChildren, std::vector<TfToken>))
#define _SDF_FIELDS_NAME(tup) TF_PP_TUPLE_ELEM(0, tup)
#define _SDF_FIELDS_TYPE(tup) TF_PP_TUPLE_ELEM(1, tup)
/// Registers each built-in Sd field along with its C++ value type with
/// \p reg. \p reg can be any type that has a member function:
/// template <class T> void RegisterField(const TfToken&);
///
/// This function will be invoked for each (field, type) pair. The template
/// type T will be the C++ value type and the TfToken will be the field name.
template <class Registrar>
inline void
SdfRegisterFields(Registrar* reg)
{
#define _SDF_REGISTER_FIELDS(unused, elem) \
reg->template RegisterField< _SDF_FIELDS_TYPE(elem) >(_SDF_FIELDS_NAME(elem));
TF_PP_SEQ_FOR_EACH(_SDF_REGISTER_FIELDS, ~, _SDF_FIELDS)
#undef _SDF_REGISTER_FIELDS
}
/// Registers all possible C++ value types for built-in fields with \p reg.
/// This is the set of C++ types that are used by built-in fields and could
/// be returned from an SdfAbstractData container. \p reg can be any type that
/// has a member function:
/// template <class T> void RegisterType();
///
/// This function will be invoked for each C++ value type, which will be
/// given to the function as the template type T. Note that this function may
/// be called with the same T multiple times.
template <class Registrar>
inline void
SdfRegisterTypes(Registrar* reg)
{
// Register all of the C++ value types from the field list above.
#define _SDF_REGISTER_TYPES(unused, elem) \
reg->template RegisterType< _SDF_FIELDS_TYPE(elem) >();
TF_PP_SEQ_FOR_EACH(_SDF_REGISTER_TYPES, ~, _SDF_FIELDS)
#undef _SDF_REGISTER_TYPES
// Also register all of the C++ value types for value types.
#define _SDF_REGISTER_VALUE_TYPES(unused, elem) \
{ \
reg->template RegisterType<SDF_VALUE_CPP_TYPE(elem)>(); \
reg->template RegisterType<SDF_VALUE_CPP_ARRAY_TYPE(elem)>(); \
}
TF_PP_SEQ_FOR_EACH(_SDF_REGISTER_VALUE_TYPES, ~, SDF_VALUE_TYPES)
#undef _SDF_REGISTER_VALUE_TYPES
// Also register all of the C++ list op types supported for
// generic plugin metadata.
reg->template RegisterType<SdfIntListOp>();
reg->template RegisterType<SdfInt64ListOp>();
reg->template RegisterType<SdfUIntListOp>();
reg->template RegisterType<SdfUInt64ListOp>();
reg->template RegisterType<SdfStringListOp>();
reg->template RegisterType<SdfTokenListOp>();
reg->template RegisterType<SdfValueBlock>();
}
PXR_NAMESPACE_CLOSE_SCOPE
#endif // PXR_USD_SDF_SCHEMA_TYPE_REGISTRATION_H
```
|
```c++
/*
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkBlurMask.h"
#include "SkBlurDrawLooper.h"
namespace skiagm {
///////////////////////////////////////////////////////////////////////////////
static void setup(SkPaint* paint, SkColor c, SkScalar strokeWidth) {
paint->setColor(c);
if (strokeWidth < 0) {
paint->setStyle(SkPaint::kFill_Style);
} else {
paint->setStyle(SkPaint::kStroke_Style);
paint->setStrokeWidth(strokeWidth);
}
}
class ShadowsGM : public GM {
public:
SkPath fCirclePath;
SkRect fRect;
protected:
void onOnceBeforeDraw() override {
this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
fCirclePath.addCircle(SkIntToScalar(20), SkIntToScalar(20), SkIntToScalar(10) );
fRect.set(SkIntToScalar(10), SkIntToScalar(10),
SkIntToScalar(30), SkIntToScalar(30));
}
virtual SkString onShortName() {
return SkString("shadows");
}
virtual SkISize onISize() {
return SkISize::Make(200, 120);
}
virtual void onDraw(SkCanvas* canvas) {
SkBlurDrawLooper* shadowLoopers[5];
shadowLoopers[0] =
SkBlurDrawLooper::Create(SK_ColorBLUE,
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(10)),
SkIntToScalar(5), SkIntToScalar(10),
SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
SkBlurDrawLooper::kOverrideColor_BlurFlag |
SkBlurDrawLooper::kHighQuality_BlurFlag);
SkAutoUnref aurL0(shadowLoopers[0]);
shadowLoopers[1] =
SkBlurDrawLooper::Create(SK_ColorBLUE,
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(10)),
SkIntToScalar(5), SkIntToScalar(10),
SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
SkBlurDrawLooper::kOverrideColor_BlurFlag);
SkAutoUnref aurL1(shadowLoopers[1]);
shadowLoopers[2] =
SkBlurDrawLooper::Create(SK_ColorBLACK,
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)),
SkIntToScalar(5),
SkIntToScalar(10),
SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
SkBlurDrawLooper::kHighQuality_BlurFlag);
SkAutoUnref aurL2(shadowLoopers[2]);
shadowLoopers[3] =
SkBlurDrawLooper::Create(0x7FFF0000,
SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(5)),
SkIntToScalar(-5), SkIntToScalar(-10),
SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
SkBlurDrawLooper::kOverrideColor_BlurFlag |
SkBlurDrawLooper::kHighQuality_BlurFlag);
SkAutoUnref aurL3(shadowLoopers[3]);
shadowLoopers[4] =
SkBlurDrawLooper::Create(SK_ColorBLACK, SkIntToScalar(0),
SkIntToScalar(5), SkIntToScalar(5),
SkBlurDrawLooper::kIgnoreTransform_BlurFlag |
SkBlurDrawLooper::kOverrideColor_BlurFlag |
SkBlurDrawLooper::kHighQuality_BlurFlag);
SkAutoUnref aurL4(shadowLoopers[4]);
static const struct {
SkColor fColor;
SkScalar fStrokeWidth;
} gRec[] = {
{ SK_ColorRED, -SK_Scalar1 },
{ SK_ColorGREEN, SkIntToScalar(4) },
{ SK_ColorBLUE, SkIntToScalar(0)},
};
SkPaint paint;
paint.setAntiAlias(true);
for (size_t i = 0; i < SK_ARRAY_COUNT(shadowLoopers); ++i) {
SkAutoCanvasRestore acr(canvas, true);
paint.setLooper(shadowLoopers[i]);
canvas->translate(SkIntToScalar((unsigned int)i*40), SkIntToScalar(0));
setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth);
canvas->drawRect(fRect, paint);
canvas->translate(SkIntToScalar(0), SkIntToScalar(40));
setup(&paint, gRec[1].fColor, gRec[1].fStrokeWidth);
canvas->drawPath(fCirclePath, paint);
canvas->translate(SkIntToScalar(0), SkIntToScalar(40));
setup(&paint, gRec[2].fColor, gRec[2].fStrokeWidth);
canvas->drawPath(fCirclePath, paint);
}
}
private:
typedef GM INHERITED;
};
///////////////////////////////////////////////////////////////////////////////
static GM* MyFactory(void*) { return new ShadowsGM; }
static GMRegistry reg(MyFactory);
}
```
|
The 2018 German Open, officially the Yonex German Open 2018, was a badminton tournament which took place at Innogy Sporthalle in Germany from 6 to 11 March 2018 and had a total purse of $150,000.
Tournament
The 2018 German Open was the sixth tournament of the 2018 BWF World Tour and also part of the German Open championships which has been held since 1955. This tournament was organized by German Badminton Association and sanctioned by the BWF.
Venue
This international tournament was held at Innogy Sporthalle in Mülheim, North Rhine-Westphalia, Germany.
Point distribution
Below is a table with the point distribution for each phase of the tournament based on the BWF points system for the BWF World Tour Super 300 event.
Prize money
The total prize money for this tournament was US$150,000. Distribution of prize money was in accordance with BWF regulations.
Men's singles
Seeds
Son Wan-ho (first round)
Lin Dan (quarterfinals)
Shi Yuqi (semifinals)
Chou Tien-chen (champion)
Anthony Sinisuka Ginting (quarterfinals)
Ng Ka Long (final)
Wang Tzu-wei (first round)
Jonatan Christie (quarterfinals)
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
Women's singles
Seeds
Akane Yamaguchi (champion)
Sung Ji-hyun (quarterfinals)
Nozomi Okuhara (semifinals)
Chen Yufei (final)
Beiwen Zhang (quarterfinals)
Nitchaon Jindapol (semifinals)
Sayaka Sato (second round)
Kirsty Gilmour (first round)
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
Men's doubles
Seeds
Takeshi Kamura / Keigo Sonoda (second round)
Mads Conrad-Petersen / Mads Pieler Kolding (quarterfinals)
Chen Hung-ling / Wang Chi-lin (first round)
Lee Jhe-huei / Lee Yang (quarterfinals)
Kim Astrup / Anders Skaarup Rasmussen (second round)
Takuto Inoue / Yuki Kaneko (champions)
Fajar Alfian / Muhammad Rian Ardianto (final)
Lu Ching-yao / Yang Po-han (first round)
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
Women's doubles
Seeds
Chen Qingchen / Jia Yifan (quarterfinals)
Misaki Matsutomo / Ayaka Takahashi (withdrew)
Yuki Fukushima / Sayaka Hirota (champions)
Shiho Tanaka / Koharu Yonemoto (second round)
Lee So-hee / Shin Seung-chan (first round)
Jongkolphan Kititharakul / Rawinda Prajongjai (quarterfinals)
Chang Ye-na / Kim Hye-rin (semifinals)
Della Destiara Haris / Rizki Amelia Pradipta (second round)
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
Mixed doubles
Seeds
Tang Chun Man / Tse Ying Suet (second round)
Seo Seung-jae / Kim Ha-na (second round)
Goh Soon Huat / Shevon Jemie Lai (champions)
Tan Kian Meng / Lai Pei Jing (first round)
Dechapol Puavaranukroh / Sapsiree Taerattanachai (quarterfinals)
Chan Peng Soon / Goh Liu Ying (first round)
Lee Chun Hei / Chau Hoi Wah (first round)
Choi Sol-gyu / Chae Yoo-jung (semifinals)
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
References
External links
Tournament Link
German Open (badminton)
German Open
Open (badminton)
German Open (badminton)
|
```ruby
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'API Markers' do
let(:user) { Fabricate(:user) }
let(:scopes) { 'read:statuses write:statuses' }
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: scopes) }
let(:headers) { { 'Authorization' => "Bearer #{token.token}" } }
describe 'GET /api/v1/markers' do
before do
Fabricate(:marker, timeline: 'home', last_read_id: 123, user: user)
Fabricate(:marker, timeline: 'notifications', last_read_id: 456, user: user)
get '/api/v1/markers', headers: headers, params: { timeline: %w(home notifications) }
end
it 'returns markers', :aggregate_failures do
json = body_as_json
expect(response).to have_http_status(200)
expect(json.key?(:home)).to be true
expect(json[:home][:last_read_id]).to eq '123'
expect(json.key?(:notifications)).to be true
expect(json[:notifications][:last_read_id]).to eq '456'
end
end
describe 'POST /api/v1/markers' do
context 'when no marker exists' do
before do
post '/api/v1/markers', headers: headers, params: { home: { last_read_id: '69420' } }
end
it 'creates a marker', :aggregate_failures do
expect(response).to have_http_status(200)
expect(user.markers.first.timeline).to eq 'home'
expect(user.markers.first.last_read_id).to eq 69_420
end
end
context 'when a marker exists' do
before do
post '/api/v1/markers', headers: headers, params: { home: { last_read_id: '69420' } }
post '/api/v1/markers', headers: headers, params: { home: { last_read_id: '70120' } }
end
it 'updates a marker', :aggregate_failures do
expect(response).to have_http_status(200)
expect(user.markers.first.timeline).to eq 'home'
expect(user.markers.first.last_read_id).to eq 70_120
end
end
context 'when database object becomes stale' do
before do
allow(Marker).to receive(:transaction).and_raise(ActiveRecord::StaleObjectError)
post '/api/v1/markers', headers: headers, params: { home: { last_read_id: '69420' } }
end
it 'returns error json' do
expect(response)
.to have_http_status(409)
expect(body_as_json)
.to include(error: /Conflict during update/)
end
end
end
end
```
|
Thunderiders is a fictional superhero/motorcycle team appearing in American comic books published by Marvel Comics. The characters were originally known as Team America, a property and toy line Marvel licensed from Ideal Toy Company. Team America first appeared in Captain America #269 (May 1982). They were renamed the Thunderiders in Thing #27.
Publication history
Captain America writer J. M. DeMatteis described Team America as "another one we kind of got forced into doing." The month following their May 1982 preview appearance in Captain America, the team's monthly self-titled series launched. It was canceled with Team America #12 (May 1983).
Fictional biography
Origin
The mothers of Honcho/James McDonald, Wolf, R. U. Reddy/Winthrop Roan Jr., Wrench/Leonard Hebb and Cowboy/Luke Merriweather were exposed to mutagenic agents by the terrorist organization HYDRA as part of an experiment known as Project: New Genesis. HYDRA hoped to create mutant children which could later be trained as super-agents. The project was apparently unsuccessful for all test subjects other than these five.
Early days/the Marauder
Honcho, Wolf and Reddy initially came together at the first "Unlimited Class Racing" event in Daytona Beach, Florida. Unknown to them, they had first manifested their collective self, a masked motorcyclist dressed in black and known as the Marauder, who was also known as the Dark Rider, a few days earlier. The Marauder invaded a HYDRA facility and destroyed the files on the five. Deducing the subjects of the missing files, HYDRA set out to assassinate Honcho, Wolf and Reddy in the belief that one of them was the Marauder. Each of them escaped the assassination attempt and, having each received a note from the Marauder stating their destinies were linked, decided to band together as Team America. They entered and won their first competition, and moments later foiled an attempt by HYDRA to steal an advanced guidance system from another team.
The three next fought alongside Captain America to defeat a plan by the Mad Thinker to kidnap a number of world-renowned intellectuals to provide him with stimulating companionship.
The original three teammates met Wrench and Cowboy at an Unlimited Class Racing event in the Rocky Mountains. Recognizing the rapport they shared, the original three members invited the other two to join the team and they agreed.
Disbandment and return as Thunderiders
The team temporarily disbanded but yet another attack drew them out of retirement. While performing at a charity exhibition, Cowboy, Wolf and Reddy intervened in an attack on the New Mutants by Viper and the Silver Samurai. The three unconsciously manifested the Dark Rider persona onto Danielle Moonstar, the New Mutant known as Psyche. Psyche was captured and Viper tried to force Team America to steal for her. Before they could formulate a plan of action, Professor Charles Xavier and the rest of the New Mutants joined with them to rescue Psyche. It was then that the five learned they were mutants and of their ability to project the Dark Rider persona. They trained with Xavier for several weeks until they had complete conscious control over the manifestation and the recipient.
Following this adventure, the five decided to remain a team, rebranding themselves as Thunderiders.
Powers and abilities
The five original members of the Thunderiders are mutants. They have no powers which function individually, but collectively have the power to project their strength, skills and knowledge onto another party without diminishing their own skills in the process. The person, who retains no memory of having been the recipient, is transformed into a black-clad motorcyclist known as The Marauder. Initially, the Thunderiders had no conscious control either over the manifestation of the Marauder or the person upon whom it was manifested, which meant it generally appeared when the team, or people they valued, was in peril. Furthermore, the Marauder has additional abilities like being able to operate the motorcycle from a distance such as using it to attack an opponent. Training by Professor Xavier gave them greater control. For instance, they learned how to voluntarily transform into the Marauder themselves and retain the memory of being in that form.
The Thunderiders are all expert motorcycle riders.
Toy line
The Team America comic books were based on a toy line from Ideal Toy Company. The Team America toy line was an attempt by Ideal to replace their successful Evel Knievel toy line after Knievel served six months for battery in the late 1970s, and it used many of the same molds and designs.
The Ideal Toys' trademarks and toy molds were purchased by Jay Horowitz of American Plastic Equipment, who later transferred all rights to American Plastic Equipment's subsidiary, American Classic Toys. The Ideal Toys trademark, and most toy rights, were sold to Poof-Slinky.
In 2019, Jay Horowitz of American Classic Toys, and current rights holder, entered into an exclusive license agreement with The Juna Group to represent the Team America brand and Marauder character in all categories outside of toys and playthings, worldwide.
Membership
Original
Cowboy (Luke Merriweather), equally adept at trick-riding on the rodeo as well as the motorcycle circuit.
Honcho (James McDonald), a former agent in the CIA.
R. U. Reddy (Winthrop Roan, Jr.), disinherited son of a millionaire industrialist, Reddy also has dreams of Rock 'n Roll-stardom.
Wolf (real name unrevealed), nomadic biker with street-fighting skills.
Wrench (Leonard Hebb), a mechanical genius who designs & repairs the team's vehicles.
Later members
The Thing joined the team for a while but quit before making any public appearances as a team member.
Sharon Ventura was a Thunderiders member for several months prior to her assumption of the identity of Ms. Marvel.
Unofficial members
Georgianna Castleberry, Wrench's girlfriend, and later wife, was an unofficial member of the team. She often served as the host body for the Marauder persona, although she retained no memory of it.
References
External links
Marvel Comics superhero teams
Fictional motorcycle clubs
Fictional stunt performers
United States-themed superheroes
|
```graphql
# import B from "b.graphql"
type A {
b: B
}
```
|
```objective-c
/*
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* may not be used to create, or enable the creation or redistribution of,
* unlawful or unlicensed copies of an Apple operating system, or to
* circumvent, violate, or enable the circumvention or violation of, any
* terms of an Apple operating system software license agreement.
*
* path_to_url and read it before using this file.
*
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
/*
* @OSF_COPYRIGHT@
*/
/*
* Mach Operating System
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
*
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
*
* Carnegie Mellon requests users of this software to return to
*
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
*
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
/*
*/
/*
* File: boolean.h
*
* Boolean type, for ARM.
*/
#ifndef _MACH_ARM_BOOLEAN_H_
#define _MACH_ARM_BOOLEAN_H_
#if defined (__arm__) || defined (__arm64__) || defined (__aarch64__)
typedef int boolean_t;
#endif /* defined (__arm__) || defined (__arm64__) */
#endif /* _MACH_ARM_BOOLEAN_H_ */
```
|
```makefile
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libenc
LOCAL_SRC_FILES := libenc.cc
LOCAL_CFLAGS :=
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libyuv/include $(LOCAL_PATH)/../libx264
LOCAL_STATIC_LIBRARIES := libx264
LOCAL_SHARED_LIBRARIES := libyuv
include $(BUILD_SHARED_LIBRARY)
```
|
```java
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.physicalweb;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Locale;
/**
* This class represents a scanned URL and information associated with that URL.
*/
class UrlInfo {
private static final String URL_KEY = "url";
private static final String DISTANCE_KEY = "distance";
private static final String SCAN_TIMESTAMP_KEY = "scan_timestamp";
private static final String HAS_BEEN_DISPLAYED_KEY = "has_been_displayed";
private final String mUrl;
private double mDistance;
private long mScanTimestamp;
private boolean mHasBeenDisplayed;
public UrlInfo(String url, double distance, long scanTimestamp) {
mUrl = url;
mDistance = distance;
mScanTimestamp = scanTimestamp;
mHasBeenDisplayed = false;
}
/**
* Constructs a simple UrlInfo with only a URL.
*/
public UrlInfo(String url) {
this(url, -1.0, System.currentTimeMillis());
}
/**
* Gets the URL represented by this object.
* @param The URL.
*/
public String getUrl() {
return mUrl;
}
/**
* Sets the distance of the URL from the scanner in meters.
* @param distance The estimated distance of the URL from the scanner in meters.
*/
public void setDistance(double distance) {
mDistance = distance;
}
/**
* Gets the distance of the URL from the scanner in meters.
* @return The estimated distance of the URL from the scanner in meters.
*/
public double getDistance() {
return mDistance;
}
/**
* Sets the timestamp of when the URL was last scanned.
* This timestamp should be recorded using System.currentTimeMillis().
* @param scanTimestamp the new timestamp.
*/
public void setScanTimestamp(long scanTimestamp) {
mScanTimestamp = scanTimestamp;
}
/**
* Gets the timestamp of when the URL was last scanned.
* This timestamp is recorded using System.currentTimeMillis().
* @return The scan timestamp.
*/
public long getScanTimestamp() {
return mScanTimestamp;
}
/**
* Marks this URL as having been displayed to the user.
*/
public void setHasBeenDisplayed() {
mHasBeenDisplayed = true;
}
/**
* Tells if we've displayed this URL.
* @return Whether we've displayed this URL.
*/
public boolean hasBeenDisplayed() {
return mHasBeenDisplayed;
}
/**
* Creates a JSON object that represents this data structure.
* @return a JSON serialization of this data structure.
* @throws JSONException if the values cannot be deserialized.
*/
public JSONObject jsonSerialize() throws JSONException {
return new JSONObject()
.put(URL_KEY, mUrl)
.put(DISTANCE_KEY, mDistance)
.put(SCAN_TIMESTAMP_KEY, mScanTimestamp)
.put(HAS_BEEN_DISPLAYED_KEY, mHasBeenDisplayed);
}
/**
* Populates a UrlInfo with data from a given JSON object.
* @param jsonObject a serialized UrlInfo.
* @return The UrlInfo represented by the serialized object.
* @throws JSONException if the values cannot be serialized.
*/
public static UrlInfo jsonDeserialize(JSONObject jsonObject) throws JSONException {
UrlInfo urlInfo = new UrlInfo(
jsonObject.getString(URL_KEY),
jsonObject.getDouble(DISTANCE_KEY),
jsonObject.getLong(SCAN_TIMESTAMP_KEY));
if (jsonObject.optBoolean(HAS_BEEN_DISPLAYED_KEY, false)) {
urlInfo.setHasBeenDisplayed();
}
return urlInfo;
}
/**
* Represents the UrlInfo as a String.
*/
@Override
public String toString() {
return String.format(Locale.getDefault(), "%s %f %d %b",
mUrl, mDistance, mScanTimestamp, mHasBeenDisplayed);
}
}
```
|
```javascript
const { assert, skip, test, module: describe, only } = require('qunit');
const { GPU } = require('../../../../../../src');
const { greenCanvas } = require('../../../../../browser-test-utils');
describe('feature: to-string unsigned precision constants HTMLCanvas');
function testArgument(mode, done) {
const canvasInput1 = greenCanvas(mode, 1, 1);
const canvasInput2 = greenCanvas(mode, 1, 1);
const gpu = new GPU({mode});
const originalKernel = gpu.createKernel(function () {
const pixel1 = this.constants.canvas1[this.thread.y][this.thread.x];
const pixel2 = this.constants.canvas2[this.thread.y][this.thread.x];
return pixel1[1] + pixel2[1];
}, {
output: [1],
precision: 'unsigned',
constants: { canvas1: canvasInput1, canvas2: canvasInput2 }
});
const canvas = originalKernel.canvas;
const context = originalKernel.context;
assert.deepEqual(originalKernel()[0], 2);
const kernelString = originalKernel.toString();
const canvasInput3 = greenCanvas(mode, 1, 1);
const canvasInput4 = greenCanvas(mode, 1, 1);
const newKernel = new Function('return ' + kernelString)()({
context,
canvas,
constants: {
canvas1: canvasInput3,
canvas2: canvasInput4
}
});
assert.deepEqual(newKernel()[0], 2);
gpu.destroy();
}
(GPU.isSinglePrecisionSupported && GPU.isWebGLSupported ? test : skip)('webgl', () => {
testArgument('webgl');
});
(GPU.isSinglePrecisionSupported && GPU.isWebGL2Supported ? test : skip)('webgl2', () => {
testArgument('webgl2');
});
```
|
Pierre Leroux (born 1958 in Montreal, Quebec) is a Canadian novelist, journalist and screenwriter.
Bibliography
1996 : Le Rire des femmes,
2004 : Cher éditeur (éditions Albin Michel)
2010 : Portrait de l'artiste en caméléon in « A Disposition for a Tale of an Investigation about an Ordinary Man » (Dutch Art Institute)
Selective filmography
2000 : One 4 all by Claude Lelouch
2002 : And Now… Ladies and Gentlemen by Claude Lelouch
2021 : Love is Better Than Life by Claude Lelouch
References
1958 births
Canadian screenwriters in French
Writers from Montreal
Canadian male novelists
Canadian male screenwriters
Journalists from Montreal
Living people
Canadian novelists in French
20th-century Canadian novelists
21st-century Canadian novelists
20th-century Canadian screenwriters
21st-century Canadian screenwriters
20th-century Canadian male writers
21st-century Canadian male writers
Canadian male non-fiction writers
20th-century Canadian journalists
|
KSMT (102.1 FM, The Mountain) is a radio station broadcasting an adult album alternative music format. Licensed to Breckenridge, Colorado, United States, the station is currently owned by Patricia MacDonald Garber and Peter Benedetti, through licensee AlwaysMountainTime, LLC.
References
External links
SMT
|
```html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "path_to_url">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template adaptive_pool</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="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../boost_container_header_reference.html#header.boost.container.adaptive_pool_hpp" title="Header <boost/container/adaptive_pool.hpp>">
<link rel="prev" href="../../boost_container_header_reference.html" title="Boost.Container Header Reference">
<link rel="next" href="adaptive_pool/rebind.html" title="Struct template rebind">
</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="../../boost_container_header_reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_container_header_reference.html#header.boost.container.adaptive_pool_hpp"><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="adaptive_pool/rebind.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.container.adaptive_pool"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template adaptive_pool</span></h2>
<p>boost::container::adaptive_pool</p>
</div>
<h2 xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../boost_container_header_reference.html#header.boost.container.adaptive_pool_hpp" title="Header <boost/container/adaptive_pool.hpp>">boost/container/adaptive_pool.hpp</a>>
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> NodesPerBlock <span class="special">=</span> <span class="identifier">ADP_nodes_per_block</span><span class="special">,</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> MaxFreeBlocks <span class="special">=</span> <span class="identifier">ADP_max_free_blocks</span><span class="special">,</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> OverheadPercent <span class="special">=</span> <span class="identifier">ADP_overhead_percent</span><span class="special">></span>
<span class="keyword">class</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#boost.container.adaptive_pooltypes">types</a></span>
<span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">int</span> <a class="link" href="adaptive_pool.html#boost.container.adaptive_pool.allocation_type"><span class="identifier">allocation_type</span></a><span class="special">;</span>
<span class="keyword">typedef</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">NodesPerBlock</span><span class="special">,</span> <span class="identifier">MaxFreeBlocks</span><span class="special">,</span> <span class="identifier">OverheadPercent</span> <span class="special">></span> <a name="boost.container.adaptive_pool.self_t"></a><span class="identifier">self_t</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">T</span> <a name="boost.container.adaptive_pool.value_type"></a><span class="identifier">value_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">T</span> <span class="special">*</span> <a name="boost.container.adaptive_pool.pointer"></a><span class="identifier">pointer</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">T</span> <span class="special">*</span> <a name="boost.container.adaptive_pool.const_pointer"></a><span class="identifier">const_pointer</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.container.adaptive_pool.reference"></a><span class="identifier">reference</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.container.adaptive_pool.const_reference"></a><span class="identifier">const_reference</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="boost.container.adaptive_pool.size_type"></a><span class="identifier">size_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ptrdiff_t</span> <a name="boost.container.adaptive_pool.difference_type"></a><span class="identifier">difference_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a name="boost.container.adaptive_pool.version"></a><span class="identifier">version</span><span class="special">;</span>
<span class="comment">// member classes/structs/unions</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T2<span class="special">></span>
<span class="keyword">struct</span> <a class="link" href="adaptive_pool/rebind.html" title="Struct template rebind">rebind</a> <span class="special">{</span>
<span class="comment">// types</span>
<span class="keyword">typedef</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">NodesPerBlock</span><span class="special">,</span> <span class="identifier">MaxFreeBlocks</span><span class="special">,</span> <span class="identifier">OverheadPercent</span> <span class="special">></span> <a class="link" href="adaptive_pool/rebind.html#boost.container.adaptive_pool.rebind.other"><span class="identifier">other</span></a><span class="special">;</span>
<span class="special">}</span><span class="special">;</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#boost.container.adaptive_poolconstruct-copy-destruct">construct/copy/destruct</a></span>
<a class="link" href="adaptive_pool.html#idp58821936-bb"><span class="identifier">adaptive_pool</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<a class="link" href="adaptive_pool.html#idp58822784-bb"><span class="identifier">adaptive_pool</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T2<span class="special">></span>
<a class="link" href="adaptive_pool.html#idp58825520-bb"><span class="identifier">adaptive_pool</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">NodesPerBlock</span><span class="special">,</span> <span class="identifier">MaxFreeBlocks</span><span class="special">,</span> <span class="identifier">OverheadPercent</span> <span class="identifier">BOOST_CONTAINER_DOCIGN</span><span class="special">(</span><span class="identifier">BOOST_MOVE_I</span> <span class="identifier">Version</span><span class="special">)</span><span class="special">></span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<a class="link" href="adaptive_pool.html#idp58829184-bb"><span class="special">~</span><span class="identifier">adaptive_pool</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#idp42226848-bb">public member functions</a></span>
<a class="link" href="adaptive_pool.html#idp42227408-bb"><span class="identifier">BOOST_CONTAINER_DOCIGN</span></a><span class="special">(</span><span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="special">(</span><span class="identifier">Version</span><span class="special"><=</span><span class="number">2</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
<span class="identifier">size_type</span> <a class="link" href="adaptive_pool.html#idp42228800-bb"><span class="identifier">max_size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="identifier">pointer</span> <a class="link" href="adaptive_pool.html#idp42230304-bb"><span class="identifier">allocate</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">void</span> <span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp42233312-bb"><span class="identifier">deallocate</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">pointer</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">size_type</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="identifier">pointer</span> <a class="link" href="adaptive_pool.html#idp42236192-bb"><span class="identifier">allocation_command</span></a><span class="special">(</span><span class="identifier">allocation_type</span><span class="special">,</span> <span class="identifier">size_type</span><span class="special">,</span> <span class="identifier">size_type</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">pointer</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="identifier">size_type</span> <a class="link" href="adaptive_pool.html#idp42239808-bb"><span class="identifier">size</span></a><span class="special">(</span><span class="identifier">pointer</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="identifier">pointer</span> <a class="link" href="adaptive_pool.html#idp58804944-bb"><span class="identifier">allocate_one</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58806256-bb"><span class="identifier">allocate_individual</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="identifier">multiallocation_chain</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58808912-bb"><span class="identifier">deallocate_one</span></a><span class="special">(</span><span class="identifier">pointer</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58811312-bb"><span class="identifier">deallocate_individual</span></a><span class="special">(</span><span class="identifier">multiallocation_chain</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58813120-bb"><span class="identifier">allocate_many</span></a><span class="special">(</span><span class="identifier">size_type</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="identifier">multiallocation_chain</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58816528-bb"><span class="identifier">allocate_many</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">size_type</span> <span class="special">*</span><span class="special">,</span> <span class="identifier">size_type</span><span class="special">,</span> <span class="identifier">multiallocation_chain</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58819968-bb"><span class="identifier">deallocate_many</span></a><span class="special">(</span><span class="identifier">multiallocation_chain</span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#idp58829760-bb">public static functions</a></span>
<span class="keyword">static</span> <span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58830320-bb"><span class="identifier">deallocate_free_blocks</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#idp58832192-bb">friend functions</a></span>
<span class="keyword">friend</span> <span class="keyword">void</span> <a class="link" href="adaptive_pool.html#idp58832752-bb"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="keyword">friend</span> <span class="keyword">bool</span> <a class="link" href="adaptive_pool.html#idp58836336-bb"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="keyword">friend</span> <span class="keyword">bool</span> <a class="link" href="adaptive_pool.html#idp58840240-bb"><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
<span class="comment">// <a class="link" href="adaptive_pool.html#idp58844304-bb">private member functions</a></span>
<span class="identifier">pointer</span> <a class="link" href="adaptive_pool.html#idp58844880-bb"><span class="identifier">priv_allocation_command</span></a><span class="special">(</span><span class="identifier">allocation_type</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="identifier">size_type</span> <span class="special">&</span><span class="special">,</span>
<span class="identifier">pointer</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span>
<span class="comment">// public data members</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">nodes_per_block</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">max_free_blocks</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">overhead_percent</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">real_nodes_per_block</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.10.12.2.3.4"></a><h2>Description</h2>
<p>An STL node allocator that uses a modified DLMalloc as memory source.</p>
<p>This node allocator shares a segregated storage between all instances of <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> with equal sizeof(T).</p>
<p>NodesPerBlock is the number of nodes allocated at once when the allocator needs runs out of nodes. MaxFreeBlocks is the maximum number of totally free blocks that the adaptive node pool will hold. The rest of the totally free blocks will be deallocated to the memory manager.</p>
<p>OverheadPercent is the (approximated) maximum size overhead (1-20%) of the allocator: (memory usable for nodes / total memory allocated from the memory allocator) </p>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.6"></a><h3>
<a name="boost.container.adaptive_pooltypes"></a><code class="computeroutput">adaptive_pool</code>
public
types</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<p>
<span class="keyword">typedef</span> <span class="keyword">unsigned</span> <span class="keyword">int</span> <a name="boost.container.adaptive_pool.allocation_type"></a><span class="identifier">allocation_type</span><span class="special">;</span></p>
<p>If Version is 1, the allocator is a STL conforming allocator. If Version is 2, the allocator offers advanced expand in place and burst allocation capabilities. </p>
</li></ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.7"></a><h3>
<a name="boost.container.adaptive_poolconstruct-copy-destruct"></a><code class="computeroutput">adaptive_pool</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><a name="idp58821936-bb"></a><span class="identifier">adaptive_pool</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>Default constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="idp58822784-bb"></a><span class="identifier">adaptive_pool</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>Copy constructor from other <code class="computeroutput"><a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a></code>. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T2<span class="special">></span>
<a name="idp58825520-bb"></a><span class="identifier">adaptive_pool</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">NodesPerBlock</span><span class="special">,</span> <span class="identifier">MaxFreeBlocks</span><span class="special">,</span> <span class="identifier">OverheadPercent</span> <span class="identifier">BOOST_CONTAINER_DOCIGN</span><span class="special">(</span><span class="identifier">BOOST_MOVE_I</span> <span class="identifier">Version</span><span class="special">)</span><span class="special">></span> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>Copy constructor from related <code class="computeroutput"><a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a></code>. </li>
<li class="listitem">
<pre class="literallayout"><a name="idp58829184-bb"></a><span class="special">~</span><span class="identifier">adaptive_pool</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Destructor. </li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.8"></a><h3>
<a name="idp42226848-bb"></a><code class="computeroutput">adaptive_pool</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"> <a name="idp42227408-bb"></a><span class="identifier">BOOST_CONTAINER_DOCIGN</span><span class="special">(</span><span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(</span><span class="special">(</span><span class="identifier">Version</span><span class="special"><=</span><span class="number">2</span><span class="special">)</span><span class="special">)</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">size_type</span> <a name="idp42228800-bb"></a><span class="identifier">max_size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns the number of elements that could be allocated. Never throws </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">pointer</span> <a name="idp42230304-bb"></a><span class="identifier">allocate</span><span class="special">(</span><span class="identifier">size_type</span> count<span class="special">,</span> <span class="keyword">const</span> <span class="keyword">void</span> <span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span></pre>
<p>Allocate memory for an array of count elements. Throws std::bad_alloc if there is no enough memory </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp42233312-bb"></a><span class="identifier">deallocate</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">pointer</span> <span class="special">&</span> ptr<span class="special">,</span> <span class="identifier">size_type</span> count<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Deallocate allocated memory. Never throws </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">pointer</span> <a name="idp42236192-bb"></a><span class="identifier">allocation_command</span><span class="special">(</span><span class="identifier">allocation_type</span> command<span class="special">,</span> <span class="identifier">size_type</span> limit_size<span class="special">,</span>
<span class="identifier">size_type</span> <span class="special">&</span> prefer_in_recvd_out_size<span class="special">,</span>
<span class="identifier">pointer</span> <span class="special">&</span> reuse<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">size_type</span> <a name="idp42239808-bb"></a><span class="identifier">size</span><span class="special">(</span><span class="identifier">pointer</span> p<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Returns maximum the number of objects the previously allocated memory pointed by p can hold. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">pointer</span> <a name="idp58804944-bb"></a><span class="identifier">allocate_one</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
<p>Allocates just one object. Memory allocated with this function must be deallocated only with deallocate_one(). Throws bad_alloc if there is no enough memory </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp58806256-bb"></a><span class="identifier">allocate_individual</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> num_elements<span class="special">,</span>
<span class="identifier">multiallocation_chain</span> <span class="special">&</span> chain<span class="special">)</span><span class="special">;</span></pre>
<p>Allocates many elements of size == 1. Elements must be individually deallocated with deallocate_one() </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp58808912-bb"></a><span class="identifier">deallocate_one</span><span class="special">(</span><span class="identifier">pointer</span> p<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Deallocates memory previously allocated with allocate_one(). You should never use deallocate_one to deallocate memory allocated with other functions different from allocate_one(). Never throws </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idp58811312-bb"></a><span class="identifier">deallocate_individual</span><span class="special">(</span><span class="identifier">multiallocation_chain</span> <span class="special">&</span> chain<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp58813120-bb"></a><span class="identifier">allocate_many</span><span class="special">(</span><span class="identifier">size_type</span> elem_size<span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> n_elements<span class="special">,</span>
<span class="identifier">multiallocation_chain</span> <span class="special">&</span> chain<span class="special">)</span><span class="special">;</span></pre>
<p>Allocates many elements of size elem_size. Elements must be individually deallocated with deallocate() </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp58816528-bb"></a><span class="identifier">allocate_many</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">size_type</span> <span class="special">*</span> elem_sizes<span class="special">,</span> <span class="identifier">size_type</span> n_elements<span class="special">,</span>
<span class="identifier">multiallocation_chain</span> <span class="special">&</span> chain<span class="special">)</span><span class="special">;</span></pre>
<p>Allocates n_elements elements, each one of size elem_sizes[i] Elements must be individually deallocated with deallocate() </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idp58819968-bb"></a><span class="identifier">deallocate_many</span><span class="special">(</span><span class="identifier">multiallocation_chain</span> <span class="special">&</span> chain<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.9"></a><h3>
<a name="idp58829760-bb"></a><code class="computeroutput">adaptive_pool</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
<pre class="literallayout"><span class="keyword">static</span> <span class="keyword">void</span> <a name="idp58830320-bb"></a><span class="identifier">deallocate_free_blocks</span><span class="special">(</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>Deallocates all free blocks of the pool. </li></ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.10"></a><h3>
<a name="idp58832192-bb"></a><code class="computeroutput">adaptive_pool</code> friend functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="keyword">friend</span> <span class="keyword">void</span> <a name="idp58832752-bb"></a><span class="identifier">swap</span><span class="special">(</span><a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>Swaps allocators. Does not throw. If each allocator is placed in a different memory segment, the result is undefined. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">friend</span> <span class="keyword">bool</span> <a name="idp58836336-bb"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>An allocator always compares to true, as memory allocated with one instance can be deallocated by another instance </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">friend</span> <span class="keyword">bool</span> <a name="idp58840240-bb"></a><span class="keyword">operator</span><span class="special">!=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="adaptive_pool.html" title="Class template adaptive_pool">adaptive_pool</a> <span class="special">&</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre>
<p>An allocator always compares to false, as memory allocated with one instance can be deallocated by another instance </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.10.12.2.3.4.11"></a><h3>
<a name="idp58844304-bb"></a><code class="computeroutput">adaptive_pool</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><pre class="literallayout"><span class="identifier">pointer</span> <a name="idp58844880-bb"></a><span class="identifier">priv_allocation_command</span><span class="special">(</span><span class="identifier">allocation_type</span> command<span class="special">,</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> limit_size<span class="special">,</span>
<span class="identifier">size_type</span> <span class="special">&</span> prefer_in_recvd_out_size<span class="special">,</span>
<span class="identifier">pointer</span> <span class="special">&</span> reuse_ptr<span class="special">)</span><span class="special">;</span></pre></li></ol></div>
</div>
</div>
</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="../../boost_container_header_reference.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../boost_container_header_reference.html#header.boost.container.adaptive_pool_hpp"><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="adaptive_pool/rebind.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
```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.
# ==============================================================================
# pylint: disable=line-too-long
# pyformat: disable
"""Train and eval for supervised navigation training.
For training:
python train_supervised_active_vision.py \
--mode='train' \
--logdir=$logdir/checkin_log_det/ \
--modality_types='det' \
--batch_size=8 \
--train_iters=200000 \
--lstm_cell_size=2048 \
--policy_fc_size=2048 \
--sequence_length=20 \
--max_eval_episode_length=100 \
--test_iters=194 \
--gin_config=envs/configs/active_vision_config.gin \
--gin_params='ActiveVisionDatasetEnv.dataset_root="$datadir"' \
--logtostderr
For testing:
python train_supervised_active_vision.py
--mode='eval' \
--logdir=$logdir/checkin_log_det/ \
--modality_types='det' \
--batch_size=8 \
--train_iters=200000 \
--lstm_cell_size=2048 \
--policy_fc_size=2048 \
--sequence_length=20 \
--max_eval_episode_length=100 \
--test_iters=194 \
--gin_config=envs/configs/active_vision_config.gin \
--gin_params='ActiveVisionDatasetEnv.dataset_root="$datadir"' \
--logtostderr
"""
import collections
import os
import time
from absl import app
from absl import flags
from absl import logging
import networkx as nx
import numpy as np
import tensorflow as tf
import gin
import embedders
import policies
import tasks
from envs import active_vision_dataset_env
from envs import task_env
slim = tf.contrib.slim
flags.DEFINE_string('logdir', '',
'Path to a directory to write summaries and checkpoints')
# Parameters controlling the training setup. In general one would not need to
# modify them.
flags.DEFINE_string('master', 'local',
'BNS name of the TensorFlow master, or local.')
flags.DEFINE_integer('task_id', 0,
'Task id of the replica running the training.')
flags.DEFINE_integer('ps_tasks', 0,
'Number of tasks in the ps job. If 0 no ps job is used.')
flags.DEFINE_integer('decay_steps', 1000,
'Number of steps for exponential decay.')
flags.DEFINE_float('learning_rate', 0.0001, 'Learning rate.')
flags.DEFINE_integer('batch_size', 8, 'Batch size.')
flags.DEFINE_integer('sequence_length', 20, 'sequence length')
flags.DEFINE_integer('train_iters', 200000, 'number of training iterations.')
flags.DEFINE_integer('save_summaries_secs', 300,
'number of seconds between saving summaries')
flags.DEFINE_integer('save_interval_secs', 300,
'numer of seconds between saving variables')
flags.DEFINE_integer('log_every_n_steps', 20, 'number of steps between logging')
flags.DEFINE_string('modality_types', '',
'modality names in _ separated format')
flags.DEFINE_string('conv_window_sizes', '8_4_3',
'conv window size in separated by _')
flags.DEFINE_string('conv_strides', '4_2_1', '')
flags.DEFINE_string('conv_channels', '8_16_16', '')
flags.DEFINE_integer('embedding_fc_size', 128,
'size of embedding for each modality')
flags.DEFINE_integer('obs_resolution', 64,
'resolution of the input observations')
flags.DEFINE_integer('lstm_cell_size', 2048, 'size of lstm cell size')
flags.DEFINE_integer('policy_fc_size', 2048,
'size of fully connected layers for policy part')
flags.DEFINE_float('weight_decay', 0.0002, 'weight decay')
flags.DEFINE_integer('goal_category_count', 5, 'number of goal categories')
flags.DEFINE_integer('action_size', 7, 'number of possible actions')
flags.DEFINE_integer('max_eval_episode_length', 100,
'maximum sequence length for evaluation.')
flags.DEFINE_enum('mode', 'train', ['train', 'eval'],
'indicates whether it is in training or evaluation')
flags.DEFINE_integer('test_iters', 194,
'number of iterations that the eval needs to be run')
flags.DEFINE_multi_string('gin_config', [],
'List of paths to a gin config files for the env.')
flags.DEFINE_multi_string('gin_params', [],
'Newline separated list of Gin parameter bindings.')
flags.DEFINE_string(
'resnet50_path', './resnet_v2_50_checkpoint/resnet_v2_50.ckpt', 'path to resnet50'
'checkpoint')
flags.DEFINE_bool('freeze_resnet_weights', True, '')
flags.DEFINE_string(
'eval_init_points_file_name', '',
'Name of the file that containts the initial locations and'
'worlds for each evalution point')
FLAGS = flags.FLAGS
TRAIN_WORLDS = [
'Home_001_1', 'Home_001_2', 'Home_002_1', 'Home_003_1', 'Home_003_2',
'Home_004_1', 'Home_004_2', 'Home_005_1', 'Home_005_2', 'Home_006_1',
'Home_010_1'
]
TEST_WORLDS = ['Home_011_1', 'Home_013_1', 'Home_016_1']
def create_modality_types():
"""Parses the modality_types and returns a list of task_env.ModalityType."""
if not FLAGS.modality_types:
raise ValueError('there needs to be at least one modality type')
modality_types = FLAGS.modality_types.split('_')
for x in modality_types:
if x not in ['image', 'sseg', 'det', 'depth']:
raise ValueError('invalid modality type: {}'.format(x))
conversion_dict = {
'image': task_env.ModalityTypes.IMAGE,
'sseg': task_env.ModalityTypes.SEMANTIC_SEGMENTATION,
'depth': task_env.ModalityTypes.DEPTH,
'det': task_env.ModalityTypes.OBJECT_DETECTION,
}
return [conversion_dict[k] for k in modality_types]
def create_task_io_config(
modality_types,
goal_category_count,
action_size,
sequence_length,
):
"""Generates task io config."""
shape_prefix = [sequence_length, FLAGS.obs_resolution, FLAGS.obs_resolution]
shapes = {
task_env.ModalityTypes.IMAGE: [sequence_length, 224, 224, 3],
task_env.ModalityTypes.DEPTH: shape_prefix + [
2,
],
task_env.ModalityTypes.SEMANTIC_SEGMENTATION: shape_prefix + [
1,
],
task_env.ModalityTypes.OBJECT_DETECTION: shape_prefix + [
90,
]
}
types = {k: tf.float32 for k in shapes}
types[task_env.ModalityTypes.IMAGE] = tf.uint8
inputs = collections.OrderedDict(
[[mtype, (types[mtype], shapes[mtype])] for mtype in modality_types])
inputs[task_env.ModalityTypes.GOAL] = (tf.float32,
[sequence_length, goal_category_count])
inputs[task_env.ModalityTypes.PREV_ACTION] = (tf.float32, [
sequence_length, action_size + 1
])
print inputs
return tasks.UnrolledTaskIOConfig(
inputs=inputs,
output=(tf.float32, [sequence_length, action_size]),
query=None)
def map_to_embedder(modality_type):
"""Maps modality_type to its corresponding embedder."""
if modality_type == task_env.ModalityTypes.PREV_ACTION:
return None
if modality_type == task_env.ModalityTypes.GOAL:
return embedders.IdentityEmbedder()
if modality_type == task_env.ModalityTypes.IMAGE:
return embedders.ResNet50Embedder()
conv_window_sizes = [int(x) for x in FLAGS.conv_window_sizes.split('_')]
conv_channels = [int(x) for x in FLAGS.conv_channels.split('_')]
conv_strides = [int(x) for x in FLAGS.conv_strides.split('_')]
params = tf.contrib.training.HParams(
to_one_hot=modality_type == task_env.ModalityTypes.SEMANTIC_SEGMENTATION,
one_hot_length=10,
conv_sizes=conv_window_sizes,
conv_strides=conv_strides,
conv_channels=conv_channels,
embedding_size=FLAGS.embedding_fc_size,
weight_decay_rate=FLAGS.weight_decay,
)
return embedders.SmallNetworkEmbedder(params)
def create_train_and_init_ops(policy, task):
"""Creates training ops given the arguments.
Args:
policy: the policy for the task.
task: the task instance.
Returns:
train_op: the op that needs to be runned at each step.
summaries_op: the summary op that is executed.
init_fn: the op that initializes the variables if there is no previous
checkpoint. If Resnet50 is not used in the model it is None, otherwise
it reads the weights from FLAGS.resnet50_path and sets the init_fn
to the op that initializes the ResNet50 with the pre-trained weights.
"""
assert isinstance(task, tasks.GotoStaticXNoExplorationTask)
assert isinstance(policy, policies.Policy)
inputs, _, gt_outputs, masks = task.tf_episode_batch(FLAGS.batch_size)
outputs, _ = policy.build(inputs, None)
loss = task.target_loss(gt_outputs, outputs, masks)
init_fn = None
# If resnet is added to the graph, init_fn should initialize resnet weights
# if there is no previous checkpoint.
variables_assign_dict = {}
vars_list = []
for v in slim.get_model_variables():
if v.name.find('resnet') >= 0:
if not FLAGS.freeze_resnet_weights:
vars_list.append(v)
variables_assign_dict[v.name[v.name.find('resnet'):-2]] = v
else:
vars_list.append(v)
global_step = tf.train.get_or_create_global_step()
learning_rate = tf.train.exponential_decay(
FLAGS.learning_rate,
global_step,
decay_steps=FLAGS.decay_steps,
decay_rate=0.98,
staircase=True)
optimizer = tf.train.AdamOptimizer(learning_rate)
train_op = slim.learning.create_train_op(
loss,
optimizer,
global_step=global_step,
variables_to_train=vars_list,
)
if variables_assign_dict:
init_fn = slim.assign_from_checkpoint_fn(
FLAGS.resnet50_path,
variables_assign_dict,
ignore_missing_vars=False)
scalar_summaries = {}
scalar_summaries['LR'] = learning_rate
scalar_summaries['loss'] = loss
for name, summary in scalar_summaries.iteritems():
tf.summary.scalar(name, summary)
return train_op, init_fn
def create_eval_ops(policy, config, possible_targets):
"""Creates the necessary ops for evaluation."""
inputs_feed = collections.OrderedDict([[
mtype,
tf.placeholder(config.inputs[mtype].type,
[1] + config.inputs[mtype].shape)
] for mtype in config.inputs])
inputs_feed[task_env.ModalityTypes.PREV_ACTION] = tf.placeholder(
tf.float32, [1, 1] + [
config.output.shape[-1] + 1,
])
prev_state_feed = [
tf.placeholder(
tf.float32, [1, FLAGS.lstm_cell_size], name='prev_state_{}'.format(i))
for i in range(2)
]
policy_outputs = policy.build(inputs_feed, prev_state_feed)
summary_feed = {}
for c in possible_targets + ['mean']:
summary_feed[c] = tf.placeholder(
tf.float32, [], name='eval_in_range_{}_input'.format(c))
tf.summary.scalar('eval_in_range_{}'.format(c), summary_feed[c])
return inputs_feed, prev_state_feed, policy_outputs, (tf.summary.merge_all(),
summary_feed)
def unroll_policy_for_eval(
sess,
env,
inputs_feed,
prev_state_feed,
policy_outputs,
number_of_steps,
output_folder,
):
"""unrolls the policy for testing.
Args:
sess: tf.Session
env: The environment.
inputs_feed: dictionary of placeholder for the input modalities.
prev_state_feed: placeholder for the input to the prev_state of the model.
policy_outputs: tensor that contains outputs of the policy.
number_of_steps: maximum number of unrolling steps.
output_folder: output_folder where the function writes a dictionary of
detailed information about the path. The dictionary keys are 'states' and
'distance'. The value for 'states' is the list of states that the agent
goes along the path. The value for 'distance' contains the length of
shortest path to the goal at each step.
Returns:
states: list of states along the path.
distance: list of distances along the path.
"""
prev_state = [
np.zeros((1, FLAGS.lstm_cell_size), dtype=np.float32) for _ in range(2)
]
prev_action = np.zeros((1, 1, FLAGS.action_size + 1), dtype=np.float32)
obs = env.reset()
distances_to_goal = []
states = []
unique_id = '{}_{}'.format(env.cur_image_id(), env.goal_string)
for _ in range(number_of_steps):
distances_to_goal.append(
np.min([
len(
nx.shortest_path(env.graph, env.pose_to_vertex(env.state()),
env.pose_to_vertex(target_view)))
for target_view in env.targets()
]))
states.append(env.state())
feed_dict = {inputs_feed[mtype]: [[obs[mtype]]] for mtype in inputs_feed}
feed_dict[prev_state_feed[0]] = prev_state[0]
feed_dict[prev_state_feed[1]] = prev_state[1]
action_values, prev_state = sess.run(policy_outputs, feed_dict=feed_dict)
chosen_action = np.argmax(action_values[0])
obs, _, done, info = env.step(np.int32(chosen_action))
prev_action[0][0][chosen_action] = 1.
prev_action[0][0][-1] = float(info['success'])
# If the agent chooses action stop or the number of steps exceeeded
# env._episode_length.
if done:
break
# logging.info('distance = %d, id = %s, #steps = %d', distances_to_goal[-1],
output_path = os.path.join(output_folder, unique_id + '.npy')
with tf.gfile.Open(output_path, 'w') as f:
print 'saving path information to {}'.format(output_path)
np.save(f, {'states': states, 'distance': distances_to_goal})
return states, distances_to_goal
def init(sequence_length, eval_init_points_file_name, worlds):
"""Initializes the common operations between train and test."""
modality_types = create_modality_types()
logging.info('modality types: %r', modality_types)
# negative reward_goal_range prevents the env from terminating early when the
# agent is close to the goal. The policy should keep the agent until the end
# of the 100 steps either through chosing stop action or oscilating around
# the target.
env = active_vision_dataset_env.ActiveVisionDatasetEnv(
modality_types=modality_types +
[task_env.ModalityTypes.GOAL, task_env.ModalityTypes.PREV_ACTION],
reward_goal_range=-1,
eval_init_points_file_name=eval_init_points_file_name,
worlds=worlds,
output_size=FLAGS.obs_resolution,
)
config = create_task_io_config(
modality_types=modality_types,
goal_category_count=FLAGS.goal_category_count,
action_size=FLAGS.action_size,
sequence_length=sequence_length,
)
task = tasks.GotoStaticXNoExplorationTask(env=env, config=config)
embedders_dict = {mtype: map_to_embedder(mtype) for mtype in config.inputs}
policy_params = tf.contrib.training.HParams(
lstm_state_size=FLAGS.lstm_cell_size,
fc_channels=FLAGS.policy_fc_size,
weight_decay=FLAGS.weight_decay,
target_embedding_size=FLAGS.embedding_fc_size,
)
policy = policies.LSTMPolicy(
modality_names=config.inputs.keys(),
embedders_dict=embedders_dict,
action_size=FLAGS.action_size,
params=policy_params,
max_episode_length=sequence_length)
return env, config, task, policy
def test():
"""Contains all the operations for testing policies."""
env, config, _, policy = init(1, 'all_init_configs', TEST_WORLDS)
inputs_feed, prev_state_feed, policy_outputs, summary_op = create_eval_ops(
policy, config, env.possible_targets)
sv = tf.train.Supervisor(logdir=FLAGS.logdir)
prev_checkpoint = None
with sv.managed_session(
start_standard_services=False,
config=tf.ConfigProto(allow_soft_placement=True)) as sess:
while not sv.should_stop():
while True:
new_checkpoint = tf.train.latest_checkpoint(FLAGS.logdir)
print 'new_checkpoint ', new_checkpoint
if not new_checkpoint:
time.sleep(1)
continue
if prev_checkpoint is None:
prev_checkpoint = new_checkpoint
break
if prev_checkpoint != new_checkpoint:
prev_checkpoint = new_checkpoint
break
else: # if prev_checkpoint == new_checkpoint, we have to wait more.
time.sleep(1)
checkpoint_step = int(new_checkpoint[new_checkpoint.rfind('-') + 1:])
sv.saver.restore(sess, new_checkpoint)
print '--------------------'
print 'evaluating checkpoint {}'.format(new_checkpoint)
folder_path = os.path.join(FLAGS.logdir, 'evals', str(checkpoint_step))
if not tf.gfile.Exists(folder_path):
tf.gfile.MakeDirs(folder_path)
eval_stats = {c: [] for c in env.possible_targets}
for test_iter in range(FLAGS.test_iters):
print 'evaluating {} of {}'.format(test_iter, FLAGS.test_iters)
_, distance_to_goal = unroll_policy_for_eval(
sess,
env,
inputs_feed,
prev_state_feed,
policy_outputs,
FLAGS.max_eval_episode_length,
folder_path,
)
print 'goal = {}'.format(env.goal_string)
eval_stats[env.goal_string].append(float(distance_to_goal[-1] <= 7))
eval_stats = {k: np.mean(v) for k, v in eval_stats.iteritems()}
eval_stats['mean'] = np.mean(eval_stats.values())
print eval_stats
feed_dict = {summary_op[1][c]: eval_stats[c] for c in eval_stats}
summary_str = sess.run(summary_op[0], feed_dict=feed_dict)
writer = sv.summary_writer
writer.add_summary(summary_str, checkpoint_step)
writer.flush()
def train():
_, _, task, policy = init(FLAGS.sequence_length, None, TRAIN_WORLDS)
print(FLAGS.save_summaries_secs)
print(FLAGS.save_interval_secs)
print(FLAGS.logdir)
with tf.device(
tf.train.replica_device_setter(ps_tasks=FLAGS.ps_tasks, merge_devices=True)):
train_op, init_fn = create_train_and_init_ops(policy=policy, task=task)
print(FLAGS.logdir)
slim.learning.train(
train_op=train_op,
init_fn=init_fn,
logdir=FLAGS.logdir,
is_chief=FLAGS.task_id == 0,
number_of_steps=FLAGS.train_iters,
save_summaries_secs=FLAGS.save_summaries_secs,
save_interval_secs=FLAGS.save_interval_secs,
session_config=tf.ConfigProto(allow_soft_placement=True),
)
def main(_):
gin.parse_config_files_and_bindings(FLAGS.gin_config, FLAGS.gin_params)
if FLAGS.mode == 'train':
train()
else:
test()
if __name__ == '__main__':
app.run(main)
```
|
The Taishang Ganying Pian (太上感應篇), or Lao Tse's Treatise on the Response of the Tao, is a Taoist scripture from the 12th century that has been very influential in China. Li Ying-Chang, a Confucian scholar who retired from civil administration to teach Taoism, authored this. It is traditionally attributed to Lao Tse himself.
Interpretation and themes
The Treatise covers thoughts, words, and deeds in terms of ganying. It has a simple, practical approach to ethics, lacking any esoteric details. It is all about good deeds. These are rewarded by longevity and health. Lists of deeds, both good and evil, are given in this tract. They focus on crimes, business practices, and other every day actions and events. It represents a turn away from previous Taoism in that it focuses not on meditative practices or self cultivation but on action in the world.
Taoism represents a variety of different viewpoints and practices hard to categorize by era or sect. Categorizations are disputed by scholars. The Lushan Sect of Taoism, from the Southern Song Dynasty (1127-1297 ce) is a Taoist sect representative of the type of Taoism in the treatise, called 'acts and karma Taoism' by Eva Wong. There are few texts that represent this type of Taoism, this being the main one. Most of the others are morality tales that grew up around this Treatise. The lack of scriptures for this current of belief has in no way detracted from its popularity.
Mahayana Buddhist viewpoint influenced this scripture. This book was most popular during the Ming dynasty, (1368-1644 ce)
Impact
The Treatise has attracted both Taoists and Non-Taoists. It has gained a large population base among the commoner, because it does not require a monastery to practice.
Text
It is a short tract, written before Buddhism, Taoism, and Confucianism were deliberately synthesized by scholars or the state. The stories that accompany it were written during or after this synthesis. The time of writing is after folk beliefs had begun to influence Taoism, which may have begun with Chuang Tse.
Translations
It was first translated into English by Christian missionary Douglas Legge, in 1891. He thought it was crucial for the understanding of Chinese people's moral thought. There is a recent translation by Eva Wong and co. A new English Liturgy Version has also been recently published by Terebess Asia Online (see external links).
Commentary
There is a commentary of the treatise by a Daoist renunciant Xīng Dé, translated to English by Johan Hausen.
See also
Buddhist ethics
Tao Te Ching
Taoism
Eastern Philosophy
Zhuangzi (book)
Three teachings
Holy Emperor Guan's True Scripture to Awaken the World - It is classified as one of the three Taoist Holy Scriptures for Advising the Good, the other two being Lao‑Tzu's Treatise On the Response of the Tao and Lord Superior Wen Chang Tract of the Quiet Way.
References
Lao-tzu's treatise on the response of the Tao : Tʻai-shang kan-ying pʻien / Li Ying-chang ; translated with an introduction by Eva Wong ; with an historical introduction by Sean Dennison. San Francisco, CA : Harper San Francisco, c1994. (alk. paper) :
The Shambhala guide to Taoism 1st ed. / Eva Wong. Boston : Shambhala, c1997. (alk. paper)
External links
Treatise of the Illustrious Sage on Response and Retribution (2017 English Liturgy Version) at Terebess Asia Online
T'ai-Shang Kan-Ying P'ien at Terebess Asia Online
T'ai-Shang Kan-Ying P'ien cartoon
T'ai-Shang Kan-Ying P'ien at Sacred-Texts.com
google books synopsis
a YouTube ASL translation attempt for this article
Taoist texts
Taoist philosophy
Philosophy books
12th-century_books
Treatises
12th-century Taoism
|
Lahad Datu () is the capital of the Lahad Datu District in the Dent Peninsula on Tawau Division of Sabah, Malaysia. Its population was estimated to be around 27,887 in 2010. The town is surrounded by stretches of cocoa and palm oil plantations. It is also an important timber exporting port. The town has an airport for domestic flights.
History
A settlement is believed to have existed here in the 15th century, as excavations have unearthed Ming dynasty Chinese ceramics. Just east of Lahad Datu is the village of Tunku, a notorious base for pirates and slave traders in the 19th century.
Based on a Jawi manuscript in the Ida'an language dated 1408 A.D, it is believed to be the first site in northern Borneo where Islam was first introduced. The Jawi manuscript gives an account of an Ida'an man named Abdullah in Darvel Bay who embraced Islam.
Foreign militant intrusion
On 23 September 1985, 15-20 armed foreign pirates from the neighbouring Philippines landed on this town, killing at least 21 people and injuring 11 others.
Another standoff occurred in February 2013 and lasted for over a month between Malaysian authorities and the Filipino-based militants of the self-proclaimed "Royal Security Forces of the Sultanate of Sulu and North Borneo" led by Jamalul Kiram III resulted in a Malaysian victory and creation of the Eastern Sabah Security Command and Eastern Sabah Security Zone.
Economy
Lahad Datu also has several palm oil refineries. The Palm Oil Industrial Cluster (POIC) is located near Lahad Datu township. POIC owns and operates its own port, POIC Port Lahad Datu and received its first vessel on 1 March 2013. It consists of of industrial land developed (with a centralised bulking facility, dry, liquid, barge and container terminals with a sea draft of 20 meters, making it one of the few deep sea ports in the world). To date, 55 companies have invested in POIC with 11 companies involved in fertilizer (making it the biggest cluster of fertilizer companies). POIC is a wholly state-owned company under the purview of the Ministry of Industrial Development, Sabah. Its Chairman is YB Senator Datuk Donald Mojuntin, and the Acting Chief Executive Officer is Mdm. Lynette Hoo (ADK). POIC was started by Datuk Dr Pang Teck Wai in 2005 and now retired since June 2020.
Transportation
Lahad Datu is linked to other towns and districts via Federal Route 13, a part of larger Pan-Borneo Highway network in the east coast of Sabah. Works of constructing a new bypass road on Sandakan-Tawau route has been commenced on mid 2016, to relieve the traffic congestion on the town itself. Lahad Datu is served by many different methods of transportation. Taxis, buses and minibuses are abundant and provide connectivity around the town and other districts such as Sandakan and Tawau. Lahad Datu Port is a container port administered by Sabah Port Sdn. Bhd.
First Palm City Centre (FPCC) along Jalan Pantai is an integrated commercial development by Titijaya Land Berhad. It consist of 2-3 storey of retail shoplots, bus terminal and anchor business, Econsave operating in this strategic business address. 1.5 km to town, 2 km to Lahad Datu Airport and 2.5 km to Lahad Datu Hospital.
MASwings, a regional airline and subsidiary of Malaysia Airlines (MAB) provides five direct flights daily to Kota Kinabalu, the state's capital from Lahad Datu Airport.
Climate
Lahad Datu has a tropical rainforest climate (Af) with heavy rainfall year-round.
References
11. First Palm City Centre (FPCC)
https://www.google.com/maps/place/First+Palm+City+Centre+-+Phase+1/@5.023475,118.3206178,17z/data=!3m1!4b1!4m5!3m4!1s0x323f9f9623c2e99f:0xb07163197ac4c796!8m2!3d5.023433!4d118.3227583
External links
Lahad Datu District
Towns in Sabah
|
Hour of Victory is a first-person shooter video game developed by American studio N-Fusion Interactive and published by Midway Games for Xbox 360 and Microsoft Windows. A playable game demo was released on Xbox Live Marketplace on June 1, 2007. It was the first World War II game to use the Unreal Engine 3.
Plot
Three Allied agents are assembled: Firstly, Special Operations Officer Abrose Taggert, an American covert soldier. Secondly, S.O. Officer Calvin Blackbull, an American sniper. Lastly, S.O. Officer William Ross, a front line commando. They are sent to the town of Al-Shatar in Libya, where Major Colman tells them about the nuclear arms project codenamed Götterdämmerung. A sudden German invasion forces the S.O. officers to fight back and liberate the town, protecting the comm center, downing bombers and using a single Sherman Tank to blow up Tiger Tanks.
After the German presence is repelled, the S.O. Officers return to headquarters. They are briefed by that the Project Götterdämmerung is being worked on by two key scientists, the first being a previous acquaintance called Steckler who survived the sinking of the Sieg ship and the other, a Danish physicist Dr. Martin Fielder. The three-man team is sent to Castle Festunburg in the Alps to rescue Fielder, who is being made to develop an atomic bomb against his will. They enter the castle by cable car. Taggert stealthily enters the sewers and manages to free Fielder in the old cellars. They fight their way through the castle and use a Panzer Tank to make a forceful exit.
Having been denied atomic bomb capabilities and the town of Berlin quickly falling into Allied hands, Steckler has decided to cause nuclear reactor meltdown and poison everyone. To prevent this, the S.O. Officers aid the Russians in their fight in Berlin and break into the university. Having battled through a fortified courtyard, they acquire the blueprints for the nuclear technology in the grand library, then enter the nuclear facility, sabotage the nuclear machinery and are able to stop the Germans from overloading the reactor.
Having stopped Steckler's nefarious plans, the S.O. Officers are sent to the Reich Chancellery to capture the evil scientist. They fiercely fight their way through multiple rooms and corridors, until they make it to Steckler's office. After some banter, the scientist sets his men on the three officers, who are forced to defend themselves and ultimately kill Steckler.
Gameplay
The game advertises itself as letting players "fight the famous battles of WWII". The game features multiple settings from Europe and North Africa, such as a nuclear reactor in Berlin, castles, etc. Players can assume the roles of three different soldiers each with different skills: Captain Ross, a British Commando and brute fighter, Lieutenant Bull, an Army Ranger sniper, or Major Taggert, a stealthy covert operative. Each character also has a special skill: Captain Ross can use his strength to push things out of the way, Lieutenant Bull can climb ropes, and Major Taggert can pick locks. Players are able to drive any vehicles they find such as Kubelwagens, Sherman tanks, Panzers, and Tiger tanks. A player's health is automatically restored if a player avoids damage for a short while and stands still. A stamina meter also controls how fast a player can run. The single-player campaign lasts approximately five to seven hours.
Multiplayer
There are three modes of multiplayer through System Link or through Xbox Live — Deathmatch, Capture the Flag, and Devastation — and supports up to 12 players.
Development
Game in the Making
The game was under development in New York and was going to compete with the Call of Duty and Medal of Honor franchises. The game's plot was mainly inspired by Indiana Jones, not focusing on historical accuracy. The executive producer Mark Caldwell, described the game as a cross between Indiana Jones and Saving Private Ryan. Phil Vitiello was programming advanced AI into the enemies, so that they reacted intelligently to the player's actions. According to the producer Jeremy Ray, the player would have freedom of movement without being remote controlled at any time during the game, combined with the player's ability to play the game at their own pace, and being able to play the game in one way or another dependent on the chosen character. Certain elements like Ross breaking down doors, Ambrose speaking German and driving a Kubelwagen were scrapped. By early 2007, the multiplayer mode was in the works.
Marketing
Midway had intended to keep the game's existence secret until some time after its release. Originally it was going to be released early in 2007. The 2006 Electronic Entertainment Expo, confirmed the development of the PC version. The developers deliberately left out blood and Nazi symbols to increase commercial interest. Despite this, there was enough violence to qualify it as a mature-rated game. The game was going to be released on the PlayStation 3 around the same time as the Xbox 360, but that plan was cancelled. The title was announced in the 2007 Electronic Entertainment Expo.
By the third quarter of 2007, Midway Games had lost over 33 million dollars from poor sales. As a result, the PC version of Hour of Victory was only released in the European market. Only 120,000 copies were sold worldwide.
Reception
The game received substantially negative reviews from critics. On the review aggregator GameRankings, the game had an average score of 38.05% based on 39 reviews. On Metacritic, the game had an average score of 37 out of 100, based on 33 reviews.
In IGNs 5.7 review, they criticized the lack of originality, the multiplayer portion, and the graphics, saying, "Hour of Victory is a mediocre shooter with bad graphics and terrible multiplayer."
GameSpot's review was particularly scathing, with Jeff Gerstmann scoring the game just 2 out of 10 (making it the lowest rated Xbox 360 game on the site to date), saying the game "is practically broken and has no business being on shelves in its current state" and "no one, under any circumstances, should play this game." As the only 'pro' in the pro and con section of the review, Gerstmann wrote, "thankfully, no one is forcing you to play this game." GameSpot went on to name it the "Flat-Out Worst Game" of 2007. The game received the following 9 demerits: Bad Sound Effects, Bad Value, Busted, Broken and Buggy, Derivative, Shallow, Short, Stripped, and Weak Story.
ScrewAttack made it a SAGY nominee for Worst 360 game of the year.
Eurogamer also gave the 2 out of 10, whilst GameCentral marked it even lower, giving it only 1 out of 10. Maxim was, however, much more appreciative of the game, giving it 4 out of 5. Official Xbox Magazine UK gave the game a rating of 6 out of 10.
Official Xbox Magazine rated this game a 2.5 out of 10 (a.k.a. Broken) and gave it the "Worst 'Value' of the Year" Award in the OXM 2007 Game of the Year Awards.
See also
Video games notable for negative reception
References
External links
(Wayback Machine)
N-Fusion Website
2007 video games
Cancelled PlayStation 3 games
Games for Windows
Unreal Engine games
Video games developed in the United States
Video games scored by Jason Graves
Windows games
World War II first-person shooters
Xbox 360 games
Video games set in Berlin
Video games set in Germany
Video games set in Libya
Multiplayer and single-player video games
|
The Ministry of Health of the Republic of Lithuania () is a government department of the Republic of Lithuania. Its operations are authorized by the Constitution of the Republic of Lithuania, decrees issued by the President and Prime Minister, and laws passed by the Seimas (Parliament). Its mission is to seek national unity and continue to build a state of wellbeing for all, where everyone could lead a dignified, comfortable, safe and healthy life. The current head of the Ministry is Arūnas Dulkys.
History
The predecessor of the ministry is considered to be the Health Department under Ministry of the Interior established on 11 November 1918. The ministry in its current form was established on 17 January 1990.
Ministers
References
Health
Lithuania
|
```java
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// specific language governing permissions and limitations
package org.apache.impala.catalog.local;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.apache.hadoop.hive.metastore.api.Table;
import org.apache.impala.catalog.DataSourceTable;
import org.apache.impala.catalog.FeCatalogUtils;
import org.apache.impala.catalog.FeDataSourceTable;
import org.apache.impala.catalog.local.MetaProvider.TableMetaRef;
import org.apache.impala.catalog.TableLoadingException;
import org.apache.impala.catalog.Type;
import org.apache.impala.common.ImpalaRuntimeException;
import org.apache.impala.extdatasource.ApiVersion;
import org.apache.impala.extdatasource.jdbc.conf.JdbcStorageConfig;
import org.apache.impala.thrift.TColumn;
import org.apache.impala.thrift.TDataSource;
import org.apache.impala.thrift.TDataSourceTable;
import org.apache.impala.thrift.TResultSet;
import org.apache.impala.thrift.TResultSetMetadata;
import org.apache.impala.thrift.TTableDescriptor;
import org.apache.impala.thrift.TTableType;
import org.apache.impala.util.JsonUtil;
import org.apache.impala.util.TResultRowBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
/**
* DataSource table instance loaded from {@link LocalCatalog}.
*
* All DataSource properties are stored as table properties (persisted in the
* metastore). Tables that contain the TBL_PROP_DATA_SRC_NAME table parameter are
* assumed to be backed by an external data source.
*/
public class LocalDataSourceTable extends LocalTable implements FeDataSourceTable {
private final static Logger LOG = LoggerFactory.getLogger(LocalDataSourceTable.class);
private String initString_;
private TDataSource dataSource_;
public static LocalDataSourceTable load(LocalDb db, Table msTbl, TableMetaRef ref)
throws TableLoadingException {
Preconditions.checkNotNull(db);
Preconditions.checkNotNull(msTbl);
if (LOG.isTraceEnabled()) {
LOG.trace("load table: " + msTbl.getDbName() + "." + msTbl.getTableName());
}
if (msTbl.getPartitionKeysSize() > 0) {
throw new TableLoadingException("Data source table cannot contain clustering " +
"columns: " + msTbl.getTableName());
}
return new LocalDataSourceTable(db, msTbl, ref);
}
private LocalDataSourceTable(LocalDb db, Table msTbl, TableMetaRef ref)
throws TableLoadingException {
super(db, msTbl, ref);
String dataSourceName = getTableProperty(
msTbl, DataSourceTable.TBL_PROP_DATA_SRC_NAME, null, true);
if (dataSourceName.equals(DataSourceTable.IMPALA_BUILTIN_JDBC_DATASOURCE)) {
// The table is created with "STORED BY JDBC".
dataSource_ = new TDataSource(dataSourceName, /* location */ "",
/* className */ DataSourceTable.IMPALA_JDBC_DATA_SRC_CLASSNAME,
/* apiVersionString */ ApiVersion.V1.name());
// Serialize table properties to JSON string as initString for data source.
Map<String, String> tblProperties = new HashMap<String, String>();
for (JdbcStorageConfig config : JdbcStorageConfig.values()) {
String propertyValue = getTableProperty(msTbl, config.getPropertyName(),
DataSourceTable.IMPALA_BUILTIN_JDBC_DATASOURCE, false);
if (propertyValue != null) {
tblProperties.put(config.getPropertyName(), propertyValue);
}
}
try {
initString_ = JsonUtil.convertPropertyMapToJSON(tblProperties);
} catch (ImpalaRuntimeException e) {
throw new TableLoadingException(e.getMessage());
}
} else {
// The table is created with "PRODUCED BY DATA SOURCE".
String location = getTableProperty(
msTbl, DataSourceTable.TBL_PROP_LOCATION, dataSourceName, true);
String className = getTableProperty(
msTbl, DataSourceTable.TBL_PROP_CLASS, dataSourceName, true);
String apiVersionString = getTableProperty(
msTbl, DataSourceTable.TBL_PROP_API_VER, dataSourceName, true);
dataSource_ =
new TDataSource(dataSourceName, location, className, apiVersionString);
initString_ = getTableProperty(
msTbl, DataSourceTable.TBL_PROP_INIT_STRING, dataSourceName, true);
}
}
private String getTableProperty(Table msTbl, String key, String dataSourceName,
boolean required) throws TableLoadingException {
String val = msTbl.getParameters().get(key);
if (val == null && required) {
if (key.equals(DataSourceTable.TBL_PROP_DATA_SRC_NAME)) {
throw new TableLoadingException(String.format("Failed to load table %s. " +
"Missing required metadata: %s", msTbl.getTableName(), key));
} else if (dataSourceName.equals(DataSourceTable.IMPALA_BUILTIN_JDBC_DATASOURCE)) {
throw new TableLoadingException(String.format("Failed to load table %s stored " +
"by JDBC. Missing required metadata: %s", msTbl.getTableName(), key));
} else {
throw new TableLoadingException(String.format("Failed to load table %s " +
"produced by external data source %s. Missing required metadata: %s",
msTbl.getTableName(), dataSourceName, key));
}
}
return val;
}
/**
* Gets the DataSource object.
*/
@Override // FeDataSourceTable
public TDataSource getDataSource() { return dataSource_; }
/**
* Gets the table init string passed to the DataSource.
*/
@Override // FeDataSourceTable
public String getInitString() { return initString_; }
@Override // FeDataSourceTable
public int getNumNodes() { return 1; }
@Override // FeDataSourceTable
public boolean isJdbcDataSourceTable() {
return (dataSource_ != null && dataSource_.name != null &&
dataSource_.name.equals(DataSourceTable.IMPALA_BUILTIN_JDBC_DATASOURCE));
}
/**
* Returns statistics on this table as a tabular result set. Used for the
* SHOW TABLE STATS statement. The schema of the returned TResultSet is set
* inside this method.
*/
@Override // FeDataSourceTable
public TResultSet getTableStats() {
TResultSet result = new TResultSet();
TResultSetMetadata resultSchema = new TResultSetMetadata();
resultSchema.addToColumns(new TColumn("#Rows", Type.BIGINT.toThrift()));
result.setSchema(resultSchema);
TResultRowBuilder rowBuilder = new TResultRowBuilder();
rowBuilder.add(getNumRows());
result.addToRows(rowBuilder.get());
return result;
}
@Override
public TTableDescriptor toThriftDescriptor(
int tableId, Set<Long> referencedPartitions) {
TTableDescriptor tableDesc = new TTableDescriptor(tableId,
TTableType.DATA_SOURCE_TABLE, FeCatalogUtils.getTColumnDescriptors(this),
getNumClusteringCols(), getName(), getDb().getName());
tableDesc.setDataSourceTable(getDataSourceTable());
return tableDesc;
}
/**
* Returns a thrift {@link TDataSourceTable} structure for this DataSource table.
*/
private TDataSourceTable getDataSourceTable() {
return new TDataSourceTable(dataSource_, initString_);
}
}
```
|
```java
//package cn.crap.service;
//
//import cn.crap.adapter.Adapter;
//import cn.crap.dao.custom.CustomProjectDao;
//import cn.crap.dao.mybatis.ProjectDao;
//import cn.crap.dto.ProjectDto;
//import cn.crap.enu.LogType;
//import cn.crap.enu.MyError;
//import cn.crap.enu.TableId;
//import cn.crap.framework.MyException;
//import cn.crap.model.Log;
//import cn.crap.model.Project;
//import cn.crap.model.ProjectCriteria;
//import cn.crap.query.ProjectQuery;
//import cn.crap.service.tool.SettingCache;
//import cn.crap.utils.*;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.springframework.util.Assert;
//
//import javax.annotation.Nullable;
//import javax.annotation.Resource;
//import java.util.List;
//
//@Service
//public class ProjectServiceBak extends BaseService<Project, ProjectDao> implements ILogConst, IConst {
// @Autowired
// private LogService logService;
// @Autowired
// private CustomProjectDao customMapper;
// @Autowired
// private SettingCache settingCache;
//
// private ProjectDao projectDao;
// @Resource
// public void ProjectDao(ProjectDao projectDao) {
// this.projectDao = projectDao;
// super.setBaseDao(projectDao, TableId.PROJECT);
// }
//
// /**
// *
// *
// * @param project
// * @return
// */
// @Override
// public boolean insert(Project project) throws MyException{
// if (project == null) {
// return false;
// }
// if (MyString.isNotEmpty(project.getPassword())) {
// project.setPassword(MD5.encrytMD5(project.getPassword(), project.getId()));
// }
//
// if (MyString.isEmpty(project.getCover())){
// project.setCover(Tools.getAvatar());
// }
// return super.insert(project);
// }
//
// /**
// *
// * @param project
// */
// public boolean update(Project project, boolean needAddLog) throws MyException{
// if (needAddLog) {
// Project dbModel = super.getById(project.getId());
// Log log = Adapter.getLog(dbModel.getId(), L_PROJECT_CHINESE, dbModel.getName(), LogType.UPDATE, dbModel.getClass(), dbModel);
// logService.insert(log);
// }
//
// if (project.getPassword() != null) {
// if (project.getPassword().equals(C_DELETE_PASSWORD)) {
// project.setPassword("");
// } else {
// project.setPassword(MD5.encrytMD5(project.getPassword(), project.getId()));
// }
// }
// return super.update(project);
// }
//
// /**
// *
// *
// * @param id
// */
// @Override
// public boolean delete(String id) throws MyException{
// Assert.notNull(id);
// Project dbModel = super.getById(id);
//
// Log log = Adapter.getLog(dbModel.getId(), L_PROJECT_CHINESE, dbModel.getName(), LogType.DELTET, dbModel.getClass(), dbModel);
// logService.insert(log);
//
// return super.delete(id);
// }
//
// /**
// *
// * @param query
// * @return
// * @throws MyException
// */
// public List<Project> query(ProjectQuery query) throws MyException {
// Assert.notNull(query);
//
// Page page = new Page(query);
// ProjectCriteria example = getProjectCriteria(query);
// example.setLimitStart(page.getStart());
// example.setMaxResults(page.getSize());
// example.setOrderByClause(query.getSort() == null ? TableField.SORT.SEQUENCE_DESC : query.getSort());
//
// return projectDao.selectByExample(example);
// }
//
// /**
// *
// * @param query
// * @return
// * @throws MyException
// */
// public int count(ProjectQuery query) throws MyException {
// Assert.notNull(query);
//
// ProjectCriteria example = getProjectCriteria(query);
// return projectDao.countByExample(example);
// }
//
// private ProjectCriteria getProjectCriteria(ProjectQuery query) throws MyException {
// ProjectCriteria example = new ProjectCriteria();
// ProjectCriteria.Criteria criteria = example.createCriteria();
// if (query.getName() != null) {
// criteria.andNameLike("%" + query.getName() + "%");
// }
// if (query.getStatus() != null) {
// criteria.andStatusEqualTo(query.getStatus());
// }
// if (query.getUserId() != null) {
// criteria.andUserIdEqualTo(query.getUserId());
// }
// return example;
// }
//
// /**
// * ID
// */
//// public List<String> queryMyProjectIdByUserId(String userId) {
//// Assert.notNull(userId, "userId can't be null");
//// return customMapper.queryProjectIdByUserId(userId);
//// }
// public List<Project> query(String userId, boolean onlyJoin, String name, Page page) {
// Assert.notNull(userId, "userId can't be null");
// return customMapper.queryProjectByUserId(userId, onlyJoin, name, page);
// }
//
// public int count(String userId, boolean onlyJoin, String name) {
// Assert.notNull(userId, "userId can't be null");
// return customMapper.countProjectByUserId(userId, onlyJoin, name);
// }
//
//
// /**
// *
// * @param projectDto
// * @return
// */
// public String getInviteUrl(ProjectDto projectDto) throws MyException {
// Assert.notNull(projectDto);
// if (LoginUserHelper.getUser().getId().equals(projectDto.getUserId())) {
// return Tools.getUrlPath() + "/user/projectUser/invite.do?code=" + Aes.encrypt(projectDto.getId() + SEPARATOR + System.currentTimeMillis());
// }
// return null;
// }
//
// /**
// *
// * @param code
// * @return
// * @throws MyException
// */
// @Nullable
// public String getProjectIdFromInviteCode(String code) throws MyException{
// if (MyString.isEmpty(code)){
// throw new MyException(MyError.E000065, "");
// }
//
// try{
// String originalCode = Aes.desEncrypt(code);
// String projectId = originalCode.split(SEPARATOR)[0];
// String timeStr = originalCode.split(SEPARATOR)[1];
// if (Long.parseLong(timeStr) + TWO_HOUR > System.currentTimeMillis()){
// return projectId;
// }
// throw new MyException(MyError.E000065, "");
// } catch (Exception e){
// throw new MyException(MyError.E000065, "" + e.getMessage());
// }
// }
//
//
//}
```
|
```python
from django.core.exceptions import ObjectDoesNotExist
from drf_spectacular.utils import extend_schema_field
from rest_framework import serializers
from core.models import ObjectType
from extras.models import ImageAttachment
from netbox.api.fields import ContentTypeField
from netbox.api.serializers import ValidatedModelSerializer
from utilities.api import get_serializer_for_model
__all__ = (
'ImageAttachmentSerializer',
)
class ImageAttachmentSerializer(ValidatedModelSerializer):
url = serializers.HyperlinkedIdentityField(view_name='extras-api:imageattachment-detail')
object_type = ContentTypeField(
queryset=ObjectType.objects.all()
)
parent = serializers.SerializerMethodField(read_only=True)
class Meta:
model = ImageAttachment
fields = [
'id', 'url', 'display', 'object_type', 'object_id', 'parent', 'name', 'image', 'image_height',
'image_width', 'created', 'last_updated',
]
brief_fields = ('id', 'url', 'display', 'name', 'image')
def validate(self, data):
# Validate that the parent object exists
try:
data['object_type'].get_object_for_this_type(id=data['object_id'])
except ObjectDoesNotExist:
raise serializers.ValidationError(
"Invalid parent object: {} ID {}".format(data['object_type'], data['object_id'])
)
# Enforce model validation
super().validate(data)
return data
@extend_schema_field(serializers.JSONField(allow_null=True))
def get_parent(self, obj):
serializer = get_serializer_for_model(obj.parent)
context = {'request': self.context['request']}
return serializer(obj.parent, nested=True, context=context).data
```
|
```go
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package otr
import (
"bufio"
"bytes"
"crypto/rand"
"encoding/hex"
"math/big"
"os"
"os/exec"
"testing"
)
var isQueryTests = []struct {
msg string
expectedVersion int
}{
{"foo", 0},
{"?OtR", 0},
{"?OtR?", 0},
{"?OTR?", 0},
{"?OTRv?", 0},
{"?OTRv1?", 0},
{"?OTR?v1?", 0},
{"?OTR?v?", 0},
{"?OTR?v2?", 2},
{"?OTRv2?", 2},
{"?OTRv23?", 2},
{"?OTRv23 ?", 0},
}
func TestIsQuery(t *testing.T) {
for i, test := range isQueryTests {
version := isQuery([]byte(test.msg))
if version != test.expectedVersion {
t.Errorf("#%d: got %d, want %d", i, version, test.expectedVersion)
}
}
}
var alicePrivateKeyHex = your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashd42b8396c4d00000001420bec691fea37ecea58a5c717142f0b804452f57"
var aliceFingerprintHex = "0bb01c360424522e94ee9c346ce877a1a4288b2f"
var bobPrivateKeyHex = your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash7d0fea3b664e0000001440f9f2eb554cb00d45a5826b54bfa419b6980e48"
func TestKeySerialization(t *testing.T) {
var priv PrivateKey
alicePrivateKey, _ := hex.DecodeString(alicePrivateKeyHex)
rest, ok := priv.Parse(alicePrivateKey)
if !ok {
t.Error("failed to parse private key")
}
if len(rest) > 0 {
t.Error("data remaining after parsing private key")
}
out := priv.Serialize(nil)
if !bytes.Equal(alicePrivateKey, out) {
t.Errorf("serialization (%x) is not equal to original (%x)", out, alicePrivateKey)
}
aliceFingerprint, _ := hex.DecodeString(aliceFingerprintHex)
fingerprint := priv.PublicKey.Fingerprint()
if !bytes.Equal(aliceFingerprint, fingerprint) {
t.Errorf("fingerprint (%x) is not equal to expected value (%x)", fingerprint, aliceFingerprint)
}
}
const libOTRPrivateKey = `(privkeys
(account
(name "foo@example.com")
(protocol prpl-jabber)
(private-key
(dsa
(p #your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash57#)
(q #00997BD266EF7B1F60A5C23F3A741F2AEFD07A2081#)
(g #your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash#)
(y #your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash#)
(x #14D0345A3562C480A039E3C72764F72D79043216#)
)
)
)
)`
func TestParseLibOTRPrivateKey(t *testing.T) {
var priv PrivateKey
if !priv.Import([]byte(libOTRPrivateKey)) {
t.Fatalf("Failed to import sample private key")
}
}
func TestSignVerify(t *testing.T) {
var priv PrivateKey
alicePrivateKey, _ := hex.DecodeString(alicePrivateKeyHex)
_, ok := priv.Parse(alicePrivateKey)
if !ok {
t.Error("failed to parse private key")
}
var msg [32]byte
rand.Reader.Read(msg[:])
sig := priv.Sign(rand.Reader, msg[:])
rest, ok := priv.PublicKey.Verify(msg[:], sig)
if !ok {
t.Errorf("signature (%x) of %x failed to verify", sig, msg[:])
} else if len(rest) > 0 {
t.Error("signature data remains after verification")
}
sig[10] ^= 80
_, ok = priv.PublicKey.Verify(msg[:], sig)
if ok {
t.Errorf("corrupted signature (%x) of %x verified", sig, msg[:])
}
}
func setupConversation(t *testing.T) (alice, bob *Conversation) {
alicePrivateKey, _ := hex.DecodeString(alicePrivateKeyHex)
bobPrivateKey, _ := hex.DecodeString(bobPrivateKeyHex)
alice, bob = new(Conversation), new(Conversation)
alice.PrivateKey = new(PrivateKey)
bob.PrivateKey = new(PrivateKey)
alice.PrivateKey.Parse(alicePrivateKey)
bob.PrivateKey.Parse(bobPrivateKey)
alice.FragmentSize = 100
bob.FragmentSize = 100
if alice.IsEncrypted() {
t.Error("Alice believes that the conversation is secure before we've started")
}
if bob.IsEncrypted() {
t.Error("Bob believes that the conversation is secure before we've started")
}
performHandshake(t, alice, bob)
return alice, bob
}
func performHandshake(t *testing.T, alice, bob *Conversation) {
var alicesMessage, bobsMessage [][]byte
var out []byte
var aliceChange, bobChange SecurityChange
var err error
alicesMessage = append(alicesMessage, []byte(QueryMessage))
for round := 0; len(alicesMessage) > 0 || len(bobsMessage) > 0; round++ {
bobsMessage = nil
for i, msg := range alicesMessage {
out, _, bobChange, bobsMessage, err = bob.Receive(msg)
if len(out) > 0 {
t.Errorf("Bob generated output during key exchange, round %d, message %d", round, i)
}
if err != nil {
t.Fatalf("Bob returned an error, round %d, message %d (%x): %s", round, i, msg, err)
}
if len(bobsMessage) > 0 && i != len(alicesMessage)-1 {
t.Errorf("Bob produced output while processing a fragment, round %d, message %d", round, i)
}
}
alicesMessage = nil
for i, msg := range bobsMessage {
out, _, aliceChange, alicesMessage, err = alice.Receive(msg)
if len(out) > 0 {
t.Errorf("Alice generated output during key exchange, round %d, message %d", round, i)
}
if err != nil {
t.Fatalf("Alice returned an error, round %d, message %d (%x): %s", round, i, msg, err)
}
if len(alicesMessage) > 0 && i != len(bobsMessage)-1 {
t.Errorf("Alice produced output while processing a fragment, round %d, message %d", round, i)
}
}
}
if aliceChange != NewKeys {
t.Errorf("Alice terminated without signaling new keys")
}
if bobChange != NewKeys {
t.Errorf("Bob terminated without signaling new keys")
}
if !bytes.Equal(alice.SSID[:], bob.SSID[:]) {
t.Errorf("Session identifiers don't match. Alice has %x, Bob has %x", alice.SSID[:], bob.SSID[:])
}
if !alice.IsEncrypted() {
t.Error("Alice doesn't believe that the conversation is secure")
}
if !bob.IsEncrypted() {
t.Error("Bob doesn't believe that the conversation is secure")
}
}
const (
firstRoundTrip = iota
subsequentRoundTrip
noMACKeyCheck
)
func roundTrip(t *testing.T, alice, bob *Conversation, message []byte, macKeyCheck int) {
alicesMessage, err := alice.Send(message)
if err != nil {
t.Errorf("Error from Alice sending message: %s", err)
}
if len(alice.oldMACs) != 0 {
t.Errorf("Alice has not revealed all MAC keys")
}
for i, msg := range alicesMessage {
out, encrypted, _, _, err := bob.Receive(msg)
if err != nil {
t.Errorf("Error generated while processing test message: %s", err.Error())
}
if len(out) > 0 {
if i != len(alicesMessage)-1 {
t.Fatal("Bob produced a message while processing a fragment of Alice's")
}
if !encrypted {
t.Errorf("Message was not marked as encrypted")
}
if !bytes.Equal(out, message) {
t.Errorf("Message corrupted: got %x, want %x", out, message)
}
}
}
switch macKeyCheck {
case firstRoundTrip:
if len(bob.oldMACs) != 0 {
t.Errorf("Bob should not have MAC keys to reveal")
}
case subsequentRoundTrip:
if len(bob.oldMACs) != 40 {
t.Errorf("Bob has %d bytes of MAC keys to reveal, but should have 40", len(bob.oldMACs))
}
}
bobsMessage, err := bob.Send(message)
if err != nil {
t.Errorf("Error from Bob sending message: %s", err)
}
if len(bob.oldMACs) != 0 {
t.Errorf("Bob has not revealed all MAC keys")
}
for i, msg := range bobsMessage {
out, encrypted, _, _, err := alice.Receive(msg)
if err != nil {
t.Errorf("Error generated while processing test message: %s", err.Error())
}
if len(out) > 0 {
if i != len(bobsMessage)-1 {
t.Fatal("Alice produced a message while processing a fragment of Bob's")
}
if !encrypted {
t.Errorf("Message was not marked as encrypted")
}
if !bytes.Equal(out, message) {
t.Errorf("Message corrupted: got %x, want %x", out, message)
}
}
}
switch macKeyCheck {
case firstRoundTrip:
if len(alice.oldMACs) != 20 {
t.Errorf("Alice has %d bytes of MAC keys to reveal, but should have 20", len(alice.oldMACs))
}
case subsequentRoundTrip:
if len(alice.oldMACs) != 40 {
t.Errorf("Alice has %d bytes of MAC keys to reveal, but should have 40", len(alice.oldMACs))
}
}
}
func TestConversation(t *testing.T) {
alice, bob := setupConversation(t)
var testMessages = [][]byte{
[]byte("hello"), []byte("bye"),
}
roundTripType := firstRoundTrip
for _, testMessage := range testMessages {
roundTrip(t, alice, bob, testMessage, roundTripType)
roundTripType = subsequentRoundTrip
}
}
func TestGoodSMP(t *testing.T) {
var alice, bob Conversation
alice.smp.secret = new(big.Int).SetInt64(42)
bob.smp.secret = alice.smp.secret
var alicesMessages, bobsMessages []tlv
var aliceComplete, bobComplete bool
var err error
var out tlv
alicesMessages = alice.startSMP("")
for round := 0; len(alicesMessages) > 0 || len(bobsMessages) > 0; round++ {
bobsMessages = bobsMessages[:0]
for i, msg := range alicesMessages {
out, bobComplete, err = bob.processSMP(msg)
if err != nil {
t.Errorf("Error from Bob in round %d: %s", round, err)
}
if bobComplete && i != len(alicesMessages)-1 {
t.Errorf("Bob returned a completed signal before processing all of Alice's messages in round %d", round)
}
if out.typ != 0 {
bobsMessages = append(bobsMessages, out)
}
}
alicesMessages = alicesMessages[:0]
for i, msg := range bobsMessages {
out, aliceComplete, err = alice.processSMP(msg)
if err != nil {
t.Errorf("Error from Alice in round %d: %s", round, err)
}
if aliceComplete && i != len(bobsMessages)-1 {
t.Errorf("Alice returned a completed signal before processing all of Bob's messages in round %d", round)
}
if out.typ != 0 {
alicesMessages = append(alicesMessages, out)
}
}
}
if !aliceComplete || !bobComplete {
t.Errorf("SMP completed without both sides reporting success: alice: %v, bob: %v\n", aliceComplete, bobComplete)
}
}
func TestBadSMP(t *testing.T) {
var alice, bob Conversation
alice.smp.secret = new(big.Int).SetInt64(42)
bob.smp.secret = new(big.Int).SetInt64(43)
var alicesMessages, bobsMessages []tlv
alicesMessages = alice.startSMP("")
for round := 0; len(alicesMessages) > 0 || len(bobsMessages) > 0; round++ {
bobsMessages = bobsMessages[:0]
for _, msg := range alicesMessages {
out, complete, _ := bob.processSMP(msg)
if complete {
t.Errorf("Bob signaled completion in round %d", round)
}
if out.typ != 0 {
bobsMessages = append(bobsMessages, out)
}
}
alicesMessages = alicesMessages[:0]
for _, msg := range bobsMessages {
out, complete, _ := alice.processSMP(msg)
if complete {
t.Errorf("Alice signaled completion in round %d", round)
}
if out.typ != 0 {
alicesMessages = append(alicesMessages, out)
}
}
}
}
func TestRehandshaking(t *testing.T) {
alice, bob := setupConversation(t)
roundTrip(t, alice, bob, []byte("test"), firstRoundTrip)
roundTrip(t, alice, bob, []byte("test 2"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 3"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 4"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 5"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 6"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 7"), subsequentRoundTrip)
roundTrip(t, alice, bob, []byte("test 8"), subsequentRoundTrip)
performHandshake(t, alice, bob)
roundTrip(t, alice, bob, []byte("test"), noMACKeyCheck)
roundTrip(t, alice, bob, []byte("test 2"), noMACKeyCheck)
}
func TestAgainstLibOTR(t *testing.T) {
// This test requires otr.c.test to be built as /tmp/a.out.
// If enabled, this tests runs forever performing OTR handshakes in a
// loop.
return
alicePrivateKey, _ := hex.DecodeString(alicePrivateKeyHex)
var alice Conversation
alice.PrivateKey = new(PrivateKey)
alice.PrivateKey.Parse(alicePrivateKey)
cmd := exec.Command("/tmp/a.out")
cmd.Stderr = os.Stderr
out, err := cmd.StdinPipe()
if err != nil {
t.Fatal(err)
}
defer out.Close()
stdout, err := cmd.StdoutPipe()
if err != nil {
t.Fatal(err)
}
in := bufio.NewReader(stdout)
if err := cmd.Start(); err != nil {
t.Fatal(err)
}
out.Write([]byte(QueryMessage))
out.Write([]byte("\n"))
var expectedText = []byte("test message")
for {
line, isPrefix, err := in.ReadLine()
if isPrefix {
t.Fatal("line from subprocess too long")
}
if err != nil {
t.Fatal(err)
}
text, encrypted, change, alicesMessage, err := alice.Receive(line)
if err != nil {
t.Fatal(err)
}
for _, msg := range alicesMessage {
out.Write(msg)
out.Write([]byte("\n"))
}
if change == NewKeys {
alicesMessage, err := alice.Send([]byte("Go -> libotr test message"))
if err != nil {
t.Fatalf("error sending message: %s", err.Error())
} else {
for _, msg := range alicesMessage {
out.Write(msg)
out.Write([]byte("\n"))
}
}
}
if len(text) > 0 {
if !bytes.Equal(text, expectedText) {
t.Fatalf("expected %x, but got %x", expectedText, text)
}
if !encrypted {
t.Fatal("message wasn't encrypted")
}
}
}
}
```
|
Richmond Hill High School may refer to:
Richmond Hill High School (Georgia), in Richmond Hill
Richmond Hill High School (Ontario), in Richmond Hill
Richmond Hill High School (Queens), in New York
|
The Northern Ridge, Northern Uvaly, Severnyye Uvaly (), is the chain of hills in the northern part of the East European Plain in Russia. The Northern Ridge divides the river basins of the Northern Dvina River (north) and the Volga River (south). The chain is located roughly in the west–east direction, between the source of the Kostroma River and the sources of the Vychegda River and the Kama River. The Northern Ridge is approximately 200 km long. Roughly, the chain is limited from the north by the valleys of the Sukhona and the Vychegda, and from the south by the course of the Volga in the west and by the course of the Kama in the east.
Administratively, the Northern Ridge is located in Kostroma, Vologda, Kirov Oblasts, the Komi Republic, and Perm Krai of Russia.
The landscape of the Northern Ridge originates from the Ice Age and has the glacial nature. The hills were polished by the glacier and currently achieve the height of (in Babushkinsky District, Vologda Oblast). The rivers flow in deep ravines. The principal rivers which have their source in the Northern Ridge are the Yug, the Luza, the Unzha, the Sysola, and the Moloma.
External links
Mountain ranges of Russia
Landforms of Kostroma Oblast
Landforms of Vologda Oblast
Landforms of Kirov Oblast
Landforms of the Komi Republic
Landforms of Perm Krai
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.