Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 210 for fInt64 (0.1 sec)

  1. src/runtime/mgcscavenge.go

    	}
    }
    
    // pack returns sc packed into a uint64.
    func (sc scavChunkData) pack() uint64 {
    	return uint64(sc.inUse) |
    		(uint64(sc.lastInUse) << 16) |
    		(uint64(sc.scavChunkFlags) << (16 + logScavChunkInUseMax)) |
    		(uint64(sc.gen) << 32)
    }
    
    const (
    	// scavChunkHasFree indicates whether the chunk has anything left to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof_test.go

    	pcs = make([]uintptr, 6)
    	recursionChainTop(1, pcs)
    	recursionStack := make([]uint64, len(pcs))
    	for i := range pcs {
    		recursionStack[i] = uint64(pcs[i])
    	}
    
    	period := int64(2000 * 1000) // 1/500*1e9 nanosec.
    
    	testCases := []struct {
    		name        string
    		input       []uint64          // following the input format assumed by profileBuilder.addCPUData.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    	n += 1 + l + sovGenerated(uint64(l))
    	if len(m.Conditions) > 0 {
    		for _, e := range m.Conditions {
    			l = e.Size()
    			n += 1 + l + sovGenerated(uint64(l))
    		}
    	}
    	l = len(m.Message)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.Reason)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.HostIP)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.CarpIP)
    	n += 1 + l + sovGenerated(uint64(l))
    	if m.StartTime != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    	n += 1 + l + sovGenerated(uint64(l))
    	if len(m.Conditions) > 0 {
    		for _, e := range m.Conditions {
    			l = e.Size()
    			n += 1 + l + sovGenerated(uint64(l))
    		}
    	}
    	l = len(m.Message)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.Reason)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.HostIP)
    	n += 1 + l + sovGenerated(uint64(l))
    	l = len(m.PodIP)
    	n += 1 + l + sovGenerated(uint64(l))
    	if m.StartTime != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cri_stats_provider_test.go

    		UsedBytes:  &runtimeapi.UInt64Value{Value: rand.Uint64()},
    		InodesUsed: &runtimeapi.UInt64Value{Value: rand.Uint64()},
    	}
    }
    
    func makeFakeVolumeStats(volumeNames []string) []statsapi.VolumeStats {
    	volumes := make([]statsapi.VolumeStats, len(volumeNames))
    	availableBytes := rand.Uint64()
    	capacityBytes := rand.Uint64()
    	usedBytes := rand.Uint64() / 100
    	inodes := rand.Uint64()
    	inodesFree := rand.Uint64()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_mounter_test.go

    		fsType       string
    		fsGroup      *int64
    		driverPolicy storage.FSGroupPolicy
    	}
    	tests := []struct {
    		name   string
    		fields fields
    		args   args
    		want   bool
    	}{
    		{
    			name: "empty all",
    			args: args{},
    			want: false,
    		},
    		{
    			name: "driverPolicy is FileFSGroupPolicy",
    			args: args{
    				fsGroup:      new(int64),
    				driverPolicy: storage.FileFSGroupPolicy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. src/math/big/float_test.go

    // Verify that ErrNaN implements the error interface.
    var _ error = ErrNaN{}
    
    func (x *Float) uint64() uint64 {
    	u, acc := x.Uint64()
    	if acc != Exact {
    		panic(fmt.Sprintf("%s is not a uint64", x.Text('g', 10)))
    	}
    	return u
    }
    
    func (x *Float) int64() int64 {
    	i, acc := x.Int64()
    	if acc != Exact {
    		panic(fmt.Sprintf("%s is not an int64", x.Text('g', 10)))
    	}
    	return i
    }
    
    func TestFloatZeroValue(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  8. src/runtime/mprof.go

    	lock      *mutex
    	timeRate  int64
    	timeStart int64
    	tickStart int64
    }
    
    func (lt *lockTimer) begin() {
    	rate := int64(atomic.Load64(&mutexprofilerate))
    
    	lt.timeRate = gTrackingPeriod
    	if rate != 0 && rate < lt.timeRate {
    		lt.timeRate = rate
    	}
    	if int64(cheaprand())%lt.timeRate == 0 {
    		lt.timeStart = nanotime()
    	}
    
    	if rate > 0 && int64(cheaprand())%rate == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug.go

    		}
    
    		if ctxt.UseBASEntries {
    			listSym.WriteInt(ctxt, listSym.Size, ctxt.Arch.PtrSize, int64(begin))
    			listSym.WriteInt(ctxt, listSym.Size, ctxt.Arch.PtrSize, int64(end))
    		} else {
    			listSym.WriteCURelativeAddr(ctxt, listSym.Size, startPC, int64(begin))
    			listSym.WriteCURelativeAddr(ctxt, listSym.Size, startPC, int64(end))
    		}
    
    		i += 2 * ctxt.Arch.PtrSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    }
    
    func TestMulRangeZ(t *testing.T) {
    	var tmp Int
    	// test entirely positive ranges
    	for i, r := range mulRangesN {
    		// skip mulRangesN entries that overflow int64
    		if int64(r.a) < 0 || int64(r.b) < 0 {
    			continue
    		}
    		prod := tmp.MulRange(int64(r.a), int64(r.b)).String()
    		if prod != r.prod {
    			t.Errorf("#%da: got %s; want %s", i, prod, r.prod)
    		}
    	}
    	// test other ranges
    	for i, r := range mulRangesZ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top