Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 787 for Tsmallp (0.11 sec)

  1. test/method5.go

    // Smaller than a word, word-sized, larger than a word.
    // Value and pointer receivers.
    
    type Tinter interface {
    	M(int, byte) (byte, int)
    }
    
    type Tsmallv byte
    
    func (v Tsmallv) M(x int, b byte) (byte, int) { return b, x+int(v) }
    
    type Tsmallp byte
    
    func (p *Tsmallp) M(x int, b byte) (byte, int) { return b, x+int(*p) }
    
    type Twordv uintptr
    
    func (v Twordv) M(x int, b byte) (byte, int) { return b, x+int(v) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 6.7K bytes
    - Viewed (0)
  2. test/inline_sync.go

    )
    
    var mutex *sync.Mutex
    
    func small5() { // ERROR "can inline small5"
    	// the Unlock fast path should be inlined
    	mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock"
    }
    
    func small6() { // ERROR "can inline small6"
    	// the Lock fast path should be inlined
    	mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock"
    }
    
    var once *sync.Once
    
    func small7() { // ERROR "can inline small7"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. test/newinline.go

    	// ERRORAUTO "inlining call to T.meth"
    }
    
    func small1() { // ERROR "can inline small1"
    	runtime.GC()
    }
    func small2() int { // ERROR "can inline small2"
    	return runtime.GOMAXPROCS(0)
    }
    func small3(t T) { // ERROR "can inline small3"
    	t.meth2(3, 5)
    }
    func small4(t T) { // ERROR "can inline small4"
    	t.meth2(runtime.GOMAXPROCS(0), 5)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    // Value and pointer receivers.
    
    type Tinter interface {
    	M(int, byte) (byte, int)
    }
    
    type Tsmallv byte
    
    func (v Tsmallv) M(x int, b byte) (byte, int) { return b, x + int(v) }
    
    type Tsmallp byte
    
    func (p *Tsmallp) M(x int, b byte) (byte, int) { return b, x + int(*p) }
    
    type Twordv uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/build-cache/compare-small.svg

    compare-small.svg...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/build-cache/compare-small-b.svg

    compare-small-b.svg...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/cmd/internal/cov/testdata/small.go

    Than McIntosh <******@****.***> 1675886768 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:12:25 UTC 2023
    - 66 bytes
    - Viewed (0)
  8. test/inline.go

    	// ERRORAUTO "inlining call to T.meth"
    }
    
    func small1() { // ERROR "can inline small1"
    	runtime.GC()
    }
    func small2() int { // ERROR "can inline small2"
    	return runtime.GOMAXPROCS(0)
    }
    func small3(t T) { // ERROR "can inline small3"
    	t.meth2(3, 5)
    }
    func small4(t T) { // not inlineable - has 2 calls.
    	t.meth2(runtime.GOMAXPROCS(0), 5)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. src/archive/tar/testdata/small.txt

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 5 bytes
    - Viewed (0)
  10. src/strconv/itoa.go

    	if fastSmalls && i < nSmalls && base == 10 {
    		return append(dst, small(int(i))...)
    	}
    	dst, _ = formatBits(dst, i, base, false, true)
    	return dst
    }
    
    // small returns the string for an i with 0 <= i < nSmalls.
    func small(i int) string {
    	if i < 10 {
    		return digits[i : i+1]
    	}
    	return smallsString[i*2 : i*2+2]
    }
    
    const nSmalls = 100
    
    const smallsString = "00010203040506070809" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top