Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 121 for UInt32 (0.32 sec)

  1. src/database/sql/sql.go

    	if !n.Valid {
    		return nil, nil
    	}
    	return n.Int64, nil
    }
    
    // NullInt32 represents an int32 that may be null.
    // NullInt32 implements the [Scanner] interface so
    // it can be used as a scan destination, similar to [NullString].
    type NullInt32 struct {
    	Int32 int32
    	Valid bool // Valid is true if Int32 is not NULL
    }
    
    // Scan implements the [Scanner] interface.
    func (n *NullInt32) Scan(value any) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	globalReplicationStats *ReplicationStats
    )
    
    // ReplicationPool describes replication pool
    type ReplicationPool struct {
    	// atomic ops:
    	activeWorkers    int32
    	activeMRFWorkers int32
    
    	objLayer   ObjectLayer
    	ctx        context.Context
    	priority   string
    	maxWorkers int
    	mu         sync.RWMutex
    	mrfMU      sync.Mutex
    	resyncer   *replicationResyncer
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    		fakeExpectationAtCreation int32 // negative: ExpectDeletions, positive: ExpectCreations
    
    		// expectations
    		expectedCreations       int32
    		expectedDeletions       int32
    		expectedActive          int32
    		expectedReady           *int32
    		expectedSucceeded       int32
    		expectedCompletedIdxs   string
    		expectedFailed          int32
    		expectedTerminating     *int32
    		expectedCondition       *batch.JobConditionType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. pkg/registry/batch/job/strategy_test.go

    					BackoffLimitPerIndex: ptr.To[int32](1),
    					MaxFailedIndexes:     ptr.To[int32](1),
    				},
    			},
    			wantJob: batch.Job{
    				ObjectMeta: getValidObjectMeta(1),
    				Spec: batch.JobSpec{
    					Selector:             validSelector,
    					Template:             validPodTemplateSpec,
    					BackoffLimitPerIndex: ptr.To[int32](1),
    					MaxFailedIndexes:     ptr.To[int32](1),
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation_test.go

    					Completions:    pointer.Int32(2),
    					Parallelism:    pointer.Int32(100000),
    				},
    			},
    		},
    		"valid parallelism and maxFailedIndexes for high completions when backoffLimitPerIndex is used": {
    			job: batch.Job{
    				ObjectMeta: validJobObjectMeta,
    				Spec: batch.JobSpec{
    					Completions:          pointer.Int32(100_000),
    					Parallelism:          pointer.Int32(100_000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    		pu, err := url.Parse(proxy.URL)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		c := proxy.Client()
    
    		var (
    			dials  atomic.Int32
    			closes atomic.Int32
    		)
    		c.Transport.(*Transport).DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
    			conn, err := net.Dial(network, addr)
    			if err != nil {
    				return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:       svcPortName.Port,
    				Port:       int32(svcPort),
    				Protocol:   v1.ProtocolTCP,
    				NodePort:   int32(svcNodePort),
    				TargetPort: intstr.FromInt32(int32(svcPort)),
    			}}
    			svc.Spec.HealthCheckNodePort = int32(svcHealthCheckNodePort)
    			svc.Status.LoadBalancer.Ingress = []v1.LoadBalancerIngress{{
    				IP: svcLBIP,
    			}}
    		}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1/generated.pb.go

    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.MinReadySeconds |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    			}
    		case 6:
    			if wireType != 0 {
    				return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
    			}
    			var v int32
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    				}
    				b := dAtA[iNdEx]
    				iNdEx++
    				m.MinReadySeconds |= int32(b&0x7F) << shift
    				if b < 0x80 {
    					break
    				}
    			}
    		case 6:
    			if wireType != 0 {
    				return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
    			}
    			var v int32
    			for shift := uint(0); ; shift += 7 {
    				if shift >= 64 {
    					return ErrIntOverflowGenerated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal_test.go

    	sync.Mutex
    	minReplicas     int32
    	maxReplicas     int32
    	specReplicas    int32
    	statusReplicas  int32
    	initialReplicas int32
    	scaleUpRules    *autoscalingv2.HPAScalingRules
    	scaleDownRules  *autoscalingv2.HPAScalingRules
    
    	// CPU target utilization as a percentage of the requested resources.
    	CPUTarget                    int32
    	CPUCurrent                   int32
    	verifyCPUCurrent             bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top