Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 703 for Encoded (0.03 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex));
    
            // Test encode method
            byte[] dst = new byte[512];
            int dstIndex = 0;
            int expectedEncodeLength = 64;
            when(response.encode(dst, dstIndex)).thenReturn(expectedEncodeLength);
            assertEquals(expectedEncodeLength, response.encode(dst, dstIndex));
    
            // Test digest methods
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. internal/crypto/sse-s3.go

    		if err != nil {
    			return nil, err
    		}
    		keys = append(keys, key)
    	}
    	return keys, nil
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    // the modified metadata. If the keyID and the kmsKey is not empty it encodes
    // both into the metadata as well. It allocates a new metadata map if metadata
    // is nil.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            // Name: 4 bytes ("RqLs")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 32 bytes (lease V1 structure)
            return 16 + 4 + 4 + 32;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    			} else {
    				s += ", \"bitrot_valid\": false"
    			}
    			if value {
    				if utf8.Valid(data) {
    					// Encode as JSON string.
    					b, err := json.Marshal(string(data))
    					if err == nil {
    						s += `, "data_string": ` + string(b)
    					}
    				}
    				// Base64 encode.
    				s += `, "data_base64": "` + base64.StdEncoding.EncodeToString(data) + `"`
    			}
    			s += "}"
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  5. docs/en/docs/_llm-test.md

    * the cloud provider
    * the cloud service
    
    * the development
    * the development stages
    
    * the dict
    * the dictionary
    * the enumeration
    * the enum
    * the enum member
    
    * the encoder
    * the decoder
    * to encode
    * to decode
    
    * the exception
    * to raise
    
    * the expression
    * the statement
    
    * the frontend
    * the backend
    
    * the GitHub discussion
    * the GitHub issue
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify input buffer length
                assertEquals(50, SMBUtil.readInt4(buffer, 76));
    
                // Verify that inputBuffer.encode was called
                verify(mockInputBuffer).encode(any(byte[].class), anyInt());
    
                // Verify total bytes written
                assertEquals(90, bytesWritten); // 40 bytes header + 50 bytes input buffer
            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

                        "msg": "Input should be a valid list",
                        "input": {"numbers": [1, 2, 3]},
                    }
                ],
                # httpx 0.28.0 switches to compact JSON https://github.com/encode/httpx/issues/3363
                "body": IsOneOf('{"numbers": [1, 2, 3]}', '{"numbers":[1,2,3]}'),
            }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

         * @param token the authorization data token
         * @param keys the Kerberos keys for decryption
         * @return a list of parsed authorization data
         * @throws PACDecodingException if the data cannot be decoded
         */
        public static List<KerberosAuthData> parse(int authType, byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
    
            List<KerberosAuthData> authorizations = new ArrayList<>();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Message Encoding Tests")
        class MessageEncodingTests {
    
            @Test
            @DisplayName("encode should handle REQUEST ptype correctly")
            void testEncodeRequestPtype() throws NdrException {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST; // 0
                message.call_id = 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top