Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for pairs (0.13 sec)

  1. doc/go1.17_spec.html

    <pre class="grammar">
    "var" IdentifierList = ExpressionList .
    </pre>
    
    <pre>
    i, j := 0, 10
    f := func() int { return 7 }
    ch := make(chan int)
    r, w, _ := os.Pipe()  // os.Pipe() returns a connected pair of Files and an error, if any
    _, y, _ := coord(p)   // coord() returns three values; only interested in y coordinate
    </pre>
    
    <p>
    Unlike regular variable declarations, a short variable declaration may <i>redeclare</i>
    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/archive/tar/strconv.go

    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    corresponding type parameters have corresponding constraints.
    </p>
    
    <pre>
    type Pair[A, B any] struct {
    	a A
    	b B
    }
    
    func (p Pair[A, B]) Swap() Pair[B, A]  { … }  // receiver declares A, B
    func (p Pair[First, _]) First() First  { … }  // receiver declares First, corresponds to A in Pair
    </pre>
    
    <h2 id="Expressions">Expressions</h2>
    
    <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)
  4. lib/time/zoneinfo.zip

    Europe/Jersey Europe/Kaliningrad Europe/Kiev Europe/Kirov Europe/Kyiv Europe/Lisbon Europe/Ljubljana Europe/London Europe/Luxembourg Europe/Madrid Europe/Malta Europe/Mariehamn Europe/Minsk Europe/Monaco Europe/Moscow Europe/Nicosia Europe/Oslo Europe/Paris Europe/Podgorica Europe/Prague Europe/Riga Europe/Rome Europe/Samara Europe/San_Marino Europe/Sarajevo Europe/Saratov Europe/Simferopol Europe/Skopje Europe/Sofia Europe/Stockholm Europe/Tallinn Europe/Tirane Europe/Tiraspol Europe/Ulyanovsk Europe/Uzhgorod...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 392.3K bytes
    - Viewed (1)
  5. doc/go_mem.html

    This means that races on multiword data structures
    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    of internal (pointer, length) or (pointer, type) pairs,
    as can be the case for interface values, maps,
    slices, and strings in most Go implementations,
    such races can in turn lead to arbitrary memory corruption.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. doc/godebug.md

    Even so, Go provides a mechanism called GODEBUG to
    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    A GODEBUG setting is a `key=value` pair
    that controls the execution of certain parts of a Go program.
    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. doc/asm.html

    <code>[R0,g,R12-R15]</code>: For multi-register instructions, the set comprising
    <code>R0</code>, <code>g</code>, and <code>R12</code> through <code>R15</code> inclusive.
    </li>
    
    <li>
    <code>(R5, R6)</code>: Destination register pair.
    </li>
    
    </ul>
    
    <h3 id="arm64">ARM64</h3>
    
    <p>
    <code>R18</code> is the "platform register", reserved on the Apple platform.
    To prevent accidental misuse, the register is named <code>R18_PLATFORM</code>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		{"☻x\xe2\x98x", '�', len("☻x")},
    
    		// Invalid rune values should never match.
    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", -1, -1},
    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", 0xD800, -1}, // Surrogate pair
    		{"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", utf8.MaxRune + 1, -1},
    	}
    	for _, tt := range tests {
    		if got := IndexRune([]byte(tt.in), tt.rune); got != tt.want {
    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)
  9. src/cmd/asm/internal/asm/parse.go

    		if p.arch.InFamily(sys.ARM, sys.ARM64) {
    			// Special form
    			// ARM: destination register pair (R1, R2).
    			// ARM64: register pair (R1, R2) for LDP/STP.
    			if prefix != 0 || scale != 0 {
    				p.errorf("illegal address mode for register pair")
    				return
    			}
    			a.Type = obj.TYPE_REGREG
    			a.Offset = int64(r2)
    			// Nothing may follow
    			return
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 26 19:39:32 GMT 2024
    - 329 bytes
    - Viewed (0)
Back to top