Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for durant (0.17 sec)

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

    // Copyright 2016 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.
    
    //go:build cgo && !windows
    
    // Issue 18146: pthread_create failure during syscall.Exec.
    
    package cgotest
    
    import (
    	"bytes"
    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. api/go1.3.txt

    pkg syscall (openbsd-386), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
    pkg syscall (openbsd-386), type Dirent struct, Fileno uint64
    pkg syscall (openbsd-386), type Dirent struct, Off int64
    pkg syscall (openbsd-386), type Dirent struct, X__d_padding [4]uint8
    pkg syscall (openbsd-386), type FdSet struct, Bits [32]uint32
    pkg syscall (openbsd-386), type Kevent_t struct, Data int64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    				t.Errorf("bad initial data at %d %d", startLen, growLen)
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    and is not guaranteed to be the same from one iteration to the next.
    If a map entry that has not yet been reached is removed during iteration,
    the corresponding iteration value will not be produced. If a map entry is
    created during iteration, that entry may be produced during the iteration or
    may be skipped. The choice may vary for each entry created and from one
    iteration to the next.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Dirent struct
    pkg syscall (netbsd-arm64-cgo), type Dirent struct, Fileno uint64
    pkg syscall (netbsd-arm64-cgo), type Dirent struct, Name [512]int8
    pkg syscall (netbsd-arm64-cgo), type Dirent struct, Namlen uint16
    pkg syscall (netbsd-arm64-cgo), type Dirent struct, Pad_cgo_0 [3]uint8
    pkg syscall (netbsd-arm64-cgo), type Dirent struct, Reclen uint16
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback.go

    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func testCallbackGC(t *testing.T) {
    	nestedCall(runtime.GC)
    }
    
    func testCallbackPanic(t *testing.T) {
    	// 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")
    		}
    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)
  7. src/cmd/cgo/doc.go

    		_cgo_thread_start unsafe.Pointer
    	)
    
    Any package using cgo imports "runtime/cgo", which provides
    initializations for these variables. It sets iscgo to true, _cgo_init
    to a gcc-compiled function that can be called early during program
    startup, and _cgo_thread_start to a gcc-compiled function that can be
    used to create a new thread, in place of the runtime's usual direct
    system calls.
    
    Internal and External Linking
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    const MinRead = 512
    
    // ReadFrom reads data from r until EOF and appends it to the buffer, growing
    // the buffer as needed. The return value n is the number of bytes read. Any
    // error except io.EOF encountered during the read is also returned. If the
    // buffer becomes too large, ReadFrom will panic with [ErrTooLarge].
    func (b *Buffer) ReadFrom(r io.Reader) (n int64, err error) {
    	b.lastRead = opInvalid
    	for {
    		i := b.grow(MinRead)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (darwin-386), type Dirent struct
    pkg syscall (darwin-386), type Dirent struct, Ino uint64
    pkg syscall (darwin-386), type Dirent struct, Name [1024]int8
    pkg syscall (darwin-386), type Dirent struct, Namlen uint16
    pkg syscall (darwin-386), type Dirent struct, Pad_cgo_0 [3]uint8
    pkg syscall (darwin-386), type Dirent struct, Reclen uint16
    pkg syscall (darwin-386), type Dirent struct, Seekoff uint64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), type Dirent struct
    pkg syscall (freebsd-arm64), type Dirent struct, Fileno uint64
    pkg syscall (freebsd-arm64), type Dirent struct, Name [256]int8
    pkg syscall (freebsd-arm64), type Dirent struct, Namlen uint16
    pkg syscall (freebsd-arm64), type Dirent struct, Off int64
    pkg syscall (freebsd-arm64), type Dirent struct, Pad0 uint8
    pkg syscall (freebsd-arm64), type Dirent struct, Pad1 uint16
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
Back to top