- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 476 for decodeTo (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/config/policy/opa/config.go
Result bool `json:"result"` } respBody := bytes.NewReader(opaRespBytes) var result opaResult if err = json.NewDecoder(respBody).Decode(&result); err != nil { respBody.Seek(0, 0) var resultAllow opaResultAllow if err = json.NewDecoder(respBody).Decode(&resultAllow); err != nil { return false, err } return resultAllow.Result.Allow, nil } return result.Result, nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
originalContext.encode(buffer, 0); // Create a new context and decode DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); decodedContext.decode(buffer, 0, buffer.length); // Verify decoded values assertArrayEquals(originalKey.getKey(), decodedContext.getLeaseKey().getKey());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeByte(0x40) // Literal indexed bytesIn.writeByte(0x88) // Literal name Huffman encoded 8 bytes // decodes to custom-key which is length 10 bytesIn.write("25a849e95ba97d7f".decodeHex()) bytesIn.writeByte(0x89) // Literal value Huffman encoded 9 bytes // decodes to custom-value which is length 12 bytesIn.write("25a849e95bb8e8b4bf".decodeHex()) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 38.6K bytes - Click Count (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)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
internal/config/identity/openid/jwks.go
errMalformedJWKECKey = errors.New("malformed JWK EC key") ) // DecodePublicKey - decodes JSON Web Key (JWK) as public key func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) { switch key.Kty { case "RSA": if key.N == "" || key.E == "" { return nil, errMalformedJWKRSAKey } // decode exponent ebuf, err := base64.RawURLEncoding.DecodeString(key.E) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 02 23:02:35 GMT 2024 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
AvTargetName avTargetName = new AvTargetName(rawBytes); // Verify that getTargetName correctly decodes the raw bytes assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes"); } /** * Test with an empty string for both constructors. */ @Test void testEmptyString() {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
*/ public OpenSearchAccessResultData(final Map<String, Object> src) { setTransformerName((String) src.get(TRANSFORMER_NAME)); setEncoding((String) src.get(ENCODING)); final String dataStr = (String) src.get(DATA); if (dataStr != null) { try { setData(Base64Util.decode(dataStr)); } catch (final Exception e) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// Byte count (2 bytes) buffer[53] = 0x00; buffer[54] = 0x00; // Test decode int bytesDecoded = response.decode(buffer, 0); // Should decode at least the header assertTrue(bytesDecoded > 0); // Verify the command was decoded correctly assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
*/ protected abstract void encodeWitnessParameters(NdrBuffer buf) throws NdrException; /** * Decodes the witness RPC message parameters from NDR format. * Subclasses must implement this method to decode their specific parameters. * * @param buf the NDR buffer to decode from * @throws NdrException if decoding fails */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 5.5K bytes - Click Count (0) -
internal/config/policy/plugin/config.go
Result bool `json:"result"` } respBody := bytes.NewReader(opaRespBytes) var result opaResult if err = json.NewDecoder(respBody).Decode(&result); err != nil { respBody.Seek(0, 0) var resultAllow opaResultAllow if err = json.NewDecoder(respBody).Decode(&resultAllow); err != nil { return false, err } return resultAllow.Result.Allow, nil } return result.Result, nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.8K bytes - Click Count (0)