Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for 3p1024 (0.28 sec)

  1. src/math/big/sqrt_test.go

    		{"4.0", "2.0"},
    
    		{"1p512", "1p256"},
    		{"4p1024", "2p512"},
    		{"9p2048", "3p1024"},
    
    		{"1p-1024", "1p-512"},
    		{"4p-2048", "2p-1024"},
    		{"9p-4096", "3p-2048"},
    	} {
    		for _, prec := range []uint{24, 53, 64, 65, 100, 128, 129, 200, 256, 400, 600, 800, 1000} {
    			x := new(Float).SetPrec(prec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. test/heapsampling.go

    // Test heap sampling logic.
    
    package main
    
    import (
    	"fmt"
    	"math"
    	"runtime"
    )
    
    var a16 *[16]byte
    var a512 *[512]byte
    var a256 *[256]byte
    var a1k *[1024]byte
    var a16k *[16 * 1024]byte
    var a17k *[17 * 1024]byte
    var a18k *[18 * 1024]byte
    
    // This test checks that heap sampling produces reasonable results.
    // Note that heap sampling uses randomization, so the results vary for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    	RBase386     = 1 * 1024
    	RBaseAMD64   = 2 * 1024
    	RBaseARM     = 3 * 1024
    	RBasePPC64   = 4 * 1024  // range [4k, 8k)
    	RBaseARM64   = 8 * 1024  // range [8k, 13k)
    	RBaseMIPS    = 13 * 1024 // range [13k, 14k)
    	RBaseS390X   = 14 * 1024 // range [14k, 15k)
    	RBaseRISCV   = 15 * 1024 // range [15k, 16k)
    	RBaseWasm    = 16 * 1024
    	RBaseLOONG64 = 17 * 1024
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    	}{
    		{map[string][]byte{"simple": []byte(strings.Repeat("a", 33*1024))}, maxSizeErrMsg},
    		{map[string][]byte{"simple": []byte(strings.Repeat("a", 32*1024))}, maxSizeErrMsg},
    		{map[string][]byte{"simple": []byte(strings.Repeat("a", 64*1024))}, maxSizeErrMsg},
    		{map[string][]byte{"simple": []byte(strings.Repeat("a", 31*1024)), "simple2": []byte(strings.Repeat("a", 1024))}, maxSizeErrMsg},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/gc-stress.go

    			makeTree(depth - 1),
    			makeTree(depth - 1),
    		},
    	}
    }
    
    var trees [16]*node
    var ballast *[16]*[1024]*node
    var sink [][]byte
    
    func main() {
    	for i := range trees {
    		trees[i] = makeTree(6)
    	}
    	ballast = new([16]*[1024]*node)
    	for i := range ballast {
    		ballast[i] = new([1024]*node)
    		for j := range ballast[i] {
    			ballast[i][j] = &node{
    				data: [128]byte{1, 2, 3, 4},
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue9862.go

    // skip
    
    // Copyright 2015 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 main
    
    var a [1<<31 - 1024]byte
    
    func main() {
    	if a[0] != 0 {
    		panic("bad array")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 265 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    var validConditionStatuses = sets.NewString(string(metav1.ConditionTrue), string(metav1.ConditionFalse), string(metav1.ConditionUnknown))
    
    const (
    	maxReasonLen  = 1 * 1024
    	maxMessageLen = 32 * 1024
    )
    
    func ValidateCondition(condition metav1.Condition, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    
    	// type is set and is a valid format
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips64/obj.go

    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 16 * 1024
    		}
    		if *ld.FlagTextAddr == -1 {
    			*ld.FlagTextAddr = ld.Rnd(16*1024, *ld.FlagRound) + int64(ld.HEADR)
    		}
    
    	case objabi.Hlinux, /* mips64 elf */
    		objabi.Hopenbsd:
    		ld.Elfinit(ctxt)
    		ld.HEADR = ld.ELFRESERVE
    		if *ld.FlagRound == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/runtime/os_wasm.go

    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    //go:nosplit
    func msigrestore(sigmask sigset) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/stackswitch.c

    	// new thread.
    
    	// N.B. since we used a custom stack with makecontext,
    	// callbackUpdateSystemStack had to guess the bounds. Its guess assumes
    	// a 32KiB stack.
    	char *prev_stack_lo = stack2 + STACK_SIZE - (32*1024);
    
    	// New SP is just barely in bounds, but if we don't update the bounds
    	// we'll almost certainly overflow. The SP that
    	// callbackUpdateSystemStack sees already has some data pushed, so it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top