Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for size (0.02 sec)

  1. cmd/site-replication-metrics.go

    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    func (rt *RTimedMetrics) addsize(size int64, err error) {
    	// failures seen since uptime
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        }
    
        /**
         * Get the maximum size for RDMA read/write operations
         *
         * @return maximum read/write size in bytes
         */
        public int getMaxReadWriteSize() {
            return maxReadWriteSize;
        }
    
        /**
         * Set the maximum size for RDMA read/write operations
         *
         * @param maxReadWriteSize maximum read/write size in bytes
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		return
    	}
    
    	actualSize := size
    	var idxCb func() []byte
    	if isCompressible(r.Header, object) && size > minCompressibleSize {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    		metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    		actualReader, err := hash.NewReader(ctx, reader, size, md5hex, sha256hex, actualSize)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		}
    		root.merge(e)
    	}
    	root.Children = nil
    	return root
    }
    
    // add a size to the histogram.
    func (h *sizeHistogram) add(size int64) {
    	// Fetch the histogram interval corresponding
    	// to the passed object size.
    	for i, interval := range ObjectsHistogramIntervals[:] {
    		if size >= interval.start && size <= interval.end {
    			h[i]++
    			break
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	hashReader, err := hash.NewReaderWithOpts(ctx, reader, hash.Options{
    		Size:       size,
    		MD5Hex:     md5hex,
    		SHA256Hex:  sha256hex,
    		ActualSize: actualSize,
    		DisableMD5: false,
    		ForceMD5:   forceMD5,
    	})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if err := hashReader.AddChecksum(r, size < 0); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            final int size = Encdec.dec_uint16be(this.sbuf, 2) & 0xFFFF;
            if (size < 33 || 4 + size > this.sbuf.length) {
                throw new IOException("Invalid payload size: " + size);
            }
            final int hdrSize = this.smb2 ? Smb2Constants.SMB2_HEADER_LENGTH : SMB1_HEADER_LENGTH;
            readn(this.in, this.sbuf, 4 + hdrSize, size - hdrSize);
            log.trace("Read negotiate response");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    			CustomHeader: cHeader,
    		}
    
    		var size int64
    		if isSSEC {
    			size = partInfo.Size
    		} else {
    			size = partInfo.ActualSize
    		}
    		objectSize += size
    		pInfo, err := c.PutObjectPart(ctx, bucket, object, uploadID, partInfo.Number, hr, size, popts)
    		if err != nil {
    			return err
    		}
    		if pInfo.Size != size {
    			return fmt.Errorf("ssec(%t): Part size mismatch: got %d, want %d", isSSEC, pInfo.Size, size)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            byte[] buffer = new byte[104]; // Exact size needed
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Write structure
            SMBUtil.writeInt2(9, buffer, offset);
            SMBUtil.writeInt2(80 - 64, buffer, offset + 2);
            SMBUtil.writeInt4(24, buffer, offset + 4); // Exact notification size
    
            // Write notification
            int notifyOffset = 80;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java

        /**
         * Default maximum receive size (8KB)
         */
        public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192;
    
        /**
         * Default maximum fragmented size (128KB)
         */
        public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB
    
        /**
         * Default maximum read/write size (1MB)
         */
        public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576; // 1MB
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
         * Test that malformed structure size is properly rejected.
         */
        @Test
        public void testMalformedStructureSize() {
            byte[] malformedBuffer = createBasicNegotiateResponseBuffer();
            // Set incorrect structure size (should be 65)
            SMBUtil.writeInt2(64, malformedBuffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top