_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c179300
// isModeEnable returns the level has already turned on the logging
c179301
// CaptureMetrics wraps the given hnd, executes it with the given w and r, and // returns the metrics it captured from it.
c179302
// Get value by key, insert the key if not exist
c179303
// Save saves the cedar to an io.Writer, // where dataType is either "json" or "gob".
c179304
// SaveToFile saves the cedar to a file, // where dataType is either "json" or "gob".
c179305
// Load loads the cedar from an io.Writer, // where dataType is either "json" or "gob".
c179306
// LoadFromFile loads the cedar from a file, // where dataType is either "json" or "gob".
c179307
// Key returns the key of the node with the given `id`. // It will return ErrNoPath, if the node does not exist.
c179308
// Value returns the value of the node with the given `id`. // It will return ErrNoValue, if the node does not have a value.
c179309
// Delete removes a key-value pair from the cedar. // It will return ErrNoPath, if the key has not been added.
c179310
// Set parses and updates v from the given version string. Implements flag.Value
c179311
// Compare tests if v is less than, equal to, or greater than versionB, // returning -1, 0, or +1 respectively.
c179312
// Slice converts the comparable parts of the semver into a slice of integers.
c179313
// BumpMajor increments the Major field by 1 and resets all other fields to their default values
c179314
// BumpMinor increments the Minor field by 1 and resets all other fields to their default values
c179315
// BumpPatch increments the Patch field by 1 and resets all other fields to their default values
c179316
// validateIdentifier makes sure the provided identifier satisfies semver spec
c179317
// newStream returns a new stream
c179318
// addSubscriber will create a new subscriber on a stream
c179319
// New will create a server and setup defaults
c179320
// Close shuts down the server, closes all of the streams and connections
c179321
// CreateStream will create a new stream and register it
c179322
// RemoveStream will remove a stream
c179323
// StreamExists checks whether a stream by a given id exists
c179324
// Publish sends a mesage to every client in a streamID
c179325
// NewClient creates a new client
c179326
// Subscribe to a data stream
c179327
// SubscribeChan sends all events to the provided channel
c179328
// SubscribeRaw to an sse endpoint
c179329
// Unsubscribe unsubscribes a channel
c179330
// NewEventStreamReader creates an instance of EventStreamReader.
c179331
// ReadEvent scans the EventStream for events.
c179332
// HTTPHandler serves new connections with events for a given stream ...
c179333
// Add event to eventlog
c179334
// Replay events to a subscriber
c179335
// readKey reads a private rsa key from path. // The key is expected to be in PEM format.
c179336
// writeKey writes k to the specified path in PEM format. // If file does not exists, it will be created with 0600 mod.
c179337
// anyKey reads the key from file or generates a new one if gen == true. // It returns an error if filename exists but cannot be read. // A newly generated key is also stored to filename.
c179338
// sameDir returns filename path placing it in the same dir as existing file.
c179339
// printAccount outputs account into into w using tabwriter.
c179340
// tmpl executes the given template text on data, writing the result to w.
c179341
// printUsage prints usageTemplate to w.
c179342
// FromRequest return client's real public IP address from http request headers.
c179343
// Do executes DOMStorage.clear against the provided context.
c179344
// Do executes DOMStorage.disable against the provided context.
c179345
// Do executes DOMStorage.removeDOMStorageItem against the provided context.
c179346
// Do executes DOMStorage.setDOMStorageItem against the provided context.
c179347
// Do executes ServiceWorker.deliverPushMessage against the provided context.
c179348
// Do executes ServiceWorker.dispatchSyncEvent against the provided context.
c179349
// Do executes ServiceWorker.inspectWorker against the provided context.
c179350
// Do executes ServiceWorker.setForceUpdateOnPageLoad against the provided context.
c179351
// Do executes ServiceWorker.skipWaiting against the provided context.
c179352
// Do executes ServiceWorker.startWorker against the provided context.
c179353
// Do executes ServiceWorker.stopAllWorkers against the provided context.
c179354
// Do executes ServiceWorker.stopWorker against the provided context.
c179355
// Do executes ServiceWorker.unregister against the provided context.
c179356
// Do executes ServiceWorker.updateRegistration against the provided context.
c179357
// Do executes Tethering.bind against the provided context.
c179358
// Do executes Tethering.unbind against the provided context.
c179359
// Error satisfies the error interface.
c179360
// Do executes Animation.releaseAnimations against the provided context.
c179361
// Do executes Animation.seekAnimations against the provided context.
c179362
// Do executes Animation.setPaused against the provided context.
c179363
// Do executes Animation.setPlaybackRate against the provided context.
c179364
// Do executes Animation.setTiming against the provided context.
c179365
// Do executes Memory.prepareForLeakDetection against the provided context.
c179366
// Do executes Memory.forciblyPurgeJavaScriptMemory against the provided context.
c179367
// Do executes Memory.setPressureNotificationsSuppressed against the provided context.
c179368
// Do executes Memory.simulatePressureNotification against the provided context.
c179369
// WithSamplingInterval average number of bytes between samples.
c179370
// WithSuppressRandomness do not randomize intervals between samples.
c179371
// Do executes Memory.startSampling against the provided context.
c179372
// Do executes Memory.stopSampling against the provided context.
c179373
// Do executes DeviceOrientation.clearDeviceOrientationOverride against the provided context.
c179374
// Do executes DeviceOrientation.setDeviceOrientationOverride against the provided context.
c179375
// Do executes Log.startViolationsReport against the provided context.
c179376
// Do executes Log.stopViolationsReport against the provided context.
c179377
// String returns the Modifier as string value.
c179378
// WithNodeID identifier of the node to get the partial accessibility tree // for.
c179379
// WithBackendNodeID identifier of the backend node to get the partial // accessibility tree for.
c179380
// WithObjectID JavaScript object id of the node wrapper to get the partial // accessibility tree for.
c179381
// WithFetchRelatives whether to fetch this nodes ancestors, siblings and // children. Defaults to true.
c179382
// Do executes Performance.setTimeDomain against the provided context.
c179383
// WithClipRect the clip rectangle to apply when replaying the snapshot.
c179384
// Do executes LayerTree.releaseSnapshot against the provided context.
c179385
// Do executes IndexedDB.clearObjectStore against the provided context.
c179386
// Do executes IndexedDB.deleteDatabase against the provided context.
c179387
// Do executes IndexedDB.deleteObjectStoreEntries against the provided context.
c179388
// WithKeyRange key range.
c179389
// Do executes Profiler.setSamplingInterval against the provided context.
c179390
// Do executes Profiler.start against the provided context.
c179391
// WithCallCount collect accurate call counts beyond simple 'covered' or 'not // covered'.
c179392
// WithDetailed collect block-based coverage.
c179393
// Do executes Profiler.startPreciseCoverage against the provided context.
c179394
// Do executes Profiler.startTypeProfile against the provided context.
c179395
// Do executes Profiler.stopPreciseCoverage against the provided context.
c179396
// Do executes Profiler.stopTypeProfile against the provided context.
c179397
// Do executes Security.setIgnoreCertificateErrors against the provided context.
c179398
// Do executes HeapProfiler.addInspectedHeapObject against the provided context.
c179399
// Do executes HeapProfiler.collectGarbage against the provided context.