Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for Sizes (0.26 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      return results;
    }
    
    // A struct to hold axes and sizes for a set of dimensions.
    struct DimensionVector {
      llvm::ArrayRef<int64_t> AxesArray() const { return axes; }
      llvm::ArrayRef<int64_t> SizesArray() const { return sizes; }
    
      llvm::SmallVector<int64_t, 4> axes;
      llvm::SmallVector<int64_t, 4> sizes;
    };
    
    // Create a tensor that is reshaped from input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. 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)
  3. 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 (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          // side_input_scale and not relevant in this case.
          auto sizes = mlir::DenseI32ArrayAttr::get(context, {1, 1, 1, 0});
          auto attr_name =
              StringAttr::get(context, mlir::OpTrait::AttrSizedOperandSegments<
                                           void>::getOperandSegmentSizeAttr());
          attrs.push_back(NamedAttribute(attr_name, sizes));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/range_int.go

    // This is a subset of the tests in range.go for range over integers,
    // with extra tests, and without the need for -goexperiment=range.
    
    package p
    
    // test framework assumes 64-bit int/uint sizes by default
    const (
    	maxInt  = 1<<63 - 1
    	maxUint = 1<<64 - 1
    )
    
    type MyInt int32
    
    func _() {
    	for range -1 {
    	}
    	for range 0 {
    	}
    	for range 1 {
    	}
    	for range uint8(1) {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/rsa/pss.go

    	// length in octets of the RSA modulus n." 🙄
    	//
    	// This is extremely annoying, as all other encrypt and decrypt inputs are
    	// always the exact same size as the modulus. Since it only happens for
    	// weird modulus sizes, fix it by padding inefficiently.
    	if emLen, k := len(em), priv.Size(); emLen < k {
    		emNew := make([]byte, k)
    		copy(emNew[k-emLen:], em)
    		em = emNew
    	}
    
    	return decrypt(priv, em, withCheck)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top