Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for kB (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

                    Arguments.of(0L, 8000L, "0/8.0 kB"),
                    Arguments.of(400L, 8000L, "0.4/8.0 kB"),
                    Arguments.of(4000L, 8000L, "4.0/8.0 kB"),
                    Arguments.of(8000L, 8000L, "8.0 kB"),
                    Arguments.of(8000L, 50000L, "8.0/50 kB"),
                    Arguments.of(16000L, 50000L, "16/50 kB"),
                    Arguments.of(50000L, 50000L, "50 kB"),
    
                    // Megabytes tests
    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)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            assertEquals("0/8.0 kB", format.formatProgress(0L, 8000L));
            assertEquals("0.4/8.0 kB", format.formatProgress(400L, 8000L));
            assertEquals("4.0/8.0 kB", format.formatProgress(4000L, 8000L));
            assertEquals("8.0 kB", format.formatProgress(8000L, 8000L));
            assertEquals("8.0/50 kB", format.formatProgress(8000L, 50000L));
            assertEquals("16/50 kB", format.formatProgress(16000L, 50000L));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

        private String getStatus(long complete, long total) {
            if (total >= 1024) {
                return toKB(complete) + "/" + toKB(total) + " KB ";
            } else if (total >= 0) {
                return complete + "/" + total + " B ";
            } else if (complete >= 1024) {
                return toKB(complete) + " KB ";
            } else {
                return complete + " B ";
            }
        }
    
        private void pad(StringBuilder buffer, int spaces) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

    package org.apache.maven.cling.transfer;
    
    import org.apache.maven.api.services.MessageBuilder;
    
    /**
     * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix
     * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
     * and <code>###0</code> for numbers between 10 and 1000+ by default.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

    package org.apache.maven.cli.transfer;
    
    import org.apache.maven.api.services.MessageBuilder;
    
    /**
     * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix
     * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10
     * and <code>###0</code> for numbers between 10 and 1000+ by default.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            } else if (size.divide(ONE_KB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size).divide(BigDecimal.valueOf(1000)) + "KB";
            } else {
                displaySize = size + "bytes";
            }
            return displaySize;
        }
    
        /**
         * Gets the currently used memory in bytes.
         *
         * @return used memory in bytes
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/JAASAuthenticator.java

     * This can be a problem if using DFS in it's default configuration as that still returns referrals in short form.
     * See <a href="https://support.microsoft.com/en-us/kb/244380">KB-244380</a> for compatible server configuration.
     * See {@link jcifs.Configuration#isDfsConvertToFQDN()} for a workaround.
     *
     * @author mbechler
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  8. cmd/streaming-v4-unsigned.go

    				return n, cr.err
    			}
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 03 14:55:52 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. cmd/veeam-sos-api.go

    //     processing possible from the customer side).
    //     Optional value, default 1024, allowed values 256,512,1024,4096,8192, value defined in KB size.
    //
    // - The object should be present in all buckets accessed by Veeam products that want to leverage the SOSAPI functionality.
    //
    // - The current protocol version is 1.0.
    type apiEndpoints struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    } else {
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a><div align='right'>");
                        out.print(f.length() / 1024 + " KB </div><div>");
                        i = name.lastIndexOf('.') + 1;
                        if (i > 1 && name.length() - i < 6) {
                            out.print(name.substring(i).toUpperCase() + "</div class='ext'>");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
Back to Top