Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for convey (0.06 sec)

  1. src/main/java/jcifs/util/Hexdump.java

        }
    
        /**
         * Converts a byte array to a hexadecimal string representation.
         *
         * @param src the source byte array to convert
         * @param srcIndex the starting index in the source array
         * @param size the number of bytes to convert from the source array
         * @return a hexadecimal string representation of the byte array
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/encoder.md

    # JSON Compatible Encoder { #json-compatible-encoder }
    
    There are some cases where you might need to convert a data type (like a Pydantic model) to something compatible with JSON (like a `dict`, `list`, etc).
    
    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HexdumpTest.java

    import jcifs.BaseTest;
    
    /**
     * Test class for Hexdump utility functionality
     */
    @DisplayName("Hexdump Utility Tests")
    class HexdumpTest extends BaseTest {
    
        @Test
        @DisplayName("Should convert byte array to hex string")
        void testToHexString() {
            // Given
            byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 };
    
            // When
            String result = Hexdump.toHexString(data);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UUID.java

     */
    public class UUID extends rpc.uuid_t {
    
        /**
         * Convert hexadecimal characters to binary integer
         *
         * @param arr the character array containing hex digits
         * @param offset the starting position in the array
         * @param length the number of hex digits to convert
         * @return the integer value of the hex digits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val any) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val any) string {
    	return strings.ToLower(toString(val))
    }
    
    // toInteger _ Safely convert interface to integer without causing panic.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-change-status-code.md

    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    For those cases, you can use a `Response` parameter.
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        public double getAverageReadLatencyMicros() {
            long reads = rdmaReads.get();
            if (reads == 0) {
                return 0.0;
            }
            return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate average write latency in microseconds
         *
         * @return average write latency
         */
        public double getAverageWriteLatencyMicros() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/Hexdump.java

     */
    
    package jcifs.smb1.util;
    
    import java.io.PrintStream;
    
    /**
     * Utility class for hexadecimal dump operations.
     *
     * This class provides methods to convert binary data to
     * hexadecimal string representation for debugging purposes.
     */
    
    public class Hexdump {
    
        /**
         * Default constructor.
         */
        public Hexdump() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-directly.md

    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    ## Convert any Data to JSON-compatible { #convert-any-data-to-json-compatible }
    
    To convert any data to JSON-compatible, read the docs for [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top