Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 228 for alignUp (0.13 sec)

  1. src/cmd/compile/internal/types2/builtins.go

    		x.mode = value
    		x.typ = Typ[UnsafePointer]
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(x.typ, x.typ, y.typ))
    		}
    
    	case _Alignof:
    		// unsafe.Alignof(x T) uintptr
    		check.assignment(x, nil, "argument to unsafe.Alignof")
    		if x.mode == invalid {
    			return
    		}
    
    		if hasVarSize(x.typ, nil) {
    			x.mode = value
    			if check.recordTypes() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loadmacho/ldmacho.go

    	initprot uint32
    	nsect    uint32
    	flags    uint32
    	sect     []ldMachoSect
    }
    
    type ldMachoSect struct {
    	name    string
    	segname string
    	addr    uint64
    	size    uint64
    	off     uint32
    	align   uint32
    	reloff  uint32
    	nreloc  uint32
    	flags   uint32
    	res1    uint32
    	res2    uint32
    	sym     loader.Sym
    	rel     []ldMachoRel
    }
    
    type ldMachoRel struct {
    	addr      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  3. src/runtime/sys_linux_mips64x.s

    	MOVV	m_curg(R17), R4
    	MOVV	g, R5
    	BNE	R4, R5, noswitch
    
    	MOVV	m_g0(R17), R4
    	MOVV	(g_sched+gobuf_sp)(R4), R1	// Set SP to g0 stack
    
    noswitch:
    	SUBV	$16, R1
    	AND	$~15, R1	// Align for C code
    	MOVV	R1, R29
    
    	MOVW	$0, R4 // CLOCK_REALTIME
    	MOVV	$0(R29), R5
    
    	MOVV	runtime·vdsoClockgettimeSym(SB), R25
    	BEQ	R25, fallback
    
    	JAL	(R25)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 12K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	case *ast.Ident:
    		id = fun
    	case *ast.SelectorExpr:
    		id = fun.Sel
    	}
    	if fun, ok := pass.TypesInfo.Uses[id].(*types.Builtin); ok {
    		switch fun.Name() {
    		case "new", "len", "cap", "Sizeof", "Offsetof", "Alignof":
    			return
    		}
    	}
    	for _, x := range ce.Args {
    		if path := lockPathRhs(pass, x); path != nil {
    			pass.ReportRangef(x, "call of %s copies lock value: %v", analysisutil.Format(pass.Fset, ce.Fun), path)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    				NUMANodeAffinity: makeSocketMask(1, 3),
    				Preferred:        true,
    			},
    			expectedAlignment: map[int]int{1: 2, 3: 2},
    		},
    		{
    			description: "Request for 5, socket 0, preferred aligned accepted",
    			resource:    "resource",
    			request:     5,
    			devices: func() []pluginapi.Device {
    				devices := []pluginapi.Device{}
    				for i := 0; i < 100; i++ {
    					id := fmt.Sprintf("Dev%d", i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadelf/ldelf.go

    	name        string
    	nameoff     uint32
    	type_       elf.SectionType
    	flags       elf.SectionFlag
    	addr        uint64
    	off         uint64
    	size        uint64
    	link        uint32
    	info        uint32
    	align       uint64
    	entsize     uint64
    	base        []byte
    	readOnlyMem bool // Is this section in readonly memory?
    	sym         loader.Sym
    }
    
    type ElfObj struct {
    	f         *bio.Reader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. src/main/webapp/js/suggestor.js

                $boxElement.addClass("suggestorBox");
    
                //style sheet
                $boxElement.css("display", "none");
                $boxElement.css("position", "absolute");
                $boxElement.css("text-align", "left");
                $boxElement.css("font-size", $element.css("font-size"));
                if (typeof setting.boxCssInfo === "undefined") {
                  $boxElement.css("border", "1px solid #cccccc");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_riscv64.s

    	MOV	T1, m_vdsoSP(S3)
    
    	MOV	m_curg(S3), T1
    	BNE	g, T1, noswitch
    
    	MOV	m_g0(S3), T1
    	MOV	(g_sched+gobuf_sp)(T1), X2
    
    noswitch:
    	SUB	$24, X2 // Space for result
    	ANDI	$~7, X2 // Align for C code
    	MOV	$8(X2), A1
    
    	// Store g on gsignal's stack, see sys_linux_arm64.s for detail
    	MOVBU	runtime·iscgo(SB), S4
    	BNEZ	S4, nosaveg
    	MOV	m_gsignal(S3), S4 // g.m.gsignal
    	BEQZ	S4, nosaveg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux.go

    	// Peeks returns the word in *data, not as the return value.
    
    	var buf [sizeofPtr]byte
    
    	// Leading edge. PEEKTEXT/PEEKDATA don't require aligned
    	// access (PEEKUSER warns that it might), but if we don't
    	// align our reads, we might straddle an unmapped page
    	// boundary and not get the bytes leading up to the page
    	// boundary.
    	n := 0
    	if addr%sizeofPtr != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_s390x.s

    	CMP		g, R5
    	BNE		noswitch
    
    	MOVD	m_g0(R6), R4
    	MOVD	(g_sched+gobuf_sp)(R4), R15	// Set SP to g0 stack
    
    noswitch:
    	SUB		$16, R15		// reserve 2x 8 bytes for parameters
    	MOVD	$~7, R4			// align to 8 bytes because of gcc ABI
    	AND		R4, R15
    	MOVD	R15, R3			// R15 needs to be in R3 as expected by kernel_clock_gettime
    
    	MOVB	runtime·iscgo(SB),R12
    	CMPBNE	R12, $0, nosaveg
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top