Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 1000bytes (0.09 sec)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        public void test_byteCountToDisplaySize() {
            assertEquals("0bytes", MemoryUtil.byteCountToDisplaySize(0L));
            assertEquals("999bytes", MemoryUtil.byteCountToDisplaySize(999L));
            assertEquals("1000bytes", MemoryUtil.byteCountToDisplaySize(1000L));
            assertEquals("1.024KB", MemoryUtil.byteCountToDisplaySize(FileUtils.ONE_KB));
            assertEquals("999.999KB", MemoryUtil.byteCountToDisplaySize(999_999L));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            long _1000_bytes = 1000L;
            assertEquals("1.0 kB", format.format(_1000_bytes));
            assertEquals("1000 B", format.format(_1000_bytes, ScaleUnit.BYTE));
            assertEquals("1.0 kB", format.format(_1000_bytes, ScaleUnit.KILOBYTE));
            assertEquals("0 MB", format.format(_1000_bytes, ScaleUnit.MEGABYTE));
            assertEquals("0 GB", format.format(_1000_bytes, ScaleUnit.GIGABYTE));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top