- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 188 for aligned (0.21 sec)
-
src/hash/crc32/crc32_amd64.s
CMPQ CX, $8 JL less_than_8 MOVQ SI, BX ANDQ $7, BX JZ aligned // Process the first few bytes to 8-byte align the input. // BX = 8 - BX. We need to process this many bytes to align. SUBQ $1, BX XORQ $7, BX BTQ $0, BX JNC align_2 CRC32B (SI), AX DECQ CX INCQ SI align_2: BTQ $1, BX JNC align_4 CRC32W (SI), AX SUBQ $2, CX ADDQ $2, SI align_4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 01 21:52:00 UTC 2018 - 5.4K bytes - Viewed (0) -
src/go/printer/testdata/statements.golden
// this comment should be indented case 2: x = 0 // this comment should not be indented, it is aligned with the next case case 3: x = 0 /* indented comment aligned aligned */ // bla /* and more */ case 4: x = 0 /* not indented comment aligned aligned */ // bla /* and more */ case 5: } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 12 18:18:12 UTC 2014 - 8K bytes - Viewed (0) -
src/go/printer/testdata/statements.input
// this comment should be indented case 2: x = 0 // this comment should not be indented, it is aligned with the next case case 3: x = 0 /* indented comment aligned aligned */ // bla /* and more */ case 4: x = 0 /* not indented comment aligned aligned */ // bla /* and more */ case 5: } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes.go
// field's size. As with all element types, if the struct is used // in an array its size must first be aligned to a multiple of the // struct's alignment. // - All other types have size WordSize. // - Arrays and structs are aligned per spec definition; all other // types are naturally aligned with a maximum alignment MaxAlign. // // *StdSizes implements Sizes. type StdSizes struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.8K bytes - Viewed (0) -
src/go/types/sizes.go
// field's size. As with all element types, if the struct is used // in an array its size must first be aligned to a multiple of the // struct's alignment. // - All other types have size WordSize. // - Arrays and structs are aligned per spec definition; all other // types are naturally aligned with a maximum alignment MaxAlign. // // *StdSizes implements Sizes. type StdSizes struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/tls_arm.s
// on entry to any function, but only FreeBSD's C library seems to care. // The caller was 8-byte aligned, but we push an LR. // Declare a dummy word ($4, not $0) to make sure the // frame is 8 bytes and stays 8-byte-aligned. TEXT runtimeĀ·_initcgo(SB),NOSPLIT,$4 // if there is an _cgo_init, call it. MOVW _cgo_init(SB), R4 CMP $0, R4 B.EQ nocgo MRC 15, 0, R0, C13, C0, 3 // load TLS base pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:38:07 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/runtime_mmap_test.go
} } func TestPhysPageSize(t *testing.T) { // Mmap fails if the address is not page aligned, so we can // use this to test if the page size is the true page size. ps := runtime.GetPhysPageSize() // Get a region of memory to play with. This should be page-aligned. b, err := runtime.Mmap(nil, 2*ps, 0, runtime.MAP_ANON|runtime.MAP_PRIVATE, -1, 0) if err != 0 { t.Fatalf("Mmap: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 1.8K bytes - Viewed (0) -
src/runtime/align_test.go
// type the selector arg on some platforms. return } if p, ok := t.(*types.Pointer); ok { // Note: we assume here that the pointer p in p.foo is properly // aligned. We just check that foo is at a properly aligned offset. t = p.Elem() } else { v.checkAddr(n.X) } if t.Underlying() == t { v.t.Errorf("analysis can't handle unnamed type %s %v", v.fset.Position(n.Pos()), t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 08 14:52:12 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/mpagealloc_64bit.go
// // The base address of the backing store is always page-aligned, // because it comes from the OS, so it's sufficient to align the // index. haveMin := s.min.Load() haveMax := s.max.Load() needMin := alignDown(uintptr(chunkIndex(base)), physPageSize/scSize) needMax := alignUp(uintptr(chunkIndex(limit)), physPageSize/scSize)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 03 11:00:10 UTC 2024 - 9.3K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_s390x.s
MOVD R8, 0(R2) RET notfoundr0: XOR R0, R0 // reset R0 MOVD $-1, 0(R2) RET vectorimpl: //if the address is not 16byte aligned, use loop for the header MOVD R3, R8 AND $15, R8 CMPBGT R8, $0, notaligned aligned: ADD R6, R4, R8 MOVD R8, R7 AND $-16, R7 // replicate c across V17 VLVGB $0, R5, V19 VREPB $0, V19, V17 vectorloop: CMPBGE R3, R7, residual
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 08 20:52:47 UTC 2018 - 2.5K bytes - Viewed (0)