Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for rlock (0.16 sec)

  1. doc/go_mem.html

    <p class="rule">
    For any call to <code>l.RLock</code> on a <code>sync.RWMutex</code> variable <code>l</code>,
    there is an <i>n</i> such that the <i>n</i>th call to <code>l.Unlock</code>
    is synchronized before the return from <code>l.RLock</code>,
    and the matching call to <code>l.RUnlock</code> is synchronized before the return from call <i>n</i>+1 to <code>l.Lock</code>.
    </p>
    
    <p class="rule">
    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)
  2. api/go1.3.txt

    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Pid int32
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Start int64
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Type int16
    pkg syscall (linux-amd64-cgo), type Flock_t struct, Whence int16
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    	    and ends at the end of the innermost containing block.</li>
    
    	<li>The scope of a type identifier declared inside a function
    	    begins at the identifier in the TypeSpec
    	    and ends at the end of the innermost containing block.</li>
    </ol>
    
    <p>
    An identifier declared in a block may be redeclared in an inner block.
    While the identifier of the inner declaration is in scope, it denotes
    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)
  4. api/go1.13.txt

    pkg syscall (netbsd-arm64), const LOCK_EX = 2
    pkg syscall (netbsd-arm64), const LOCK_EX ideal-int
    pkg syscall (netbsd-arm64), const LOCK_NB = 4
    pkg syscall (netbsd-arm64), const LOCK_NB ideal-int
    pkg syscall (netbsd-arm64), const LOCK_SH = 1
    pkg syscall (netbsd-arm64), const LOCK_SH ideal-int
    pkg syscall (netbsd-arm64), const LOCK_UN = 8
    pkg syscall (netbsd-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    			b.Write(buf[:1])
    		}
    	}
    }
    
    func BenchmarkBufferWriteBlock(b *testing.B) {
    	block := make([]byte, 1024)
    	for _, n := range []int{1 << 12, 1 << 16, 1 << 20} {
    		b.Run(fmt.Sprintf("N%d", n), func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				var bb Buffer
    				for bb.Len() < n {
    					bb.Write(block)
    				}
    			}
    		})
    	}
    }
    
    func BenchmarkBufferAppendNoCopy(b *testing.B) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback.go

    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg crypto, type Decrypter interface, Public() PublicKey
    pkg crypto, type DecrypterOpts interface {}
    pkg crypto/cipher, func NewGCMWithNonceSize(Block, int) (AEAD, error)
    pkg crypto/elliptic, type CurveParams struct, Name string
    pkg crypto/rsa, method (*PrivateKey) Decrypt(io.Reader, []uint8, crypto.DecrypterOpts) ([]uint8, error)
    pkg crypto/rsa, type OAEPOptions struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg encoding/pem, func Decode([]uint8) (*Block, []uint8)
    pkg encoding/pem, func Encode(io.Writer, *Block) error
    pkg encoding/pem, func EncodeToMemory(*Block) []uint8
    pkg encoding/pem, type Block struct
    pkg encoding/pem, type Block struct, Bytes []uint8
    pkg encoding/pem, type Block struct, Headers map[string]string
    pkg encoding/pem, type Block struct, Type string
    pkg encoding/xml, const Header ideal-string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const LOCK_EX = 2
    pkg syscall (freebsd-arm64), const LOCK_EX ideal-int
    pkg syscall (freebsd-arm64), const LOCK_NB = 4
    pkg syscall (freebsd-arm64), const LOCK_NB ideal-int
    pkg syscall (freebsd-arm64), const LOCK_SH = 1
    pkg syscall (freebsd-arm64), const LOCK_SH ideal-int
    pkg syscall (freebsd-arm64), const LOCK_UN = 8
    pkg syscall (freebsd-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    		}
    		pre = cur
    	}
    	return true
    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top