- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 422 for aligned (0.04 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
} @Test @DisplayName("Should verify padding calculation") void testPaddingCalculation() throws Exception { // Given - Create request with token byte[] token = new byte[5]; // Non-8-aligned size Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token); // Use reflection to access pad8 methodRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
void testSize() { // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; // The size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7; assertEquals(alignedSize, size); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
code_of_conduct.md
licensing terms applying to the Project developments. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. However, these actions shall respect the
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 18:38:58 UTC 2020 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
Duration difference = Duration.between(monotonic, system).abs(); assertTrue(difference.getSeconds() <= 1, "Monotonic time should be reasonably aligned with system time"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
import org.jetbrains.annotations.VisibleForTesting import org.jsoup.Jsoup /** * Fetch the latest AGP versions and write a properties file. * Never up-to-date, non-cacheable. * * AGP major versions are aligned with Gradle major versions. * IOW, AGP X.y officially only supports Gradle X.z. * * This task leverages that alignment to automatically select which * versions of AGP we should test. */
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Oct 24 09:10:29 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testStringReadWriteUnicodeWithOddAlignment() throws UnsupportedEncodingException { smb.useUnicode = true; smb.headerStart = 1; // Make the start odd String testString = "Aligned Unicode"; byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment int len = smb.writeString(testString, buffer, 1);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/os-instrumented.go
func init() { // Inject metrics. ioutilx.OsOpenFile = OpenFile ioutilx.OpenFileDirectIO = OpenFileDirectIO ioutilx.OsOpen = Open } type osMetrics struct { // All fields must be accessed atomically and aligned. operations [osMetricLast]uint64 latency [osMetricLast]lockedLastMinuteLatency } // time an os action. func (o *osMetrics) time(s osMetric) func() { startTime := time.Now() return func() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. ## Scope
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Fri Feb 05 18:43:16 UTC 2021 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertEquals(size1, size2); } @Test @DisplayName("Size should be 72 bytes (64 header + 4 body aligned to 8)") void testExactSize() { // SMB2_HEADER_LENGTH = 64, body = 4, total = 68 // size8 aligns to 8-byte boundary: (68 + 7) & ~7 = 72 assertEquals(72, echoRequest.size()); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 0); // altPathOffset bb.putShort((short) 0); // nodeOffset // Path string at offset 23 (which should be aligned to 24) bb.position(24); // Aligned position String path = "\\\\test"; bb.put(path.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // Decode from position 1
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0)