_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c179600
test
// WithLandscape paper orientation. Defaults to false.
{ "resource": "" }
c179601
test
// WithDisplayHeaderFooter display header and footer. Defaults to false.
{ "resource": "" }
c179602
test
// WithPrintBackground print background graphics. Defaults to false.
{ "resource": "" }
c179603
test
// WithScale scale of the webpage rendering. Defaults to 1.
{ "resource": "" }
c179604
test
// WithPaperWidth paper width in inches. Defaults to 8.5 inches.
{ "resource": "" }
c179605
test
// WithPaperHeight paper height in inches. Defaults to 11 inches.
{ "resource": "" }
c179606
test
// WithIgnoreInvalidPageRanges whether to silently ignore invalid but // successfully parsed page ranges, such as '3-2'. Defaults to false.
{ "resource": "" }
c179607
test
// WithFooterTemplate HTML template for the print footer. Should use the same // format as the headerTemplate.
{ "resource": "" }
c179608
test
// WithPreferCSSPageSize whether or not to prefer page size as defined by // css. Defaults to false, in which case the content will be scaled to fit the // paper size.
{ "resource": "" }
c179609
test
// WithScriptToEvaluateOnLoad if set, the script will be injected into all // frames of the inspected page after reload. Argument will be ignored if // reloading dataURL origin.
{ "resource": "" }
c179610
test
// Do executes Page.reload against the provided context.
{ "resource": "" }
c179611
test
// Do executes Page.removeScriptToEvaluateOnNewDocument against the provided context.
{ "resource": "" }
c179612
test
// Do executes Page.screencastFrameAck against the provided context.
{ "resource": "" }
c179613
test
// Do executes Page.setAdBlockingEnabled against the provided context.
{ "resource": "" }
c179614
test
// Do executes Page.setBypassCSP against the provided context.
{ "resource": "" }
c179615
test
// Do executes Page.setFontFamilies against the provided context.
{ "resource": "" }
c179616
test
// Do executes Page.setFontSizes against the provided context.
{ "resource": "" }
c179617
test
// Do executes Page.setDocumentContent against the provided context.
{ "resource": "" }
c179618
test
// WithDownloadPath the default path to save downloaded files to. This is // required if behavior is set to 'allow'.
{ "resource": "" }
c179619
test
// Do executes Page.setDownloadBehavior against the provided context.
{ "resource": "" }
c179620
test
// Do executes Page.setLifecycleEventsEnabled against the provided context.
{ "resource": "" }
c179621
test
// WithFormat image compression format.
{ "resource": "" }
c179622
test
// WithMaxWidth maximum screenshot width.
{ "resource": "" }
c179623
test
// WithMaxHeight maximum screenshot height.
{ "resource": "" }
c179624
test
// WithEveryNthFrame send every n-th frame.
{ "resource": "" }
c179625
test
// Do executes Page.startScreencast against the provided context.
{ "resource": "" }
c179626
test
// Do executes Page.stopLoading against the provided context.
{ "resource": "" }
c179627
test
// Do executes Page.setWebLifecycleState against the provided context.
{ "resource": "" }
c179628
test
// Do executes Page.stopScreencast against the provided context.
{ "resource": "" }
c179629
test
// Do executes Page.setProduceCompilationCache against the provided context.
{ "resource": "" }
c179630
test
// Do executes Page.addCompilationCache against the provided context.
{ "resource": "" }
c179631
test
// Do executes Page.clearCompilationCache against the provided context.
{ "resource": "" }
c179632
test
// WithGroup specifies the endpoint group to deliver the report to.
{ "resource": "" }
c179633
test
// Do executes Page.waitForDebugger against the provided context.
{ "resource": "" }
c179634
test
// Do executes Target.activateTarget against the provided context.
{ "resource": "" }
c179635
test
// WithBindingName binding name, 'cdp' if not specified.
{ "resource": "" }
c179636
test
// Do executes Target.exposeDevToolsProtocol against the provided context.
{ "resource": "" }
c179637
test
// WithBrowserContextID the browser context to create the page in.
{ "resource": "" }
c179638
test
// WithSessionID session to detach.
{ "resource": "" }
c179639
test
// Do executes Target.detachFromTarget against the provided context.
{ "resource": "" }
c179640
test
// Do executes Target.disposeBrowserContext against the provided context.
{ "resource": "" }
c179641
test
// WithSessionID identifier of the session.
{ "resource": "" }
c179642
test
// Do executes Target.sendMessageToTarget against the provided context.
{ "resource": "" }
c179643
test
// Do executes Target.setAutoAttach against the provided context.
{ "resource": "" }
c179644
test
// Do executes Target.setDiscoverTargets against the provided context.
{ "resource": "" }
c179645
test
// Do executes Target.setRemoteLocations against the provided context.
{ "resource": "" }
c179646
test
// WithPatterns if specified, only requests matching any of these patterns // will produce fetchRequested event and will be paused until clients response. // If not set, all requests will be affected.
{ "resource": "" }
c179647
test
// WithHandleAuthRequests if true, authRequired events will be issued and // requests will be paused expecting a call to continueWithAuth.
{ "resource": "" }
c179648
test
// Do executes Fetch.failRequest against the provided context.
{ "resource": "" }
c179649
test
// WithBody a response body.
{ "resource": "" }
c179650
test
// WithResponsePhrase a textual representation of responseCode. If absent, a // standard phrase mathcing responseCode is used.
{ "resource": "" }
c179651
test
// Do executes Fetch.fulfillRequest against the provided context.
{ "resource": "" }
c179652
test
// WithURL if set, the request url will be modified in a way that's not // observable by page.
{ "resource": "" }
c179653
test
// WithMethod if set, the request method is overridden.
{ "resource": "" }
c179654
test
// WithPostData if set, overrides the post data in the request.
{ "resource": "" }
c179655
test
// WithHeaders if set, overrides the request headrts.
{ "resource": "" }
c179656
test
// Do executes Fetch.continueRequest against the provided context.
{ "resource": "" }
c179657
test
// Do executes Fetch.continueWithAuth against the provided context.
{ "resource": "" }
c179658
test
// Do executes Debugger.continueToLocation against the provided context.
{ "resource": "" }
c179659
test
// WithIncludeCommandLineAPI specifies whether command line API should be // available to the evaluated expression, defaults to false.
{ "resource": "" }
c179660
test
// Do executes Debugger.pause against the provided context.
{ "resource": "" }
c179661
test
// Do executes Debugger.pauseOnAsyncCall against the provided context.
{ "resource": "" }
c179662
test
// Do executes Debugger.removeBreakpoint against the provided context.
{ "resource": "" }
c179663
test
// Do executes Debugger.resume against the provided context.
{ "resource": "" }
c179664
test
// Do executes Debugger.setAsyncCallStackDepth against the provided context.
{ "resource": "" }
c179665
test
// Do executes Debugger.setBlackboxPatterns against the provided context.
{ "resource": "" }
c179666
test
// Do executes Debugger.setBlackboxedRanges against the provided context.
{ "resource": "" }
c179667
test
// WithURL URL of the resources to set breakpoint on.
{ "resource": "" }
c179668
test
// WithURLRegex regex pattern for the URLs of the resources to set // breakpoints on. Either url or urlRegex must be specified.
{ "resource": "" }
c179669
test
// WithScriptHash script hash of the resources to set breakpoint on.
{ "resource": "" }
c179670
test
// WithColumnNumber offset in the line to set breakpoint at.
{ "resource": "" }
c179671
test
// WithCondition expression to use as a breakpoint condition. When specified, // debugger will stop on the breakpoint if this expression evaluates to true.
{ "resource": "" }
c179672
test
// Do executes Debugger.setBreakpointsActive against the provided context.
{ "resource": "" }
c179673
test
// Do executes Debugger.setPauseOnExceptions against the provided context.
{ "resource": "" }
c179674
test
// Do executes Debugger.setReturnValue against the provided context.
{ "resource": "" }
c179675
test
// WithDryRun if true the change will not actually be applied. Dry run may be // used to get result description without actually modifying the code.
{ "resource": "" }
c179676
test
// Do executes Debugger.setSkipAllPauses against the provided context.
{ "resource": "" }
c179677
test
// Do executes Debugger.setVariableValue against the provided context.
{ "resource": "" }
c179678
test
// WithBreakOnAsyncCall debugger will issue additional Debugger.paused // notification if any async task is scheduled before next pause.
{ "resource": "" }
c179679
test
// Do executes Debugger.stepInto against the provided context.
{ "resource": "" }
c179680
test
// Do executes Debugger.stepOut against the provided context.
{ "resource": "" }
c179681
test
// Do executes Debugger.stepOver against the provided context.
{ "resource": "" }
c179682
test
// Listen calls ListenF if it is not null.
{ "resource": "" }
c179683
test
// ListenClose calls ListenCloseF if it is not null.
{ "resource": "" }
c179684
test
// Connected calls ConnectedF if it is not null.
{ "resource": "" }
c179685
test
// Disconnected calls DisconnectedF if it is not null.
{ "resource": "" }
c179686
test
// OpenedStream calls OpenedStreamF if it is not null.
{ "resource": "" }
c179687
test
// ClosedStream calls ClosedStreamF if it is not null.
{ "resource": "" }
c179688
test
// WithNoDial constructs a new context with an option that instructs the network // to not attempt a new dial when opening a stream.
{ "resource": "" }
c179689
test
// GetNoDial returns true if the no dial option is set in the context.
{ "resource": "" }
c179690
test
// WithDialPeerTimeout returns a new context with the DialPeer timeout applied. // // This timeout overrides the default DialPeerTimeout and applies per-dial // independently.
{ "resource": "" }
c179691
test
// Open opens a connection
{ "resource": "" }
c179692
test
// Prevpos returns the index of the element before // from, or -1 if no more and from is the // first in the ring. Returns -2 on bad // from position.
{ "resource": "" }
c179693
test
// Last returns the index of the last element, // or -1 if the ring is empty.
{ "resource": "" }
c179694
test
// DeleteMostRecentBytes trims back the last n bytes written.
{ "resource": "" }
c179695
test
// constructor. NewFloat64RingBuf will allocate internally // a slice of maxViewItems float64.
{ "resource": "" }
c179696
test
// TwoContig returns all readable float64, but in two separate slices, // to avoid copying. The two slices are from the same buffer, but // are not contiguous. Either or both may be empty slices.
{ "resource": "" }
c179697
test
// Earliest returns the earliest written value v. ok will be // true unless the ring is empty, in which case ok will be false, // and v will be zero.
{ "resource": "" }
c179698
test
// Values returns all readable float64 in a single buffer. Calling this function // might allocate a new buffer to store the elements contiguously.
{ "resource": "" }
c179699
test
// constructor. NewAtomicFixedSizeRingBuf will allocate internally // two buffers of size maxViewInBytes.
{ "resource": "" }