Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for len (0.12 sec)

  1. doc/go1.17_spec.html

    and whose length and capacity are <code>len</code>.
    <code>Slice(ptr, len)</code> is equivalent to
    </p>
    
    <pre>
    (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:]
    </pre>
    
    <p>
    except that, as a special case, if <code>ptr</code>
    is <code>nil</code> and <code>len</code> is zero,
    <code>Slice</code> returns <code>nil</code>.
    </p>
    
    <p>
    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)
  2. api/go1.3.txt

    pkg syscall (linux-386), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
    pkg syscall (linux-386), type Flock_t struct
    pkg syscall (linux-386), type Flock_t struct, Len int64
    pkg syscall (linux-386), type Flock_t struct, Pid int32
    pkg syscall (linux-386), type Flock_t struct, Start int64
    pkg syscall (linux-386), type Flock_t struct, Type int16
    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/cmd/cgo/internal/test/callback.go

    		"test.testCallbackCallers",
    		"test.TestCallbackCallers",
    		"testing.tRunner",
    		"runtime.goexit",
    	}
    	nestedCall(func() {
    		n = runtime.Callers(4, pc)
    	})
    	if n != len(name) {
    		t.Errorf("expected %d frames, got %d", len(name), n)
    	}
    	for i := 0; i < n; i++ {
    		f := runtime.FuncForPC(pc[i] - 1) // TODO: use runtime.CallersFrames
    		if f == nil {
    			t.Fatalf("expected non-nil Func for pc %d", pc[i])
    		}
    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)
Back to top