Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for uint64max (0.15 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/flag/flag.go

    	return CommandLine.Uint(name, value, usage)
    }
    
    // Uint64Var defines a uint64 flag with specified name, default value, and usage string.
    // The argument p points to a uint64 variable in which to store the value of the flag.
    func (f *FlagSet) Uint64Var(p *uint64, name string, value uint64, usage string) {
    	f.Var(newUint64Value(value, p), name, usage)
    }
    
    // Uint64Var defines a uint64 flag with specified name, default value, and usage string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. src/go/types/conversions.go

    		case t == nil:
    			// nothing to do
    		case representableConst(x.val, check, t, val):
    			return true
    		case isInteger(x.typ) && isString(t):
    			codepoint := unicode.ReplacementChar
    			if i, ok := constant.Uint64Val(x.val); ok && i <= unicode.MaxRune {
    				codepoint = rune(i)
    			}
    			if val != nil {
    				*val = constant.MakeString(string(codepoint))
    			}
    			return true
    		}
    		return false
    	}
    
    	var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top