Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for n64 (0.02 sec)

  1. src/compress/bzip2/bit_reader.go

    	// least-significant places and masks off anything above.
    	n = (br.n >> (br.bits - bits)) & ((1 << bits) - 1)
    	br.bits -= bits
    	return
    }
    
    func (br *bitReader) ReadBits(bits uint) (n int) {
    	n64 := br.ReadBits64(bits)
    	return int(n64)
    }
    
    func (br *bitReader) ReadBit() bool {
    	n := br.ReadBits(1)
    	return n != 0
    }
    
    func (br *bitReader) Err() error {
    	return br.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/index/suffixarray/suffixarray.go

    func (x *Index) Read(r io.Reader) error {
    	// buffer for all reads
    	buf := make([]byte, bufSize)
    
    	// read length
    	n64, err := readInt(r, buf)
    	if err != nil {
    		return err
    	}
    	if int64(int(n64)) != n64 || int(n64) < 0 {
    		return errTooBig
    	}
    	n := int(n64)
    
    	// allocate space
    	if 2*n < cap(x.data) || cap(x.data) < n || x.sa.int32 != nil && n > maxData32 || x.sa.int64 != nil && n <= maxData32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. pilot/test/mock/config.go

    	log.Infof("Waiting till all events are received")
    	retry.UntilOrFail(t, func() bool {
    		return added.Load() == n64 && deleted.Load() == n64
    	}, retry.Message("receive events"), retry.Delay(time.Millisecond*500), retry.Timeout(time.Minute))
    }
    
    // CheckCacheFreshness validates operational invariants of a cache
    func CheckCacheFreshness(cache model.ConfigStoreController, namespace string, t *testing.T) {
    	stop := make(chan struct{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. src/runtime/cgo/gcc_mips64x.S

    .file "gcc_mips64x.S"
    
    /*
     * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g)
     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard MIPS N64 ABI, where $16-$23, $28, $30, and $f24-$f31
     * are callee-save, so they must be saved explicitly, along with $31 (LR).
     */
    .globl crosscall1
    .set noat
    crosscall1:
    #ifndef __mips_soft_float
    	daddiu	$29, $29, -160
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    	x := r.Uint64()
    	lo1a, lo0 := bits.Mul32(uint32(x), n)
    	hi, lo1b := bits.Mul32(uint32(x>>32), n)
    	lo1, c := bits.Add32(lo1a, lo1b, 0)
    	hi += c
    	if lo1 == 0 && lo0 < uint32(n) {
    		n64 := uint64(n)
    		thresh := uint32(-n64 % n64)
    		for lo1 == 0 && lo0 < thresh {
    			x := r.Uint64()
    			lo1a, lo0 = bits.Mul32(uint32(x), n)
    			hi, lo1b = bits.Mul32(uint32(x>>32), n)
    			lo1, c = bits.Add32(lo1a, lo1b, 0)
    			hi += c
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. test/mergemul.go

    	tests += makeMergeSubTest(m1, m2, k, "64")
    	tests += "\n"
    	return tests
    }
    
    func main() {
    	fmt.Println(`package main
    
    import "fmt"
    
    var n8 int8 = 42
    var n16 int16 = 42
    var n32 int32 = 42
    var n64 int64 = 42
    
    func main() {
        var a8, b8 int8
        var a16, b16 int16
        var a32, b32 int32
        var a64, b64 int64
    `)
    
    	fmt.Println(makeAllSizes(03, 05, 0)) // 3*n + 5*n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 03 14:29:38 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  7. src/net/tcpsock_test.go

    				c, err := ln.Accept()
    				if err != nil {
    					t.Error(err)
    					return
    				}
    				buf := make([]byte, x)
    				var n int
    				if writev {
    					var n64 int64
    					n64, err = (&Buffers{buf}).WriteTo(c)
    					n = int(n64)
    				} else {
    					n, err = c.Write(buf)
    				}
    				if n != len(buf) || err != nil {
    					t.Errorf("Write(buf) = %d, %v, want %d, nil", n, err, x)
    				}
    				c.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. src/encoding/gob/debug.go

    func (deb *debugger) loadBlock(eofOK bool) int {
    	n64, w, err := decodeUintReader(deb.r, deb.tmp) // deb.uint64 will error at EOF
    	if err != nil {
    		if eofOK && err == io.EOF {
    			return -1
    		}
    		errorf("debug: unexpected error: %s", err)
    	}
    	deb.consumed(w)
    	n := int(n64)
    	if n < 0 {
    		errorf("huge value for message length: %d", n64)
    	}
    	return int(n)
    }
    
    // Message:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    	}
    	res.Body.Close()
    
    	// Force child to exit cleanly.
    	Post(fmt.Sprintf("http://%s/quit", ln.Addr()), "", nil)
    	child.Wait()
    
    	rx := regexp.MustCompile(`\b(n64:)?sendfile(64)?\(`)
    	out := buf.String()
    	if !rx.MatchString(out) {
    		t.Errorf("no sendfile system call found in:\n%s", out)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top