Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for 0010 (0.01 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.toArray(none)).isEqualTo(EMPTY);
    
        List<Double> one = Arrays.asList(1.0);
        assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1);
    
        double[] array = {0.0, 1.0, Math.PI};
    
        List<Double> three = Arrays.asList(0.0, 1.0, Math.PI);
        assertThat(Doubles.toArray(three)).isEqualTo(array);
    
        assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                final double value = Double.parseDouble(priority);
                if (value < 0.0 || value > 1.0) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Priority value out of range (0.0-1.0): {}", priority);
                    }
                    return false;
                }
                return true;
            } catch (final NumberFormatException e) {
                if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            // Default weight should be 1.0
            assertEquals(1.0f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.5f);
            assertEquals(0.5f, queue.getWeight(), 0.001f);
    
            queue.setWeight(2.5f);
            assertEquals(2.5f, queue.getWeight(), 0.001f);
    
            queue.setWeight(0.0f);
            assertEquals(0.0f, queue.getWeight(), 0.001f);
        }
    
        public void test_toString() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_directly/test_tutorial001.py

            "/items/1",
            json={
                "title": "Foo",
                "timestamp": "2023-01-01T12:00:00",
                "description": "A test item",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "A test item",
            "timestamp": "2023-01-01T12:00:00",
            "title": "Foo",
        }
    
    
    def test_openapi_schema_pv2(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/debugging.md

    ```
    
    </div>
    
    dann hat in Ihrer Datei die interne Variable `__name__`, die von Python automatisch erstellt wird, als Wert den String `"__main__"`.
    
    Daher wird der Abschnitt:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ausgeführt.
    
    ---
    
    Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren.
    
    Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. docs_src/debugging/tutorial001_py39.py

    import uvicorn
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def root():
        a = "a"
        b = "b" + a
        return {"hello world": b}
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 223 bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  9. pyproject.toml

    standard = [
        "fastapi-cli[standard] >=0.0.8",
        # For the test client
        "httpx >=0.23.0,<1.0.0",
        # For templates
        "jinja2 >=3.1.5",
        # For forms and file uploads
        "python-multipart >=0.0.18",
        # To validate email fields
        "email-validator >=2.0.0",
        # Uvicorn with uvloop
        "uvicorn[standard] >=0.12.0",
        # # Settings management
        "pydantic-settings >=2.0.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_encoder/test_tutorial001.py

            json={
                "title": "Foo",
                "timestamp": "2023-01-01T12:00:00",
                "description": "An optional description",
            },
        )
        assert response.status_code == 200
        assert "123" in fake_db
        assert fake_db["123"] == {
            "title": "Foo",
            "timestamp": "2023-01-01T12:00:00",
            "description": "An optional description",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top