Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for uint64max (0.47 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	return func(time.Time) {
    		ust.callK(k)
    	}
    }
    
    func (ust *uniformScenarioThread) callK(k int) {
    	if k >= ust.nCalls {
    		return
    	}
    	maxWidth := float64(uint64max(ust.uc.initialSeats, ust.uc.finalSeats))
    	ust.uss.seatDemandIntegratorCheck.Add(maxWidth)
    	returnSeatDemand := func(time.Time) { ust.uss.seatDemandIntegratorCheck.Add(-maxWidth) }
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/dead.go

    			return
    		}
    		tagN, ok := constant.Uint64Val(v)
    		if !ok {
    			return
    		}
    	BodyLoopInt:
    		for _, x := range stmt.Body.List {
    			cc := x.(*ast.CaseClause)
    			if cc.List == nil {
    				// Skip default case.
    				continue
    			}
    			for _, expr := range cc.List {
    				v := info.Types[expr].Value
    				if v == nil {
    					continue BodyLoopInt
    				}
    				n, ok := constant.Uint64Val(v)
    				if !ok || tagN == n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 06 18:23:38 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/http2/hpack/encode.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package hpack
    
    import (
    	"io"
    )
    
    const (
    	uint32Max              = ^uint32(0)
    	initialHeaderTableSize = 4096
    )
    
    type Encoder struct {
    	dynTab dynamicTable
    	// minSize is the minimum table size set by
    	// SetMaxDynamicTableSize after the previous Header Table Size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. cluster/images/etcd/migrate/options.go

    	flags.Uint64Var(&opts.port, "port", 0,
    		"etcd client port to use during migration operations. "+
    			"This should be a different port than typically used by etcd to avoid clients accidentally connecting during upgrade/downgrade operations. "+
    			"If unset default to 18629 or 18631 depending on <data-dir>.")
    	flags.Uint64Var(&opts.peerPort, "peer-port", 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 09:59:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/debugging/xattr/main.go

    }
    
    func main() {
    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    	flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified")
    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/const.go

    // to represent with type t.
    func ConstOverflow(v constant.Value, t *types.Type) bool {
    	switch {
    	case t.IsInteger():
    		bits := uint(8 * t.Size())
    		if t.IsUnsigned() {
    			x, ok := constant.Uint64Val(v)
    			return !ok || x>>bits != 0
    		}
    		x, ok := constant.Int64Val(v)
    		if x < 0 {
    			x = ^x
    		}
    		return !ok || x>>(bits-1) != 0
    	case t.IsFloat():
    		switch t.Size() {
    		case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        }
        return;
      }
    
      auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem);
      std::vector<std::string> childrens =
          GetChildrenBounded(gcs_file, src, UINT64_MAX, true, true, status);
      if (TF_GetCode(status) != TF_OK) return;
    
      std::string src_dir = src;
      std::string dst_dir = dst;
      MaybeAppendSlash(&src_dir);
      MaybeAppendSlash(&dst_dir);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.c128hash", 1},
    	{"runtime.strhash", 1},
    	{"runtime.interhash", 1},
    	{"runtime.nilinterhash", 1},
    	{"runtime.int64div", 1},
    	{"runtime.uint64div", 1},
    	{"runtime.int64mod", 1},
    	{"runtime.uint64mod", 1},
    	{"runtime.float64toint64", 1},
    	{"runtime.float64touint64", 1},
    	{"runtime.float64touint32", 1},
    	{"runtime.int64tofloat64", 1},
    	{"runtime.int64tofloat32", 1},
    	{"runtime.uint64tofloat64", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/cmd/internal/goobj/objfile.go

    	if len == 0 {
    		return nil
    	}
    	end := int(off) + len
    	return r.b[int(off):end:end]
    }
    
    func (r *Reader) uint64At(off uint32) uint64 {
    	b := r.BytesAt(off, 8)
    	return binary.LittleEndian.Uint64(b)
    }
    
    func (r *Reader) int64At(off uint32) int64 {
    	return int64(r.uint64At(off))
    }
    
    func (r *Reader) uint32At(off uint32) uint32 {
    	b := r.BytesAt(off, 4)
    	return binary.LittleEndian.Uint32(b)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. src/runtime/vlrt.go

    	if uint32(n>>32) == 0 && uint32(d>>32) == 0 {
    		if uint32(d) == 0 {
    			panicdivide()
    		}
    		return uint64(uint32(n) / uint32(d))
    	}
    	q, _ := dodiv(n, d)
    	return q
    }
    
    func uint64mod(n, d uint64) uint64 {
    	// Check for 32 bit operands
    	if uint32(n>>32) == 0 && uint32(d>>32) == 0 {
    		if uint32(d) == 0 {
    			panicdivide()
    		}
    		return uint64(uint32(n) % uint32(d))
    	}
    	_, r := dodiv(n, d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top