Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for chars (0.03 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    	if len(name) >= IFNAMSIZ {
    		return nil, EINVAL
    	}
    
    	var ifr ifreq
    	copy(ifr.Ifrn[:], name)
    
    	return &Ifreq{raw: ifr}, nil
    }
    
    // TODO(mdlayher): get/set methods for hardware address sockaddr, char array, etc.
    
    // Name returns the interface name associated with the Ifreq.
    func (ifr *Ifreq) Name() string {
    	return ByteSliceToString(ifr.raw.Ifrn[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(&ints[0]), &ints[0], &ints[1], &ints[2]),
    	ct(reflect.TypeOf(unsafe.Pointer(&ints[0])), unsafe.Pointer(&ints[0]), unsafe.Pointer(&ints[1]), unsafe.Pointer(&ints[2])),
    	ct(reflect.TypeOf(chans[0]), chans[0], chans[1], chans[2]),
    	ct(reflect.TypeOf(toy{}), toy{0, 1}, toy{0, 2}, toy{1, -1}, toy{1, 1}),
    	ct(reflect.TypeOf([2]int{}), [2]int{1, 1}, [2]int{1, 2}, [2]int{2, 0}),
    	ct(reflect.TypeOf(any(0)), iFace, 1, 2, 3),
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build riscv64 && freebsd
    
    package unix
    
    const (
    	SizeofPtr      = 0x8
    	SizeofShort    = 0x2
    	SizeofInt      = 0x4
    	SizeofLong     = 0x8
    	SizeofLongLong = 0x8
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. src/path/filepath/match.go

    	return star, pattern[0:i], pattern[i:]
    }
    
    // matchChunk checks whether chunk matches the beginning of s.
    // If so, it returns the remainder of s (after the match).
    // Chunk is all single-character operators: literals, char classes, and ?.
    func matchChunk(chunk, s string) (rest string, ok bool, err error) {
    	// failed records whether the match has failed.
    	// After the match fails, the loop continues on processing chunk,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/map.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package orderedmap provides an ordered map, implemented as a binary tree.
    package orderedmap
    
    import "chans"
    
    // Map is an ordered map.
    type Map[K, V any] struct {
    	root    *node[K, V]
    	compare func(K, K) int
    }
    
    // node is the type of a node in the binary tree.
    type node[K, V any] struct {
    	key         K
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top