Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 114 for alignof (0.24 sec)

  1. src/cmd/link/internal/ld/data.go

    	min := int32(thearch.Minalign)
    	align := ldr.SymAlign(s)
    	if align >= min {
    		return align
    	} else if align != 0 {
    		return min
    	}
    	align = int32(thearch.Maxalign)
    	ssz := ldr.SymSize(s)
    	for int64(align) > ssz && align > min {
    		align >>= 1
    	}
    	ldr.SetSymAlign(s, align)
    	return align
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  2. subprojects/distributions-dependencies/build.gradle.kts

     * Ideally we wound be able to say "lock down all the versions of the dependencies resolved for the distribution"
     */
    plugins {
        id("gradlebuild.platform")
    }
    
    description = "Provides a platform dependency to align all distribution versions"
    
    val antVersion = "1.10.13"
    // Don't forget to bump versions in
    // subprojects/base-services/src/main/java/org/gradle/internal/classanalysis/AsmConstants.java
    // when upgrading ASM.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    // for declaring its arch-specific opcodes.
    // Within this subspace, the first arch-specific opcode should be
    // at offset A_ARCHSPECIFIC.
    //
    // Subspaces are aligned to a power of two so opcodes can be masked
    // with AMask and used as compact array indices.
    const (
    	ABase386 = (1 + iota) << 11
    	ABaseARM
    	ABaseAMD64
    	ABasePPC64
    	ABaseARM64
    	ABaseMIPS
    	ABaseLoong64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	typs[108] = types.NewStruct([]*types.Field{types.NewField(src.NoXPos, Lookup("enabled"), typs[6]), types.NewField(src.NoXPos, Lookup("pad"), typs[107]), types.NewField(src.NoXPos, Lookup("cgo"), typs[6]), types.NewField(src.NoXPos, Lookup("alignme"), typs[24])})
    	typs[109] = newSig(params(typs[1], typs[3], typs[3]), nil)
    	typs[110] = newSig(params(typs[1], typs[3]), nil)
    	typs[111] = newSig(params(typs[1], typs[3], typs[15], typs[3], typs[15]), params(typs[15]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/UnsignedBytes.java

          static final int BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          static {
            // fall back to the safer pure java implementation unless we're in
            // a 64-bit JVM with an 8-byte aligned field offset.
            if (!("64".equals(System.getProperty("sun.arch.data.model"))
                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
                // sanity check - this should never fail
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 ~ /^BUS_(USB|HIL|BLUETOOTH|VIRTUAL)$/ ||
    		$2 ~ /^MTD/ ||
    		$2 ~ /^OTP/ ||
    		$2 ~ /^MEM/ ||
    		$2 ~ /^WG/ ||
    		$2 ~ /^FIB_RULE_/ ||
    		$2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE|IOMIN$|IOOPT$|ALIGNOFF$|DISCARD|ROTATIONAL$|ZEROOUT$|GETDISKSEQ$)/ {printf("\t%s = C.%s\n", $2, $2)}
    		$2 ~ /^__WCOREFLAG$/ {next}
    		$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
    
    		{next}
    	' | sort
    
    	echo ')'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. src/reflect/value.go

    	} else if v.flag&flagIndir != 0 && !t.IfaceIndir() {
    		*(*unsafe.Pointer)(p) = *(*unsafe.Pointer)(v.ptr)
    	} else {
    		*(*unsafe.Pointer)(p) = v.ptr
    	}
    }
    
    // align returns the result of rounding x up to a multiple of n.
    // n must be a power of two.
    func align(x, n uintptr) uintptr {
    	return (x + n - 1) &^ (n - 1)
    }
    
    // callMethod is the call implementation used by a function returned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. src/runtime/asm_arm64.s

    	MOVD	m_g0(R8), g
    	BL	runtime·save_g(SB)
    	MOVD	(g_sched+gobuf_sp)(g), R0
    	MOVD	R0, RSP
    	MOVD	(g_sched+gobuf_bp)(g), R29
    	MOVD.W	$0, -16(RSP)	// create a call frame on g0 (saved LR; keep 16-aligned)
    	BL	runtime·newstack(SB)
    
    	// Not reached, but make sure the return PC from the call to newstack
    	// is still in this function, and not the beginning of the next.
    	UNDEF
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          static final int BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          static {
            // fall back to the safer pure java implementation unless we're in
            // a 64-bit JVM with an 8-byte aligned field offset.
            if (!("64".equals(System.getProperty("sun.arch.data.model"))
                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
                // sanity check - this should never fail
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/internal/trace/testtrace/validation.go

    				e.Errorf("label for invalid thread %d", id)
    			}
    		}
    	case trace.EventStackSample:
    		// Not much to check here. It's basically a sched context and a stack.
    		// The sched context is also not guaranteed to align with other events.
    		// We already checked the stack above.
    	case trace.EventStateTransition:
    		// Validate state transitions.
    		//
    		// TODO(mknyszek): A lot of logic is duplicated between goroutines and procs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top