Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for unlocked (0.64 sec)

  1. src/cmd/trace/procgen.go

    	}
    
    	if from == trace.GoWaiting {
    		// Goroutine was unblocked.
    		gs.unblock(ev.Time(), ev.Stack(), ev.Proc(), ctx)
    	}
    	if from == trace.GoNotExist && to == trace.GoRunnable {
    		// Goroutine was created.
    		gs.created(ev.Time(), ev.Proc(), ev.Stack())
    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Goroutine exited a blocked syscall.
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Retransmits    uint8
    	Probes         uint8
    	Backoff        uint8
    	Options        uint8
    	Rto            uint32
    	Ato            uint32
    	Snd_mss        uint32
    	Rcv_mss        uint32
    	Unacked        uint32
    	Sacked         uint32
    	Lost           uint32
    	Retrans        uint32
    	Fackets        uint32
    	Last_data_sent uint32
    	Last_ack_sent  uint32
    	Last_data_recv uint32
    	Last_ack_recv  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/lockedfile/internal/filelock/filelock.go

    // ensure that Unlock is always called if RLock succeeds.
    func RLock(f File) error {
    	return lock(f, readLock)
    }
    
    // Unlock removes an advisory lock placed on f by this process.
    //
    // The caller must not attempt to unlock a file that is not locked.
    func Unlock(f File) error {
    	return unlock(f)
    }
    
    // String returns the name of the function corresponding to lt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"TCPInfo.Snd_cwnd", Field, 1},
    		{"TCPInfo.Snd_mss", Field, 1},
    		{"TCPInfo.Snd_ssthresh", Field, 1},
    		{"TCPInfo.State", Field, 1},
    		{"TCPInfo.Total_retrans", Field, 1},
    		{"TCPInfo.Unacked", Field, 1},
    		{"TCPKeepalive", Type, 3},
    		{"TCPKeepalive.Interval", Field, 3},
    		{"TCPKeepalive.OnOff", Field, 3},
    		{"TCPKeepalive.Time", Field, 3},
    		{"TCP_CA_NAME_MAX", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/lockedfile/lockedfile.go

    package lockedfile
    
    import (
    	"fmt"
    	"io"
    	"io/fs"
    	"os"
    	"runtime"
    )
    
    // A File is a locked *os.File.
    //
    // Closing the file releases the lock.
    //
    // If the program exits while a file is locked, the operating system releases
    // the lock but may not do so promptly: callers must ensure that all locked
    // files are closed before exiting.
    type File struct {
    	osFile
    	closed bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/sumdb/test.go

    	key := m.String()
    	s.mu.Lock()
    	id, ok := s.lookup[key]
    	s.mu.Unlock()
    	if ok {
    		return id, nil
    	}
    
    	// Look up module and compute go.sum lines.
    	data, err := s.gosum(m.Path, m.Version)
    	if err != nil {
    		return 0, err
    	}
    
    	s.mu.Lock()
    	defer s.mu.Unlock()
    
    	// We ran the fetch without the lock.
    	// If another fetch happened and committed, use it instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go

    	writeLock
    )
    
    func lock(f File, lt lockType) error {
    	return &fs.PathError{
    		Op:   lt.String(),
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    }
    
    func unlock(f File) error {
    	return &fs.PathError{
    		Op:   "Unlock",
    		Path: f.Name(),
    		Err:  errors.ErrUnsupported,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 563 bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/hash.go

    	h.Sum(out[:0])
    	if debugHash {
    		fmt.Fprintf(os.Stderr, "HASH subkey %x %q = %x\n", parent, desc, out)
    	}
    	if verify {
    		hashDebug.Lock()
    		hashDebug.m[out] = fmt.Sprintf("subkey %x %q", parent, desc)
    		hashDebug.Unlock()
    	}
    	return out
    }
    
    // NewHash returns a new Hash.
    // The caller is expected to Write data to it and then call Sum.
    func NewHash(name string) *Hash {
    	h := &Hash{h: sha256.New(), name: name}
    	if debugHash {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 16:18:34 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/mutex.go

    }
    
    // Lock attempts to lock the Mutex.
    //
    // If successful, Lock returns a non-nil unlock function: it is provided as a
    // return-value instead of a separate method to remind the caller to check the
    // accompanying error. (See https://golang.org/issue/20803.)
    func (mu *Mutex) Lock() (unlock func(), err error) {
    	if mu.Path == "" {
    		panic("lockedfile.Mutex: missing Path during Lock")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 17:17:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go

    func isOpen() bool {
    	openedMu.Lock()
    	defer openedMu.Unlock()
    	return opened
    }
    
    // Open enables telemetry data writing to disk.
    // This is supposed to be called once during the program execution
    // (i.e. typically in TestMain), and must not be used with
    // golang.org/x/telemetry/counter.Open.
    func Open(telemetryDir string) {
    	openedMu.Lock()
    	defer openedMu.Unlock()
    	if opened {
    		panic("Open was called more than once")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top