Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 128 for UInt32 (0.12 sec)

  1. pkg/envoy/proxy.go

    	NodeIPs           []string
    	Sidecar           bool
    	LogAsJSON         bool
    	OutlierLogPath    string
    
    	BinaryPath    string
    	ConfigPath    string
    	ConfigCleanup bool
    	AdminPort     int32
    	DrainDuration *durationpb.Duration
    	Concurrency   int32
    
    	// For unit testing, in combination with NoEnvoy prevents agent.Run from blocking
    	TestOnly    bool
    	AgentIsRoot bool
    }
    
    // NewProxy creates an instance of the proxy control commands
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/log/slog/value_test.go

    		{IntValue(4), IntValue(4)},
    		{uint(2), Uint64Value(2)},
    		{uint8(3), Uint64Value(3)},
    		{uint16(4), Uint64Value(4)},
    		{uint32(5), Uint64Value(5)},
    		{uint64(6), Uint64Value(6)},
    		{uintptr(7), Uint64Value(7)},
    		{int8(8), Int64Value(8)},
    		{int16(9), Int64Value(9)},
    		{int32(10), Int64Value(10)},
    		{int64(11), Int64Value(11)},
    	} {
    		got := AnyValue(test.in)
    		if !got.Equal(test.want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/gateway_test.go

    		t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String())
    	}
    }
    
    func makeConfig(name, namespace, host, portName, portProtocol string, portNumber uint32, gw string, bind string,
    	mode networking.ServerTLSSettings_TLSmode,
    ) config.Config {
    	c := config.Config{
    		Meta: config.Meta{
    			Name:      name,
    			Namespace: namespace,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(int8(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int16(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int32(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int64(0)), -1, 0, 1),
    	ct(reflect.TypeOf(uint(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint8(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint16(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint32(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uintptr(0)), 0, 1, 5),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/sync/mutex.go

    // A failed call to TryLock does not establish any “synchronizes before”
    // relation at all.
    //
    // [the Go memory model]: https://go.dev/ref/mem
    type Mutex struct {
    	state int32
    	sema  uint32
    }
    
    // A Locker represents an object that can be locked and unlocked.
    type Locker interface {
    	Lock()
    	Unlock()
    }
    
    const (
    	mutexLocked = 1 << iota // mutex is locked
    	mutexWoken
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/sync/pool_test.go

    	testPoolDequeue(t, NewPoolChain())
    }
    
    func testPoolDequeue(t *testing.T, d PoolDequeue) {
    	const P = 10
    	var N int = 2e6
    	if testing.Short() {
    		N = 1e3
    	}
    	have := make([]int32, N)
    	var stop int32
    	var wg WaitGroup
    	record := func(val int) {
    		atomic.AddInt32(&have[val], 1)
    		if val == N-1 {
    			atomic.StoreInt32(&stop, 1)
    		}
    	}
    
    	// Start P-1 consumers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/index/suffixarray/suffixarray.go

    }
    
    // An ints is either an []int32 or an []int64.
    // That is, one of them is empty, and one is the real data.
    // The int64 form is used when len(data) > maxData32
    type ints struct {
    	int32 []int32
    	int64 []int64
    }
    
    func (a *ints) len() int {
    	return len(a.int32) + len(a.int64)
    }
    
    func (a *ints) get(i int) int64 {
    	if a.int32 != nil {
    		return int64(a.int32[i])
    	}
    	return a.int64[i]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/runtime/time_nofake.go

    // See go.dev/issue/67401.
    //
    //go:linkname overrideWrite
    var overrideWrite func(fd uintptr, p unsafe.Pointer, n int32) int32
    
    // write must be nosplit on Windows (see write1)
    //
    //go:nosplit
    func write(fd uintptr, p unsafe.Pointer, n int32) int32 {
    	if overrideWrite != nil {
    		return overrideWrite(fd, noescape(p), n)
    	}
    	return write1(fd, p, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    // than int32.
    // Deprecated: use FromInt32 instead.
    func FromInt(val int) IntOrString {
    	if val > math.MaxInt32 || val < math.MinInt32 {
    		klog.Errorf("value: %d overflows int32\n%s\n", val, debug.Stack())
    	}
    	return IntOrString{Type: Int, IntVal: int32(val)}
    }
    
    // FromInt32 creates an IntOrString object with an int32 value.
    func FromInt32(val int32) IntOrString {
    	return IntOrString{Type: Int, IntVal: val}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/reflect/type_test.go

    			i int
    			_ S
    		}{})}, false},
    		{"struct{a int16; b int32}", args{reflect.TypeOf(struct {
    			a int16
    			b int32
    		}{})}, false},
    		{"struct {x int32; y int16}", args{reflect.TypeOf(struct {
    			x int32
    			y int16
    		}{})}, false},
    		{"struct {_ int32 }", args{reflect.TypeOf(struct{ _ int32 }{})}, false},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top