Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 200 for calculated (0.07 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            final long totalBytes = runtime.totalMemory();
            return totalBytes - freeBytes;
        }
    
        /**
         * Estimates the size of an object in bytes.
         *
         * @param obj the object to calculate size for
         * @return estimated size in bytes
         */
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

        void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException {
            byte[] buffer = new byte[50];
            int used = cmd.writeBytesWireFormat(buffer, 0);
            // Calculate expected size: 1 byte for command + string bytes + 1 null terminator
            byte[] expectedString = "testfile.txt".getBytes("windows-1252");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    	maxPartsCount             = 10000
    	maxPartSize               = 1024 * 1024 * 1024 * 5
    	minPartSize               = 1024 * 1024 * 128 // chosen by us to be optimal for HDDs
    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Suppliers.java

       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
       * delegating calls until it returns valid data.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        }
    
        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
            pendingOperations.clear();
        }
    
        /**
         * Calculate channel score for load balancing (higher is better)
         *
         * @return channel score
         */
        public int getScore() {
            int score = 100;
    
            // Adjust based on state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrcHasher);
      }
    
      // From RFC 3720, Section 12.1, the polynomial generator is 0x11EDC6F41.
      // We calculate the constant below by:
      //   1. Omitting the most significant bit (because it's always 1). => 0x1EDC6F41
      //   2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    		}
    		if !bytes.Equal(h.Sum(nil), want) {
    			return errFileCorrupt
    		}
    		return nil
    	}
    
    	h := algo.New()
    	hashBuf := make([]byte, h.Size())
    	left := wantSize
    
    	// Calculate the size of the bitrot file and compare
    	// it with the actual file size.
    	if left != bitrotShardFileSize(partSize, shardSize, algo) {
    		return errFileCorrupt
    	}
    
    	bufp := xioutil.ODirectPoolSmall.Get()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            dstIndex += 4;
    
            // WriteChannelInfo (Offset/Length for SMB2_RDMA_TRANSFORM)
            if (rdmaChannelInfo != null && channel == Smb2Constants.SMB2_CHANNEL_RDMA_V1) {
                // Calculate offset for SMB2_RDMA_TRANSFORM after data
                int transformOffset = 112 + this.dataLength; // After header (64) + write req (48) + data
                SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/main.go

    		os.Exit(1)
    	}
    	for _, input := range inputs {
    		processFile(input, privateKeys)
    	}
    }
    
    func processFile(inputFileName string, privateKeys [][]byte) {
    	// Calculate the output file name
    	var outputFileName string
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top