Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 496 for tstr (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertNotEquals(channelInfo, different);
        }
    
        @Test
        void testToString() {
            String str = channelInfo.toString();
            assertNotNull(str);
            assertTrue(str.contains("test-channel"));
            assertTrue(str.contains(ChannelState.DISCONNECTED.toString()));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    ### `UploadFile` { #uploadfile }
    
    `UploadFile` has the following attributes:
    
    * `filename`: A `str` with the original file name that was uploaded (e.g. `myimage.jpg`).
    * `content_type`: A `str` with the content type (MIME type / media type) (e.g. `image/jpeg`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/body.md

    * Si el parámetro se declara como del tipo de un **modelo de Pydantic**, se interpretará como un **request body**.
    
    /// note | Nota
    
    FastAPI sabrá que el valor de `q` no es requerido debido al valor por defecto `= None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` tem os seguintes atributos:
    
    * `filename`: Uma `str` com o nome do arquivo original que foi enviado (por exemplo, `myimage.jpg`).
    * `content_type`: Uma `str` com o tipo de conteúdo (tipo MIME / tipo de mídia) (por exemplo, `image/jpeg`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            // When
            String str = exception.toString();
    
            // Then
            assertNotNull(str);
            assertTrue(str.contains("SmbOperationException"));
            assertTrue(str.contains("ACCESS_DENIED"));
            assertTrue(str.contains("AUTHENTICATION"));
            assertTrue(str.contains("retryable=false"));
            assertTrue(str.contains("attempt=1"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

        AtomicInteger deliveries = new AtomicInteger();
        EventBus bus = new EventBus();
        bus.register(
            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. docs/ja/docs/python-types.md

    #### `Optional`
    
    また、`Optional`を使用して、変数が`str`のような型を持つことを宣言することもできますが、それは「オプション」であり、`None`にすることもできます。
    
    ```Python hl_lines="1 4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    ただの`str`の代わりに`Optional[str]`を使用することで、エディタは値が常に`str`であると仮定している場合に実際には`None`である可能性があるエラーを検出するのに役立ちます。
    
    #### ジェネリック型
    
    以下のように角括弧で型パラメータを取る型を:
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Optional`
    * ...など
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Tags
    
    Sie können Ihrer *Pfadoperation* Tags hinzufügen, mittels des Parameters `tags`, dem eine `list`e von `str`s übergeben wird (in der Regel nur ein `str`):
    
    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    Diese werden zum OpenAPI-Schema hinzugefügt und von den automatischen Dokumentations-Benutzeroberflächen verwendet:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

        /**
         * Constructs a UnicodeString from a Java String.
         *
         * @param str
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final String str, final boolean zterm) {
            this.zterm = zterm;
    
            final int len = str.length();
            final int zt = zterm ? 1 : 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    * Pasa el/los tipo(s) interno(s) como "parámetros de tipo" usando corchetes: `[` y `]`
    
    En Python 3.9 sería:
    
    ```Python
    my_list: list[str]
    ```
    
    En versiones de Python anteriores a 3.9, sería:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Eso es toda la sintaxis estándar de Python para declaraciones de tipo.
    
    Usa esa misma sintaxis estándar para atributos de modelos con tipos internos.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top