Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for 005 (0.01 seconds)

  1. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
  2. tests/test_list_bytes_file_order_preserved_issue_14811.py

        async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes:
            # Make the FIRST file slower *deterministically*
            if self.filename == "slow.txt":
                await anyio.sleep(0.05)
            return await original_read(self, size)
    
        monkeypatch.setattr(StarletteUploadFile, "read", patched_read)
    
        client = TestClient(app)
    
        files = [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "{\"bool\":{\"should\":[{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.5}}},{\"match_phrase\":{\"content\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.05}}}],\"adjust_pure_negative\":true,\"boost\":1.0}}",
                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryTestBase.java

                }
    
                @Override
                public String getQueryBoostContent() {
                    return "0.05";
                }
    
                @Override
                public BigDecimal getQueryBoostContentAsDecimal() {
                    return new BigDecimal("0.05");
                }
    
                @Override
                public String getQueryBoostFuzzyTitle() {
                    return "0.01";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  5. tests/test_sse.py

    def slow_sync_stream():
        yield {"n": 1}
        time.sleep(0.3)
        yield {"n": 2}
    
    
    def test_keepalive_ping_async(monkeypatch: pytest.MonkeyPatch):
        monkeypatch.setattr(fastapi.routing, "_PING_INTERVAL", 0.05)
        with TestClient(keepalive_app) as c:
            response = c.get("/slow-async")
        assert response.status_code == 200
        text = response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. docs/features/caching.md

    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
          ))
          .build()
    ```
    
    ## EventListener events
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            assertEquals("5.5 GB/s", builder.build());
        }
    
        @Test
        void testFormatRateThresholds() {
            FileSizeFormat format = new FileSizeFormat();
    
            // Test value less than 0.05
            // Test exact unit thresholds
            MessageBuilder builder = new DefaultMessageBuilder();
            format.formatRate(builder, 45.0); // 45 B/s
            assertEquals("45.0 B/s", builder.build());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

                    scaledSymbol = "";
                }
    
                if (unit == ScaleUnit.BYTE) {
                    return largeFormat.format(size) + scaledSymbol;
                }
    
                if (scaledSize < 0.05 || scaledSize >= 10.0) {
                    return largeFormat.format(scaledSize) + scaledSymbol;
                } else {
                    return smallFormat.format(scaledSize) + scaledSymbol;
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. tests/test_path.py

                    "ctx": {"gt": 3.0},
                }
            ]
        }
    
    
    def test_path_param_gt0_0_05():
        response = client.get("/path/param-gt0/0.05")
        assert response.status_code == 200
        assert response.json() == 0.05
    
    
    def test_path_param_gt0_0():
        response = client.get("/path/param-gt0/0")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 20.5K bytes
    - Click Count (2)
  10. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

                    return new BigDecimal("0.5");
                }
    
                @Override
                public BigDecimal getQueryBoostContentAsDecimal() {
                    return new BigDecimal("0.05");
                }
    
                @Override
                public BigDecimal getQueryBoostImportantContentAsDecimal() {
                    return new BigDecimal("-1.0"); // Negative boost
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top