Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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 Dec 28 03:35:09 GMT 2025
    - 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. src/main/resources/fess_label_de.properties

    labels.facet_contentLength_10k=  - 10 KB
    labels.facet_contentLength_10kto100k=10 KB - 100 KB
    labels.facet_contentLength_100kto500k=100 KB - 500 KB
    labels.facet_contentLength_500kto1m=500 KB - 1 MB
    labels.facet_contentLength_1m=1 MB -  
    labels.facet_contentLength_10kto50k=10 KB - 50 KB
    labels.facet_contentLength_50kto100k=50 KB - 100 KB
    labels.facet_contentLength_100kto250k=100 KB - 250 KB
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 46.9K bytes
    - Click Count (1)
  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 Dec 28 03:35:09 GMT 2025
    - 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

        // CHECKSTYLE_OFF: LineLength
        /**
         * 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  8. 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: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/Kerb5Authenticator.java

     * This can be a problem if using DFS in it's default configuration as they still return 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.
     */
    public class Kerb5Authenticator extends NtlmPasswordAuthenticator {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 03 14:55:52 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top