Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 748 for Encoded (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given
            byte[] buffer = new byte[512];
            int headerStart = 50;
            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
    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)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    root_directory.encode(_dst);
    
                }
                if (object_name != null) {
                    _dst = _dst.deferred;
                    object_name.encode(_dst);
    
                }
                if (security_quality_of_service != null) {
                    _dst = _dst.deferred;
                    security_quality_of_service.encode(_dst);
    
                }
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/FacetResponse.java

            }
    
            /**
             * Gets the decoded name of this field facet.
             *
             * @return the field name
             */
            public String getName() {
                return name;
            }
    
        }
    
        /**
         * Gets the map of query facet counts.
         *
         * @return the queryCountMap containing decoded query strings and their counts
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            request.setSessionBinding(true);
            byte[] buffer = new byte[512];
            int headerStart = 50;
    
            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
            int bodyOffset = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        protected Decodable createInputDecodable() {
            return null;
        }
    
        /**
         * Gets the output data decoded as the specified response type.
         *
         * @param <T> the type of the decoded response data
         * @param responseType the class of the expected response type
         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.encode(buf);
            assertTrue(m.alloc_hint > 0);
        }
    
        @Test
        void testEncodeWritesCorrectHeader() throws Exception {
            TestMessage m = new TestMessage();
            m.ptype = 0;
            m.flags = 0x05;
            m.call_id = 0x123;
    
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
    
            // Reset to read what was written
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. cmd/storage-rest-client.go

    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTTotalVersions, strconv.Itoa(len(versions)))
    
    	var buffer bytes.Buffer
    	encoder := msgp.NewWriter(&buffer)
    	for _, version := range versions {
    		version.EncodeMsg(encoder)
    	}
    	storageLogIf(ctx, encoder.Flush())
    
    	errs = make([]error, len(versions))
    
    	respBody, err := client.call(ctx, storageRESTMethodDeleteVersions, values, &buffer, -1)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        @Test
        @DisplayName("Test FileBasicInfo encode method")
        void testFileBasicInfoEncode() {
            // Given
            FileBasicInfo info =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES);
            byte[] buffer = new byte[64];
            int dstIndex = 8;
    
            // When
            int bytesEncoded = info.encode(buffer, dstIndex);
    
            // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/response-directly.md

    Por padrão, o **FastAPI** irá converter automaticamente o valor do retorno para JSON utilizando o `jsonable_encoder` explicado em [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Então, por baixo dos panos, ele incluiria esses dados compatíveis com JSON (e.g. um `dict`) dentro de uma `JSONResponse` que é utilizada para enviar uma resposta para o cliente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. cmd/metacache_gen_test.go

    func TestEncodeDecodemetacache(t *testing.T) {
    	v := metacache{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodemetacache Msgsize() is inaccurate")
    	}
    
    	vn := metacache{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top