text:
<!doctype html>

	<meta charset="utf-8">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<title>"utils/docs/types/index.d" | stdlib</title>
	<meta name="description" content="stdlib is a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing.">
	<meta name="author" content="stdlib">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

	<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png">
	<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
	<link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
	<link rel="manifest" href="../manifest.json">
	<link rel="mask-icon" href="../safari-pinned-tab.svg" color="#5bbad5">
	<meta name="theme-color" content="#ffffff">

	<meta property="og:type" content="website">
	<meta property="og:site_name" content="stdlib">
	<meta property="og:url" content="https://stdlib.io/">
	<meta property="og:title" content="A standard library for JavaScript and Node.js.">
	<meta property="og:description" content="stdlib is a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing.">
	<meta property="og:locale" content="en_US">
	<meta property="og:image" content="">

	<meta name="twitter:card" content="A standard library for JavaScript and Node.js.">
	<meta name="twitter:site" content="@stdlibjs">
	<meta name="twitter:url" content="https://stdlib.io/">
	<meta name="twitter:title" content="stdlib">
	<meta name="twitter:description" content="stdlib is a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing.">
	<meta name="twitter:image" content="">
	<link rel="stylesheet" href="../assets/css/main.css">
	<link rel="stylesheet" href="../assets/css/theme.css">

						Search
						<input id="tsd-search-field" type="text" />

Preparing search index...

The search index is not available

						Options

								All

Public

Public/Protected

All

							<input type="checkbox" id="tsd-filter-inherited" checked />
							Inherited
							<input type="checkbox" id="tsd-filter-only-exported" />
							Only exported

					Menu

					Globals

					"utils/docs/types/index.d"

External module "utils/docs/types/index.d"

Index

Interfaces

Namespace

Variables

Circular<wbr>Buffer

Compact<wbr>Adjacency<wbr>Matrix

Doubly<wbr>Linked<wbr>List

FIFO

Linked<wbr>List

Stack

any

any<wbr>By

any<wbr>ByRight

append

argument<wbr>Function

async

bifurcate

bifurcate<wbr>By

bifurcate<wbr>In

bifurcate<wbr>Own

capitalize<wbr>Keys

common<wbr>Keys

common<wbr>Keys<wbr>In

compose

constant<wbr>Function

constructor<wbr>Name

convert<wbr>Path

copy

count<wbr>By

curry

curry<wbr>Right

deep<wbr>Get

deep<wbr>Pluck

deep<wbr>Set

define<wbr>Memoized<wbr>Property

define<wbr>Properties

define<wbr>Property

dirname

do<wbr>Until

do<wbr>Until<wbr>Each

do<wbr>Until<wbr>Each<wbr>Right

do<wbr>While

do<wbr>While<wbr>Each

do<wbr>While<wbr>Each<wbr>Right

enumerable<wbr>Properties

enumerable<wbr>Properties<wbr>In

enumerable<wbr>Property<wbr>Symbols

enumerable<wbr>Property<wbr>Symbols<wbr>In

every

every<wbr>By

every<wbr>ByRight

evil

extname

filter<wbr>Arguments

find

flatten<wbr>Array

flatten<wbr>Object

for<wbr>Each

for<wbr>Each<wbr>Right

for<wbr>In

for<wbr>Own

function<wbr>Name

function<wbr>Sequence

get<wbr>Global

get<wbr>Prototype<wbr>Of

group

group<wbr>By

group<wbr>In

group<wbr>Own

identity

ifelse

ifthen

index<wbr>Of

inherit

inherited<wbr>Enumerable<wbr>Properties

inherited<wbr>Enumerable<wbr>Property<wbr>Symbols

inherited<wbr>Keys

inherited<wbr>Non<wbr>Enumerable<wbr>Properties

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Names

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Symbols

inherited<wbr>Properties

inherited<wbr>Property<wbr>Descriptor

inherited<wbr>Property<wbr>Descriptors

inherited<wbr>Property<wbr>Names

inherited<wbr>Property<wbr>Symbols

inherited<wbr>Writable<wbr>Properties

inherited<wbr>Writable<wbr>Property<wbr>Names

inherited<wbr>Writable<wbr>Property<wbr>Symbols

inmap

inmap<wbr>Right

key<wbr>By

key<wbr>ByRight

keys<wbr>In

lowercase<wbr>Keys

map

map2

map2<wbr>Right

map2d

map3d

map4d

map5d

map<wbr>Arguments

map<wbr>Fun

map<wbr>Keys

map<wbr>Reduce

map<wbr>Reduce<wbr>Right

map<wbr>Right

map<wbr>Values

mask<wbr>Arguments

memoize

merge

move<wbr>Property

namedtypedtuple

nary<wbr>Function

native<wbr>Class

next<wbr>Tick

non<wbr>Enumerable<wbr>Properties

non<wbr>Enumerable<wbr>Properties<wbr>In

non<wbr>Enumerable<wbr>Property<wbr>Names

non<wbr>Enumerable<wbr>Property<wbr>Names<wbr>In

non<wbr>Enumerable<wbr>Property<wbr>Symbols

non<wbr>Enumerable<wbr>Property<wbr>Symbols<wbr>In

non<wbr>Index<wbr>Keys

none

none<wbr>By

none<wbr>ByRight

noop

ns

object<wbr>Entries

object<wbr>Entries<wbr>In

object<wbr>From<wbr>Entries

object<wbr>Inverse

object<wbr>Inverse<wbr>By

object<wbr>Keys

object<wbr>Values

object<wbr>Values<wbr>In

omit

omit<wbr>By

openURL

papply

papply<wbr>Right

parallel

parseJSON

pick

pick<wbr>Arguments

pick<wbr>By

pluck

pop

prepend

properties

properties<wbr>In

property<wbr>Descriptor

property<wbr>Descriptor<wbr>In

property<wbr>Descriptors

property<wbr>Descriptors<wbr>In

property<wbr>Names

property<wbr>Names<wbr>In

property<wbr>Symbols

property<wbr>Symbols<wbr>In

push

re<wbr>From<wbr>String

realmax

realmin

reduce

reduce2d

reduce<wbr>Right

reject<wbr>Arguments

reorder<wbr>Arguments

rescape

reverse<wbr>Arguments

safeintmax

safeintmin

set<wbr>Configurable<wbr>Read<wbr>Only

set<wbr>Configurable<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Configurable<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Configurable<wbr>Write<wbr>Only<wbr>Accessor

set<wbr>Memoized<wbr>Configurable<wbr>Read<wbr>Only

set<wbr>Memoized<wbr>Read<wbr>Only

set<wbr>Non<wbr>Enumerable<wbr>Property

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Non<wbr>Enumerable<wbr>Write<wbr>Only<wbr>Accessor

set<wbr>Read<wbr>Only

set<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Write<wbr>Only<wbr>Accessor

shift

size<wbr>Of

some

some<wbr>By

some<wbr>ByRight

tabulate

tabulate<wbr>By

timeit

try<wbr>Function

try<wbr>Require

trycatch

trythen

type<wbr>Of

typemax

typemin

uncapitalize<wbr>Keys

uncurry

uncurry<wbr>Right

unshift

until

until<wbr>Each

until<wbr>Each<wbr>Right

unzip

uppercase<wbr>Keys

while<wbr>Each

while<wbr>Each<wbr>Right

whilst

writable<wbr>Properties

writable<wbr>Properties<wbr>In

writable<wbr>Property<wbr>Names

writable<wbr>Property<wbr>Names<wbr>In

writable<wbr>Property<wbr>Symbols

writable<wbr>Property<wbr>Symbols<wbr>In

zip

Variables

Circular<wbr>Buffer

Circular<wbr>Buffer: CircularBuffer

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:35

Compact<wbr>Adjacency<wbr>Matrix

Compact<wbr>Adjacency<wbr>Matrix: todo

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:38

Doubly<wbr>Linked<wbr>List

Doubly<wbr>Linked<wbr>List: DoublyLinkedList

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:75

FIFO

FIFO: FIFO

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:88

Linked<wbr>List

Linked<wbr>List: LinkedList

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:131

Stack

Stack: Stack

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:208

any

any: any

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:24

any<wbr>By

any<wbr>By: anyBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:25

any<wbr>ByRight

any<wbr>ByRight: anyByRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:26

append

append: append

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:27

argument<wbr>Function

argument<wbr>Function: argumentFunction

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:28

async

async: Namespace

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:29

bifurcate

bifurcate: bifurcate

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:30

bifurcate<wbr>By

bifurcate<wbr>By: bifurcateBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:31

bifurcate<wbr>In

bifurcate<wbr>In: bifurcateIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:32

bifurcate<wbr>Own

bifurcate<wbr>Own: bifurcateOwn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:33

capitalize<wbr>Keys

capitalize<wbr>Keys: capitalizeKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:34

common<wbr>Keys

common<wbr>Keys: commonKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:36

common<wbr>Keys<wbr>In

common<wbr>Keys<wbr>In: commonKeysIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:37

compose

compose: compose

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:39

constant<wbr>Function

constant<wbr>Function: constantFunction

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:40

constructor<wbr>Name

constructor<wbr>Name: constructorName

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:41

convert<wbr>Path

convert<wbr>Path: convertPath

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:42

copy

copy: copy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:43

count<wbr>By

count<wbr>By: countBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:44

curry

curry: curry

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:45

curry<wbr>Right

curry<wbr>Right: curryRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:46

deep<wbr>Get

deep<wbr>Get: DeepGet

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:47

deep<wbr>Pluck

deep<wbr>Pluck: deepPluck

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:48

deep<wbr>Set

deep<wbr>Set: DeepSet

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:49

define<wbr>Memoized<wbr>Property

define<wbr>Memoized<wbr>Property: defineMemoizedProperty

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:55

define<wbr>Properties

define<wbr>Properties: defineProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:62

define<wbr>Property

define<wbr>Property: defineProperty

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:63

dirname

dirname: dirname

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:68

do<wbr>Until

do<wbr>Until: doUntil

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:69

do<wbr>Until<wbr>Each

do<wbr>Until<wbr>Each: doUntilEach

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:70

do<wbr>Until<wbr>Each<wbr>Right

do<wbr>Until<wbr>Each<wbr>Right: doUntilEachRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:71

do<wbr>While

do<wbr>While: doWhile

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:72

do<wbr>While<wbr>Each

do<wbr>While<wbr>Each: doWhileEach

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:73

do<wbr>While<wbr>Each<wbr>Right

do<wbr>While<wbr>Each<wbr>Right: doWhileEachRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:74

enumerable<wbr>Properties

enumerable<wbr>Properties: enumerableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:78

enumerable<wbr>Properties<wbr>In

enumerable<wbr>Properties<wbr>In: enumerablePropertiesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:79

enumerable<wbr>Property<wbr>Symbols

enumerable<wbr>Property<wbr>Symbols: enumerablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:80

enumerable<wbr>Property<wbr>Symbols<wbr>In

enumerable<wbr>Property<wbr>Symbols<wbr>In: enumerablePropertySymbolsIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:81

every

every: every

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:84

every<wbr>By

every<wbr>By: everyBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:85

every<wbr>ByRight

every<wbr>ByRight: everyByRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:86

evil

evil: evil

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:83

extname

extname: extname

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:87

filter<wbr>Arguments

filter<wbr>Arguments: filterArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:89

find

find: find

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:90

flatten<wbr>Array

flatten<wbr>Array: FlattenArray

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:91

flatten<wbr>Object

flatten<wbr>Object: FlattenObject

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:92

for<wbr>Each

for<wbr>Each: forEach

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:93

for<wbr>Each<wbr>Right

for<wbr>Each<wbr>Right: forEachRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:94

for<wbr>In

for<wbr>In: forIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:95

for<wbr>Own

for<wbr>Own: forOwn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:96

function<wbr>Name

function<wbr>Name: functionName

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:98

function<wbr>Sequence

function<wbr>Sequence: funseq

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:99

get<wbr>Global

get<wbr>Global: getGlobal

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:101

get<wbr>Prototype<wbr>Of

get<wbr>Prototype<wbr>Of: getPrototypeOf

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:100

group

group: group

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:102

group<wbr>By

group<wbr>By: groupBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:103

group<wbr>In

group<wbr>In: groupIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:104

group<wbr>Own

group<wbr>Own: groupOwn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:105

identity

identity: identity

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:106

ifelse

ifelse: ifelse

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:107

ifthen

ifthen: ifthen

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:108

index<wbr>Of

index<wbr>Of: indexOf

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:109

inherit

inherit: inherit

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:110

inherited<wbr>Enumerable<wbr>Properties

inherited<wbr>Enumerable<wbr>Properties: inheritedEnumerableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:111

inherited<wbr>Enumerable<wbr>Property<wbr>Symbols

inherited<wbr>Enumerable<wbr>Property<wbr>Symbols: inheritedEnumerablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:112

inherited<wbr>Keys

inherited<wbr>Keys: inheritedKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:113

inherited<wbr>Non<wbr>Enumerable<wbr>Properties

inherited<wbr>Non<wbr>Enumerable<wbr>Properties: inheritedNonEnumerableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:114

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Names

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Names: inheritedNonEnumerablePropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:115

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Symbols

inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Symbols: inheritedNonEnumerablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:116

inherited<wbr>Properties

inherited<wbr>Properties: inheritedProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:117

inherited<wbr>Property<wbr>Descriptor

inherited<wbr>Property<wbr>Descriptor: inheritedPropertyDescriptor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:118

inherited<wbr>Property<wbr>Descriptors

inherited<wbr>Property<wbr>Descriptors: inheritedPropertyDescriptors

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:119

inherited<wbr>Property<wbr>Names

inherited<wbr>Property<wbr>Names: inheritedPropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:120

inherited<wbr>Property<wbr>Symbols

inherited<wbr>Property<wbr>Symbols: inheritedPropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:121

inherited<wbr>Writable<wbr>Properties

inherited<wbr>Writable<wbr>Properties: inheritedWritableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:122

inherited<wbr>Writable<wbr>Property<wbr>Names

inherited<wbr>Writable<wbr>Property<wbr>Names: inheritedWritablePropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:123

inherited<wbr>Writable<wbr>Property<wbr>Symbols

inherited<wbr>Writable<wbr>Property<wbr>Symbols: inheritedWritablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:124

inmap

inmap: inmap

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:125

inmap<wbr>Right

inmap<wbr>Right: inmapRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:126

key<wbr>By

key<wbr>By: keyBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:127

key<wbr>ByRight

key<wbr>ByRight: keyByRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:128

keys<wbr>In

keys<wbr>In: keysIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:130

lowercase<wbr>Keys

lowercase<wbr>Keys: lowercaseKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:132

map

map: Routine

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:133

map2

map2: Routine

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:141

map2<wbr>Right

map2<wbr>Right: Routine

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:142

map2d

map2d: map2d

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:143

map3d

map3d: map3d

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:144

map4d

map4d: map4d

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:145

map5d

map5d: map5d

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:146

map<wbr>Arguments

map<wbr>Arguments: mapArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:134

map<wbr>Fun

map<wbr>Fun: mapFun

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:135

map<wbr>Keys

map<wbr>Keys: mapKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:136

map<wbr>Reduce

map<wbr>Reduce: mapReduce

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:137

map<wbr>Reduce<wbr>Right

map<wbr>Reduce<wbr>Right: mapReduceRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:138

map<wbr>Right

map<wbr>Right: Routine

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:139

map<wbr>Values

map<wbr>Values: mapValues

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:140

mask<wbr>Arguments

mask<wbr>Arguments: maskArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:147

memoize

memoize: memoize

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:148

merge

merge: Merge

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:149

move<wbr>Property

move<wbr>Property: moveProperty

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:150

namedtypedtuple

namedtypedtuple: namedtypedtuple

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:151

nary<wbr>Function

nary<wbr>Function: naryFunction

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:152

native<wbr>Class

native<wbr>Class: nativeClass

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:153

next<wbr>Tick

next<wbr>Tick: nextTick

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:154

non<wbr>Enumerable<wbr>Properties

non<wbr>Enumerable<wbr>Properties: nonEnumerableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:158

non<wbr>Enumerable<wbr>Properties<wbr>In

non<wbr>Enumerable<wbr>Properties<wbr>In: nonEnumerablePropertiesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:159

non<wbr>Enumerable<wbr>Property<wbr>Names

non<wbr>Enumerable<wbr>Property<wbr>Names: nonEnumerablePropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:160

non<wbr>Enumerable<wbr>Property<wbr>Names<wbr>In

non<wbr>Enumerable<wbr>Property<wbr>Names<wbr>In: nonEnumerablePropertyNamesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:161

non<wbr>Enumerable<wbr>Property<wbr>Symbols

non<wbr>Enumerable<wbr>Property<wbr>Symbols: nonEnumerablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:162

non<wbr>Enumerable<wbr>Property<wbr>Symbols<wbr>In

non<wbr>Enumerable<wbr>Property<wbr>Symbols<wbr>In: nonEnumerablePropertySymbolsIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:163

non<wbr>Index<wbr>Keys

non<wbr>Index<wbr>Keys: nonIndexKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:164

none

none: none

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:155

none<wbr>By

none<wbr>By: noneBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:156

none<wbr>ByRight

none<wbr>ByRight: noneByRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:157

noop

noop: noop

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:165

ns

ns: Namespace

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:6302

Standard utilities.

object<wbr>Entries

object<wbr>Entries: objectEntries

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:76

object<wbr>Entries<wbr>In

object<wbr>Entries<wbr>In: objectEntriesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:77

object<wbr>From<wbr>Entries

object<wbr>From<wbr>Entries: objectFromEntries

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:97

object<wbr>Inverse

object<wbr>Inverse: invert

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:166

object<wbr>Inverse<wbr>By

object<wbr>Inverse<wbr>By: invertBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:167

object<wbr>Keys

object<wbr>Keys: keys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:129

object<wbr>Values

object<wbr>Values: objectValues

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:228

object<wbr>Values<wbr>In

object<wbr>Values<wbr>In: objectValuesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:229

omit

omit: omit

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:168

omit<wbr>By

omit<wbr>By: omitBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:169

openURL

openURL: openURL

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:170

papply

papply: papply

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:171

papply<wbr>Right

papply<wbr>Right: papplyRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:172

parallel

parallel: parallel

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:173

parseJSON

parseJSON: parseJSON

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:174

pick

pick: pick

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:175

pick<wbr>Arguments

pick<wbr>Arguments: pickArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:176

pick<wbr>By

pick<wbr>By: pickBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:177

pluck

pluck: pluck

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:178

pop

pop: pop

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:179

prepend

prepend: prepend

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:180

properties

properties: properties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:181

properties<wbr>In

properties<wbr>In: propertiesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:182

property<wbr>Descriptor

property<wbr>Descriptor: getOwnPropertyDescriptor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:183

property<wbr>Descriptor<wbr>In

property<wbr>Descriptor<wbr>In: propertyDescriptorIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:184

property<wbr>Descriptors

property<wbr>Descriptors: getOwnPropertyDescriptors

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:185

property<wbr>Descriptors<wbr>In

property<wbr>Descriptors<wbr>In: propertyDescriptorsIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:186

property<wbr>Names

property<wbr>Names: getOwnPropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:187

property<wbr>Names<wbr>In

property<wbr>Names<wbr>In: propertyNamesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:188

property<wbr>Symbols

property<wbr>Symbols: getOwnPropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:189

property<wbr>Symbols<wbr>In

property<wbr>Symbols<wbr>In: propertySymbolsIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:190

push

push: push

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:191

re<wbr>From<wbr>String

re<wbr>From<wbr>String: reFromString

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:197

realmax

realmax: realmax

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:192

realmin

realmin: realmin

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:193

reduce

reduce: reduce

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:194

reduce2d

reduce2d: reduce2d

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:196

reduce<wbr>Right

reduce<wbr>Right: reduceRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:195

reject<wbr>Arguments

reject<wbr>Arguments: rejectArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:198

reorder<wbr>Arguments

reorder<wbr>Arguments: reorderArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:199

rescape

rescape: rescape

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:82

reverse<wbr>Arguments

reverse<wbr>Arguments: reverseArguments

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:200

safeintmax

safeintmax: safeintmax

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:201

safeintmin

safeintmin: safeintmin

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:202

set<wbr>Configurable<wbr>Read<wbr>Only

set<wbr>Configurable<wbr>Read<wbr>Only: setConfigurableReadOnly

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:51

set<wbr>Configurable<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Configurable<wbr>Read<wbr>Only<wbr>Accessor: setConfigurableReadOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:50

set<wbr>Configurable<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Configurable<wbr>Read<wbr>Write<wbr>Accessor: setConfigurableReadWriteAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:52

set<wbr>Configurable<wbr>Write<wbr>Only<wbr>Accessor

set<wbr>Configurable<wbr>Write<wbr>Only<wbr>Accessor: setConfigurableWriteOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:53

set<wbr>Memoized<wbr>Configurable<wbr>Read<wbr>Only

set<wbr>Memoized<wbr>Configurable<wbr>Read<wbr>Only: setMemoizedConfigurableReadOnly

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:54

set<wbr>Memoized<wbr>Read<wbr>Only

set<wbr>Memoized<wbr>Read<wbr>Only: setMemoizedReadOnly

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:56

set<wbr>Non<wbr>Enumerable<wbr>Property

set<wbr>Non<wbr>Enumerable<wbr>Property: setNonEnumerableProperty

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:57

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only: setNonEnumerableReadOnly

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:59

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only<wbr>Accessor: setNonEnumerableReadOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:58

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Write<wbr>Accessor: setNonEnumerableReadWriteAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:60

set<wbr>Non<wbr>Enumerable<wbr>Write<wbr>Only<wbr>Accessor

set<wbr>Non<wbr>Enumerable<wbr>Write<wbr>Only<wbr>Accessor: setNonEnumerableWriteOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:61

set<wbr>Read<wbr>Only

set<wbr>Read<wbr>Only: setReadOnly

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:65

set<wbr>Read<wbr>Only<wbr>Accessor

set<wbr>Read<wbr>Only<wbr>Accessor: setReadOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:64

set<wbr>Read<wbr>Write<wbr>Accessor

set<wbr>Read<wbr>Write<wbr>Accessor: setReadWriteAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:66

set<wbr>Write<wbr>Only<wbr>Accessor

set<wbr>Write<wbr>Only<wbr>Accessor: setWriteOnlyAccessor

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:67

shift

shift: shift

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:203

size<wbr>Of

size<wbr>Of: sizeOf

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:204

some

some: some

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:205

some<wbr>By

some<wbr>By: someBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:206

some<wbr>ByRight

some<wbr>ByRight: someByRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:207

tabulate

tabulate: tabulate

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:209

tabulate<wbr>By

tabulate<wbr>By: tabulateBy

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:210

timeit

timeit: timeit

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:211

try<wbr>Function

try<wbr>Function: wrap

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:213

try<wbr>Require

try<wbr>Require: tryRequire

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:214

trycatch

trycatch: trycatch

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:212

trythen

trythen: trythen

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:215

type<wbr>Of

type<wbr>Of: typeOf

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:218

typemax

typemax: typemax

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:216

typemin

typemin: typemin

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:217

uncapitalize<wbr>Keys

uncapitalize<wbr>Keys: uncapitalizeKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:219

uncurry

uncurry: uncurry

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:220

uncurry<wbr>Right

uncurry<wbr>Right: uncurryRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:221

unshift

unshift: unshift

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:222

until

until: until

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:223

until<wbr>Each

until<wbr>Each: untilEach

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:224

until<wbr>Each<wbr>Right

until<wbr>Each<wbr>Right: untilEachRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:225

unzip

unzip: unzip

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:226

uppercase<wbr>Keys

uppercase<wbr>Keys: uppercaseKeys

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:227

while<wbr>Each

while<wbr>Each: whileEach

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:231

while<wbr>Each<wbr>Right

while<wbr>Each<wbr>Right: whileEachRight

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:232

whilst

whilst: whilst

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:230

writable<wbr>Properties

writable<wbr>Properties: writableProperties

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:233

writable<wbr>Properties<wbr>In

writable<wbr>Properties<wbr>In: writablePropertiesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:234

writable<wbr>Property<wbr>Names

writable<wbr>Property<wbr>Names: writablePropertyNames

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:235

writable<wbr>Property<wbr>Names<wbr>In

writable<wbr>Property<wbr>Names<wbr>In: writablePropertyNamesIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:236

writable<wbr>Property<wbr>Symbols

writable<wbr>Property<wbr>Symbols: writablePropertySymbols

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:237

writable<wbr>Property<wbr>Symbols<wbr>In

writable<wbr>Property<wbr>Symbols<wbr>In: writablePropertySymbolsIn

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:238

zip

zip: zip

Defined in lib/node_modules/@stdlib/utils/docs/types/index.d.ts:239

						Packages

						"utils/docs/types/index.d"

						Namespace

						Circular<wbr>Buffer

						Compact<wbr>Adjacency<wbr>Matrix

						Doubly<wbr>Linked<wbr>List

						FIFO

						Linked<wbr>List

						Stack

						any

						any<wbr>By

						any<wbr>ByRight

						append

						argument<wbr>Function

						async

						bifurcate

						bifurcate<wbr>By

						bifurcate<wbr>In

						bifurcate<wbr>Own

						capitalize<wbr>Keys

						common<wbr>Keys

						common<wbr>Keys<wbr>In

						compose

						constant<wbr>Function

						constructor<wbr>Name

						convert<wbr>Path

						copy

						count<wbr>By

						curry

						curry<wbr>Right

						deep<wbr>Get

						deep<wbr>Pluck

						deep<wbr>Set

						define<wbr>Memoized<wbr>Property

						define<wbr>Properties

						define<wbr>Property

						dirname

						do<wbr>Until

						do<wbr>Until<wbr>Each

						do<wbr>Until<wbr>Each<wbr>Right

						do<wbr>While

						do<wbr>While<wbr>Each

						do<wbr>While<wbr>Each<wbr>Right

						enumerable<wbr>Properties

						enumerable<wbr>Properties<wbr>In

						enumerable<wbr>Property<wbr>Symbols

						enumerable<wbr>Property<wbr>Symbols<wbr>In

						every

						every<wbr>By

						every<wbr>ByRight

						evil

						extname

						filter<wbr>Arguments

						find

						flatten<wbr>Array

						flatten<wbr>Object

						for<wbr>Each

						for<wbr>Each<wbr>Right

						for<wbr>In

						for<wbr>Own

						function<wbr>Name

						function<wbr>Sequence

						get<wbr>Global

						get<wbr>Prototype<wbr>Of

						group

						group<wbr>By

						group<wbr>In

						group<wbr>Own

						identity

						ifelse

						ifthen

						index<wbr>Of

						inherit

						inherited<wbr>Enumerable<wbr>Properties

						inherited<wbr>Enumerable<wbr>Property<wbr>Symbols

						inherited<wbr>Keys

						inherited<wbr>Non<wbr>Enumerable<wbr>Properties

						inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Names

						inherited<wbr>Non<wbr>Enumerable<wbr>Property<wbr>Symbols

						inherited<wbr>Properties

						inherited<wbr>Property<wbr>Descriptor

						inherited<wbr>Property<wbr>Descriptors

						inherited<wbr>Property<wbr>Names

						inherited<wbr>Property<wbr>Symbols

						inherited<wbr>Writable<wbr>Properties

						inherited<wbr>Writable<wbr>Property<wbr>Names

						inherited<wbr>Writable<wbr>Property<wbr>Symbols

						inmap

						inmap<wbr>Right

						key<wbr>By

						key<wbr>ByRight

						keys<wbr>In

						lowercase<wbr>Keys

						map

						map2

						map2<wbr>Right

						map2d

						map3d

						map4d

						map5d

						map<wbr>Arguments

						map<wbr>Fun

						map<wbr>Keys

						map<wbr>Reduce

						map<wbr>Reduce<wbr>Right

						map<wbr>Right

						map<wbr>Values

						mask<wbr>Arguments

						memoize

						merge

						move<wbr>Property

						namedtypedtuple

						nary<wbr>Function

						native<wbr>Class

						next<wbr>Tick

						non<wbr>Enumerable<wbr>Properties

						non<wbr>Enumerable<wbr>Properties<wbr>In

						non<wbr>Enumerable<wbr>Property<wbr>Names

						non<wbr>Enumerable<wbr>Property<wbr>Names<wbr>In

						non<wbr>Enumerable<wbr>Property<wbr>Symbols

						non<wbr>Enumerable<wbr>Property<wbr>Symbols<wbr>In

						non<wbr>Index<wbr>Keys

						none

						none<wbr>By

						none<wbr>ByRight

						noop

						ns

						object<wbr>Entries

						object<wbr>Entries<wbr>In

						object<wbr>From<wbr>Entries

						object<wbr>Inverse

						object<wbr>Inverse<wbr>By

						object<wbr>Keys

						object<wbr>Values

						object<wbr>Values<wbr>In

						omit

						omit<wbr>By

						openURL

						papply

						papply<wbr>Right

						parallel

						parseJSON

						pick

						pick<wbr>Arguments

						pick<wbr>By

						pluck

						pop

						prepend

						properties

						properties<wbr>In

						property<wbr>Descriptor

						property<wbr>Descriptor<wbr>In

						property<wbr>Descriptors

						property<wbr>Descriptors<wbr>In

						property<wbr>Names

						property<wbr>Names<wbr>In

						property<wbr>Symbols

						property<wbr>Symbols<wbr>In

						push

						re<wbr>From<wbr>String

						realmax

						realmin

						reduce

						reduce2d

						reduce<wbr>Right

						reject<wbr>Arguments

						reorder<wbr>Arguments

						rescape

						reverse<wbr>Arguments

						safeintmax

						safeintmin

						set<wbr>Configurable<wbr>Read<wbr>Only

						set<wbr>Configurable<wbr>Read<wbr>Only<wbr>Accessor

						set<wbr>Configurable<wbr>Read<wbr>Write<wbr>Accessor

						set<wbr>Configurable<wbr>Write<wbr>Only<wbr>Accessor

						set<wbr>Memoized<wbr>Configurable<wbr>Read<wbr>Only

						set<wbr>Memoized<wbr>Read<wbr>Only

						set<wbr>Non<wbr>Enumerable<wbr>Property

						set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only

						set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Only<wbr>Accessor

						set<wbr>Non<wbr>Enumerable<wbr>Read<wbr>Write<wbr>Accessor

						set<wbr>Non<wbr>Enumerable<wbr>Write<wbr>Only<wbr>Accessor

						set<wbr>Read<wbr>Only

						set<wbr>Read<wbr>Only<wbr>Accessor

						set<wbr>Read<wbr>Write<wbr>Accessor

						set<wbr>Write<wbr>Only<wbr>Accessor

						shift

						size<wbr>Of

						some

						some<wbr>By

						some<wbr>ByRight

						tabulate

						tabulate<wbr>By

						timeit

						try<wbr>Function

						try<wbr>Require

						trycatch

						trythen

						type<wbr>Of

						typemax

						typemin

						uncapitalize<wbr>Keys

						uncurry

						uncurry<wbr>Right

						unshift

						until

						until<wbr>Each

						until<wbr>Each<wbr>Right

						unzip

						uppercase<wbr>Keys

						while<wbr>Each

						while<wbr>Each<wbr>Right

						whilst

						writable<wbr>Properties

						writable<wbr>Properties<wbr>In

						writable<wbr>Property<wbr>Names

						writable<wbr>Property<wbr>Names<wbr>In

						writable<wbr>Property<wbr>Symbols

						writable<wbr>Property<wbr>Symbols<wbr>In

						zip

Legend

Module

Object literal

Variable

Function

Function with type parameter

Index signature

Type alias

Type alias with type parameter

Enumeration

Enumeration member

Property

Method

Interface

Interface with type parameter

Constructor

Property

Method

Index signature

Class

Class with type parameter

Constructor

Property

Method

Accessor

Index signature

Inherited constructor

Inherited property

Inherited method

Inherited accessor

Protected property

Protected method

Protected accessor

Private property

Private method

Private accessor

Static property

Static method

		Donate
		/
		Docs
		/
		Chat
		/
		Twitter
		/
		Contribute


text:
<?php

class Google_Exception extends Exception
{
}

redpajama_set_name: RedPajamaGithub


text:
package com.seeran.common.event;

/**
 * Created by zhyf on 2016/8/25.
 */
public class LoginEvent extends BaseNetEvent {
    public static final int GET_PASS_CODE = 10;
    public static final int DO_LOGIN = 11;
    public static final int DO_LOGOUT = 12;
    public int type;

    public LoginEvent(int type) {
        this.type = type;
    }
}


text:
package agent_test

import (
	"net/http"
	"time"

	"github.com/juju/httprequest"
	"github.com/juju/testing"
	"golang.org/x/net/context"
	gc "gopkg.in/check.v1"
	"gopkg.in/errgo.v1"

	"gopkg.in/macaroon-bakery.v2-unstable/bakery"
	"gopkg.in/macaroon-bakery.v2-unstable/bakery/checkers"
	"gopkg.in/macaroon-bakery.v2-unstable/bakerytest"
	"gopkg.in/macaroon-bakery.v2-unstable/httpbakery"
	"gopkg.in/macaroon-bakery.v2-unstable/httpbakery/agent"
)

type legacyAgentSuite struct {
	testing.LoggingSuite
	agentBakery  *bakery.Bakery
	serverBakery *bakery.Bakery
	discharger   *bakerytest.Discharger
}

type visitFunc func(w http.ResponseWriter, req *http.Request, dischargeId string) error

var _ = gc.Suite(&legacyAgentSuite{})

func (s *legacyAgentSuite) SetUpTest(c *gc.C) {
	s.LoggingSuite.SetUpTest(c)
	s.discharger = bakerytest.NewDischarger(nil)
	s.agentBakery = bakery.New(bakery.BakeryParams{
		IdentityClient: idmClient{s.discharger.Location()},
		Key:            bakery.MustGenerateKey(),
	})
	s.serverBakery = bakery.New(bakery.BakeryParams{
		Locator:        s.discharger,
		IdentityClient: idmClient{s.discharger.Location()},
		Key:            bakery.MustGenerateKey(),
	})
}

func (s *legacyAgentSuite) TearDownTest(c *gc.C) {
	s.discharger.Close()
	s.LoggingSuite.TearDownTest(c)
}

var legacyAgentLoginErrorTests = []struct {
	about string

	visitHandler visitFunc
	expectError  string
}{{
	about: "error response",
	visitHandler: func(w http.ResponseWriter, req *http.Request, dischargeId string) error {
		return errgo.Newf("test error")
	},
	expectError: `cannot get discharge from ".*": cannot start interactive session: Get http(s)?://.*: test error`,
}, {
	about: "unexpected response",
	visitHandler: func(w http.ResponseWriter, req *http.Request, dischargeId string) error {
		w.Write([]byte("OK"))
		return nil
	},
	expectError: `cannot get discharge from ".*": cannot start interactive session: Get http(s)?://.*: unexpected content type text/plain; want application/json; content: OK`,
}, {
	about: "unexpected error response",
	visitHandler: func(w http.ResponseWriter, req *http.Request, dischargeId string) error {
		httprequest.WriteJSON(w, http.StatusBadRequest, httpbakery.Error{})
		return nil
	},
	expectError: `cannot get discharge from ".*": cannot start interactive session: Get http(s)?://.*: no error message found`,
}, {
	about: "login false value",
	visitHandler: func(w http.ResponseWriter, req *http.Request, dischargeId string) error {
		httprequest.WriteJSON(w, http.StatusOK, agent.LegacyAgentResponse{})
		return nil
	},
	expectError: `cannot get discharge from ".*": cannot start interactive session: agent login failed`,
}}

func (s *legacyAgentSuite) TestAgentLoginError(c *gc.C) {
	var visit visitFunc
	s.discharger.AddHTTPHandlers(LegacyAgentHandlers(LegacyAgentHandler{
		Visit: func(p httprequest.Params, dischargeId string) error {
			if handleLoginMethods(p) {
				return nil
			}
			return visit(p.Response, p.Request, dischargeId)
		},
	}))
	rendezvous := bakerytest.NewRendezvous()
	s.discharger.Checker = httpbakery.ThirdPartyCaveatCheckerFunc(func(ctx context.Context, req *http.Request, info *bakery.ThirdPartyCaveatInfo, token *httpbakery.DischargeToken) ([]checkers.Caveat, error) {
		if token != nil {
			return nil, errgo.Newf("received unexpected discharge token")
		}
		dischargeId := rendezvous.NewDischarge(info)
		err := httpbakery.NewInteractionRequiredError(nil, req)
		err.Info = &httpbakery.ErrorInfo{
			LegacyVisitURL: "/visit?dischargeid=" + dischargeId,
			LegacyWaitURL:  "/wait?dischargeid=" + dischargeId,
		}
		return nil, err
	})

	for i, test := range legacyAgentLoginErrorTests {
		c.Logf("%d. %s", i, test.about)
		visit = test.visitHandler

		client := httpbakery.NewClient()
		err := agent.SetUpAuth(client, &agent.AuthInfo{
			Key: s.agentBakery.Oven.Key(),
			Agents: []agent.Agent{{
				URL:      s.discharger.Location(),
				Username: "test-user",
			}},
		})
		c.Assert(err, gc.IsNil)
		m, err := s.serverBakery.Oven.NewMacaroon(
			context.Background(),
			bakery.LatestVersion,
			time.Now().Add(time.Minute),
			identityCaveats(s.discharger.Location()),
			bakery.LoginOp,
		)
		c.Assert(err, gc.IsNil)
		ms, err := client.DischargeAll(context.Background(), m)
		c.Assert(err, gc.ErrorMatches, test.expectError)
		c.Assert(ms, gc.IsNil)
	}
}

func (s *legacyAgentSuite) TestSetUpAuth(c *gc.C) {
	rendezvous := bakerytest.NewRendezvous()
	s.discharger.AddHTTPHandlers(LegacyAgentHandlers(LegacyAgentHandler{
		Visit: func(p httprequest.Params, dischargeId string) error {
			if handleLoginMethods(p) {
				return nil
			}
			return s.visit(p, dischargeId, rendezvous)
		},
		Wait: func(p httprequest.Params, dischargeId string) (*bakery.Macaroon, error) {
			caveats, err := rendezvous.Await(dischargeId, 5*time.Second)
			if err != nil {
				return nil, errgo.Mask(err)
			}
			info, _ := rendezvous.Info(dischargeId)
			return s.discharger.DischargeMacaroon(p.Context, info, caveats)
		},
	}))
	s.discharger.Checker = httpbakery.ThirdPartyCaveatCheckerFunc(func(ctx context.Context, req *http.Request, info *bakery.ThirdPartyCaveatInfo, token *httpbakery.DischargeToken) ([]checkers.Caveat, error) {
		if token != nil {
			return nil, errgo.Newf("received unexpected discharge token")
		}
		dischargeId := rendezvous.NewDischarge(info)
		err := httpbakery.NewInteractionRequiredError(nil, req)
		err.Info = &httpbakery.ErrorInfo{
			LegacyVisitURL: "/visit?dischargeid=" + dischargeId,
			LegacyWaitURL:  "/wait?dischargeid=" + dischargeId,
		}
		return nil, err
	})

	client := httpbakery.NewClient()
	err := agent.SetUpAuth(client, &agent.AuthInfo{
		Key: s.agentBakery.Oven.Key(),
		Agents: []agent.Agent{{
			URL:      s.discharger.Location(),
			Username: "test-user",
		}},
	})
	c.Assert(err, gc.IsNil)
	m, err := s.serverBakery.Oven.NewMacaroon(
		context.Background(),
		bakery.LatestVersion,
		time.Now().Add(time.Minute),
		identityCaveats(s.discharger.Location()),
		bakery.LoginOp,
	)
	c.Assert(err, gc.IsNil)
	ms, err := client.DischargeAll(context.Background(), m)
	c.Assert(err, gc.IsNil)
	authInfo, err := s.serverBakery.Checker.Auth(ms).Allow(context.Background(), bakery.LoginOp)
	c.Assert(err, gc.IsNil)
	c.Assert(authInfo.Identity, gc.Equals, bakery.SimpleIdentity("test-user"))
}

func (s *legacyAgentSuite) TestNoMatchingSite(c *gc.C) {
	rendezvous := bakerytest.NewRendezvous()
	s.discharger.AddHTTPHandlers(LegacyAgentHandlers(LegacyAgentHandler{
		Visit: func(p httprequest.Params, dischargeId string) error {
			if handleLoginMethods(p) {
				return nil
			}
			return s.visit(p, dischargeId, rendezvous)
		},
		Wait: func(p httprequest.Params, dischargeId string) (*bakery.Macaroon, error) {
			_, err := rendezvous.Await(dischargeId, 5*time.Second)
			if err != nil {
				return nil, errgo.Mask(err)
			}
			return nil, errgo.Newf("rendezvous unexpectedly succeeded")
		},
	}))
	s.discharger.Checker = httpbakery.ThirdPartyCaveatCheckerFunc(func(ctx context.Context, req *http.Request, info *bakery.ThirdPartyCaveatInfo, token *httpbakery.DischargeToken) ([]checkers.Caveat, error) {
		if token != nil {
			return nil, errgo.Newf("received unexpected discharge token")
		}
		dischargeId := rendezvous.NewDischarge(info)
		err := httpbakery.NewInteractionRequiredError(nil, req)
		err.Info = &httpbakery.ErrorInfo{
			LegacyVisitURL: "/visit?dischargeid=" + dischargeId,
			LegacyWaitURL:  "/wait?dischargeid=" + dischargeId,
		}
		return nil, err
	})
	client := httpbakery.NewClient()
	err := agent.SetUpAuth(client, &agent.AuthInfo{
		Key: bakery.MustGenerateKey(),
		Agents: []agent.Agent{{
			URL:      "http://0.1.2.3/",
			Username: "test-user",
		}},
	})
	c.Assert(err, gc.IsNil)
	m, err := s.serverBakery.Oven.NewMacaroon(
		context.Background(),
		bakery.LatestVersion,
		time.Now().Add(time.Minute),
		identityCaveats(s.discharger.Location()),
		bakery.LoginOp,
	)

	c.Assert(err, gc.IsNil)
	_, err = client.DischargeAll(context.Background(), m)
	c.Assert(err, gc.ErrorMatches, `cannot get discharge from ".*": cannot start interactive session: cannot find username for discharge location ".*"`)
	_, ok := errgo.Cause(err).(*httpbakery.InteractionError)
	c.Assert(ok, gc.Equals, true)
}

type idmClient struct {
	dischargerURL string
}

func (c idmClient) IdentityFromContext(ctx context.Context) (bakery.Identity, []checkers.Caveat, error) {
	return nil, identityCaveats(c.dischargerURL), nil
}

func identityCaveats(dischargerURL string) []checkers.Caveat {
	return []checkers.Caveat{{
		Location:  dischargerURL,
		Condition: "test condition",
	}}
}

func (c idmClient) DeclaredIdentity(ctx context.Context, declared map[string]string) (bakery.Identity, error) {
	return bakery.SimpleIdentity(declared["username"]), nil
}

var ages = time.Now().Add(time.Hour)

// handleLoginMethods handles a legacy visit request
// to ask for the set of login methods.
// It reports whether it has handled the request.
func handleLoginMethods(p httprequest.Params) bool {
	if p.Request.Header.Get("Accept") != "application/json" {
		return false
	}
	httprequest.WriteJSON(p.Response, http.StatusOK, map[string]string{
		"agent": p.Request.URL.String(),
	})
	return true
}

func (s *legacyAgentSuite) visit(p httprequest.Params, dischargeId string, rendezvous *bakerytest.Rendezvous) error {
	ctx := context.TODO()
	username, userPublicKey, err := agent.LoginCookie(p.Request)
	if err != nil {
		return errgo.Notef(err, "cannot read agent login")
	}
	authInfo, authErr := s.agentBakery.Checker.Auth(httpbakery.RequestMacaroons(p.Request)...).Allow(ctx, bakery.LoginOp)
	if authErr == nil && authInfo.Identity != nil {
		rendezvous.DischargeComplete(dischargeId, []checkers.Caveat{
			checkers.DeclaredCaveat("username", authInfo.Identity.Id()),
		})
		httprequest.WriteJSON(p.Response, http.StatusOK, agent.LegacyAgentResponse{true})
		return nil
	}
	version := httpbakery.RequestVersion(p.Request)
	m, err := s.agentBakery.Oven.NewMacaroon(ctx, version, ages, []checkers.Caveat{
		bakery.LocalThirdPartyCaveat(userPublicKey, version),
		checkers.DeclaredCaveat("username", username),
	}, bakery.LoginOp)
	if err != nil {
		return errgo.Notef(err, "cannot create macaroon")
	}
	return httpbakery.NewDischargeRequiredError(httpbakery.DischargeRequiredErrorParams{
		Macaroon: m,
		Request:  p.Request,
	})
}

// LegacyAgentHandler represents a handler for legacy
// agent interactions. Each member corresponds to an HTTP endpoint,
type LegacyAgentHandler struct {
	Visit func(p httprequest.Params, dischargeId string) error
	Wait  func(p httprequest.Params, dischargeId string) (*bakery.Macaroon, error)
}

var reqServer = httprequest.Server{
	ErrorMapper: httpbakery.ErrorToResponse,
}

func LegacyAgentHandlers(h LegacyAgentHandler) []httprequest.Handler {
	return reqServer.Handlers(func(p httprequest.Params) (legacyAgentHandlers, context.Context, error) {
		return legacyAgentHandlers{h}, p.Context, nil
	})
}

type legacyAgentHandlers struct {
	h LegacyAgentHandler
}

type visitRequest struct {
	httprequest.Route `httprequest:"GET /visit"`
	DischargeId       string `httprequest:"dischargeid,form"`
}

func (h legacyAgentHandlers) Visit(p httprequest.Params, r *visitRequest) error {
	if h.h.Visit == nil {
		return errgo.Newf("visit not implemented")
	}
	return h.h.Visit(p, r.DischargeId)
}

type waitRequest struct {
	httprequest.Route `httprequest:"GET /wait"`
	DischargeId       string `httprequest:"dischargeid,form"`
}

func (h legacyAgentHandlers) Wait(p httprequest.Params, r *waitRequest) (*httpbakery.WaitResponse, error) {
	if h.h.Wait == nil {
		return nil, errgo.Newf("wait not implemented")
	}
	m, err := h.h.Wait(p, r.DischargeId)
	if err != nil {
		return nil, errgo.Mask(err, errgo.Any)
	}
	return &httpbakery.WaitResponse{
		Macaroon: m,
	}, nil
}


text:
package com.facebook.buck.cxx;

import com.facebook.buck.model.BuildTargets;
import com.facebook.buck.rules.AbstractBuildRule;
import com.facebook.buck.rules.AddToRuleKey;
import com.facebook.buck.rules.BuildContext;
import com.facebook.buck.rules.BuildRuleParams;
import com.facebook.buck.rules.BuildableContext;
import com.facebook.buck.rules.ExplicitBuildTargetSourcePath;
import com.facebook.buck.rules.RuleKeyObjectSink;
import com.facebook.buck.rules.SourcePath;
import com.facebook.buck.rules.SourcePathResolver;
import com.facebook.buck.rules.SymlinkTree;
import com.facebook.buck.rules.keys.SupportsDependencyFileRuleKey;
import com.facebook.buck.rules.keys.SupportsInputBasedRuleKey;
import com.facebook.buck.step.Step;
import com.facebook.buck.step.fs.MakeCleanDirectoryStep;
import com.facebook.buck.step.fs.MkdirStep;
import com.facebook.buck.util.HumanReadableException;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSortedSet;

import java.io.IOException;
import java.nio.file.Path;
import java.util.Optional;
import java.util.function.Predicate;

/**
 * A build rule which preprocesses and/or compiles a C/C++ source in a single step.
 */
public class CxxPreprocessAndCompile
    extends AbstractBuildRule
    implements SupportsInputBasedRuleKey, SupportsDependencyFileRuleKey {

  @AddToRuleKey
  private final CxxPreprocessAndCompileStep.Operation operation;
  @AddToRuleKey
  private final Optional<PreprocessorDelegate> preprocessDelegate;
  @AddToRuleKey
  private final CompilerDelegate compilerDelegate;
  @AddToRuleKey(stringify = true)
  private final Path output;
  @AddToRuleKey
  private final SourcePath input;
  private final Optional<CxxPrecompiledHeader> precompiledHeaderRule;
  private final CxxSource.Type inputType;
  private final DebugPathSanitizer compilerSanitizer;
  private final DebugPathSanitizer assemblerSanitizer;
  private final Optional<SymlinkTree> sandboxTree;

  @VisibleForTesting
  public CxxPreprocessAndCompile(
      BuildRuleParams params,
      CxxPreprocessAndCompileStep.Operation operation,
      Optional<PreprocessorDelegate> preprocessDelegate,
      CompilerDelegate compilerDelegate,
      Path output,
      SourcePath input,
      CxxSource.Type inputType,
      Optional<CxxPrecompiledHeader> precompiledHeaderRule,
      DebugPathSanitizer compilerSanitizer,
      DebugPathSanitizer assemblerSanitizer,
      Optional<SymlinkTree> sandboxTree) {
    super(params);
    this.sandboxTree = sandboxTree;
    Preconditions.checkState(operation.isPreprocess() == preprocessDelegate.isPresent());
    if (precompiledHeaderRule.isPresent()) {
      Preconditions.checkState(
          operation == CxxPreprocessAndCompileStep.Operation.PREPROCESS_AND_COMPILE,
          "Precompiled headers can only be used for compile operations.");
    }
    this.operation = operation;
    this.preprocessDelegate = preprocessDelegate;
    this.compilerDelegate = compilerDelegate;
    this.output = output;
    this.input = input;
    this.inputType = inputType;
    this.precompiledHeaderRule = precompiledHeaderRule;
    this.compilerSanitizer = compilerSanitizer;
    this.assemblerSanitizer = assemblerSanitizer;
    performChecks(params);
  }

  private void performChecks(BuildRuleParams params) {
    Preconditions.checkArgument(
        !params.getBuildTarget().getFlavors().contains(CxxStrip.RULE_FLAVOR) ||
            !StripStyle.FLAVOR_DOMAIN.containsAnyOf(params.getBuildTarget().getFlavors()),
        "CxxPreprocessAndCompile should not be created with CxxStrip flavors");
    Preconditions.checkArgument(
        !LinkerMapMode.FLAVOR_DOMAIN.containsAnyOf(params.getBuildTarget().getFlavors()),
        "CxxPreprocessAndCompile %s should not be created with LinkerMapMode flavor (%s)",
        this,
        LinkerMapMode.FLAVOR_DOMAIN);
  }

  /**
   * @return a {@link CxxPreprocessAndCompile} step that compiles the given preprocessed source.
   */
  public static CxxPreprocessAndCompile compile(
      BuildRuleParams params,
      CompilerDelegate compilerDelegate,
      Path output,
      SourcePath input,
      CxxSource.Type inputType,
      DebugPathSanitizer compilerSanitizer,
      DebugPathSanitizer assemblerSanitizer,
      Optional<SymlinkTree> sandboxTree) {
    return new CxxPreprocessAndCompile(
        params,
        CxxPreprocessAndCompileStep.Operation.COMPILE,
        Optional.empty(),
        compilerDelegate,
        output,
        input,
        inputType,
        Optional.empty(),
        compilerSanitizer,
        assemblerSanitizer,
        sandboxTree);
  }

  /**
   * @return a {@link CxxPreprocessAndCompile} step that preprocesses and compiles the given source.
   */
  public static CxxPreprocessAndCompile preprocessAndCompile(
      BuildRuleParams params,
      PreprocessorDelegate preprocessorDelegate,
      CompilerDelegate compilerDelegate,
      Path output,
      SourcePath input,
      CxxSource.Type inputType,
      Optional<CxxPrecompiledHeader> precompiledHeaderRule,
      DebugPathSanitizer compilerSanitizer,
      DebugPathSanitizer assemblerSanitizer,
      Optional<SymlinkTree> sandboxTree) {
    return new CxxPreprocessAndCompile(
        params,
        CxxPreprocessAndCompileStep.Operation.PREPROCESS_AND_COMPILE,
        Optional.of(preprocessorDelegate),
        compilerDelegate,
        output,
        input,
        inputType,
        precompiledHeaderRule,
        compilerSanitizer,
        assemblerSanitizer,
        sandboxTree);
  }

  @Override
  public void appendToRuleKey(RuleKeyObjectSink sink) {
    // If a sanitizer is being used for compilation, we need to record the working directory in
    // the rule key, as changing this changes the generated object file.
    if (operation == CxxPreprocessAndCompileStep.Operation.PREPROCESS_AND_COMPILE) {
      sink.setReflectively("compilationDirectory", compilerSanitizer.getCompilationDirectory());
    }
    if (sandboxTree.isPresent()) {
      ImmutableMap<Path, SourcePath> links = sandboxTree.get().getLinks();
      for (Path path : ImmutableSortedSet.copyOf(links.keySet())) {
        SourcePath source = links.get(path);
        sink.setReflectively("sandbox(" + path.toString() + ")", source);
      }
    }
    if (precompiledHeaderRule.isPresent()) {
      sink.setReflectively(
          "precompiledHeaderRuleInput",
          precompiledHeaderRule.get().getInput());
    }
  }

  private Path getDepFilePath() {
    return output.getFileSystem().getPath(output.toString() + ".dep");
  }

  @VisibleForTesting
  CxxPreprocessAndCompileStep makeMainStep(
      SourcePathResolver resolver, Path scratchDir, boolean useArgfile) {

    // If we're compiling, this will just be empty.
    HeaderPathNormalizer headerPathNormalizer =
        preprocessDelegate.isPresent() ?
            preprocessDelegate.get().getHeaderPathNormalizer() :
            HeaderPathNormalizer.empty(resolver);

    Optional<CxxPreprocessAndCompileStep.ToolCommand> preprocessorCommand;
    if (operation.isPreprocess()) {
      preprocessorCommand = Optional.of(
          new CxxPreprocessAndCompileStep.ToolCommand(
              preprocessDelegate.get().getCommandPrefix(),
              preprocessDelegate.get().getArguments(
                  compilerDelegate.getCompilerFlags(), Optional.empty()),
              preprocessDelegate.get().getEnvironment(),
              preprocessDelegate.get().getFlagsForColorDiagnostics()));
    } else {
      preprocessorCommand = Optional.empty();
    }

    Optional<CxxPreprocessAndCompileStep.ToolCommand> compilerCommand;
    if (operation.isCompile()) {
      ImmutableList<String> arguments;
      if (operation == CxxPreprocessAndCompileStep.Operation.PREPROCESS_AND_COMPILE) {
        arguments =
            compilerDelegate.getArguments(
                preprocessDelegate.get().getFlagsWithSearchPaths(precompiledHeaderRule),
                getBuildTarget().getCellPath());
      } else {
        arguments = compilerDelegate.getArguments(
            CxxToolFlags.of(),
            getBuildTarget().getCellPath());
      }
      compilerCommand = Optional.of(
          new CxxPreprocessAndCompileStep.ToolCommand(
              compilerDelegate.getCommandPrefix(),
              arguments,
              compilerDelegate.getEnvironment(),
              compilerDelegate.getFlagsForColorDiagnostics()));
    } else {
      compilerCommand = Optional.empty();
    }

    return new CxxPreprocessAndCompileStep(
        getProjectFilesystem(),
        operation,
        output,
        getDepFilePath(),
        getRelativeInputPath(resolver),
        inputType,
        preprocessorCommand,
        compilerCommand,
        headerPathNormalizer,
        compilerSanitizer,
        assemblerSanitizer,
        scratchDir,
        useArgfile,
        compilerDelegate.getCompiler());
  }

  public Path getRelativeInputPath(SourcePathResolver resolver) {
    // For caching purposes, the path passed to the compiler is relativized by the absolute path by
    // the current cell root, so that file references emitted by the compiler would not change if
    // the repo is checked out into different places on disk.
    return getProjectFilesystem().getRootPath().relativize(resolver.getAbsolutePath(input));
  }

  @Override
  public String getType() {
    return "cxx_preprocess_compile";
  }

  @Override
  public ImmutableList<Step> getBuildSteps(
      BuildContext context,
      BuildableContext buildableContext) {
    buildableContext.recordArtifact(output);
    return new ImmutableList.Builder<Step>()
        .add(MkdirStep.of(getProjectFilesystem(), output.getParent()))
        .addAll(MakeCleanDirectoryStep.of(getProjectFilesystem(), getScratchPath()))
        .add(makeMainStep(
            context.getSourcePathResolver(),
            getScratchPath(),
            compilerDelegate.isArgFileSupported()))
        .build();
  }

  private Path getScratchPath() {
    return BuildTargets.getScratchPath(getProjectFilesystem(), getBuildTarget(), "%s-tmp");
  }

  @VisibleForTesting
  Optional<PreprocessorDelegate> getPreprocessorDelegate() {
    return preprocessDelegate;
  }

  // Used for compdb
  public ImmutableList<String> getCommand(SourcePathResolver pathResolver) {
    if (operation == CxxPreprocessAndCompileStep.Operation.PREPROCESS_AND_COMPILE) {
      return makeMainStep(pathResolver, getScratchPath(), false).getCommand();
    }

    PreprocessorDelegate effectivePreprocessorDelegate = preprocessDelegate.get();
    ImmutableList.Builder<String> cmd = ImmutableList.builder();
    cmd.addAll(
        compilerDelegate.getCommand(
            effectivePreprocessorDelegate.getFlagsWithSearchPaths(/*pch*/ Optional.empty()),
            getBuildTarget().getCellPath()));
    // use the input of the preprocessor, since the fact that this is going through preprocessor is
    // hidden to compdb.
    cmd.add("-x", inputType.getLanguage());
    cmd.add("-c");
    cmd.add("-o", output.toString());
    cmd.add(pathResolver.getAbsolutePath(input).toString());
    return cmd.build();
  }

  @Override
  public SourcePath getSourcePathToOutput() {
    return new ExplicitBuildTargetSourcePath(getBuildTarget(), output);
  }

  public SourcePath getInput() {
    return input;
  }

  @Override
  public boolean useDependencyFileRuleKeys() {
    return compilerDelegate.isDependencyFileSupported();
  }

  @Override
  public Predicate<SourcePath> getCoveredByDepFilePredicate() {
    if (preprocessDelegate.isPresent()) {
      return preprocessDelegate.get().getCoveredByDepFilePredicate();
    }
    return (SourcePath path) -> true;
  }

  @Override
  public Predicate<SourcePath> getExistenceOfInterestPredicate() {
    return (SourcePath path) -> false;
  }

  @Override
  public ImmutableList<SourcePath> getInputsAfterBuildingLocally(BuildContext context)
      throws IOException {
    ImmutableList.Builder<SourcePath> inputs = ImmutableList.builder();

    // If present, include all inputs coming from the preprocessor tool.
    if (preprocessDelegate.isPresent()) {
      Iterable<Path> depFileLines;
      try {
        depFileLines = Depfiles.parseAndOutputBuckCompatibleDepfile(
            context.getEventBus(),
            getProjectFilesystem(),
            preprocessDelegate.get().getHeaderPathNormalizer(),
            preprocessDelegate.get().getHeaderVerification(),
            getDepFilePath(),
            getRelativeInputPath(context.getSourcePathResolver()),
            output);
      } catch (Depfiles.HeaderVerificationException e) {
        throw new HumanReadableException(e);
      }

      inputs.addAll(preprocessDelegate.get().getInputsAfterBuildingLocally(depFileLines));
    }

    // If present, include all inputs coming from the compiler tool.
    if (operation.isCompile()) {
      inputs.addAll(compilerDelegate.getInputsAfterBuildingLocally());
    }

    if (precompiledHeaderRule.isPresent()) {
      CxxPrecompiledHeader pch = precompiledHeaderRule.get();
      inputs.addAll(pch.getInputsAfterBuildingLocally(context));
    }

    // Add the input.
    inputs.add(input);

    return inputs.build();
  }
}


text:
package de.bitbrain.braingdx.audio;

import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import de.bitbrain.braingdx.graphics.GameCamera;
import de.bitbrain.braingdx.world.GameObject;
import de.bitbrain.braingdx.world.GameWorld;

/**
 * Provides a variety of audio controls such as spawning
 * audio, fading between audio etc.
 *
 * @author Miguel Gonzalez Sanchez
 * @since 0.2.5
 */
public interface AudioManager {

   /**
    * plays a sound in the {@link GameWorld} relative to the {@link GameCamera}.
    *
    * @param path         the path of the audio file
    * @param x            the horizontal position in the world
    * @param y            the vertical position in the world
    * @param pitch        the audio pitch
    * @param volume       the audio volume. FinalVolume=MasterVolume*volume*directionalVolume
    * @param hearingRange the hearing range where the audio is hearable from
    */
   void spawnSound(String path, float x, float y, float pitch, float volume, float hearingRange);

   /**
    * Spawns a {@link Sound} in the {@link GameWorld} relative to the {@link GameCamera}. The sound object is removed as soon the sound has stopped playing.
    *
    * @param path         the path of the audio file
    * @param x            the horizontal position in the world
    * @param y            the vertical position in the world
    * @param pitch        the audio pitch
    * @param volume       the audio volume. FinalVolume=MasterVolume*volume*directionalVolume
    * @param hearingRange the hearing range where the audio is hearable from
    */
   void spawnSoundLooped(String path, float x, float y, float pitch, float volume, float hearingRange);

   /**
    * Spawns a {@link Sound} in the {@link GameWorld} relative to the {@link GameCamera}. The sound object is removed as soon the sound has stopped playing.
    *
    * @param path         the path of the audio file
    * @param target       the target to attach the sound to
    * @param pitch        the audio pitch
    * @param volume       the audio volume. FinalVolume=MasterVolume*volume*directionalVolume
    * @param hearingRange the hearing range where the audio is hearable from
    */
   void spawnSoundLooped(String path, GameObject target, float pitch, float volume, float hearingRange);

   /**
    * Spawns a {@link Music} in the world. The music persists until it is deleted via {@link clearMusic}.
    *
    * @param path         the path of the audio file
    * @param x            the horizontal position in the world
    * @param y            the vertical position in the world
    * @param volume       the audio volume. FinalVolume=MasterVolume*volume*directionalVolume
    * @param hearingRange the hearing range where the audio is hearable from
    */
   void spawnMusic(String path, float x, float y, float volume, float hearingRange);

   /**
    * Clears all music and removes all related objects from the {@link GameWorld}.
    */
   void clearMusic();

   /**
    * Clears all sounds and removed all related objects from the {@link GameWorld}.
    */
   void clearSounds();

   /**
    * Clears all audio.
    */
   void clear();

   /**
    * Sets a new master volume. Master volume is by default set to 1.0
    *
    * @param volume the master volume
    */
   void setMasterVolume(float volume);

   /**
    * Fades music from one music to another
    *
    * @param fromPath the source audio
    * @param toPath   the target audio
    */
   void crossFadeMusic(String fromPath, String toPath);

   /**
    * Fades music from one music to another
    *
    * @param fromPath the source audio
    * @param toPath   the target audio
    * @param duration the duration in seconds
    */
   void crossFadeMusic(String fromPath, String toPath, float duration);

   /**
    * Fades music from one music to another
    *
    * @param fromPath the source {@link Music}
    * @param toPath   the target {@link Music}
    * @param duration the duration in seconds
    */
   void crossFadeMusic(Music from, Music to, float duration);

   /**
    * Fades out music
    *
    * @param path the path to the music file
    */
   void fadeOutMusic(final String path);

   /**
    * Fades out music
    *
    * @param path     the path to the music file
    * @param duration the duration in seconds
    */
   void fadeOutMusic(final String path, float duration);

   /**
    * Fades out music
    *
    * @param path     the {@link Music} to fade out.
    * @param duration the duration in seconds
    */
   void fadeOutMusic(final Music music, float duration);

   /**
    * Fades in music
    *
    * @param path the path to the music file
    */
   void fadeInMusic(String path);

   /**
    * Fades in music
    *
    * @param path     the path to the music file
    * @param duration the duration in seconds
    */
   void fadeInMusic(String path, float duration);

   /**
    * Fades in music
    *
    * @param path     the {@link Music} to fade in.
    * @param duration the duration in seconds
    */
   void fadeInMusic(Music music, float duration);

   /**
    * Plays a given music.
    *
    * @param path the path to the audio file
    */
   void playMusic(String path);

   /**
    * Stops given music.
    *
    * @param path the path to the audio file
    */
   void stopMusic(String path);

   /**
    * Pauses given music.
    *
    * @param path the path to the audio file
    */
   void pauseMusic(String path);
}


text:
<?php namespace Crisu83\Overseer\Entity;

interface Resource
{

    /**
     * @return string
     */
    public function getResourceName();
}


text:
namespace media {
namespace cast {

class MockPacedPacketSender : public PacedPacketSender {
 public:
  MockPacedPacketSender();
  virtual ~MockPacedPacketSender();

  MOCK_METHOD1(SendPackets, bool(const SendPacketVector& packets));
  MOCK_METHOD2(ResendPackets, bool(const SendPacketVector& packets,
                                   base::TimeDelta dedupe_window));
  MOCK_METHOD2(SendRtcpPacket, bool(unsigned int ssrc, PacketRef packet));
  MOCK_METHOD1(CancelSendingPacket, void(const PacketKey& packet_key));
};

}  // namespace cast
}  // namespace media

#endif  // MEDIA_CAST_NET_PACING_MOCK_PACED_PACKET_SENDER_H_


text:
<!doctype html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title>EE6 + Angular</title>

Hello {{model.message}}


text:
All files in the repository are licensed under the Apache 2.0 license. If any
file is missing the License header it should assume the following is attached;

```
Copyright 2014 Chef Software Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

# Requirements

# Usage

# Attributes

# Recipes

# Authors

* Seth Chisamore (<schisamo@opscode.com>)
* Christopher Maier (<cm@opscode.com>)


text:
using Microsoft.Azure.Mobile.Server.Authentication;
using Microsoft.Azure.Mobile.Server.Config;
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Security.Claims;
using ContosoMoments.Common.Models;

namespace ContosoMoments.Api
{
    [Authorize]
    [MobileAppController]
    public class ManageUserController : ApiController
    {
        internal static async Task<string> GetUserId(HttpRequestMessage request, IPrincipal user)
        {
            ClaimsPrincipal principal = user as ClaimsPrincipal;
            string provider = principal.FindFirst("http://schemas.microsoft.com/identity/claims/identityprovider").Value;

            ProviderCredentials creds = null;
            if (string.Equals(provider, "facebook", StringComparison.OrdinalIgnoreCase)) {
                creds = await user.GetAppServiceIdentityAsync<FacebookCredentials>(request);
            }
            else if (string.Equals(provider, "aad", StringComparison.OrdinalIgnoreCase)) {
                creds = await user.GetAppServiceIdentityAsync<AzureActiveDirectoryCredentials>(request);
            }

            return creds != null ?
                string.Format("{0}:{1}", creds.Provider, creds.Claims[ClaimTypes.NameIdentifier]) :
                null;
        }

        // return true if user is logged in with AAD
        internal static async Task<bool> IsAadLogin(HttpRequestMessage request, IPrincipal user)
        {
            ClaimsPrincipal principal = user as ClaimsPrincipal;

            var claim = principal.FindFirst("http://schemas.microsoft.com/identity/claims/identityprovider");

            if (claim == null) {
                return false;
            }

            if (string.Equals(claim.Value, "aad", StringComparison.OrdinalIgnoreCase)) {
                var creds = await user.GetAppServiceIdentityAsync<AzureActiveDirectoryCredentials>(request);
                return creds != null;
            }

            return false;
        }

        // GET api/ManageUser
        public async Task<string> Get()
        {
            string username = await GetUserId(Request, this.User);

            Debug.WriteLine($"Username is: {username}");

            using (var ctx = new MobileServiceContext()) {
                var user = ctx.Users.Find(username);

                if (user == null) {
                    AddUser(username, ctx);
                }

                return username;
            }
        }

        private static void AddUser(string identifier, MobileServiceContext ctx)
        {
            var u =
                ctx.Users.Add(
                    new User {
                        Id = identifier,
                    });

            ctx.SaveChanges();
        }
    }
}


text:
/*jslint regexp: false, nomen: false, plusplus: false, strict: false */
/*global require: false, XMLHttpRequest: false, ActiveXObject: false,
  define: false, window: false, process: false, Packages: false,
  java: false */

(function () {
//>>excludeStart('excludeTpl', pragmas.excludeTpl)
  var progIds = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'],

    xmlRegExp = /^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,

    bodyRegExp = /<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,

    buildMap = [],

    templateSettings = {
      evaluate  : /<%([\s\S]+?)%>/g,
      interpolate : /<%=([\s\S]+?)%>/g
    },

    /**
     * JavaScript micro-templating, similar to John Resig's implementation.
     * Underscore templating handles arbitrary delimiters, preserves whitespace,
     * and correctly escapes quotes within interpolated code.
     */
    template = function(str, data) {
      var c  = templateSettings;
      var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +
        'with(obj||{}){__p.push(\'' +
        str.replace(/\\/g, '\\\\')
          .replace(/'/g, "\\'")
          .replace(c.interpolate, function(match, code) {
          return "'," + code.replace(/\\'/g, "'") + ",'";
          })
          .replace(c.evaluate || null, function(match, code) {
          return "');" + code.replace(/\\'/g, "'")
                    .replace(/[\r\n\t]/g, ' ') + "; __p.push('";
          })
          .replace(/\r/g, '')
          .replace(/\n/g, '')
          .replace(/\t/g, '')
          + "');}return __p.join('');";
      return tmpl;

      /** /
      var func = new Function('obj', tmpl);
      return data ? func(data) : func;
      /**/
    };
//>>excludeEnd('excludeTpl')

  define(function () {
//>>excludeStart('excludeTpl', pragmas.excludeTpl)
    var tpl;

    var get, fs;
    if (typeof window !== "undefined" && window.navigator && window.document) {
      get = function (url, callback) {

        var xhr = tpl.createXhr();
        xhr.open('GET', url, true);
        xhr.onreadystatechange = function (evt) {
          //Do not explicitly handle errors, those should be
          //visible via console output in the browser.
          if (xhr.readyState === 4) {
            callback(xhr.responseText);
          }
        };
        xhr.send(null);
      };
    } else if (typeof process !== "undefined" &&
        process.versions &&
        !!process.versions.node) {
      //Using special require.nodeRequire, something added by r.js.
      fs = require.nodeRequire('fs');

      get = function (url, callback) {

        callback(fs.readFileSync(url, 'utf8'));
      };
    }
    return tpl = {
      version: '0.24.0',
      strip: function (content) {
        //Strips <?xml ...?> declarations so that external SVG and XML
        //documents can be added to a document without worry. Also, if the string
        //is an HTML document, only the part inside the body tag is returned.
        if (content) {
          content = content.replace(xmlRegExp, "");
          var matches = content.match(bodyRegExp);
          if (matches) {
            content = matches[1];
          }
        } else {
          content = "";
        }

        return content;
      },

      jsEscape: function (content) {
        return content.replace(/(['\\])/g, '\\$1')
          .replace(/[\f]/g, "\\f")
          .replace(/[\b]/g, "\\b")
          .replace(/[\n]/g, "")
          .replace(/[\t]/g, "")
          .replace(/[\r]/g, "");
      },

      createXhr: function () {
        //Would love to dump the ActiveX crap in here. Need IE 6 to die first.
        var xhr, i, progId;
        if (typeof XMLHttpRequest !== "undefined") {
          return new XMLHttpRequest();
        } else {
          for (i = 0; i < 3; i++) {
            progId = progIds[i];
            try {
              xhr = new ActiveXObject(progId);
            } catch (e) {}

            if (xhr) {
              progIds = [progId];  // so faster next time
              break;
            }
          }
        }

        if (!xhr) {
          throw new Error("require.getXhr(): XMLHttpRequest not available");
        }

        return xhr;
      },

      get: get,

      load: function (name, req, onLoad, config) {

        //Name has format: some.module.filext!strip
        //The strip part is optional.
        //if strip is present, then that means only get the string contents
        //inside a body tag in an HTML string. For XML/SVG content it means
        //removing the <?xml ...?> declarations so the content can be inserted
        //into the current doc without problems.

        var strip = false, url, index = name.indexOf("."),
          modName = name.substring(0, index),
          ext = name.substring(index + 1, name.length);

        index = ext.indexOf("!");

        if (index !== -1) {
          //Pull off the strip arg.
          strip = ext.substring(index + 1, ext.length);
          strip = strip === "strip";
          ext = ext.substring(0, index);
        }

        //Load the tpl.
        url = 'nameToUrl' in req ? req.nameToUrl(modName, "." + ext) : req.toUrl(modName + "." + ext);

        tpl.get(url, function (content) {
          content = template(content);

          if(!config.isBuild) {
          //if(typeof window !== "undefined" && window.navigator && window.document) {
            content = new Function('obj', content);
          }
          content = strip ? tpl.strip(content) : content;

          if (config.isBuild && config.inlineText) {
            buildMap[name] = content;
          }
          onLoad(content);
        });

      },

      write: function (pluginName, moduleName, write) {
        if (moduleName in buildMap) {
          var content = tpl.jsEscape(buildMap[moduleName]);
          write("define('" + pluginName + "!" + moduleName  +
              "', function() {return function(obj) { " +
                content.replace(/(\\')/g, "'").replace(/(\\\\)/g, "\\")+
              "}});\n");
        }
      }
    };
//>>excludeEnd('excludeTpl')
    return function() {};
  });
//>>excludeEnd('excludeTpl')
}());


text:
package com.zx.sms.connect.manager.smgp;

import com.zx.sms.codec.smgp.msg.SMGPDeliverMessage;
import com.zx.sms.codec.smgp.msg.SMGPDeliverRespMessage;
import com.zx.sms.codec.smgp.msg.SMGPSubmitMessage;
import com.zx.sms.codec.smgp.msg.SMGPSubmitRespMessage;
import com.zx.sms.handler.api.smsbiz.MessageReceiveHandler;

import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelHandlerContext;

public class SMGPMessageReceiveHandler extends MessageReceiveHandler {

	@Override
	protected ChannelFuture reponse(final ChannelHandlerContext ctx, Object msg) {

		if(msg instanceof SMGPDeliverMessage){
			SMGPDeliverRespMessage resp = new SMGPDeliverRespMessage();
		    resp.setSequenceNo(((SMGPDeliverMessage)msg).getSequenceNo());
		    resp.setMsgId( ((SMGPDeliverMessage)msg).getMsgId());
		    resp.setStatus(0);

			return ctx.writeAndFlush(resp);
		}else if(msg instanceof SMGPSubmitMessage) {
			SMGPSubmitRespMessage resp = new SMGPSubmitRespMessage();
			resp.setSequenceNo(((SMGPSubmitMessage)msg).getSequenceNo());
		    resp.setStatus(0);
			return ctx.writeAndFlush(resp);
		}
		return null;
	}

}


text:
Stylus functions to get colors by name.

## Build status

![Build Status](https://travis-ci.org/arnau/stylus-palette.svg?branch=master)

## Installation

    $ npm install stylus-palette

## Usage

The `palette(object)` function recieves an object where each key is a palette
name and its value the palette composed by a {colorName, value} pairs.

    # server.js

    var connect = require('connect');
    var stylus = require('stylus');
    var palette = require('stylus-palette');
    var data = require(__dirname + '/palettes.json');

    var server = connect();

    function compile(str, path) {
      return stylus(str)
        .set('filename', path)
        .use(palette(data));
    }

    server.use(stylus.middleware({
      src: __dirname,
      compile: compile
    }));

    # palettes.json

    {
      "intense": {
        "scream": "#E80068",
        "error": "#D60000",
        "warning": "#FFCC00"
      },
      "soft": {
        "smell": "#FFB89C",
        "warning": "#FFE49C"
      }
    }

In the stylus file you'll have access to `palette()` and `palette-*()`
functions.

    # foo.styl

    .error {
      background-color: palette(intense, error);
    }

Or the equivalent

    .error {
      background-color: palette-intense(error);
    }

## Contributors

* [Arnau Siches](https://github.com/arnau)

## License

Arnau Siches under the [MIT License](https://github.com/arnau/stylus-palette/blob/master/LICENSE).


text:
<?php
$this->breadcrumbs=array(
	'Themes'=>array('index'),
	'Create',
);

$this->menu=array(
	array('label'=>'List Theme', 'icon'=>'list', 'url'=>array('index')),
	array('label'=>'Manage Theme', 'icon'=>'cog', 'url'=>array('admin')),
);
?>

Create Theme

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>


text:
import {OperationType} from '@constants/database';
import {transformPreferenceRecord, transformUserRecord} from '@database/operator/server_data_operator/transformers/user';
import {createTestConnection} from '@database/operator/utils/create_test_connection';

describe('*** USER Prepare Records Test ***', () => {
    it('=> transformPreferenceRecord: should return an array of type Preference', async () => {
        expect.assertions(3);

        const database = await createTestConnection({databaseName: 'user_prepare_records', setActive: true});
        expect(database).toBeTruthy();

        const preparedRecords = await transformPreferenceRecord({
            action: OperationType.CREATE,
            database: database!,
            value: {
                record: undefined,
                raw: {user_id: '9ciscaqbrpd6d8s68k76xb9bte', category: 'tutorial_step', name: '9ciscaqbrpd6d8s68k76xb9bte', value: '2'},
            },
        });

        expect(preparedRecords).toBeTruthy();
        expect(preparedRecords!.collection.modelClass.name).toBe('PreferenceModel');
    });

    it('=> transformUserRecord: should return an array of type User', async () => {
        expect.assertions(3);

        const database = await createTestConnection({databaseName: 'user_prepare_records', setActive: true});
        expect(database).toBeTruthy();

        const preparedRecords = await transformUserRecord({
            action: OperationType.CREATE,
            database: database!,
            value: {
                record: undefined,
                raw: {
                    id: '9ciscaqbrpd6d8s68k76xb9bte',
                    is_bot: false,
                    create_at: 1599457495881,
                    update_at: 1607683720173,
                    delete_at: 0,
                    username: 'a.l',
                    auth_service: '',
                    email: 'a.l@mattermost.com',
                    nickname: '',
                    first_name: 'A',
                    last_name: 'L',
                    position: 'Mobile Engineer',
                    roles: 'system_user',
                    props: {},
                    notify_props: {
                        desktop: 'all',
                        desktop_sound: 'true',
                        email: 'true',
                        first_name: 'true',
                        mention_keys: '',
                        mark_unread: 'mention',
                        push: 'mention',
                        channel: 'true',
                        auto_responder_active: 'false',
                        auto_responder_message: 'Hello, I am out of office and unable to respond to messages.',
                        comments: 'never',
                        desktop_notification_sound: 'Hello',
                        push_status: 'online',
                    },
                    last_picture_update: 1604686302260,
                    locale: 'en',
                    timezone: {
                        automaticTimezone: 'Indian/Mauritius',
                        manualTimezone: '',
                        useAutomaticTimezone: 'true',
                    },
                },
            },
        });

        expect(preparedRecords).toBeTruthy();
        expect(preparedRecords!.collection.modelClass.name).toBe('UserModel');
    });
});


text:
package historyentries

import (
	"crypto/md5"
	"encoding/binary"
	"fmt"
	"io"
	"time"

	"github.com/9seconds/ah/app/environments"
	"github.com/9seconds/ah/app/utils"
)

const (
	markHasHistory   = '*'
	markHasNoHistory = ' '
)

// HistoryEntry stores a command with its context.
type HistoryEntry struct {
	number     uint
	command    string
	timestamp  int64
	hasHistory bool
}

// GetNumber returns a history number (may be executed with ! later).
func (he HistoryEntry) GetNumber() uint {
	return he.number
}

// GetCommand returns a command line which was executed.
func (he HistoryEntry) GetCommand() string {
	return he.command
}

// GetTimestamp returns a timestamp of the history entry.
func (he HistoryEntry) GetTimestamp() int64 {
	return he.timestamp
}

// GetTime returns a time structure of the history entry.
func (he HistoryEntry) GetTime() *time.Time {
	return utils.ConvertTimestamp(he.timestamp)
}

// GetFormattedTime returns formatted time stamp of the history entry.
func (he HistoryEntry) GetFormattedTime(env *environments.Environment) string {
	return env.FormatTimeStamp(he.timestamp)
}

// HasHistory tells if history entry has a trace stored.
func (he HistoryEntry) HasHistory() bool {
	return he.hasHistory
}

// String makes a string representation of the structure
func (he HistoryEntry) String() string {
	timestamp := utils.ConvertTimestamp(he.timestamp).Format(time.RFC3339)
	return fmt.Sprintf("HistoryEntry{number=%d command=\"%s\" timestamp=\"%s\" hasHistory=%t}",
		he.number, he.command, timestamp, he.hasHistory)
}

// ToString converts history entry to the string representation according to the environment setting.
func (he HistoryEntry) ToString(env *environments.Environment) string {
	timestamp := ""
	if formattedTimestamp := env.FormatTimeStamp(he.timestamp); formattedTimestamp != "" {
		timestamp = "  (" + formattedTimestamp + ")"
	}

	history := markHasNoHistory
	if he.hasHistory {
		history = markHasHistory
	}

	return fmt.Sprintf("!%-5d%s %c  %s", he.number, timestamp, history, he.command)
}

// GetTraceName returns a trace name of the history entry.
func (he HistoryEntry) GetTraceName() string {
	digest := md5.New()
	binary.Write(digest, binary.LittleEndian, int64(he.timestamp))
	io.WriteString(digest, he.command)

	return fmt.Sprintf("%x", digest.Sum(nil))
}


text:
[![](http://www.apache.org/images/asf-logo.gif)](http://www.apache.org/) [![](../images/struts.gif)]()

------------------------------------------------------------------------

Last Published: 2008-11-29

[Apache](http://www.apache.org/) | [Struts 2](../2.x/) | [Struts 1](../1.x/)

------------------------------------------------------------------------

##### Struts 1

-   [Welcome](../index.html.md)
-   [Learning](../learning.html.md)
-   [Roadmap](../roadmap.html.md)
-   [Releases](../downloads.html.md)

##### Documentation

-   [User Guide](../userGuide/index.html.md)
-   [FAQs and HOWTOs](../faqs/index.html.md)
-   **Release Notes**
-   [Javadoc](../apidocs/index.html.md)
-   [DTDDoc](../dtddoc/index.html.md)

##### Support

-   [User Mailing List](../mail.html.md)
-   [Issue Tracker (JIRA)](http://issues.apache.org/struts/)
-   [Wiki Pages](http://wiki.apache.org/struts/)

##### Components

-   [Struts Apps](../struts-apps/index.html.md)
-   [Struts EL](../struts-el/index.html.md)
-   [Struts Extras](../struts-extras/index.html.md)
-   [Struts Faces](../struts-faces/index.html.md)
-   [Struts Scripting](../struts-scripting/index.html.md)
-   [Struts Taglib](../struts-taglib/index.html.md)
-   [Struts Tiles](../struts-tiles/index.html.md)

##### Project Documentation

-   [Project Information](../project-info.html.md)
-   [Project Reports](../project-reports.html.md)

[![Built by Maven](../images/logos/maven-feather.png)](http://maven.apache.org/ "Built by Maven")

6.1 Release Notes - Version 1.3.10
----------------------------------------------------------------------------------------

### Introduction

This section contains release notes for changes that have taken place to Struts, since the [Version 1.3.9](release-notes-1_3_9.html.md) distribution. To keep up-to-date on all changes to the framework, subscribe to the (commits at struts.apache.org) list. To preview our plans for upcoming changes, please visit the [Roadmap page.](../roadmap.html)

-   **Notes on upgrading** are maintained in the [Wiki Upgrade pages.](http://wiki.apache.org/struts/StrutsUpgrade) The wiki is a community maintained resource - please feel free to add your input so that everyone can benefit from the collective experience.

For the version requirements of each library, see the [Installation chapter.](installation.html.md)

### Issue Tracking

#### Bug

-   [[STR-2630](https://issues.apache.org/struts/browse/STR-2630)] - Taglib documentation does not render embedded HTML
-   [[STR-2802](https://issues.apache.org/struts/browse/STR-2802)] - Validator validwhen cannot test between two different indices in array
-   [[STR-3026](https://issues.apache.org/struts/browse/STR-3026)] - Linked examples hosted by "Planet Struts" nonexistant
-   [[STR-3052](https://issues.apache.org/struts/browse/STR-3052)] - ImgTag missing actionId support
-   [[STR-3054](https://issues.apache.org/struts/browse/STR-3054)] - EL-Example errors
-   [[STR-3070](https://issues.apache.org/struts/browse/STR-3070)] - Postback forms cause NPE with classic RequestProcessor
-   [[STR-3076](https://issues.apache.org/struts/browse/STR-3076)] - PasswordTag doesn't define the attribute onselect
-   [[STR-3080](https://issues.apache.org/struts/browse/STR-3080)] - XLST instead of XSLT
-   [[STR-3081](https://issues.apache.org/struts/browse/STR-3081)] - Uploading a File using LazyDynaBean causes ClassCastException
-   [[STR-3082](https://issues.apache.org/struts/browse/STR-3082)] - Incomplete error message when failing to create a form bean
-   [[STR-3084](https://issues.apache.org/struts/browse/STR-3084)] - Error on Tiles examples page
-   [[STR-3088](https://issues.apache.org/struts/browse/STR-3088)] - N-length empty strings not treated as \*null\* by validwhen
-   [[STR-3093](https://issues.apache.org/struts/browse/STR-3093)] - Taglibs TLD do not match tag implementations
-   [[STR-3097](https://issues.apache.org/struts/browse/STR-3097)] - Generating site fails
-   [[STR-3110](https://issues.apache.org/struts/browse/STR-3110)] - PropertyUtils.clearDescriptors() call in ActionServlet.destroy() method is causing appliction classloader memory leak on Weblogic Portal
-   [[STR-3112](https://issues.apache.org/struts/browse/STR-3112)] - Generated javascript is wrong to set focus on control that is of array
-   [[STR-3143](https://issues.apache.org/struts/browse/STR-3143)] - Struts jar remains "in-use" preventing dynamic redeployment
-   [[STR-3144](https://issues.apache.org/struts/browse/STR-3144)] - Bean Taglib Documentation Has Been Unreadable FOR YEARS...
-   [[STR-3146](https://issues.apache.org/struts/browse/STR-3146)] - TLD reports contain broken hyperlinks
-   [[STR-3161](https://issues.apache.org/struts/browse/STR-3161)] - Servlet not injected into newly created action in higly concurrent env

#### Improvement

-   [[STR-1496](https://issues.apache.org/struts/browse/STR-1496)] -.html.md:form focus and focusIndex problem
-   [[STR-1709](https://issues.apache.org/struts/browse/STR-1709)] - FormTag: Add check for nonexistent form field in focus javascript
-   [[STR-2810](https://issues.apache.org/struts/browse/STR-2810)] - autocomplete attribute

#### Task

-   [[STR-3055](https://issues.apache.org/struts/browse/STR-3055)] - Figure out the 'disabled="${!empty pageScope}" in EL-Example
-   [[STR-3134](https://issues.apache.org/struts/browse/STR-3134)] - Upgrade JSTL from 1.0.2 to latest 1.0.6
-   [[STR-3150](https://issues.apache.org/struts/browse/STR-3150)] - Upgrade Commons Chain to 1.2
-   [[STR-3163](https://issues.apache.org/struts/browse/STR-3163)] - Upgrade Commons BeanUtils
-   [[STR-3171](https://issues.apache.org/struts/browse/STR-3171)] - Lock down Maven plugin dependencies
-   [[STR-3172](https://issues.apache.org/struts/browse/STR-3172)] - Require Tomcat 5.5 for integration testing

Next: [Installation](installation.html.md)

------------------------------------------------------------------------

© 2000-2008 Apache Software Foundation

------------------------------------------------------------------------


text:
import { LitElement, html, css, unsafeCSS } from 'lit-element';

class MyElement extends LitElement {
  static get styles() {
    const mainColor = 'red';

    return css`
      div { color: ${unsafeCSS(mainColor)} }
    `;
  }
  render() {
    return html`<div>Some content in a div</div>`;
  }
}

customElements.define('my-element', MyElement);