Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 181 for int32_t (0.06 sec)

  1. schema/serializer.go

    	rv := reflect.ValueOf(fieldValue)
    	switch v := fieldValue.(type) {
    	case int64, int, uint, uint64, int32, uint32, int16, uint16:
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device.cc

      const std::vector<int64_t>* shape;
      absl::Status s = reinterpret_cast<ParallelTensor*>(data)->Shape(&shape);
      if (!s.ok()) {
        tsl::Set_TF_Status_from_Status(status, s);
        return -1;
      }
      return shape->size();
    }
    
    // Used as an argument to TFE_NewCustomDeviceTensorHandle, for computing a
    // dimension of a parallel tensor.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. internal/rest/client.go

    // Unwrap returns the error wrapped in NetworkError.
    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex_test.go

    	doTestParallelReaders(1, 4)
    	doTestParallelReaders(3, 4)
    	doTestParallelReaders(4, 2)
    }
    
    // Borrowed from rwmutex_test.go
    func reader(resource string, numIterations int, activity *int32, cdone chan bool) {
    	rwm := NewDRWMutex(ds, resource)
    	for i := 0; i < numIterations; i++ {
    		if rwm.GetRLock(context.Background(), nil, id, source, Options{Timeout: time.Second}) {
    			n := atomic.AddInt32(activity, 1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta1/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 replicas to which the autoscaler can scale up.
      // It cannot be less that minReplicas.
      optional int32 maxReplicas = 3;
    
      // metrics contains the specifications for which to use to calculate the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // +optional
      optional int32 handSize = 2;
    
      // `queueLengthLimit` is the maximum number of requests allowed to
      // be waiting in a given queue of this priority level at a time;
      // excess requests are rejected.  This value must be positive.  If
      // not specified, it will be defaulted to 50.
      // +optional
      optional int32 queueLengthLimit = 3;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // +optional
      optional int32 handSize = 2;
    
      // `queueLengthLimit` is the maximum number of requests allowed to
      // be waiting in a given queue of this priority level at a time;
      // excess requests are rejected.  This value must be positive.  If
      // not specified, it will be defaulted to 50.
      // +optional
      optional int32 queueLengthLimit = 3;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // Number of pod disruptions that are currently allowed.
      optional int32 disruptionsAllowed = 3;
    
      // current number of healthy pods
      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. internal/logger/target/testlogger/testlogger.go

    )
    
    // T is the test logger.
    var T = &testLogger{}
    
    func init() {
    	logger.AddSystemTarget(context.Background(), T)
    }
    
    type testLogger struct {
    	current atomic.Pointer[testing.TB]
    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. internal/lsync/lrwmutex_test.go

    	doTestParallelReaders(1, 4)
    	doTestParallelReaders(3, 4)
    	doTestParallelReaders(4, 2)
    }
    
    // Borrowed from rwmutex_test.go
    func reader(rwm *LRWMutex, numIterations int, activity *int32, cdone chan bool) {
    	for i := 0; i < numIterations; i++ {
    		if rwm.GetRLock(context.Background(), "", "", time.Second) {
    			n := atomic.AddInt32(activity, 1)
    			if n < 1 || n >= 10000 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top