Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for le64 (0.04 sec)

  1. src/internal/profile/proto.go

    	copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    	copy(b.data[n1:], b.tmp[:n3-n2])
    }
    
    func unmarshal(data []byte, m message) (err error) {
    	b := buffer{data: data, typ: 2}
    	return decodeMessage(&b, m)
    }
    
    func le64(p []byte) uint64 {
    	return uint64(p[0]) | uint64(p[1])<<8 | uint64(p[2])<<16 | uint64(p[3])<<24 | uint64(p[4])<<32 | uint64(p[5])<<40 | uint64(p[6])<<48 | uint64(p[7])<<56
    }
    
    func le32(p []byte) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/proto.go

    	copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    	copy(b.data[n1:], b.tmp[:n3-n2])
    }
    
    func unmarshal(data []byte, m message) (err error) {
    	b := buffer{data: data, typ: 2}
    	return decodeMessage(&b, m)
    }
    
    func le64(p []byte) uint64 {
    	return uint64(p[0]) | uint64(p[1])<<8 | uint64(p[2])<<16 | uint64(p[3])<<24 | uint64(p[4])<<32 | uint64(p[5])<<40 | uint64(p[6])<<48 | uint64(p[7])<<56
    }
    
    func le32(p []byte) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. src/runtime/unsafe.go

    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeString
    func unsafestring64(ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafestringlen()
    	}
    	unsafestring(ptr, len)
    }
    
    func unsafestringcheckptr(ptr unsafe.Pointer, len64 int64) {
    	unsafestring64(ptr, len64)
    
    	// Check that underlying array doesn't straddle multiple heap objects.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/internal/coverage/slicereader/slr_test.go

    		}
    		g64 := slr.ReadUint64()
    		if g64 != e64 {
    			t.Fatalf("slr.ReadUint64() got %d want %d", g64, e64)
    		}
    		g32 = uint32(slr.ReadULEB128())
    		if g32 != e32 {
    			t.Fatalf("slr.ReadULEB128() got %d want %d", g32, e32)
    		}
    		g64 = slr.ReadULEB128()
    		if g64 != e64 {
    			t.Fatalf("slr.ReadULEB128() got %d want %d", g64, e64)
    		}
    		gs1 := readStr(slr)
    		if gs1 != s1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/runtime/vlop_386.s

    // THE SOFTWARE.
    
    #include "textflag.h"
    
    /*
     * C runtime for 64-bit divide.
     */
    
    // runtimeĀ·_mul64x32(lo64 *uint64, a uint64, b uint32) (hi32 uint32)
    // sets *lo64 = low 64 bits of 96-bit product a*b; returns high 32 bits.
    TEXT runtimeĀ·_mul64by32(SB), NOSPLIT, $0
    	MOVL	lo64+0(FP), CX
    	MOVL	a_lo+4(FP), AX
    	MULL	b+12(FP)
    	MOVL	AX, 0(CX)
    	MOVL	DX, BX
    	MOVL	a_hi+8(FP), AX
    	MULL	b+12(FP)
    	ADDL	AX, BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/intrinsics_test.go

    package test
    
    import (
    	"math/bits"
    	"testing"
    )
    
    func TestBitLen64(t *testing.T) {
    	for i := 0; i <= 64; i++ {
    		got := bits.Len64(1 << i)
    		want := i + 1
    		if want == 65 {
    			want = 0
    		}
    		if got != want {
    			t.Errorf("Len64(1<<%d) = %d, want %d", i, got, want)
    		}
    	}
    }
    
    func TestBitLen32(t *testing.T) {
    	for i := 0; i <= 32; i++ {
    		got := bits.Len32(1 << i)
    		want := i + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 18:33:02 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. src/runtime/vlrt.go

    	}
    
    	if d > n {
    		return 0, n
    	}
    
    	if uint32(d>>32) != 0 {
    		t := uint32(n>>32) / uint32(d>>32)
    		var lo64 uint64
    		hi32 := _mul64by32(&lo64, d, t)
    		if hi32 != 0 || lo64 > n {
    			return slowdodiv(n, d)
    		}
    		return uint64(t), n - lo64
    	}
    
    	// d is 32 bit
    	var qhi uint32
    	if uint32(n>>32) >= uint32(d) {
    		if uint32(d) == 0 {
    			panicdivide()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. src/math/bits/example_test.go

    func ExampleLen32() {
    	fmt.Printf("Len32(%032b) = %d\n", 8, bits.Len32(8))
    	// Output:
    	// Len32(00000000000000000000000000001000) = 4
    }
    
    func ExampleLen64() {
    	fmt.Printf("Len64(%064b) = %d\n", 8, bits.Len64(8))
    	// Output:
    	// Len64(0000000000000000000000000000000000000000000000000000000000001000) = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:16:09 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ppc64/obj.go

    	"cmd/internal/sys"
    	"cmd/link/internal/ld"
    	"internal/buildcfg"
    )
    
    func Init() (*sys.Arch, ld.Arch) {
    	arch := sys.ArchPPC64LE
    	dynld := "/lib64/ld64.so.2"
    	musl := "/lib/ld-musl-powerpc64le.so.1"
    
    	if buildcfg.GOARCH == "ppc64" {
    		arch = sys.ArchPPC64
    		dynld = "/lib64/ld64.so.1"
    		musl = "/lib/ld-musl-powerpc64.so.1"
    	}
    
    	theArch := ld.Arch{
    		Funcalign:  funcAlign,
    		Maxalign:   maxAlign,
    		Minalign:   minAlign,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. test/prove.go

    			if a < 12 { // ERROR "Disproved Less64$"
    				return 1
    			}
    		}
    		if x {
    			if a <= 12 { // ERROR "Disproved Leq64$"
    				return 2
    			}
    		}
    		if x {
    			if a == 12 { // ERROR "Disproved Eq64$"
    				return 3
    			}
    		}
    		if x {
    			if a >= 12 { // ERROR "Proved Leq64$"
    				return 4
    			}
    		}
    		if x {
    			if a > 12 { // ERROR "Proved Less64$"
    				return 5
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top