Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for invalidate (0.45 sec)

  1. api/go1.1.txt

    pkg syscall (freebsd-386), const MSG_WAITALL = 64
    pkg syscall (freebsd-386), const MS_ASYNC = 1
    pkg syscall (freebsd-386), const MS_ASYNC ideal-int
    pkg syscall (freebsd-386), const MS_INVALIDATE = 2
    pkg syscall (freebsd-386), const MS_INVALIDATE ideal-int
    pkg syscall (freebsd-386), const MS_SYNC = 0
    pkg syscall (freebsd-386), const MS_SYNC ideal-int
    pkg syscall (freebsd-386), const NET_RT_DUMP = 1
    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 (1)
  2. src/bufio/scan_test.go

    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    		key, value, residual, err := parsePAXRecord(sbuf)
    		if err != nil {
    			return nil, ErrHeader
    		}
    		sbuf = residual
    
    		switch key {
    		case paxGNUSparseOffset, paxGNUSparseNumBytes:
    			// Validate sparse header order and value.
    			if (len(sparseMap)%2 == 0 && key != paxGNUSparseOffset) ||
    				(len(sparseMap)%2 == 1 && key != paxGNUSparseNumBytes) ||
    				strings.Contains(value, ",") {
    				return nil, ErrHeader
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. doc/go_mem.html

    	print(b)
    	print(a)
    }
    
    func main() {
    	go f()
    	g()
    }
    </pre>
    
    <p>
    it can happen that <code>g</code> prints <code>2</code> and then <code>0</code>.
    </p>
    
    <p>
    This fact invalidates a few common idioms.
    </p>
    
    <p>
    Double-checked locking is an attempt to avoid the overhead of synchronization.
    For example, the <code>twoprint</code> program might be
    incorrectly written as:
    </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)
  5. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const MSG_TRUNC ideal-int
    pkg syscall (freebsd-386-cgo), const MSG_WAITALL ideal-int
    pkg syscall (freebsd-386-cgo), const MS_ASYNC ideal-int
    pkg syscall (freebsd-386-cgo), const MS_INVALIDATE ideal-int
    pkg syscall (freebsd-386-cgo), const MS_SYNC ideal-int
    pkg syscall (freebsd-386-cgo), const NET_RT_DUMP ideal-int
    pkg syscall (freebsd-386-cgo), const NET_RT_FLAGS ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top