Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 213 for miblen (0.33 sec)

  1. src/runtime/sys_darwin_amd64.s

    	RET
    
    TEXT runtime·settls(SB),NOSPLIT,$32
    	// Nothing to do on Darwin, pthread already set thread-local storage up.
    	RET
    
    TEXT runtime·sysctl_trampoline(SB),NOSPLIT,$0
    	MOVL	8(DI), SI		// arg 2 miblen
    	MOVQ	16(DI), DX		// arg 3 oldp
    	MOVQ	24(DI), CX		// arg 4 oldlenp
    	MOVQ	32(DI), R8		// arg 5 newp
    	MOVQ	40(DI), R9		// arg 6 newlen
    	MOVQ	0(DI), DI		// arg 1 mib
    	CALL	libc_sysctl(SB)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd_arm.s

    	BL	libc_usleep(SB)
    	MOVW	R9, R13
    	RET
    
    TEXT runtime·sysctl_trampoline(SB),NOSPLIT,$0
    	MOVW	R13, R9
    	SUB	$8, R13
    	BIC     $0x7, R13		// align for ELF ABI
    	MOVW	4(R0), R1		// arg 2 miblen
    	MOVW	8(R0), R2		// arg 3 out
    	MOVW	12(R0), R3		// arg 4 size
    	MOVW	16(R0), R4		// arg 5 dst (on stack)
    	MOVW	R4, 0(R13)
    	MOVW	20(R0), R5		// arg 6 ndst (on stack)
    	MOVW	R5, 4(R13)
    	MOVW	0(R0), R0		// arg 1 mib
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  3. operator/pkg/util/yaml.go

    }
    
    func diffStringList(l1, l2 []string) string {
    	var maxLen int
    	var minLen int
    	var l1Max bool
    	res := ""
    	if len(l1)-len(l2) > 0 {
    		maxLen = len(l1)
    		minLen = len(l2)
    		l1Max = true
    	} else {
    		maxLen = len(l2)
    		minLen = len(l1)
    		l1Max = false
    	}
    
    	for i := 0; i < maxLen; i++ {
    		d := ""
    		if i >= minLen {
    			if l1Max {
    				d = yamlDiff(l1[i], "")
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    		}
    	}
    }
    
    type randomStringAlphabet string
    
    func (a randomStringAlphabet) makeString(minLen, maxLen int) string {
    	n := minLen
    	if minLen < maxLen {
    		n += rand.Intn(maxLen - minLen)
    	}
    	var s string
    	for i := 0; i < n; i++ {
    		s += string(a[rand.Intn(len(a))])
    	}
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. src/runtime/memmove_test.go

    	for _, t := range benchSizes {
    		total := 0
    		minLen := 0
    		maxLen := 0
    
    		for _, clrLen := range t.data {
    			maxLen = max(maxLen, clrLen)
    			if clrLen < minLen || minLen == 0 {
    				minLen = clrLen
    			}
    			total += clrLen
    		}
    		buffer := make([]byte, maxLen)
    
    		text := ""
    		if minLen >= (1 << 20) {
    			text = fmt.Sprint(minLen>>20, "M ", (maxLen+(1<<20-1))>>20, "M")
    		} else if minLen >= (1 << 10) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/math/big/prime.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package big
    
    import "math/rand"
    
    // ProbablyPrime reports whether x is probably prime,
    // applying the Miller-Rabin test with n pseudorandomly chosen bases
    // as well as a Baillie-PSW test.
    //
    // If x is prime, ProbablyPrime returns true.
    // If x is chosen randomly and not prime, ProbablyPrime probably returns false.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  7. src/crypto/dsa/dsa.go

    // in a set of DSA parameters. See FIPS 186-3, section 4.2.
    type ParameterSizes int
    
    const (
    	L1024N160 ParameterSizes = iota
    	L2048N224
    	L2048N256
    	L3072N256
    )
    
    // numMRTests is the number of Miller-Rabin primality tests that we perform. We
    // pick the largest recommended number from table C.1 of FIPS 186-3.
    const numMRTests = 64
    
    // GenerateParameters puts a random, valid set of DSA parameters into params.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/net/netip/netip.go

    	var val, pos int
    	var digLen int // number of digits in current octet
    	s := in[off:end]
    	for i := 0; i < len(s); i++ {
    		if s[i] >= '0' && s[i] <= '9' {
    			if digLen == 1 && val == 0 {
    				return parseAddrError{in: in, msg: "IPv4 field has octet with leading zero"}
    			}
    			val = val*10 + int(s[i]) - '0'
    			digLen++
    			if val > 255 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. test/fixedbugs/bug273.go

    	g4 = make(chan cblock, big)
    }
    
    func overflowchan() {
    	const ptrSize = unsafe.Sizeof(uintptr(0))
    	g4 = make(chan cblock, 1<<(30*(ptrSize/4)))
    }
    
    func main() {
    	shouldfail(badlen, "badlen")
    	shouldfail(biglen, "biglen")
    	shouldfail(badcap, "badcap")
    	shouldfail(badcap1, "badcap1")
    	shouldfail(bigcap, "bigcap")
    	shouldfail(badchancap, "badchancap")
    	shouldfail(bigchancap, "bigchancap")
    	shouldfail(overflowchan, "overflowchan")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 14:06:28 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  10. src/go/constant/value.go

    func (x *stringVal) String() string {
    	const maxLen = 72 // a reasonable length
    	s := strconv.Quote(x.string())
    	if utf8.RuneCountInString(s) > maxLen {
    		// The string without the enclosing quotes is greater than maxLen-2 runes
    		// long. Remove the last 3 runes (including the closing '"') by keeping
    		// only the first maxLen-3 runes; then add "...".
    		i := 0
    		for n := 0; n < maxLen-3; n++ {
    			_, size := utf8.DecodeRuneInString(s[i:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
Back to top