Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for mock (0.22 sec)

  1. api/go1.1.txt

    pkg syscall (linux-386), const SIOCSRARP = 35170
    pkg syscall (linux-386), const SOCK_CLOEXEC = 524288
    pkg syscall (linux-386), const SOCK_DCCP = 6
    pkg syscall (linux-386), const SOCK_NONBLOCK = 2048
    pkg syscall (linux-386), const SOCK_PACKET = 10
    pkg syscall (linux-386), const SOCK_RDM = 4
    pkg syscall (linux-386), const SOL_AAL = 265
    pkg syscall (linux-386), const SOL_ATM = 264
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  2. doc/go_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  3. misc/linkcheck/linkcheck.go

    	}
    	return
    }
    
    // url may contain a #fragment, and the fragment is then noted as needing to exist.
    func crawl(url string, sourceURL string) {
    	if strings.Contains(url, "/devel/release") {
    		return
    	}
    	mu.Lock()
    	defer mu.Unlock()
    	if u, frag, ok := strings.Cut(url, "#"); ok {
    		url = u
    		if frag != "" {
    			uf := urlFrag{url, frag}
    			neededFrags[uf] = append(neededFrags[uf], sourceURL)
    		}
    	}
    	if crawled[url] {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  4. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const LOCK_EX = 2 #53466
    pkg syscall (freebsd-riscv64), const LOCK_EX ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB = 4 #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH = 1 #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_UN = 8 #53466
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  5. api/go1.3.txt

    pkg syscall (freebsd-386), const SIGLIBRT = 33
    pkg syscall (freebsd-386), const SIGLIBRT Signal
    pkg syscall (freebsd-386), const SOCK_CLOEXEC = 268435456
    pkg syscall (freebsd-386), const SOCK_CLOEXEC ideal-int
    pkg syscall (freebsd-386), const SOCK_NONBLOCK = 536870912
    pkg syscall (freebsd-386), const SOCK_NONBLOCK ideal-int
    pkg syscall (freebsd-386), const SO_VENDOR = 2147483648
    pkg syscall (freebsd-386), const SO_VENDOR ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  6. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  7. 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)
  8. doc/go1.17_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/archive/zip/register.go

    	fw *flate.Writer
    }
    
    func (w *pooledFlateWriter) Write(p []byte) (n int, err error) {
    	w.mu.Lock()
    	defer w.mu.Unlock()
    	if w.fw == nil {
    		return 0, errors.New("Write after Close")
    	}
    	return w.fw.Write(p)
    }
    
    func (w *pooledFlateWriter) Close() error {
    	w.mu.Lock()
    	defer w.mu.Unlock()
    	var err error
    	if w.fw != nil {
    		err = w.fw.Close()
    		flateWriterPool.Put(w.fw)
    		w.fw = nil
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
Back to top