_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c177800
// XzDecompressor is a DecompressorFunc for the xz compression algorithm.
c177801
// DetectCompression returns a DecompressorFunc if the input is recognized as a compressed format, nil otherwise. // Because it consumes the start of input, other consumers must use the returned io.Reader instead to also read from the beginning.
c177802
// newImageDestination creates a new ImageDestination for the specified image reference.
c177803
// mountBlob tries to mount blob srcDigest from srcRepo to the current destination.
c177804
// bicTransportScope returns a BICTransportScope appropriate for ref.
c177805
// newBICLocationReference returns a BICLocationReference appropriate for ref.
c177806
// parseBICLocationReference returns a repository for encoded lr.
c177807
// NewSourceFromStream returns a tarfile.Source for the specified inputStream, // which can be either compressed or uncompressed. The caller can close the // inputStream immediately after NewSourceFromFile returns.
c177808
// readTarComponent returns full contents of componentPath.
c177809
// ensureCachedDataIsPresent loads data necessary for any of the public accessors.
c177810
// loadTarManifest loads and decodes the manifest.json.
c177811
// Close removes resources associated with an initialized Source, if any.
c177812
// newImageDestination returns a types.ImageDestination for the specified image reference.
c177813
// imageLoadGoroutine accepts tar stream on reader, sends it to c, and reports error or success by writing to statusChannel
c177814
// NewReference returns an OCI reference for a file and a image.
c177815
// createOCIRef creates the oci reference of the image
c177816
// creates the temporary directory and copies the tarred content to it
c177817
// destructivelyPrioritizeReplacementCandidatesWithMax is destructivelyPrioritizeReplacementCandidates with a parameter for the // number of entries to limit, only to make testing simpler.
c177818
// newImageDestination returns an ImageDestination for writing to an existing ostree.
c177819
// resolveExistingPathToFullyExplicit is the same as ResolvePathToFullyExplicit, // but without the special case for missing final component.
c177820
// newImageDestination returns an ImageDestination for writing to a directory.
c177821
// returns true if directory is empty
c177822
// deletes the contents of a directory
c177823
// GetRepositoryTags list all tags available in the repository. The tag // provided inside the ImageReference will be ignored.
c177824
// DefaultCache returns the default BlobInfoCache implementation appropriate for sys.
c177825
// uncompressedDigestLocked implements types.BlobInfoCache.UncompressedDigest, but must be called only with mem.mutex held.
c177826
// Close removes resources associated with an initialized ImageDestination, if any // Close deletes the temp directory of the oci-archive image
c177827
// PutManifest writes manifest to the destination
c177828
// Commit marks the process of storing the image as successful and asks for the image to be persisted // after the directory is made, it is tarred up into a file and the directory is deleted
c177829
// tar converts the directory at src and saves it to dst
c177830
// ParseStoreReference takes a name or an ID, tries to figure out which it is // relative to the given store, and returns it in a reference object.
c177831
// chooseDigestFromManifestList parses blob as a schema2 manifest list, // and returns the digest of the image appropriate for the current environment.
c177832
// ChooseManifestInstanceFromManifestList returns a digest of a manifest appropriate // for the current system from the manifest available from src.
c177833
// manifestSchema1FromComponents builds a new manifestSchema1 from the supplied data.
c177834
// manifestDigest returns a digest of the manifest, from instanceDigest if non-nil; or from the supplied reference, // or finally, from a fetched manifest.
c177835
// deleteImage deletes the named image from the registry, if supported.
c177836
// Schema1FromComponents creates an Schema1 manifest instance from the supplied data.
c177837
// initialize initializes ExtractedV1Compatibility and verifies invariants, so that the rest of this code can assume a minimally healthy manifest.
c177838
// ToSchema2Config builds a schema2-style configuration blob using the supplied diffIDs.
c177839
// Digest returns the a digest of a docker manifest, with any necessary implied transformations like stripping v1s1 signatures.
c177840
// MatchesDigest returns true iff the manifest matches expectedDigest. // Error may be set if this returns false. // Note that this is not doing ConstantTimeCompare; by the time we get here, the cryptographic signature must already have been verified, // or we are not using a cryptographic channel and the attacker can ...
c177841
// NormalizedMIMEType returns the effective MIME type of a manifest MIME type returned by a server, // centralizing various workarounds.
c177842
// FromBlob returns a Manifest instance for the specified manifest blob and the corresponding MIME type
c177843
// There is no directory.ParseReference because it is rather pointless. // Callers who need a transport-independent interface will go through // dirTransport.ParseReference; callers who intentionally deal with directories // can use directory.NewReference. // NewReference returns a directory reference for a specified p...
c177844
// layerPath returns a path for a layer tarball within a directory using our conventions.
c177845
// signaturePath returns a path for a signature within a directory using our conventions.
c177846
// New creates a new Pool of workers that starts with n workers. You must // provide a constructor function that creates new Worker types and when you // change the size of the pool the constructor will be called to create each new // Worker.
c177847
// NewFunc creates a new Pool of workers where each worker will process using // the provided func.
c177848
// ProcessTimed will use the Pool to process a payload and synchronously return // the result. If the timeout occurs before the job has finished the worker will // be interrupted and ErrJobTimedOut will be returned. ProcessTimed can be // called safely by any goroutines.
c177849
// SetSize changes the total number of workers in the Pool. This can be called // by any goroutine at any time unless the Pool has been stopped, in which case // a panic will occur.
c177850
// GetSize returns the current size of the pool.
c177851
// Returns the Top-Left Point of the rectangle
c177852
// Returns the Bottom-Right Point of the rectangle
c177853
// Returns a CvBox2D
c177854
// Finds box vertices
c177855
// Prototype for CV_FOURCC so that swig can generate wrapper without mixing up the define
c177856
// Merge creates one multichannel array out of several single-channel ones.
c177857
// Split divides a multi-channel array into several single-channel arrays.
c177858
// AddWeighted calculates the weighted sum of two images.
c177859
// Calculates the per-element bit-wise conjunction of two arrays.
c177860
// Calculates the per-element bit-wise conjunction of two arrays with a mask.
c177861
// Calculates the per-element bit-wise conjunction of an array and a scalar.
c177862
// Calculates the per-element bit-wise conjunction of an array and a scalar with a mask.
c177863
// Calculates the per-element bit-wise disjunction of two arrays.
c177864
// Calculates the per-element bit-wise disjunction of two arrays with a mask.
c177865
// Calculates the per-element bit-wise disjunction of an array and a scalar.
c177866
// Calculates the per-element bit-wise disjunction of an array and a scalar with a mask.
c177867
// Calculates the per-element sum of two arrays with a mask. // dst = src1 + src2
c177868
// Calculates the per-element sum of an array and a scalar. // dst = src + value
c177869
// Calculates the per-element sum of an array and a scalar with a mask. // dst = src + value
c177870
// Calculates the per-element difference between two arrays. // dst = src1 - src2
c177871
// Calculates the per-element difference between two arrays with a mask. // dst = src1 - src2
c177872
// Calculates the per-element difference between an array and a scalar. // dst = src - value
c177873
// Calculates the per-element difference between an array and a scalar with a mask. // dst = src - value
c177874
// Calculates the per-element difference between a scalar and an array. // dst = value - src
c177875
// Calculates the per-element difference between a scalar and an array with a mask. // dst = value - src
c177876
// Calculates the per-element absolute difference between two arrays.
c177877
// Calculates the per-element absolute difference between an array and a scalar.
c177878
// MeanStdDevWithMask calculates mean and standard deviation of pixel values with mask
c177879
// Creates a new sequence.
c177880
// Adds an element to the sequence end. // Returns a pointer to the element added.
c177881
// Removes element from the sequence end. // Copies the element into the paramter element.
c177882
// Adds an element to the sequence beginning. // Returns a pointer to the element added.
c177883
// Removes element from the sequence beginning. // Copies the element into the paramter element.
c177884
// Gets a pointer to the element at the index
c177885
// Removes an element from the middle of a sequence.
c177886
// Delay set delay between retry // default is 100ms
c177887
// BackOffDelay is a DelayType which increases delay between consecutive retries
c177888
// Error method return string representation of Error // It is an implementation of error interface
c177889
// Arguments adds the arguments to the args.
c177890
// BodyString sets the request body to the given string.
c177891
// BodyBytes sets the request body to the given buffer.
c177892
// Body sets the request body to the given reader.
c177893
// Option sets the given option.
c177894
// Header sets the given header.
c177895
// Send sends the request and return the response.
c177896
// Exec sends the request a request and decodes the response.
c177897
// Next waits for the next record and returns that.
c177898
// Cancel cancels the given subscription.
c177899
// FileList entries at the given path using the UnixFS commands