Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for i64big (0.32 sec)

  1. src/runtime/malloc.go

    	// prefer using heapArenaBytes where possible (we need the
    	// constant to compute some other constants).
    	logHeapArenaBytes = (6+20)*(_64bit*(1-goos.IsWindows)*(1-goarch.IsWasm)*(1-goos.IsIos*goarch.IsArm64)) + (2+20)*(_64bit*goos.IsWindows) + (2+20)*(1-_64bit) + (2+20)*goarch.IsWasm + (2+20)*goos.IsIos*goarch.IsArm64
    
    	// heapArenaBitmapWords is the size of each heap arena's bitmap in uintptrs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    	if !is64Bit {
    		return
    	}
    
    	runTestCases("64-bit", []testCase{
    		0: {"-", maxInt, "out of range"},
    	})
    }
    
    func runesEqual(a, b []rune) bool {
    	if len(a) != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    	if !is64Bit {
    		return
    	}
    
    	runTestCases("64-bit", []testCase{
    		0: {"-", maxInt, "out of range"},
    	})
    }
    
    func runesEqual(a, b []rune) bool {
    	if len(a) != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    			defer wg.Done()
    			labelHog(stop, gogc)
    		}()
    	}
    
    	time.Sleep(dur)
    	close(stop)
    	wg.Wait()
    }
    
    // Check that there is no deadlock when the program receives SIGPROF while in
    // 64bit atomics' critical section. Used to happen on mips{,le}. See #20146.
    func TestAtomicLoadStore64(t *testing.T) {
    	f, err := os.CreateTemp("", "profatomic")
    	if err != nil {
    		t.Fatalf("TempFile: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top