- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 321 for Alignment (0.19 sec)
-
src/cmd/link/elf_test.go
t.Errorf("section %s should not allocated with addr %x", s.Name, s.Addr) } } } func TestFlagR(t *testing.T) { // Test that using the -R flag to specify a (large) alignment generates // a working binary. // (Test only on ELF for now. The alignment allowed differs from platform // to platform.) testenv.MustHaveGoBuild(t) t.Parallel() tmpdir := t.TempDir() src := filepath.Join(tmpdir, "x.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm.s
// note the C runtime only passes the 32-bit offset_lo to us MOVW fd+16(FP), R4 // arg 5 MOVW R4, 4(R13) MOVW off+20(FP), R5 // arg 6 lower 32-bit // the word at 8(R13) is skipped due to 64-bit argument alignment. MOVW R5, 12(R13) MOVW $0, R6 // higher 32-bit for arg 6 MOVW R6, 16(R13) ADD $4, R13 MOVW $SYS_mmap, R7 SWI $0 SUB $4, R13 MOVW $0, R1 MOVW.CS R0, R1 // if failed, put in R1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM.rules
(Zero [s] {t} ptr mem) && s%4 == 0 && s > 4 && s <= 512 && t.Alignment()%4 == 0 && !config.noDuffDevice => (DUFFZERO [4 * (128 - s/4)] ptr (MOVWconst [0]) mem) // Large zeroing uses a loop (Zero [s] {t} ptr mem) && (s > 512 || config.noDuffDevice) || t.Alignment()%4 != 0 => (LoweredZero [t.Alignment()] ptr (ADDconst <ptr.Type> ptr [int32(s-moveSize(t.Alignment(), config))]) (MOVWconst [0]) mem) // moves
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 90.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} protected int writeString ( String str, byte[] dst, int dstIndex, boolean unicode ) { int start = dstIndex; if ( unicode ) { // Unicode requires word alignment if ( ( ( dstIndex - this.headerStart ) % 2 ) != 0 ) { dst[ dstIndex++ ] = (byte) '\0'; } System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 32.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.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 spock.lang.Issue class AlignmentIntegrationTest extends AbstractAlignmentSpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 59.6K bytes - Viewed (0) -
src/runtime/os_wasip1.go
// However, the WASI errno type is intended to be a 16 bits integer, and in the // event struct the error field should be of type errno. If we used the errno // type for the error field it would result in a mismatching field alignment and // struct size because errno is declared as a 32 bits type, so we declare the // error field as a plain uint16. type event struct { userdata userdata error uint16 typ eventtype
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
} issue4054a; // issue 4339 // We've historically permitted #include <>, so test it here. Issue 29333. // Also see issue 41059. #include <issue4339.h> // issue 4417 // cmd/cgo: bool alignment/padding issue. // bool alignment is wrong and causing wrong arguments when calling functions. static int c_bool(bool a, bool b, int c, bool d, bool e) { return c; } // issue 4857 #cgo CFLAGS: -Werror
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/runtime/cgo/abi_ppc64x.h
// Stack a frame and save all callee-save registers following the // host OS's ABI. Fortunately, this is identical for AIX, ELFv1, and // ELFv2. All host ABIs require the stack pointer to maintain 16 byte // alignment, and save the callee-save registers in the same places. // // To restate, R1 is assumed to be aligned when this macro is used. // This assumes the caller's frame is compliant with the host ABI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 03 20:17:02 UTC 2023 - 6.6K bytes - Viewed (0) -
src/runtime/memmove_mipsx.s
b_words: BEQ R5, R6, b_tail ADDU $-4, R5 MOVW -4(R4), R8 ADDU $-4, R4 MOVW R8, 0(R5) JMP b_words b_tail: BEQ R5, R1, ret MOVWHI 0(R2), R8 // R2 and R1 have the same alignment so we don't need to load a whole word MOVWHI R8, 0(R1) JMP ret b_large_ua: BEQ R5, R7, b_words_ua ADDU $-32, R5 MOVWHI -4(R4), R8 MOVWHI -8(R4), R9 MOVWHI -12(R4), R10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 4.4K bytes - Viewed (0) -
src/go/printer/printer.go
level int // level == 0: outside composite literal; level > 0: inside composite literal mode pmode // current printer mode endAlignment bool // if set, terminate alignment immediately impliedSemi bool // if set, a linebreak implies a semicolon lastTok token.Token // last token printed (token.ILLEGAL if it's whitespace)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0)