Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for blocky (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt

    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.http2.Http2Writer
    
    /**
     * Centralisation of central locks according to docs/contribute/concurrency.md
     */
    internal object Locks {
      inline fun <T> Dispatcher.withLock(action: () -> T): T {
        contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) }
        return lock.withLock(action)
      }
    
      inline fun <T> RealConnection.withLock(action: () -> T): T {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. cmd/erasure-utils.go

    	"github.com/klauspost/reedsolomon"
    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    // outSize length. Provides a way to skip bytes until the offset.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtStringTemplateEntry ->
                    parent.expression == child
    
                // Catch blocks are used if the parent-try uses the catch block
                is KtCatchClause ->
                    doesParentUseChild(parent.parent, parent)
    
                // Finally blocks are never used
                is KtFinallySection ->
                    false
    
                !is KtExpression ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1.go

    	Distribution []int `json:"distribution"`
    	// Checksums holds all bitrot checksums of all erasure encoded blocks
    	Checksums []ChecksumInfo `json:"checksum,omitempty"`
    }
    
    // Equal equates current erasure info with newer erasure info.
    // returns false if one of the following check fails
    // - erasure algorithm is different
    // - data blocks are different
    // - parity blocks are different
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    	return paxHdrs, nil
    }
    
    // readHeader reads the next block header and assumes that the underlying reader
    // is already aligned to a block boundary. It returns the raw block of the
    // header in case further processing is required.
    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // The data must consist only of PEM certificate blocks that parse as valid
      // X.509 certificates.  Each certificate must include a basic constraints
      // extension with the CA bit set.  The API server will reject objects that
      // contain duplicate certificates, or that use PEM block headers.
      //
      // Users of ClusterTrustBundles, including Kubelet, are free to reorder and
      // deduplicate certificate blocks in this file according to their own logic,
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader.go

    			return dst, io.EOF
    		}
    	}
    	// Read until next line.
    	in, err := r.buf.ReadBytes('\n')
    	dst = append(dst, in...)
    	return dst, err
    }
    
    // csvSplitSize is the size of each block.
    // Blocks will read this much and find the first following newline.
    // 128KB appears to be a very reasonable default.
    const csvSplitSize = 128 << 10
    
    // startReaders will read the header if needed and spin up a parser
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. cmd/metacache-set.go

    	return pathJoin(bucketMetaPrefix, bucket, metacachePrefix, id)
    }
    
    // objectPath returns the object path of the cache.
    func (o *listPathOptions) objectPath(block int) string {
    	return pathJoin(metacachePrefixForID(o.Bucket, o.ID), "block-"+strconv.Itoa(block)+".s2")
    }
    
    func (o *listPathOptions) SetFilter() {
    	switch {
    	case metacacheSharePrefix:
    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 04:42:11 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/certificates/v1/generated.proto

      //
      // Validation requirements:
      //  1. certificate must contain one or more PEM blocks.
      //  2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
      //   must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
      //  3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. internal/disk/stat_linux.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top