Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for inverse (0.2 sec)

  1. doc/go1.17_spec.html

    and the return value of the function is an untyped floating-point constant.
    </p>
    
    <p>
    The <code>real</code> and <code>imag</code> functions together form the inverse of
    <code>complex</code>, so for a value <code>z</code> of a complex type <code>Z</code>,
    <code>z&nbsp;==&nbsp;Z(complex(real(z),&nbsp;imag(z)))</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    		return ((r - 'A' + step) % 26) + 'A'
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    		// data bytes and treat the value as an unsigned number.
    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    		for i, c := range b {
    			c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing
    			if i == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. api/go1.9.txt

    pkg math/bits, func OnesCount16(uint16) int
    pkg math/bits, func OnesCount32(uint32) int
    pkg math/bits, func OnesCount64(uint64) int
    pkg math/bits, func OnesCount8(uint8) int
    pkg math/bits, func Reverse(uint) uint
    pkg math/bits, func Reverse16(uint16) uint16
    pkg math/bits, func Reverse32(uint32) uint32
    pkg math/bits, func Reverse64(uint64) uint64
    pkg math/bits, func Reverse8(uint8) uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    and the return value of the function is an untyped floating-point constant.
    </p>
    
    <p>
    The <code>real</code> and <code>imag</code> functions together form the inverse of
    <code>complex</code>, so for a value <code>z</code> of a complex type <code>Z</code>,
    <code>z&nbsp;==&nbsp;Z(complex(real(z),&nbsp;imag(z)))</code>.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    func LastIndexFunc(s []byte, f func(r rune) bool) int {
    	return lastIndexFunc(s, f, true)
    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		wid := 1
    		r := rune(s[start])
    		if r >= utf8.RuneSelf {
    			r, wid = utf8.DecodeRune(s[start:])
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg runtime/debug, type GCStats struct, Pause []time.Duration
    pkg runtime/debug, type GCStats struct, PauseQuantiles []time.Duration
    pkg runtime/debug, type GCStats struct, PauseTotal time.Duration
    pkg sort, func Reverse(Interface) Interface
    pkg strconv (darwin-amd64), const IntSize = 64
    pkg strconv (darwin-amd64-cgo), const IntSize = 64
    pkg strconv (freebsd-386), const IntSize = 32
    pkg strconv (freebsd-386-cgo), const IntSize = 32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  9. src/cmd/addr2line/main.go

    	for stdin.Scan() {
    		p := stdin.Text()
    		if strings.Contains(p, ":") {
    			// Reverse translate file:line to pc.
    			// This was an extension in the old C version of 'go tool addr2line'
    			// and is probably not used by anyone, but recognize the syntax.
    			// We don't have an implementation.
    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    			continue
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg slices, func MinFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) $1 #60091
    pkg slices, func Replace[$0 interface{ ~[]$1 }, $1 interface{}]($0, int, int, ...$1) $0 #57433
    pkg slices, func Reverse[$0 interface{ ~[]$1 }, $1 interface{}]($0) #58565
    pkg slices, func Sort[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0) #60091
    pkg slices, func SortFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) #60091
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
Back to top