Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for locked (0.24 sec)

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

    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    			t.Fatalf("cgo has not locked OS thread")
    		}
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  2. 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")
    		}
    	}()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    	{"[):[o-FP", ""},     // Issue 12469 - there was no infinite loop for ARM; these are just sanity checks.
    	{"[):[R0-FP", ""},
    	{"(", ""}, // Issue 12466 - backed up before beginning of line.
    }
    
    var ppc64OperandTests = []operandTest{
    	{"$((1<<63)-1)", "$9223372036854775807"},
    	{"$(-64*1024)", "$-65536"},
    	{"$(1024 * 8)", "$8192"},
    	{"$-1", "$-1"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. 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.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg syscall (darwin-386), const IXON ideal-int
    pkg syscall (darwin-386), const ImplementsGetwd = false
    pkg syscall (darwin-386), const LOCK_EX = 2
    pkg syscall (darwin-386), const LOCK_NB = 4
    pkg syscall (darwin-386), const LOCK_SH = 1
    pkg syscall (darwin-386), const LOCK_UN = 8
    pkg syscall (darwin-386), const MADV_CAN_REUSE = 9
    pkg syscall (darwin-386), const MADV_DONTNEED = 4
    pkg syscall (darwin-386), const MADV_FREE = 5
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    //	specify a different capacity; it must be no smaller than the
    //	length. For example, make([]int, 0, 10) allocates an underlying array
    //	of size 10 and returns a slice of length 0 and capacity 10 that is
    //	backed by this underlying array.
    //	Map: An empty map is allocated with enough space to hold the
    //	specified number of elements. The size may be omitted, in which case
    //	a small starting size is allocated.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. doc/go_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.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const IXOFF ideal-int
    pkg syscall (freebsd-386-cgo), const IXON ideal-int
    pkg syscall (freebsd-386-cgo), const LOCK_EX ideal-int
    pkg syscall (freebsd-386-cgo), const LOCK_NB ideal-int
    pkg syscall (freebsd-386-cgo), const LOCK_SH ideal-int
    pkg syscall (freebsd-386-cgo), const LOCK_UN ideal-int
    pkg syscall (freebsd-386-cgo), const MADV_AUTOSYNC ideal-int
    pkg syscall (freebsd-386-cgo), const MADV_CORE ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const LOCK_EX = 2 #53466
    pkg syscall (freebsd-riscv64), const LOCK_EX ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB = 4 #53466
    pkg syscall (freebsd-riscv64), const LOCK_NB ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH = 1 #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_UN = 8 #53466
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  10. src/archive/zip/struct.go

    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    	// IDs 0..31 are reserved for official use by PKWARE.
    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    	// have been invented. Pervasive use effectively makes them "official".
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top