- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 425 for structure (0.19 sec)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
} final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 65) { throw new SMBProtocolDecodingException("Structure size is not 65, got: " + structureSize); } this.securityMode = SMBUtil.readInt2(buffer, bufferIndex + 2); // Validate security mode flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// Then assertEquals(copy.size(), bytesWritten); assertEquals(HEADER_SIZE + (3 * CHUNK_SIZE), bytesWritten); // Verify complete structure for (int i = 0; i < SOURCE_KEY_SIZE; i++) { assertEquals(sourceKey[i], buffer[i]); } assertEquals(3, SMBUtil.readInt4(buffer, SOURCE_KEY_SIZE));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
Set<String> nonceSet = new HashSet<>(); for (int i = 0; i < 100; i++) { byte[] nonce = gcmContext.generateSecureNonce(); // Verify nonce structure assertEquals(16, nonce.length, "GCM secure nonce should be 16 bytes"); // Check that secure nonces provide full diversity (entire nonce is random) String nonceHex = bytesToHex(nonce);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
// Close the digest digest.close(); // Verify operations fail after close byte[] data = new byte[128]; // Initialize the data buffer with proper SMB2 header structure SMBUtil.writeInt4(0xFE534D42, data, 0); // SMB2 signature SMBUtil.writeInt4(0x0000, data, 12); // Command = 0 SMBUtil.writeInt4(0x0000, data, 16); // Flags = 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Verify bytes consumed matches the actual data size assertTrue(bytesConsumed < 0); // Return value is negative (start - bufferIndex) assertEquals(-94 - filename.length() * 2, bytesConsumed); // Base structure + filename length } @Test @DisplayName("Test decode with maximum field values") void testDecodeWithMaximumValues() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
assertEquals(0, size); assertNull(securityDescriptor.getAces()); } @Test @DisplayName("Test decode with complex SID structure") void testDecodeWithComplexSid() throws SMBProtocolDecodingException { // Prepare buffer with multi-authority SID testBuffer[0] = 0x01; // revision testBuffer[1] = 0x00; // padding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
import org.junit.jupiter.api.Test /** * Unit test for [FastFallbackExchangeFinder] implementation details. * * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has * the same structure: * * * prepare a set of plans, each with a predictable connect delay * * attempt to find a connection * * step through time, asserting that the expected side effects are performed. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
/** * End of Transmission Block: A communication control character used to indicate the end of a * block of data for communication purposes. ETB is used for blocking data where the block * structure is not necessarily related to the processing format. * * @since 8.0 */ public static final byte ETB = 23; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger * than {@code size()}. Furthermore, this structure places significantly reduced load on the garbage * collector by only using a constant number of internal objects. * * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch
-#define UT_HOSTSIZE 16 +#define UT_LINESIZE 32 +#define UT_NAMESIZE 32 +#define UT_HOSTSIZE 256 +/* The structure describing an entry in the database of + previous logins. */ struct lastlog { time_t ll_time; @@ -36,12 +38,16 @@ struct lastlog char ll_host[UT_HOSTSIZE]; }; +/* The structure describing an entry in the user accounting database. */ struct utmp { - char ut_line[UT_LINESIZE];
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Nov 11 19:25:56 UTC 2024 - 42.9K bytes - Viewed (0)