Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 50 for 1MB (0.02 seconds)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testLength() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            long expectedEndOfFile = 1024L * 1024L; // 1MB
            SMBUtil.writeInt8(expectedEndOfFile, buffer, 40);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String getIndexerDataMaxDocumentRequestSize() {
                    return "1048576"; // 1MB
                }
    
                @Override
                public Integer getIndexerDataMaxDocumentCacheSizeAsInteger() {
                    return 10000;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                            // Optimization: Set remaining bytes hint for server read-ahead
                            request.setRemainingBytes(Math.min(len - r, 1024 * 1024)); // Hint up to 1MB for read-ahead
    
                            try {
                                final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY);
                                n = resp.getDataLength();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. cmd/object-api-datatypes.go

    	{"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64},
    }
    
    // ObjectsHistogramIntervals is the list of all intervals
    // of object sizes to be included in objects histogram.
    // Note: this histogram expands 1024B-1MB to incl. 1024B-64KB, 64KB-256KB, 256KB-512KB and 512KB-1MiB
    var ObjectsHistogramIntervals = [dataUsageBucketLen]objectHistogramInterval{
    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * The character encoding for the request.
         */
        protected String encoding = "UTF-8";
    
        /**
         * The threshold size for the request body.
         */
        protected int threshold = 1024 * 1024; // 1MB
    
        /**
         * The HTTP method for the request.
         */
        protected final Method method;
    
        /**
         * The list of request parameters.
         */
        protected List<String> paramList;
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * @author Dimitris Andreou
     * @since 13.0
     */
    // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision
    // would mean a maximum rate of "1MB/s", which might be small in some cases.
    @Beta
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class RateLimiter {
      /**
       * Creates a {@code RateLimiter} with the specified stable throughput, given as "permits per
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        val ctxt = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext
    
        val cacheSize = 1L * 1024 * 1024 // 1MB
        val cache = Cache(ctxt.cacheDir.resolve("testCache"), cacheSize)
    
        try {
          client =
            client
              .newBuilder()
              .cache(cache)
              .build()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            }
        }
    
        @Test
        public void test_LargeResponse_UsesFileBasedCache() throws Exception {
            // ## Arrange ##
            int responseSize = 2 * 1024 * 1024; // 2MB, exceeds default 1MB threshold
            CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy",
                    u -> new LargeResponseMockHttpURLConnection(u, responseSize));
    
            long tmpFilesBefore = countTmpFiles();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  9. internal/s3select/jstream/README.md

    Two file sizes are used -- regular (1.6mb, 1000 objects) and large (128mb, 100000 objects)
    
    input size | lib | MB/s | Allocated
    --- | --- | --- | ---
    regular | standard | 97 | 3.6MB
    regular | jstream | 175 | 2.1MB
    large | standard | 92 | 305MB
    large | jstream | 404 | 69MB
    
    In a real world scenario, including initialization and reader overhead from varying blob sizes, performance can be expected as below:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_facet_contentLength_100kto500k = "{labels.facet_contentLength_100kto500k}";
    
        /** The key of the message: 500KB - 1MB */
        public static final String LABELS_facet_contentLength_500kto1m = "{labels.facet_contentLength_500kto1m}";
    
        /** The key of the message: 1MB - &amp;nbsp; */
        public static final String LABELS_facet_contentLength_1m = "{labels.facet_contentLength_1m}";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 172.6K bytes
    - Click Count (0)
Back to Top