Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 956 for 3000 (0.01 seconds)

  1. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("onMessage: " + text);
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/debugging.md

    ```
    
    </div>
    
    Python tarafından otomatik oluşturulan, dosyanızın içindeki `__name__` adlı dahili değişkenin değeri `"__main__"` string'i olur.
    
    Dolayısıyla şu bölüm:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    çalışır.
    
    ---
    
    Ancak modülü (dosyayı) import ederseniz bu gerçekleşmez.
    
    Yani örneğin `importer.py` adında başka bir dosyanız var ve içinde şunlar bulunuyorsa:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates a valid instance
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/debugging.md

    因此,這段:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    會被執行。
    
    ---
    
    如果你是匯入該模組(檔案),就不會發生這件事。
    
    所以,如果你有另一個檔案 `importer.py`,內容如下:
    
    ```Python
    from myapp import app
    
    # 其他程式碼
    ```
    
    在那種情況下,`myapp.py` 中自動建立的變數 `__name__` 就不會是 `"__main__"`。
    
    因此,這一行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    就不會被執行。
    
    /// info | 說明
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/debugging.md

    ```
    
    </div>
    
    тоді внутрішня змінна `__name__` у вашому файлі, яка створюється автоматично Python, матиме значення рядка `"__main__"`.
    
    Отже, цей блок коду:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    буде виконаний.
    
    ---
    
    Це не станеться, якщо ви імпортуєте цей модуль (файл).
    
    Отже, якщо у вас є інший файл `importer.py` з:
    
    ```Python
    from myapp import app
    
    # Ще трохи коду
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

                    .addDocument(doc)
                    .allRecordCount(1000)
                    .allRecordCountRelation(Relation.EQUAL_TO.toString())
                    .queryTime(150)
                    .partialResults(true)
                    .facetResponse(facetResponse)
                    .build();
    
            assertEquals(1, result.getDocumentList().size());
            assertEquals(1000, result.getAllRecordCount());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  8. docs_src/advanced_middleware/tutorial003_py310.py

    from fastapi import FastAPI
    from fastapi.middleware.gzip import GZipMiddleware
    
    app = FastAPI()
    
    app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
    
    
    @app.get("/")
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 230 bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/EditForm.java

     */
    public class EditForm extends CreateForm {
    
        /** Unique identifier for the related query entry */
        @Required
        @Size(max = 1000)
        public String id;
    
        /** Username of the user who last updated this entry */
        @Size(max = 1000)
        public String updatedBy;
    
        /** Timestamp when this entry was last updated */
        @ValidateTypeFailure
        public Long updatedTime;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/CreateForm.java

        public Integer crudMode;
    
        /** Input terms (comma-separated) that will be mapped to the output term */
        @Required
        @Size(max = 1000)
        public String inputs;
    
        /** Output term that input terms will be mapped to */
        @Size(min = 1, max = 1000)
        public String output;
    
        /**
         * Initializes the form with default values for creating a new mapping dictionary entry.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top