Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 946 for f000 (0.04 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

        void testFormatDuration() {
            assertEquals("0.001 s", CLIReportingUtils.formatDuration(1));
            assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1));
            assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000));
            assertEquals("59.999 s", CLIReportingUtils.formatDuration(60 * 1000 - 1));
            assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    			ModTime:  time.Unix(1392395740, 0),
    			Typeflag: 0x53,
    			Linkname: "",
    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			Format:   FormatGNU,
    		}, {
    			Name:     "sparse-posix-0.0",
    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. src/main/resources/fess_config.properties

    paging.page.range.fill.limit = true
    
    # fetch page size
    page.docboost.max.fetch.size=1000
    page.keymatch.max.fetch.size=1000
    page.labeltype.max.fetch.size=1000
    page.roletype.max.fetch.size=1000
    page.user.max.fetch.size=1000
    page.role.max.fetch.size=1000
    page.group.max.fetch.size=1000
    page.crawling.info.param.max.fetch.size=100
    page.crawling.info.max.fetch.size=1000
    page.data.config.max.fetch.size=100
    page.web.config.max.fetch.size=100
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    ## user and group NOTE: securityContext is only enabled if persistence.enabled=true
    securityContext:
      enabled: true
      runAsUser: 1000
      runAsGroup: 1000
      fsGroup: 1000
      fsGroupChangePolicy: "OnRootMismatch"
    
    containerSecurityContext:
      readOnlyRootFilesystem: false
    
    # Additational pod annotations
    podAnnotations: {}
    
    # Additional pod labels
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            String query = "*";
            int allRecordCount = 1000;
            int pageSize = 100;
            int offset = 0;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.register(new TestSubSearcher(10, 0, 0));
                rankFusionProcessor.init();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("1,000", FessFunctions.formatNumber(1000, "###,###"));
            assertEquals("1,000,000", FessFunctions.formatNumber(1000000, "###,###"));
        }
    
        public void test_formatFileSize() {
            assertEquals("0", FessFunctions.formatFileSize(0));
            assertEquals("1000", FessFunctions.formatFileSize(1000));
            assertEquals("976.6K", FessFunctions.formatFileSize(1000000));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final long current =
                    1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond();
            final long now = System.currentTimeMillis();
            assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
            assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current);
        }
    
        public void test_getLogFilePath() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. cmd/net.go

    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    // such as, ":9000", "localhost:9000", "http://localhost:9000/"
    func extractHostPort(hostAddr string) (string, string, error) {
    	var addr, scheme string
    
    	if hostAddr == "" {
    		return "", "", errors.New("unable to process empty address")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top