Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 245 for 0300 (0.03 sec)

  1. docs/zh/docs/deployment/server-workers.md

         * 这里我们传递了 Gunicorn 可以导入和使用的类:
    
             ```Python
             import uvicorn.workers.UvicornWorker
             ```
    
    * `--bind`:这告诉 Gunicorn 要监听的 IP 和端口,使用冒号 (`:`) 分隔 IP 和端口。
         * 如果您直接运行 Uvicorn,则可以使用`--host 0.0.0.0`和`--port 80`,而不是`--bind 0.0.0.0:80`(Gunicorn 选项)。
    
    
    在输出中,您可以看到它显示了每个进程的 **PID**(进程 ID)(它只是一个数字)。
    
    你可以看到:
    
    * Gunicorn **进程管理器** 以 PID `19499` 开头(在您的情况下,它将是一个不同的数字)。
    * 然后它开始`Listening at: http://0.0.0.0:80`。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        byte[] expectedBytes = buf.clone();
        System.arraycopy(testBytes, 0, expectedBytes, 0, testBytes.length);
    
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        int numOfByteRead = in.read(buf, 0, 100);
        assertEquals(4, numOfByteRead);
        for (int i = 0; i < numOfByteRead; i++) {
          assertEquals(testBytes[i], buf[i]);
        }
    
        verify(hasher).putBytes(expectedBytes, 0, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        byte[] expectedBytes = buf.clone();
        System.arraycopy(testBytes, 0, expectedBytes, 0, testBytes.length);
    
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
        int numOfByteRead = in.read(buf, 0, 100);
        assertEquals(4, numOfByteRead);
        for (int i = 0; i < numOfByteRead; i++) {
          assertEquals(testBytes[i], buf[i]);
        }
    
        verify(hasher).putBytes(expectedBytes, 0, 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("2004-04-01T12:34:00.000Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01");
            assertEquals("2004-04-01T00:00:00.000Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123+09:00");
            assertEquals("2004-04-01T03:34:56.123Z", FessFunctions.formatDate(date));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("1.2-alpha-1", 1, 2, 0, 0, "alpha-1");
            checkVersionParsing("1.2-alpha-1-20050205.060708-1", 1, 2, 0, 0, "alpha-1-20050205.060708-1");
            checkVersionParsing("RELEASE", 0, 0, 0, 0, "RELEASE");
            checkVersionParsing("2.0-1", 2, 0, 0, 1, null);
    
            // 0 at the beginning of a number has a special handling
            checkVersionParsing("02", 0, 0, 0, 0, "02");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

    ```mermaid
    graph LR
    
    browser("Browser")
    proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]
    server["Server on http://127.0.0.1:8000/app"]
    
    browser --> proxy
    proxy --> server
    ```
    
    /// tip
    
    The IP `0.0.0.0` is commonly used to mean that the program listens on all the IPs available in that machine/server.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    # If running behind a proxy like Nginx or Traefik add --proxy-headers
    # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## 什么是容器
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2ThrowsOnZerosInfinitiesAndNaN() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          for (double d :
              asList(0.0, -0.0, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) {
            assertThrows(IllegalArgumentException.class, () -> DoubleMath.log2(d, mode));
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top