Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for mock (0.22 sec)

  1. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	MOVKW $(3905<<0), R21                      // MOVKW $3905, R21              // 35e88172
    	MOVKW $(3905<<16), R21                     // MOVKW $255918080, R21         // 35e8a172
    	MOVK $(3905<<32), R21                      // MOVK $16771847290880, R21     // 35e8c1f2
    	MOVD $0, R5                                // e5031faa
    	MSR $1, SPSel                              // bf4100d5
    	MSR $9, DAIFSet                            // df4903d5
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  2. api/go1.11.txt

    pkg syscall (netbsd-arm-cgo), func Pipe2([]int, int) error
    pkg syscall (openbsd-386), const SOCK_CLOEXEC = 32768
    pkg syscall (openbsd-386), const SOCK_CLOEXEC ideal-int
    pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384
    pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int
    pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93
    pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Viewed (2)
  3. src/cmd/asm/internal/asm/testdata/arm64error.s

    	STP	(R26, R27), 700(R2)                              // ERROR "cannot use REGTMP as source"
    	MOVK	$0, R10                                          // ERROR "zero shifts cannot be handled correctly"
    	MOVK	$(0<<32), R10                                    // ERROR "zero shifts cannot be handled correctly"
    	TLBI	PLDL1KEEP                                        // ERROR "illegal argument"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  4. misc/ios/go_ios_exec.go

    var tmpdir string
    
    var (
    	devID    string
    	appID    string
    	teamID   string
    	bundleID string
    	deviceID string
    )
    
    // lock is a file lock to serialize iOS runs. It is global to avoid the
    // garbage collector finalizing it, closing the file and releasing the
    // lock prematurely.
    var lock *os.File
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("go_ios_exec: ")
    	if debug {
    		log.Println(strings.Join(os.Args, " "))
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  5. misc/go_android_exec/main.go

    	// https://issuetracker.google.com/issues/73230216.
    	lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock")
    	lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return 0, err
    	}
    	defer lock.Close()
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 0, err
    	}
    
    	// In case we're booting a device or emulator alongside all.bash, wait for
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  6. doc/go_mem.html

    var a string
    
    func f() {
    	a = "hello, world"
    	l.Unlock()
    }
    
    func main() {
    	l.Lock()
    	go f()
    	l.Lock()
    	print(a)
    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.
    The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized
    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top