Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 123 for UInt32 (0.16 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    				Host: "foo.default.svc.cluster.local",
    				TrafficPolicy: &networking.TrafficPolicy{
    					PortLevelSettings: []*networking.TrafficPolicy_PortTrafficPolicy{
    						{
    							Port: &networking.PortSelector{Number: uint32(servicePort[0].Port)},
    							Tls:  &networking.ClientTLSSettings{Mode: networking.ClientTLSSettings_SIMPLE},
    						},
    					},
    				},
    			},
    			expectedSubsetClusters: []*cluster.Cluster{},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// result: (MOVVaddr [int32(off1)+int32(off2)] {sym} ptr)
    	for {
    		off1 := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpMIPS64MOVVaddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym := auxToSym(v_0.Aux)
    		ptr := v_0.Args[0]
    		if !(is32Bit(off1 + int64(off2))) {
    			break
    		}
    		v.reset(OpMIPS64MOVVaddr)
    		v.AuxInt = int32ToAuxInt(int32(off1) + int32(off2))
    		v.Aux = symToAux(sym)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    // The output is something like:
    // $ getsubids kubelet
    // 0: kubelet 65536 2147483648
    // $ getsubids -g kubelet
    // 0: kubelet 65536 2147483648
    func parseGetSubIdsOutput(input string) (uint32, uint32, error) {
    	lines := strings.Split(strings.Trim(input, "\n"), "\n")
    	if len(lines) != 1 {
    		return 0, 0, fmt.Errorf("error parsing line %q: it must contain only one line", input)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteWasm.go

    		mem := v_2
    		v.reset(OpWasmI64Store32)
    		v.AuxInt = int64ToAuxInt(3)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Load32U, typ.UInt32)
    		v0.AuxInt = int64ToAuxInt(3)
    		v0.AddArg2(src, mem)
    		v1 := b.NewValue0(v.Pos, OpWasmI64Store32, types.TypeMem)
    		v2 := b.NewValue0(v.Pos, OpWasmI64Load32U, typ.UInt32)
    		v2.AddArg2(src, mem)
    		v1.AddArg3(dst, v2, mem)
    		v.AddArg3(dst, v0, v1)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    	return nil
    }
    
    // validateWeight checks if weight is valid
    func validateWeight(weight int32) error {
    	if weight < 0 {
    		return fmt.Errorf("weight %d < 0", weight)
    	}
    	return nil
    }
    
    // ValidatePercent checks that percent is in range
    func ValidatePercent(val int32) error {
    	if val < 0 || val > 100 {
    		return fmt.Errorf("percentage %v is not in range 0..100", val)
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    	if pjc == 0 {
    		return c
    	}
    
    	var toPad int32
    	fj, fjSize := fusedJump(p)
    	mask := int32(pjc - 1)
    	if fj {
    		if (c&mask)+int32(fjSize) >= int32(pjc) {
    			toPad = int32(pjc) - (c & mask)
    		}
    	} else if isJump(p) {
    		if (c&mask)+int32(p.Isize) >= int32(pjc) {
    			toPad = int32(pjc) - (c & mask)
    		}
    	}
    	if toPad <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    func (b *Builder) build(ctx context.Context, a *Action) (err error) {
    	p := a.Package
    	sh := b.Shell(a)
    
    	bit := func(x uint32, b bool) uint32 {
    		if b {
    			return x
    		}
    		return 0
    	}
    
    	cachedBuild := false
    	needCovMeta := p.Internal.Cover.GenMeta
    	need := bit(needBuild, !b.IsCmdList && a.needBuild || b.NeedExport) |
    		bit(needCgoHdr, b.needCgoHdr(a)) |
    		bit(needVet, a.needVet) |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    	assert.Equal(t, event, expectedEvent)
    }
    
    func TestParseGetSubIdsOutput(t *testing.T) {
    	tests := []struct {
    		name         string
    		input        string
    		wantFirstID  uint32
    		wantRangeLen uint32
    		wantErr      bool
    	}{
    		{
    			name:         "valid",
    			input:        "0: kubelet 65536 2147483648",
    			wantFirstID:  65536,
    			wantRangeLen: 2147483648,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	// result: (MOVVaddr [int32(off1)+int32(off2)] {sym} ptr)
    	for {
    		off1 := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpLOONG64MOVVaddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym := auxToSym(v_0.Aux)
    		ptr := v_0.Args[0]
    		if !(is32Bit(off1 + int64(off2))) {
    			break
    		}
    		v.reset(OpLOONG64MOVVaddr)
    		v.AuxInt = int32ToAuxInt(int32(off1) + int32(off2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    var i = 1&lt;&lt;s                   // 1 has type int
    var j int32 = 1&lt;&lt;s             // 1 has type int32; j == 0
    var k = uint64(1&lt;&lt;s)           // 1 has type uint64; k == 1&lt;&lt;33
    var m int = 1.0&lt;&lt;s             // 1.0 has type int; m == 1&lt;&lt;33
    var n = 1.0&lt;&lt;s == j            // 1.0 has type int32; n == true
    var o = 1&lt;&lt;s == 2&lt;&lt;s           // 1 and 2 have type int; o == false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top