Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 388 for alignment (0.17 sec)

  1. src/runtime/sys_netbsd_amd64.s

    	RET
    
    TEXT runtime·sigfwd(SB),NOSPLIT,$0-32
    	MOVQ	fn+0(FP),    AX
    	MOVL	sig+8(FP),   DI
    	MOVQ	info+16(FP), SI
    	MOVQ	ctx+24(FP),  DX
    	MOVQ	SP, BX		// callee-saved
    	ANDQ	$~15, SP	// alignment for x86_64 ABI
    	CALL	AX
    	MOVQ	BX, SP
    	RET
    
    // Called using C ABI.
    TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
    	// Transition from C ABI to Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. src/runtime/malloc_test.go

    type obj12 struct {
    	a uint64
    	b uint32
    }
    
    func TestTinyAllocIssue37262(t *testing.T) {
    	if runtime.Raceenabled {
    		t.Skip("tinyalloc suppressed when running in race mode")
    	}
    	// Try to cause an alignment access fault
    	// by atomically accessing the first 64-bit
    	// value of a tiny-allocated object.
    	// See issue 37262 for details.
    
    	// GC twice, once to reach a stable heap state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K 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/vendor/golang.org/x/net/route/address.go

    				return nil, err
    			}
    			as[i] = a
    			l := roundup(int(b[0]))
    			if len(b) < l {
    				return nil, errMessageTooShort
    			}
    			b = b[l:]
    		}
    	}
    	// The only remaining bytes in b should be alignment.
    	// However, under some circumstances DragonFly BSD appears to put
    	// more addresses in the message than are indicated in the address
    	// bitmask, so don't check for this.
    	return as[:], nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. src/runtime/sys_netbsd_arm.s

    	MOVW.CS R8, (R8)
    	RET
    
    TEXT runtime·sigfwd(SB),NOSPLIT,$0-16
    	MOVW	sig+4(FP), R0
    	MOVW	info+8(FP), R1
    	MOVW	ctx+12(FP), R2
    	MOVW	fn+0(FP), R11
    	MOVW	R13, R4
    	SUB	$24, R13
    	BIC	$0x7, R13 // alignment for ELF ABI
    	BL	(R11)
    	MOVW	R4, R13
    	RET
    
    TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME,$0
    	// Reserve space for callee-save registers and arguments.
    	MOVM.DB.W [R4-R11], (R13)
    	SUB	$16, R13
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader_test.go

    		}
    		nv := int64(i + 101)
    		ldr.SetSymValue(s, nv)
    		if v := ldr.SymValue(s); v != nv {
    			t.Errorf("ldr.SetValue(%d,%d): expected %d got %d\n", s, nv, nv, v)
    		}
    	}
    
    	// Check/set alignment
    	es3al := ldr.SymAlign(es3)
    	if es3al != 0 {
    		t.Errorf("SymAlign(es3): expected 0, got %d", es3al)
    	}
    	ldr.SetSymAlign(es3, 128)
    	es3al = ldr.SymAlign(es3)
    	if es3al != 128 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/ForcingUsingStrictlyPlatformAlignmentTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.integtests.resolve.alignment
    
    import org.gradle.integtests.fixtures.GradleMetadataResolveRunner
    import org.gradle.integtests.fixtures.RequiredFeature
    import org.gradle.integtests.fixtures.publish.RemoteRepositorySpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  8. src/runtime/map_benchmark_test.go

    		sum += m[strings[idx]]
    		idx++
    		if idx == size {
    			idx = 0
    		}
    	}
    }
    
    type chunk [17]byte
    
    func BenchmarkHashBytesSpeed(b *testing.B) {
    	// a bunch of chunks, each with a different alignment mod 16
    	var chunks [size]chunk
    	// initialize each to a different value
    	for i := 0; i < size; i++ {
    		chunks[i][0] = byte(i)
    	}
    	// put into a map
    	m := make(map[chunk]int, size)
    	for i, c := range chunks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. 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)
  10. src/go/printer/testdata/expressions.input

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
Back to top