Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for Namelen (0.2 sec)

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

    	Address   [4]byte /* in_addr */
    	Ifindex   int32
    }
    
    type IPv6Mreq struct {
    	Multiaddr [16]byte /* in6_addr */
    	Interface uint32
    }
    
    type Msghdr struct {
    	Name       *byte
    	Namelen    uint32
    	Iov        *Iovec
    	Iovlen     int32
    	Control    *byte
    	Controllen uint32
    	Flags      int32
    }
    
    type Cmsghdr struct {
    	Len   uint32
    	Level int32
    	Type  int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. src/runtime/sys_freebsd_386.s

    	MOVL	$SYS_sysarch, AX
    	INT	$0x80
    	JAE	2(PC)
    	INT	$3
    	RET
    
    TEXT runtime·sysctl(SB),NOSPLIT,$28
    	LEAL	mib+0(FP), SI
    	LEAL	4(SP), DI
    	CLD
    	MOVSL				// arg 1 - name
    	MOVSL				// arg 2 - namelen
    	MOVSL				// arg 3 - oldp
    	MOVSL				// arg 4 - oldlenp
    	MOVSL				// arg 5 - newp
    	MOVSL				// arg 6 - newlen
    	MOVL	$SYS___sysctl, AX
    	INT	$0x80
    	JAE	4(PC)
    	NEGL	AX
    	MOVL	AX, ret+24(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. src/runtime/sys_dragonfly_amd64.s

    	MOVQ	$472, AX		// set_tls_area
    	SYSCALL
    	JCC	2(PC)
    	MOVL	$0xf1, 0xf1  // crash
    	RET
    
    TEXT runtime·sysctl(SB),NOSPLIT,$0
    	MOVQ	mib+0(FP), DI		// arg 1 - name
    	MOVL	miblen+8(FP), SI		// arg 2 - namelen
    	MOVQ	out+16(FP), DX		// arg 3 - oldp
    	MOVQ	size+24(FP), R10		// arg 4 - oldlenp
    	MOVQ	dst+32(FP), R8		// arg 5 - newp
    	MOVQ	ndst+40(FP), R9		// arg 6 - newlen
    	MOVQ	$202, AX		// sys___sysctl
    	SYSCALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. src/runtime/sys_netbsd_386.s

    	MOVL	$SYS__lwp_self, AX
    	INT	$0x80
    	MOVL	AX, ret+0(FP)
    	RET
    
    TEXT runtime·sysctl(SB),NOSPLIT,$28
    	LEAL	mib+0(FP), SI
    	LEAL	4(SP), DI
    	CLD
    	MOVSL				// arg 1 - name
    	MOVSL				// arg 2 - namelen
    	MOVSL				// arg 3 - oldp
    	MOVSL				// arg 4 - oldlenp
    	MOVSL				// arg 5 - newp
    	MOVSL				// arg 6 - newlen
    	MOVL	$SYS___sysctl, AX
    	INT	$0x80
    	JAE	4(PC)
    	NEGL	AX
    	MOVL	AX, ret+24(FP)
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. src/runtime/sys_netbsd_arm64.s

    	SVC	$SYS___sigaltstack14
    	BCS	fail
    	RET
    fail:
    	MOVD	$0, R0
    	MOVD	R0, (R0)		// crash
    
    TEXT runtime·sysctl(SB),NOSPLIT,$0
    	MOVD	mib+0(FP), R0		// arg 1 - name
    	MOVW	miblen+8(FP), R1	// arg 2 - namelen
    	MOVD	out+16(FP), R2		// arg 3 - oldp
    	MOVD	size+24(FP), R3		// arg 4 - oldlenp
    	MOVD	dst+32(FP), R4		// arg 5 - newp
    	MOVD	ndst+40(FP), R5		// arg 6 - newlen
    	SVC	$SYS___sysctl
    	BCC	ok
    	NEG	R0, R0
    ok:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. pkg/test/util/yml/cache_test.go

    	g.Expect(err).To(BeNil())
    
    	keys := c.AllKeys()
    	g.Expect(keys).To(HaveLen(1))
    	g.Expect(keys1).To(HaveLen(1))
    	g.Expect(keys2).To(HaveLen(1))
    	g.Expect(keys).To(ContainElement(keys1[0]))
    	g.Expect(keys).To(ContainElement(keys2[0]))
    
    	items, err := os.ReadDir(d)
    	g.Expect(err).To(BeNil())
    	g.Expect(items).To(HaveLen(1))
    }
    
    func TestCache_Clear(t *testing.T) {
    	g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. src/crypto/sha1/sha1block_amd64.go

    		// We may add checks inside blockAVX2, but this will
    		// just turn it into a copy of blockAMD64,
    		// so call it directly, instead.
    		safeLen := len(p) - 128
    		if safeLen%128 != 0 {
    			safeLen -= 64
    		}
    		blockAVX2(dig, p[:safeLen])
    		blockAMD64(dig, p[safeLen:])
    	} else {
    		blockAMD64(dig, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 926 bytes
    - Viewed (0)
  8. pkg/config/analysis/local/analyze_test.go

    	src := model.NewFakeStore()
    	sa.AddSource(dfCache{ConfigStore: src})
    	assert.Equal(t, sa.meshCfg, mesh.DefaultMeshConfig()) // Base default meshcfg
    	g.Expect(sa.meshNetworks.Networks).To(HaveLen(0))
    	g.Expect(sa.stores).To(HaveLen(1))
    }
    
    func TestAddRunningKubeSource(t *testing.T) {
    	g := NewWithT(t)
    
    	mk := kube.NewFakeClient()
    
    	sa := NewSourceAnalyzer(blankCombinedAnalyzer, "", "", nil)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/os/dirent_dragonfly.go

    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namlen, ok := direntNamlen(buf)
    	if !ok {
    		return 0, false
    	}
    	return (16 + namlen + 1 + 7) &^ 7, true
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntType(buf []byte) FileMode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. src/syscall/dirent.go

    		if ino == 0 && runtime.GOOS != "wasip1" { // File absent in directory.
    			continue
    		}
    		const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
    		namlen, ok := direntNamlen(rec)
    		if !ok || namoff+namlen > uint64(len(rec)) {
    			break
    		}
    		name := rec[namoff : namoff+namlen]
    		for i, c := range name {
    			if c == 0 {
    				name = name[:i]
    				break
    			}
    		}
    		// Check for useless names before allocating a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top