_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c19300 | train | // NewCreateTargetArgs initializes CreateTargetArgs with the required arguments. | {
"resource": ""
} | ||
c19301 | train | // SetBrowserContextID sets the BrowserContextID optional argument.
// The browser context to create the page in. | {
"resource": ""
} | ||
c19302 | train | // SetSessionID sets the SessionID optional argument. Session to
// detach. | {
"resource": ""
} | ||
c19303 | train | // NewDisposeBrowserContextArgs initializes DisposeBrowserContextArgs with the required arguments. | {
"resource": ""
} | ||
c19304 | train | // SetTargetID sets the TargetID optional argument. | {
"resource": ""
} | ||
c19305 | train | // NewSendMessageToTargetArgs initializes SendMessageToTargetArgs with the required arguments. | {
"resource": ""
} | ||
c19306 | train | // SetSessionID sets the SessionID optional argument. Identifier of
// the session. | {
"resource": ""
} | ||
c19307 | train | // NewSetAutoAttachArgs initializes SetAutoAttachArgs with the required arguments. | {
"resource": ""
} | ||
c19308 | train | // NewSetDiscoverTargetsArgs initializes SetDiscoverTargetsArgs with the required arguments. | {
"resource": ""
} | ||
c19309 | train | // NewSetRemoteLocationsArgs initializes SetRemoteLocationsArgs with the required arguments. | {
"resource": ""
} | ||
c19310 | train | // NewExecuteSQLArgs initializes ExecuteSQLArgs with the required arguments. | {
"resource": ""
} | ||
c19311 | train | // NewGetDatabaseTableNamesArgs initializes GetDatabaseTableNamesArgs with the required arguments. | {
"resource": ""
} | ||
c19312 | train | // AttachToTarget invokes the Target method. Attaches to the target with given
// id. | {
"resource": ""
} | ||
c19313 | train | // CloseTarget invokes the Target method. Closes the target. If the target is
// a page that gets closed too. | {
"resource": ""
} | ||
c19314 | train | // CreateTarget invokes the Target method. Creates a new page. | {
"resource": ""
} | ||
c19315 | train | // GetTargetInfo invokes the Target method. Returns information about a
// target. | {
"resource": ""
} | ||
c19316 | train | // NewMockUi returns a fully initialized MockUi instance
// which is safe for concurrent use. | {
"resource": ""
} | ||
c19317 | train | // FilteredHelpFunc will filter the commands to only include the keys
// in the include parameter. | {
"resource": ""
} | ||
c19318 | train | // NewClI returns a new CLI instance with sensible defaults. | {
"resource": ""
} | ||
c19319 | train | // IsHelp returns whether or not the help flag is present within the
// arguments. | {
"resource": ""
} | ||
c19320 | train | // IsVersion returns whether or not the version flag is present within the
// arguments. | {
"resource": ""
} | ||
c19321 | train | // Run runs the actual CLI based on the arguments given. | {
"resource": ""
} | ||
c19322 | train | // SubcommandArgs returns the arguments that will be passed to the
// subcommand. | {
"resource": ""
} | ||
c19323 | train | // subcommandParent returns the parent of this subcommand, if there is one.
// If there isn't on, "" is returned. | {
"resource": ""
} | ||
c19324 | train | // helpCommands returns the subcommands for the HelpFunc argument.
// This will only contain immediate subcommands. | {
"resource": ""
} | ||
c19325 | train | // Construct a basic HostPool using the hostnames provided | {
"resource": ""
} | ||
c19326 | train | // return an entry from the HostPool | {
"resource": ""
} | ||
c19327 | train | // this actually performs the logic to reset,
// and should only be called when the lock has
// already been acquired | {
"resource": ""
} | ||
c19328 | train | // SetClaim sets the claim with the given val. | {
"resource": ""
} | ||
c19329 | train | // Get retrieves the value corresponding with key from the Header. | {
"resource": ""
} | ||
c19330 | train | // Has returns true if a value for the given key exists inside the Header. | {
"resource": ""
} | ||
c19331 | train | // MarshalJSON implements json.Marshaler for Header. | {
"resource": ""
} | ||
c19332 | train | // UnmarshalJSON implements json.Unmarshaler for Header. | {
"resource": ""
} | ||
c19333 | train | // Get retrieves the value corresponding with key from the Protected Header. | {
"resource": ""
} | ||
c19334 | train | // Has returns true if a value for the given key exists inside the Protected
// Header. | {
"resource": ""
} | ||
c19335 | train | // MarshalJSON implements json.Marshaler for Protected. | {
"resource": ""
} | ||
c19336 | train | // Base64 implements the Encoder interface. | {
"resource": ""
} | ||
c19337 | train | // UnmarshalJSON implements json.Unmarshaler for Protected. | {
"resource": ""
} | ||
c19338 | train | // MarshalJSON implements json.Marshaler for Claims. | {
"resource": ""
} | ||
c19339 | train | // Base64 implements the jose.Encoder interface. | {
"resource": ""
} | ||
c19340 | train | // SetTime stores a UNIX time for the given key. | {
"resource": ""
} | ||
c19341 | train | // UnmarshalJSON implements json.Unmarshaler for signature. | {
"resource": ""
} | ||
c19342 | train | // sign signs each index of j's sb member. | {
"resource": ""
} | ||
c19343 | train | // cache marshals the payload, but only if it's changed since the last cache. | {
"resource": ""
} | ||
c19344 | train | // cache marshals the protected and unprotected headers, but only if
// they've changed since their last cache. | {
"resource": ""
} | ||
c19345 | train | // VerifyCallback validates the current JWS' signature as-is. It
// accepts a callback function that can be used to access header
// parameters to lookup needed information. For example, looking
// up the "kid" parameter.
// The return slice must be a slice of keys used in the verification
// of the JWS. | {
"resource": ""
} | ||
c19346 | train | // Errors implements the error interface. | {
"resource": ""
} | ||
c19347 | train | // VerifyMulti verifies the current JWS as-is. Since it's meant to be
// called after parsing a stream of bytes into a JWS, it doesn't do any
// internal parsing like the Sign, Flat, Compact, or General methods do. | {
"resource": ""
} | ||
c19348 | train | // Append appends x to s' Indices member. | {
"resource": ""
} | ||
c19349 | train | // Needs returns true if x resides inside s' Indices member
// for the given index. It's used to match two SigningOpts Indices members. | {
"resource": ""
} | ||
c19350 | train | // Validate returns any errors found while validating the
// provided SigningOpts. The receiver validates |have|.
// It'll return an error if the passed SigningOpts' Number member is less
// than s' or if the passed SigningOpts' Indices slice isn't equal to s'. | {
"resource": ""
} | ||
c19351 | train | // Verify verifies the current JWS as-is. Refer to verifyMulti
// for more information. | {
"resource": ""
} | ||
c19352 | train | // Verify helps implement the SigningMethod interface. | {
"resource": ""
} | ||
c19353 | train | // Sign helps implement the SigningMethod interface. | {
"resource": ""
} | ||
c19354 | train | // Base64Decode decodes a base64-encoded byte slice. | {
"resource": ""
} | ||
c19355 | train | // Base64Encode encodes a byte slice. | {
"resource": ""
} | ||
c19356 | train | // MarshalJSON implements json.Marshaler for rawBase64. | {
"resource": ""
} | ||
c19357 | train | // MarshalJSON implements json.Unmarshaler for rawBase64. | {
"resource": ""
} | ||
c19358 | train | // RegisterSigningMethod registers the crypto.SigningMethod in the global map.
// This is typically done inside the caller's init function. | {
"resource": ""
} | ||
c19359 | train | // RemoveSigningMethod removes the crypto.SigningMethod from the global map. | {
"resource": ""
} | ||
c19360 | train | // GetSigningMethod retrieves a crypto.SigningMethod from the global map. | {
"resource": ""
} | ||
c19361 | train | // NewJWT creates a new JWT with the given claims. | {
"resource": ""
} | ||
c19362 | train | // Serialize helps implements jwt.JWT. | {
"resource": ""
} | ||
c19363 | train | // Claims helps implements jwt.JWT. | {
"resource": ""
} | ||
c19364 | train | // ParseJWTFromRequest tries to find the JWT in an http.Request.
// This method will call ParseMultipartForm if there's no token in the header. | {
"resource": ""
} | ||
c19365 | train | // NewValidator returns a jwt.Validator. | {
"resource": ""
} | ||
c19366 | train | // ParseECPrivateKeyFromPEM will parse a PEM encoded EC Private
// Key Structure. | {
"resource": ""
} | ||
c19367 | train | // ParseECPublicKeyFromPEM will parse a PEM encoded PKCS1 or PKCS8 public key | {
"resource": ""
} | ||
c19368 | train | // Protected returns the JWS' Protected Header.
// i represents the index of the Protected Header.
// Left empty, it defaults to 0. | {
"resource": ""
} | ||
c19369 | train | // HeaderAt returns the JWS' unprotected Header.
// |i| is the index of the unprotected Header. | {
"resource": ""
} | ||
c19370 | train | // New creates a JWS with the provided crypto.SigningMethods. | {
"resource": ""
} | ||
c19371 | train | // ParseFromHeader tries to find the JWS in an http.Request header. | {
"resource": ""
} | ||
c19372 | train | // ParseFromForm tries to find the JWS in an http.Request form request. | {
"resource": ""
} | ||
c19373 | train | // ParseFromRequest tries to find the JWS in an http.Request.
// This method will call ParseMultipartForm if there's no token in the header. | {
"resource": ""
} | ||
c19374 | train | // checkHeaders returns an error per the constraints described in
// IgnoreDupes' comment. | {
"resource": ""
} | ||
c19375 | train | // MarshalJSON implements json.Marshaler for payload. | {
"resource": ""
} | ||
c19376 | train | // Base64 implements jose.Encoder. | {
"resource": ""
} | ||
c19377 | train | // MarshalJSON implements json.Unmarshaler for payload. | {
"resource": ""
} | ||
c19378 | train | // Del removes the value that corresponds with key from the Claims. | {
"resource": ""
} | ||
c19379 | train | // UnmarshalJSON implements json.Unmarshaler for Claims. | {
"resource": ""
} | ||
c19380 | train | // NewVariant returns new variant based on type and value. | {
"resource": ""
} | ||
c19381 | train | // ToIUnknown converts Variant to Unknown object. | {
"resource": ""
} | ||
c19382 | train | // ToIDispatch converts variant to dispatch object. | {
"resource": ""
} | ||
c19383 | train | // ToArray converts variant to SafeArray helper. | {
"resource": ""
} | ||
c19384 | train | // ToString converts variant to Go string. | {
"resource": ""
} | ||
c19385 | train | // IsEqualGUID compares two GUID.
//
// Not constant time comparison. | {
"resource": ""
} | ||
c19386 | train | // coInitializeEx initializes COM library with concurrency model. | {
"resource": ""
} | ||
c19387 | train | // CoInitializeEx initializes COM library with concurrency model. | {
"resource": ""
} | ||
c19388 | train | // CLSIDFromString retrieves Class ID from string representation.
//
// This is technically the string version of the GUID and will convert the
// string to object.
//
// CLSIDFromString in Windows API. | {
"resource": ""
} | ||
c19389 | train | // StringFromCLSID returns GUID formated string from GUID object. | {
"resource": ""
} | ||
c19390 | train | // IIDFromString returns GUID from program ID. | {
"resource": ""
} | ||
c19391 | train | // StringFromIID returns GUID formatted string from GUID object. | {
"resource": ""
} | ||
c19392 | train | // GetActiveObject retrieves pointer to active object. | {
"resource": ""
} | ||
c19393 | train | // GetObject retrieves pointer to active object. | {
"resource": ""
} | ||
c19394 | train | // VariantInit initializes variant. | {
"resource": ""
} | ||
c19395 | train | // VariantClear clears value in Variant settings to VT_EMPTY. | {
"resource": ""
} | ||
c19396 | train | // SysAllocString allocates memory for string and copies string into memory. | {
"resource": ""
} | ||
c19397 | train | // SysAllocStringLen copies up to length of given string returning pointer. | {
"resource": ""
} | ||
c19398 | train | // SysFreeString frees string system memory. This must be called with SysAllocString. | {
"resource": ""
} | ||
c19399 | train | // SysStringLen is the length of the system allocated string. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.