Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for newarray (0.09 sec)

  1. internal/grid/types.go

    type ArrayOf[T RoundTripper] struct {
    	aPool sync.Pool // Arrays
    	ePool sync.Pool // Elements
    }
    
    // NewArrayOf returns a new ArrayOf.
    // You must provide a function that returns a new instance of T.
    func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] {
    	return &ArrayOf[T]{
    		ePool: sync.Pool{New: func() any {
    			return newFn()
    		}},
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    )
    
    // To abstract a node over network.
    type peerRESTServer struct{}
    
    var (
    	// Types & Wrappers
    	aoBucketInfo           = grid.NewArrayOf[*BucketInfo](func() *BucketInfo { return &BucketInfo{} })
    	aoMetricsGroup         = grid.NewArrayOf[*MetricV2](func() *MetricV2 { return &MetricV2{} })
    	madminBgHealState      = grid.NewJSONPool[madmin.BgHealState]()
    	madminCPUs             = grid.NewJSONPool[madmin.CPUs]()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. RELEASE.md

        [`tf.experimental.numpy`](https://www.tensorflow.org/api_docs/python/tf/experimental/numpy),
        which is a NumPy-compatible API for writing TF programs. This module
        provides class `ndarray`, which mimics the `ndarray` class in NumPy, and
        wraps an immutable `tf.Tensor` under the hood. A subset of NumPy functions
        (e.g. `numpy.add`) are provided. Their inter-operation with TF facilities is
        seamless in most cases. See
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg image, func DecodeConfig(io.Reader) (Config, string, error)
    pkg image, func NewAlpha(Rectangle) *Alpha
    pkg image, func NewAlpha16(Rectangle) *Alpha16
    pkg image, func NewGray(Rectangle) *Gray
    pkg image, func NewGray16(Rectangle) *Gray16
    pkg image, func NewNRGBA(Rectangle) *NRGBA
    pkg image, func NewNRGBA64(Rectangle) *NRGBA64
    pkg image, func NewPaletted(Rectangle, color.Palette) *Paletted
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top