Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for totalBytes (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testDecodeVariousTotalBytesWritten(int totalBytes) throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(0, 0, totalBytes);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(totalBytes, response.getTotalBytesWritten());
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
          hashCode.writeBytesTo(bb, 0, bb.length);
    
          assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
          hashCode.writeBytesTo(bb, 0, bb.length);
    
          assertTrue(Arrays.equals(Arrays.copyOf(hashBytes, bytes), bb));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            long totalBytes = bytesEncrypted.get() + additionalBytes;
    
            boolean needsRotation = (keyRotationBytesLimit > 0 && totalBytes >= keyRotationBytesLimit)
                    || (keyRotationTimeLimit > 0 && timeSinceStart >= keyRotationTimeLimit);
    
            if (needsRotation) {
                log.info("Key rotation needed - bytes: {} / {} MB, time: {} / {} hours", totalBytes / (1024 * 1024),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    		writesAwait:       "Average time for write requests to be served on a drive",
    		percUtil:          "Percentage of time the disk was busy",
    		usedBytes:         "Used bytes on a drive",
    		totalBytes:        "Total bytes on a drive",
    		usedInodes:        "Total inodes used on a drive",
    		totalInodes:       "Total inodes on a drive",
    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                byte[] buffer = new byte[200];
    
                // When
                int totalBytes = copy.encode(buffer, 0);
    
                // Then
                assertEquals(HEADER_SIZE + 20 + 24 + 22, totalBytes);
                verify(mockChunk1).encode(buffer, HEADER_SIZE);
                verify(mockChunk2).encode(buffer, HEADER_SIZE + 20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top