- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 788 for lencode (0.05 sec)
-
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@Test @DisplayName("Decode error handling should work correctly") void testDecodeErrorHandling() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(1024); when(mockHandle.getMaxRecv()).thenReturn(1024); DcerpcBind bindMessage = new DcerpcBind(mockBinding, mockHandle); // When - Decode with error response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
if (len++ > max) { throw new RuntimeException("zero termination not found: " + this); } } return len; } int encode(final byte[] dst, int dstIndex) { final int start = headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("Content-Encoding: br") .assertLogEqual("Content-Type: text/plain; charset=utf-8") .assertLogMatch(Regex("""Content-Length: \d+""")) .assertLogEqual("<-- END HTTP (encoded body omitted)") .assertNoMoreLogs() applicationLogs .assertLogEqual("--> GET $url") .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
import jcifs.util.Encdec; @ExtendWith(MockitoExtension.class) class NtlmUtilTest { @Mock CIFSContext cifsContext; @Mock Configuration configuration; // Helper: decode hex string to bytes private static byte[] hex(String s) { String clean = s.replaceAll("[^0-9A-Fa-f]", ""); int len = clean.length(); byte[] out = new byte[len / 2];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
byte[] buffer = new byte[0]; int result = response.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test @DisplayName("Should decode DFS referral data correctly") void testReadDataWireFormat() { byte[] buffer = createValidDfsReferralBuffer(); int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
} // Query IAM res, err := globalIAMSys.QueryLDAPPolicyEntities(r.Context(), q) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } // Encode result and send response. data, err := json.Marshal(res) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } password := cred.SecretKey
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:46:04 UTC 2025 - 19.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
} /** * Returns a serializable converter object that converts between strings and longs using {@link * Long#decode} and {@link Long#toString()}. The returned converter throws {@link * NumberFormatException} if the input string is invalid. * * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
src/archive/zip/writer_test.go
comment: "in the 世界", flags: 0x808, }, { name: "the replacement rune is �", comment: "the replacement rune is �", flags: 0x808, }, { // Name is Japanese encoded in Shift JIS. name: "\x93\xfa\x96{\x8c\xea.txt", comment: "in the 世界", flags: 0x008, // UTF-8 must not be set }, } // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
writeInt2(buffer, dataOffset + 48, epoch); // Epoch writeInt2(buffer, dataOffset + 50, 0); // Reserved } } @Override public void decode(byte[] buffer, int offset, int length) { // Decode lease response byte[] keyBytes = new byte[16]; System.arraycopy(buffer, offset, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
dstIndex += cnBytes.length; dstIndex += pad8(dstIndex); SMBUtil.writeInt2(dstIndex - structStart, dst, dataOffsetOffset); final int len = createContext.encode(dst, dstIndex); SMBUtil.writeInt4(len, dst, dataLengthOffset); dstIndex += len; final int pad = pad8(dstIndex); totalCreateContextLength += len + pad;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0)