Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,485 for Init64 (0.12 sec)

  1. src/internal/chacha8rand/chacha8.go

    		byteorder.LeUint64(seed[3*8:]),
    	})
    }
    
    // Init64 seeds the state with the given seed value.
    func (s *State) Init64(seed [4]uint64) {
    	s.seed = seed
    	block(&s.seed, &s.buf, 0)
    	s.c = 0
    	s.i = 0
    	s.n = chunk
    }
    
    // Refill refills the state with more random values.
    // After a call to Refill, an immediate call to Next will succeed
    // (unless multiple goroutines are incorrectly sharing a state).
    func (s *State) Refill() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/runtime/rand.go

    	// See https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
    	return uint32((uint64(cheaprand()) * uint64(n)) >> 32)
    }
    
    // Too much legacy code has go:linkname references
    // to runtime.fastrand and friends, so keep these around for now.
    // Code should migrate to math/rand/v2.Uint64,
    // which is just as fast, but that's only available in Go 1.22+.
    // It would be reasonable to remove these in Go 1.24.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go

    // If the value passed in is not actually a map, this will panic.
    func Int64KeySet[T any](theMap map[int64]T) Int64 {
    	return Int64(KeySet(theMap))
    }
    
    // Insert adds items to the set.
    func (s Int64) Insert(items ...int64) Int64 {
    	return Int64(cast(s).Insert(items...))
    }
    
    // Delete removes all items from the set.
    func (s Int64) Delete(items ...int64) Int64 {
    	return Int64(cast(s).Delete(items...))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. src/syscall/dir_plan9.go

    		}
    	}
    
    	b = pbit16(b, uint16(n)-2)
    	b = pbit16(b, d.Type)
    	b = pbit32(b, d.Dev)
    	b = pbit8(b, d.Qid.Type)
    	b = pbit32(b, d.Qid.Vers)
    	b = pbit64(b, d.Qid.Path)
    	b = pbit32(b, d.Mode)
    	b = pbit32(b, d.Atime)
    	b = pbit32(b, d.Mtime)
    	b = pbit64(b, uint64(d.Length))
    	b = pstring(b, d.Name)
    	b = pstring(b, d.Uid)
    	b = pstring(b, d.Gid)
    	b = pstring(b, d.Muid)
    
    	return n, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/universe.go

    	SliceSize = RoundUp(SliceCapOffset+int64(PtrSize), int64(PtrSize))
    
    	// string is same as slice wo the cap
    	StringSize = RoundUp(SliceLenOffset+int64(PtrSize), int64(PtrSize))
    
    	for et := Kind(0); et < NTYPE; et++ {
    		SimType[et] = et
    	}
    
    	Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{}
    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go

    	Datalen     uint8
    	Mtu         uint64
    	Metric      uint64
    	Baudrate    uint64
    	Ipackets    uint64
    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go

    	Nswapdev           int64
    	Swpages            int64
    	Swpginuse          int64
    	Swpgonly           int64
    	Nswget             int64
    	Unused1            int64
    	Cpuhit             int64
    	Cpumiss            int64
    	Faults             int64
    	Traps              int64
    	Intrs              int64
    	Swtch              int64
    	Softs              int64
    	Syscalls           int64
    	Pageins            int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go

    	Nswapdev           int64
    	Swpages            int64
    	Swpginuse          int64
    	Swpgonly           int64
    	Nswget             int64
    	Unused1            int64
    	Cpuhit             int64
    	Cpumiss            int64
    	Faults             int64
    	Traps              int64
    	Intrs              int64
    	Swtch              int64
    	Softs              int64
    	Syscalls           int64
    	Pageins            int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go

    	Nswapdev           int64
    	Swpages            int64
    	Swpginuse          int64
    	Swpgonly           int64
    	Nswget             int64
    	Unused1            int64
    	Cpuhit             int64
    	Cpumiss            int64
    	Faults             int64
    	Traps              int64
    	Intrs              int64
    	Swtch              int64
    	Softs              int64
    	Syscalls           int64
    	Pageins            int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. src/syscall/ztypes_freebsd_amd64.go

    	Datalen     uint8
    	Mtu         uint64
    	Metric      uint64
    	Baudrate    uint64
    	Ipackets    uint64
    	Ierrors     uint64
    	Opackets    uint64
    	Oerrors     uint64
    	Collisions  uint64
    	Ibytes      uint64
    	Obytes      uint64
    	Imcasts     uint64
    	Omcasts     uint64
    	Iqdrops     uint64
    	Noproto     uint64
    	Hwassist    uint64
    	Epoch       int64
    	Lastchange  Timeval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top