Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 337 for Sizes (0.04 sec)

  1. src/cmd/cgo/gcc.go

    	}
    }
    
    // Add padding of given size to fld.
    func (c *typeConv) pad(fld []*ast.Field, sizes []int64, size int64) ([]*ast.Field, []int64) {
    	n := len(fld)
    	fld = fld[0 : n+1]
    	fld[n] = &ast.Field{Names: []*ast.Ident{c.Ident("_")}, Type: c.Opaque(size)}
    	sizes = sizes[0 : n+1]
    	sizes[n] = size
    	return fld, sizes
    }
    
    // Struct conversion: return Go and (gc) C syntax for type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/test_utils.cc

          break;
      }
    }
    
    // Checks the underlying data is equal for the buffers for two numeric tensors.
    // Note: The caller must ensure to check that the dtypes and sizes of the
    // underlying buffers are the same before calling this.
    void CheckBufferDataIsEqual(DataType dtype, int64_t num_elements, void* a,
                                void* b) {
      switch (dtype) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/go/types/api.go

    	// The type checker reports an error if an importer is needed
    	// but none was installed.
    	Importer Importer
    
    	// If Sizes != nil, it provides the sizing functions for package unsafe.
    	// Otherwise SizesFor("gc", "amd64") is used instead.
    	Sizes Sizes
    
    	// If DisableUnusedImportCheck is set, packages are not checked
    	// for unused imports.
    	DisableUnusedImportCheck bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    	start, end int64
    }
    
    const (
    	// dataUsageBucketLenV1 must be length of ObjectsHistogramIntervalsV1
    	dataUsageBucketLenV1 = 7
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go

    )
    
    var (
    	// See https://golang.org/pkg/crypto/aes/#NewCipher for details on supported key sizes for AES.
    	aesKeySizes = []int{16, 24, 32}
    
    	// See https://godoc.org/golang.org/x/crypto/nacl/secretbox#Open for details on the supported key sizes for Secretbox.
    	secretBoxKeySizes = []int{32}
    )
    
    // ValidateEncryptionConfiguration validates a v1.EncryptionConfiguration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. internal/http/dial_linux.go

    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			if opts.UserTimeout > 0 {
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout)
    			}
    
    			if opts.Interface != "" {
    				if h, _, err := net.SplitHostPort(address); err == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (3)
  7. src/cmd/compile/internal/types2/api.go

    	// The type checker reports an error if an importer is needed
    	// but none was installed.
    	Importer Importer
    
    	// If Sizes != nil, it provides the sizing functions for package unsafe.
    	// Otherwise SizesFor("gc", "amd64") is used instead.
    	Sizes Sizes
    
    	// If DisableUnusedImportCheck is set, packages are not checked
    	// for unused imports.
    	DisableUnusedImportCheck bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	cap := v.Cap()
    	max := cap
    	for _, size := range sizes {
    		if size > max {
    			max = size
    		}
    	}
    	if len(sizes) == 0 || max > maxCapacity {
    		max = maxCapacity
    	}
    	if max <= cap {
    		return
    	}
    	if v.Len() > 0 {
    		extra := reflect.MakeSlice(v.Type(), v.Len(), max)
    		reflect.Copy(extra, v)
    		v.Set(extra)
    	} else {
    		extra := reflect.MakeSlice(v.Type(), 0, max)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        override fun close() {
          if (closed) return
          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/go/internal/gccgoimporter/ar.go

    	"internal/xcoff"
    	"io"
    	"strconv"
    	"strings"
    )
    
    // Magic strings for different archive file formats.
    const (
    	armag  = "!<arch>\n"
    	armagt = "!<thin>\n"
    	armagb = "<bigaf>\n"
    )
    
    // Offsets and sizes for fields in a standard archive header.
    const (
    	arNameOff  = 0
    	arNameSize = 16
    	arDateOff  = arNameOff + arNameSize
    	arDateSize = 12
    	arUIDOff   = arDateOff + arDateSize
    	arUIDSize  = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 14:14:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top