- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 788 for lencode (0.06 sec)
-
cmd/auth-handler.go
if newGlobalAuthZPluginFn() != nil { return claims, nil } // Check if a session policy is set. If so, decode it here. sp, spok := claims.Lookup(policy.SessionPolicyName) if spok { // Looks like subpolicy is set and is a string, if set then its // base64 encoded, decode it. Decoding fails reject such // requests. spBytes, err := base64.StdEncoding.DecodeString(sp) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
int decoded = resp.decode(buf, headerStart); assertTrue(decoded > 0, "Decode should return positive length"); assertEquals(NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, resp.getStatus()); assertArrayEquals(blob, resp.getBlob(), "Security blob should match"); assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
return } info, err := globalSiteReplicationSys.GetClusterInfo(ctx) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } if err = json.NewEncoder(w).Encode(info); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } } func (a adminAPIHandlers) SRPeerGetIDPSettings(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12); System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test decode with valid single entry") void testDecodeValidSingleEntry() throws SMBProtocolDecodingException { String fileName = "document.pdf"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; byte[] buffer = createValidNotificationBuffer(fileName, action); int bytesRead = notifyInfo.decode(buffer, 0, buffer.length); assertTrue(bytesRead > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
throw IllegalArgumentException("failed to decode certificate", nsee) } catch (iae: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", iae) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } /** * Returns the certificate encoded in [PEM format][rfc_7468]. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
@Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/bytes/bytes.go
// ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b. func ContainsAny(b []byte, chars string) bool { return IndexAny(b, chars) >= 0 } // ContainsRune reports whether the rune is contained in the UTF-8-encoded byte slice b. func ContainsRune(b []byte, r rune) bool { return IndexRune(b, r) >= 0 } // ContainsFunc reports whether any of the UTF-8-encoded code points r within b satisfy f(r).
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
} @Test @DisplayName("Test decode with owner SID only") void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException { // Prepare buffer with owner SID only prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(new byte[17])); assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(new byte[0])); } @Test @DisplayName("Should encode lease key to buffer") void testEncode() { byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)