Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 797 for hoist (0.02 seconds)

  1. 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)
  2. src/main/java/org/codelibs/fess/FessBoot.java

                    fessLogPath = "../../logs";
                }
                op.replace("fess.log.path", fessLogPath.replace("\\", "/"));
            }).asYouLikeIt(resource -> {
                final Host host = resource.getHost();
                if (host instanceof final StandardHost standardHost) {
                    standardHost.setErrorReportValveClass(SuppressErrorReportValve.class.getName());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/behind-a-proxy.md

    * [X-Forwarded-Proto](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Proto)
    * [X-Forwarded-Host](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host)
    
    ///
    
    ### Ativar headers encaminhados pelo proxy { #enable-proxy-forwarded-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. internal/event/event.go

    	Bucket          Bucket `json:"bucket"`
    	Object          Object `json:"object"`
    }
    
    // Source represents client information who triggered the event.
    type Source struct {
    	Host      string `json:"host"`
    	Port      string `json:"port"`
    	UserAgent string `json:"userAgent"`
    }
    
    // Event represents event notification information defined in
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 3.4K bytes
    - Click Count (0)
  6. src/main/resources/fess_label_id.properties

    labels.max_access_count=Jumlah Akses Maksimum
    labels.number_of_thread=Jumlah Thread
    labels.interval_time=Jeda Waktu
    labels.millisec=milidetik
    labels.permissions=Izin
    labels.virtual_hosts=Virtual Host
    labels.virtual_host=Virtual Host
    labels.label_type=Label
    labels.file_crawling_button_create=Buat
    labels.file_crawling_button_create_job=Buat Job Baru
    labels.web_crawling_configuration=Perayapan Web
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 50.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         * @param exclusive whether to acquire an unshared connection
         * @param forceSigning whether to enforce SMB signing
         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
        SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .url("/")
            .newBuilder()
            .host("any-host-name")
            .port(port)
            .build()
        val request = Request(url)
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
        val connect = server.takeRequest()
        assertThat(connect.requestLine).isEqualTo("CONNECT any-host-name:$port HTTP/1.1")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/debugging.md

    $ python myapp.py
    ```
    
    </div>
    
    então a variável interna `__name__` no seu arquivo, criada automaticamente pelo Python, terá como valor a string `"__main__"`.
    
    Então, a seção:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    vai executar.
    
    ---
    
    Isso não acontecerá se você importar esse módulo (arquivo).
    
    Então, se você tiver outro arquivo `importer.py` com:
    
    ```Python
    from myapp import app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top