Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 231 for int32 (0.14 sec)

  1. src/builtin/builtin.go

    // Range: -128 through 127.
    type int8 int8
    
    // int16 is the set of all signed 16-bit integers.
    // Range: -32768 through 32767.
    type int16 int16
    
    // int32 is the set of all signed 32-bit integers.
    // Range: -2147483648 through 2147483647.
    type int32 int32
    
    // int64 is the set of all signed 64-bit integers.
    // Range: -9223372036854775808 through 9223372036854775807.
    type int64 int64
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/pubsub/pubsub_test.go

    	if len(ps.subs) != 2 {
    		t.Fatalf("expected 2 subscribers")
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(1)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(2)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    	}
    	if want, got := int32(2), ps.NumSubscribers(Mask(1|2)); got != want {
    		t.Fatalf("want %d subscribers, got %d", want, got)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. internal/pubsub/pubsub.go

    	types  Mask
    	filter func(entry T) bool
    }
    
    // PubSub holds publishers and subscribers
    type PubSub[T Maskable, M Maskable] struct {
    	// atomics, keep at top:
    	types          uint64
    	numSubscribers int32
    	maxSubscribers int32
    
    	// not atomics:
    	subs []*Sub[T]
    	sync.RWMutex
    }
    
    // Publish message to the subscribers.
    // Note that publish is always non-blocking send so that we don't block on slow receivers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. api/go1.19.txt

    pkg sync/atomic, method (*Bool) Swap(bool) bool #50860
    pkg sync/atomic, method (*Int32) Add(int32) int32 #50860
    pkg sync/atomic, method (*Int32) CompareAndSwap(int32, int32) bool #50860
    pkg sync/atomic, method (*Int32) Load() int32 #50860
    pkg sync/atomic, method (*Int32) Store(int32) #50860
    pkg sync/atomic, method (*Int32) Swap(int32) int32 #50860
    pkg sync/atomic, method (*Int64) Add(int64) int64 #50860
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  5. schema/field.go

    			field.Size = 64
    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    		case reflect.Int16, reflect.Uint16:
    			field.Size = 16
    		case reflect.Int32, reflect.Uint32, reflect.Float32:
    			field.Size = 32
    		}
    	}
    
    	// setup permission
    	if val, ok := field.TagSettings["-"]; ok {
    		val = strings.ToLower(strings.TrimSpace(val))
    		switch val {
    		case "-":
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  6. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
      // maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
      optional int32 maxReplicas = 3;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      // The number of pending and running pods.
      // +optional
      optional int32 active = 4;
    
      // The number of pods which reached phase Succeeded.
      // +optional
      optional int32 succeeded = 5;
    
      // The number of pods which reached phase Failed.
      // +optional
      optional int32 failed = 6;
    
      // completedIndexes holds the completed indexes when .spec.completionMode =
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/clusters/clusters.go

    		return false
    	}
    	if e.Cluster != "" && !strings.EqualFold(cluster, e.Cluster) {
    		return false
    	}
    	status := retrieveEndpointStatus(host)
    	if e.Status != "" && !strings.EqualFold(core.HealthStatus_name[int32(status)], e.Status) {
    		return false
    	}
    	return true
    }
    
    // PrintEndpointsSummary prints just the endpoints config summary to the ConfigWriter stdout
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    // Custom "wait group with timeout" for waiting for fakeServer calls in a goroutine to finish
    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    		done: make(chan struct{}),
    	}
    }
    
    func NewWaitForNCalls(t *testing.T, n int32) (*WaitGroup, func()) {
    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradient_checker.cc

    namespace gradients {
    
    using namespace std;
    
    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top