- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 230 for terminator (0.04 sec)
-
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
return ""; } // Read wide string data (UTF-16LE) int byteCount = (actualCount - 1) * 2; // Exclude null terminator byte[] wideBytes = new byte[byteCount]; buf.readOctetArray(wideBytes, 0, byteCount); // Skip null terminator buf.dec_ndr_short(); // Skip padding int padding = (4 - ((byteCount + 2) % 4)) % 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertEquals('S', messageBytes[4]); assertEquals('S', messageBytes[5]); assertEquals('P', messageBytes[6]); assertEquals(0, messageBytes[7]); // Null terminator } @Test @DisplayName("Should include message type indicator") void testMessageTypeIndicator() throws IOException { // When Type1Message type1 = new Type1Message(mockContext);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
buffer[serviceBytes.length] = 0; // Null terminator // When int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0); // Then assertEquals(serviceBytes.length + 1, bytesRead, "Should read service string plus terminator");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
assertEquals('S', (char) type2Bytes[4]); assertEquals('S', (char) type2Bytes[5]); assertEquals('P', (char) type2Bytes[6]); assertEquals(0, type2Bytes[7]); // Null terminator assertEquals(2, type2Bytes[8], "Message type should be 2"); // Type 2 // Verify response status verify(mockResponse).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertNotNull(targetInfo); // Should only contain server info - but might have different structure than expected assertTrue(targetInfo.length >= 4, "Target info should have at least terminator"); // Check if it contains server info (implementation dependent) if (targetInfo.length > 4) { assertEquals(1, Type2Message.readUShort(targetInfo, 0)); // Type 0x0001
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* Such a sequence is referred to as "text." STX may be used to terminate a sequence of characters * started by SOH. * * @since 8.0 */ public static final byte STX = 2; /** * End of Text: A communication control character used to terminate a sequence of characters * started with STX and transmitted as an entity. * * @since 8.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
String testString = "Hello World"; ndrBuffer.enc_ndr_string(testString); // Expected length: 4 (actual_count) + 4 (offset) + 4 (max_count) + len*2 (unicode) + 2 (null terminator) int expectedLength = 4 + 4 + 4 + (testString.length() * 2) + 2; assertEquals(expectedLength, ndrBuffer.getIndex()); assertEquals(expectedLength, ndrBuffer.getLength());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
assertEquals('S', messageBytes[4]); assertEquals('S', messageBytes[5]); assertEquals('P', messageBytes[6]); assertEquals(0, messageBytes[7]); // Null terminator } @Test @DisplayName("Should include message type indicator") void testMessageTypeIndicator() throws Exception { // Given Type2Message type2 = createMockType2Message();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
// Write path string at offset 22 bb.position(22); String expectedPath = "\\\\test"; bb.put(expectedPath.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // null terminator // Decode referral.decode(testBuffer, 0, testBuffer.length); // Check assertEquals(3, referral.getVersion()); assertEquals(100, referral.getSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/archive/tar/common.go
paxHdrs = make(map[string]string) var whyNoUSTAR, whyNoPAX, whyNoGNU string var preferPAX bool // Prefer PAX over USTAR verifyString := func(s string, size int, name, paxKey string) { // NUL-terminator is optional for path and linkpath. // Technically, it is required for uname and gname, // but neither GNU nor BSD tar checks for it. tooLong := len(s) > size
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0)