Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Tocker (2.96 sec)

  1. src/cmd/cgo/internal/test/callback.go

    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    		t.Fatal("locked OS thread on entry to TestCallbackPanic")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if lockedOSThread() {
    			t.Fatal("locked OS thread on exit from TestCallbackPanic")
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    	Unlock()
    }
    </pre>
    
    <p>
    If <code>S1</code> and <code>S2</code> also implement
    </p>
    
    <pre>
    func (p T) Lock() { … }
    func (p T) Unlock() { … }
    </pre>
    
    <p>
    they implement the <code>Locker</code> interface as well
    as the <code>File</code> interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    	// symabis scans the symbol ABIs from sfiles and returns the
    	// path to the output symbol ABIs file, or "" if none.
    	symabis(b *Builder, a *Action, sfiles []string) (string, error)
    	// pack runs the archive packer in a specific directory to create
    	// an archive from a set of object files.
    	// typically it is run in the object directory.
    	pack(b *Builder, a *Action, afile string, ofiles []string) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top