Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for mock (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    	SYS_ACCEPT4        = 93  // { int sys_accept4(int s, struct sockaddr *name, socklen_t *anamelen, int flags); }
    	SYS___THRSLEEP     = 94  // { int sys___thrsleep(const volatile void *ident, clockid_t clock_id, const struct timespec *tp, void *lock, const int *abort); }
    	SYS_FSYNC          = 95  // { int sys_fsync(int fd); }
    	SYS_SETPRIORITY    = 96  // { int sys_setpriority(int which, id_t who, int prio); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int nrecvmsg(int, uintptr_t, int);
    int nsendmsg(int, uintptr_t, int);
    int munmap(uintptr_t, uintptr_t);
    int madvise(uintptr_t, size_t, int);
    int mprotect(uintptr_t, size_t, int);
    int mlock(uintptr_t, size_t);
    int mlockall(int);
    int msync(uintptr_t, size_t, int);
    int munlock(uintptr_t, size_t);
    int munlockall();
    int pipe(uintptr_t);
    int poll(uintptr_t, int, int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    //sys	munmap(addr uintptr, length uintptr) (err error)
    //sys	Madvise(b []byte, advice int) (err error)
    //sys	Mprotect(b []byte, prot int) (err error)
    //sys	Mlock(b []byte) (err error)
    //sys	Mlockall(flags int) (err error)
    //sys	Msync(b []byte, flags int) (err error)
    //sys	Munlock(b []byte) (err error)
    //sys	Munlockall() (err error)
    
    //sysnb	pipe(p *[2]_C_int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/vcweb/vcweb.go

    			// The script's hash has changed, so regenerate its output.
    			func() {
    				r.mu.RUnlock()
    				r.mu.Lock()
    				defer func() {
    					r.mu.Unlock()
    					r.mu.RLock()
    				}()
    				if r.hash != prevHash {
    					// The cached result changed while we were waiting on the lock.
    					// It may have been updated to our hash or something even newer,
    					// so don't overwrite it.
    					return
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    	SYS___SYSCTL             = 202 // { int|sys||__sysctl(const int *name, u_int namelen, void *old, size_t *oldlenp, const void *new, size_t newlen); }
    	SYS_MLOCK                = 203 // { int|sys||mlock(const void *addr, size_t len); }
    	SYS_MUNLOCK              = 204 // { int|sys||munlock(const void *addr, size_t len); }
    	SYS_UNDELETE             = 205 // { int|sys||undelete(const char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    func (p *Profile) updateLocationMapping(from, to *Mapping) {
    	for _, l := range p.Location {
    		if l.Mapping == from {
    			l.Mapping = to
    		}
    	}
    }
    
    func serialize(p *Profile) []byte {
    	p.encodeMu.Lock()
    	p.preEncode()
    	b := marshal(p)
    	p.encodeMu.Unlock()
    	return b
    }
    
    // Write writes the profile as a gzip-compressed marshaled protobuf.
    func (p *Profile) Write(w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "AtomicLoadAcq32", argLength: 2, typ: "(UInt32,Mem)"},                               // Load from arg0.  arg1=memory.  Lock acquisition, returns loaded value and new memory.
    	{name: "AtomicLoadAcq64", argLength: 2, typ: "(UInt64,Mem)"},                               // Load from arg0.  arg1=memory.  Lock acquisition, returns loaded value and new memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. src/cmd/covdata/tool_test.go

    	}
    	os.Setenv("CMDCOVDATA_TEST_RUN_MAIN", "true")
    	os.Exit(m.Run())
    }
    
    var tdmu sync.Mutex
    var tdcount int
    
    func tempDir(t *testing.T) string {
    	tdmu.Lock()
    	dir := filepath.Join(testTempDir, fmt.Sprintf("%03d", tdcount))
    	tdcount++
    	if err := os.Mkdir(dir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	defer tdmu.Unlock()
    	return dir
    }
    
    const debugtrace = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go

    	SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
    	SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
    	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE                 = 205 // { int undelete(char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go

    	SYS___SYSCTL                 = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int
    	SYS_MLOCK                    = 203 // { int mlock(const void *addr, size_t len); }
    	SYS_MUNLOCK                  = 204 // { int munlock(const void *addr, size_t len); }
    	SYS_UNDELETE                 = 205 // { int undelete(char *path); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top