Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for msgsync (0.12 sec)

  1. test/fixedbugs/issue19467.dir/mysync.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package mysync
    
    import "runtime"
    
    type WaitGroup struct {
    	Callers []uintptr
    }
    
    func (wg *WaitGroup) Add(x int) {
    	wg.Callers = make([]uintptr, 32)
    	n := runtime.Callers(1, wg.Callers)
    	wg.Callers = wg.Callers[:n]
    }
    
    func (wg *WaitGroup) Done() {
    	wg.Add(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 17:27:49 UTC 2017
    - 421 bytes
    - Viewed (0)
  2. test/fixedbugs/issue19467.dir/z.go

    package main
    
    import (
    	"log"
    	"runtime"
    
    	"./mysync"
    )
    
    func main() {
    	var wg mysync.WaitGroup
    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/msync_darwin_libc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin
    
    package ld
    
    import _ "unsafe" // for go:linkname
    
    //go:linkname msync syscall.msync
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 307 bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

    /**
     * @author mbechler
     *
     */
    public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response {
    
        /**
         * 
         * @return is an async response
         */
        boolean isAsync ();
    
    
        /**
         * 
         * @return the next response
         */
        @Override
        CommonServerMessageBlockResponse getNextResponse ();
    
    
        /**
         * @param next
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#received()
         */
        @Override
        public final void received () {
            if ( isAsync() && getStatus() == NtStatus.NT_STATUS_PENDING ) {
                synchronized ( this ) {
                    notifyAll();
                }
                return;
            }
            this.received = true;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  6. src/syscall/linkname_darwin.go

    //go:linkname readdir_r
    
    // used by internal/poll
    //go:linkname fdopendir
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    
    // used by cmd/link
    //go:linkname msync
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 468 bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/outbuf_darwin.go

    	// When we mmap the output buffer, it doesn't have a code signature
    	// (as we haven't generated one). Invalidate the kernel cache now that
    	// we have generated the signature. See issue #42684.
    	msync(out.buf, syscall.MS_INVALIDATE)
    	// Best effort. Ignore error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 13 15:50:02 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. src/syscall/ztypes_aix_ppc64.go

    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int64
    	Ixrss    int64
    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Pid_t int32
    
    type _Gid_t uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int32
    	Ixrss    int32
    	Idrss    int32
    	Isrss    int32
    	Minflt   int32
    	Majflt   int32
    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    type _Gid_t uint32
    
    type dev_t uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/syscall/ztypes_solaris_amd64.go

    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int64
    	Ixrss    int64
    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type _Pid_t int32
    
    type _Gid_t uint32
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
Back to top