Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 417 for Short (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       * special values [PAYLOAD_SHORT] or [PAYLOAD_LONG].
       */
      internal const val PAYLOAD_BYTE_MAX = 125L
    
      /** Maximum length of close message in bytes. */
      internal const val CLOSE_MESSAGE_MAX = PAYLOAD_BYTE_MAX - 2
    
      /**
       * Value for [B1_MASK_LENGTH] which indicates the next two bytes are the unsigned length.
       */
      internal const val PAYLOAD_SHORT = 126
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_LONG
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT_MAX
    import okhttp3.internal.ws.WebSocketProtocol.toggleMask
    import okhttp3.internal.ws.WebSocketProtocol.validateCloseCode
    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params.md

    In this case, if you go to:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params.md

    Avec ce code, en allant sur :
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    ou
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    ou
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    ou
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    ou
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                if (name == null) {
                    name = new rpc.unicode_string();
                }
                name.length = (short)_src.dec_ndr_short();
                name.maximum_length = (short)_src.dec_ndr_short();
                int _name_bufferp = _src.dec_ndr_long();
    
                if (_name_bufferp != 0) {
                    _src = _src.deferred;
                    int _name_buffers = _src.dec_ndr_long();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt

            "char" to "Char",
            "java.lang.Boolean" to "Boolean",
            "boolean" to "Boolean",
            "java.lang.Byte" to "Byte",
            "byte" to "Byte",
            "java.lang.Short" to "Short",
            "short" to "Short",
            "java.lang.Integer" to "Int",
            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
            "java.lang.Float" to "Float",
            "float" to "Float",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
            .putShort((short) 0x0100)
            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
      }
    
      public void testHashFloatIsStable() {
        // Just a spot check.  Better than nothing.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                if (f != null) {
                    return f;
                }
                return new Float(0);
            } else if (type == short.class) {
                final Short s = ShortConversionUtil.toShort(o);
                if (s != null) {
                    return s;
                }
                return Short.valueOf((short) 0);
            } else if (type == boolean.class) {
                final Boolean b = BooleanConversionUtil.toBoolean(o);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. docs_src/query_params/tutorial003.py

    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: str, q: Union[str, None] = None, short: bool = False):
        item = {"item_id": item_id}
        if q:
            item.update({"q": q})
        if not short:
            item.update(
                {"description": "This is an amazing item that has a long description"}
            )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 406 bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Encdec.java

            dst[ di ] = (byte) ( ( i >> 24 ) & 0xFF );
            return 4;
        }
    
    
        /*
         * Decode integers
         */
    
        public static short dec_uint16be ( byte[] src, int si ) {
            return (short) ( ( ( src[ si ] & 0xFF ) << 8 ) | ( src[ si + 1 ] & 0xFF ) );
        }
    
    
        public static int dec_uint32be ( byte[] src, int si ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11K bytes
    - Viewed (0)
Back to top