Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 189 for alignment (0.43 sec)

  1. internal/ioutil/ioutil.go

    	}
    	if !fi1.ModTime().Equal(fi2.ModTime()) {
    		return false
    	}
    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    
    // DirectioAlignSize - DirectIO alignment needs to be 4K. Defined here as
    // directio.AlignSize is defined as 0 in MacOS causing divide by 0 error.
    const DirectioAlignSize = 4096
    
    // CopyAligned - copies from reader to writer using the aligned input
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    // called with an active traceAcquire on the M (reentrant locking). This exists for
    // optimistically emitting events in the few contexts where tracing is now allowed.
    //
    // nosplit for alignment with traceTryAcquire, so it can be used in the
    // same contexts.
    //
    //go:nosplit
    func traceTryAcquire() traceLocker {
    	if !traceEnabled() {
    		return traceLocker{}
    	}
    	return traceTryAcquireEnabled()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/objfile.go

    		// compiler-emitted funcdata. If we dedup a string symbol and
    		// a non-string symbol with the same content, we should keep
    		// the largest alignment.
    		// TODO: maybe the compiler could set the alignment for all
    		// data symbols more carefully.
    		switch {
    		case strings.HasPrefix(s.Name, "go:string."),
    			strings.HasPrefix(name, "type:.namedata."),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    //
    // On non-Linux ARM, the 64-bit functions use instructions unavailable before the ARMv6k core.
    //
    // On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange
    // for 64-bit alignment of 64-bit words accessed atomically via the primitive
    // atomic functions (types [Int64] and [Uint64] are automatically aligned).
    // The first word in an allocated struct, array, or slice; in a global
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/runtime/runtime_test.go

    	}
    	type T3 struct {
    		n byte
    		z [4]struct{}
    	}
    	if unsafe.Sizeof(T3{}) != 2 {
    		t.Errorf("sizeof(%#v)==%d, want 2", T3{}, unsafe.Sizeof(T3{}))
    	}
    	// make sure padding can double for both zerosize and alignment
    	type T4 struct {
    		a int32
    		b int16
    		c int8
    		z struct{}
    	}
    	if unsafe.Sizeof(T4{}) != 8 {
    		t.Errorf("sizeof(%#v)==%d, want 8", T4{}, unsafe.Sizeof(T4{}))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/runtime/race_amd64.s

    	// Switch to g0 stack.
    	MOVQ	SP, R12		// callee-saved, preserved across the CALL
    	MOVQ	m_g0(R13), R10
    	CMPQ	R10, R14
    	JE	call	// already on g0
    	MOVQ	(g_sched+gobuf_sp)(R10), SP
    call:
    	ANDQ	$~15, SP	// alignment for gcc ABI
    	CALL	AX
    	MOVQ	R12, SP
    	// Back to Go world, set special registers.
    	// The g register (R14) is preserved in C.
    	XORPS	X15, X15
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. internal/rest/client.go

    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    	// is online or offline.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/block.go

    	BranchLikely   = BranchPrediction(+1)
    )
    
    type Hotness int8 // Could use negative numbers for specifically non-hot blocks, but don't, yet.
    const (
    	// These values are arranged in what seems to be order of increasing alignment importance.
    	// Currently only a few are relevant.  Implicitly, they are all in a loop.
    	HotNotFlowIn Hotness = 1 << iota // This block is only reached by branches
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    	}
    }
    
    // SymAlign returns the alignment for a symbol.
    func (l *Loader) SymAlign(i Sym) int32 {
    	if int(i) >= len(l.align) {
    		// align is extended lazily -- it the sym in question is
    		// outside the range of the existing slice, then we assume its
    		// alignment has not yet been set.
    		return 0
    	}
    	// TODO: would it make sense to return an arch-specific
    	// alignment depending on section type? E.g. STEXT => 32,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    - The _status scheme_ to influence interpretation of the `org.gradle.status` attribute during version selection
    - The _belongsTo_ property for <<component_capabilities.adoc#sec:declaring-capabilities-external-modules,version alignment through virtual platforms>>
    
    Depending on the format of the metadata of a module, it is mapped differently to the variant-centric representation of the metadata:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top