Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for firstFrame (0.14 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          )
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABC")
        assertThat(response.protocol).isEqualTo(protocol)
        val logs = testLogHandler.takeAll()
        assertThat(firstFrame(logs, "HEADERS")!!, "header logged")
          .contains("HEADERS       END_STREAM|END_HEADERS")
      }
    
      @Test
      fun emptyDataFrameSentWithEmptyBody() {
        server.enqueue(MockResponse(body = "ABC"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  2. docs_src/python_types/tutorial002_py310.py

    def get_full_name(first_name: str, last_name: str):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 172 bytes
    - Click Count (0)
  3. docs/en/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    to:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    That's it.
    
    Those are the "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. docs/ru/docs/python-types.md

    Вы вводите первый параметр функции, `first_name`, затем точку (`.`) и нажимаете `Ctrl+Space`, чтобы вызвать автозавершение.
    
    Но, к сожалению, ничего полезного не находится:
    
    <img src="/img/python-types/image01.png">
    
    ### Добавим типы { #add-types }
    
    Давайте изменим одну строку из предыдущей версии.
    
    Мы поменяем ровно этот фрагмент — параметры функции — с:
    
    ```Python
        first_name, last_name
    ```
    
    на:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  5. docs/de/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    zu:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Das war's.
    
    Das sind die „Typhinweise“:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Das ist nicht das gleiche wie das Deklarieren von Defaultwerten, wie es hier der Fall ist:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.6K bytes
    - Click Count (1)
  6. docs/zh-hant/docs/python-types.md

    然後你試著用老牌程式設計師的好朋友——編輯器自動完成。
    
    你輸入函式的第一個參數 `first_name`,接著打一個點(`.`),然後按下 `Ctrl+Space` 觸發自動完成。
    
    但很遺憾,你什麼有用的也沒得到:
    
    <img src="/img/python-types/image01.png">
    
    ### 加上型別 { #add-types }
    
    我們來修改前一版中的一行。
    
    我們只要把函式參數這一段,從:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就這樣。
    
    那些就是「型別提示」:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. docs_src/python_types/tutorial001_py310.py

    def get_full_name(first_name, last_name):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 162 bytes
    - Click Count (0)
  8. docs/es/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    a:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Eso es todo.
    
    Esas son las "anotaciones de tipos":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Eso no es lo mismo que declarar valores por defecto como sería con:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es una cosa diferente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  9. docs/pt/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    para:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    É isso aí.
    
    Esses são os "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Isso não é o mesmo que declarar valores padrão como seria com:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    É uma coisa diferente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. docs/tr/docs/python-types.md

    Fonksiyonun parametreleri olan şu parçayı:
    
    ```Python
        first_name, last_name
    ```
    
    şuna çevireceğiz:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Bu kadar.
    
    Bunlar "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Bu, aşağıdaki gibi default değerler bildirmekle aynı şey değildir:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Bu farklı bir şey.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top