- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 200 for calculates (0.4 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
* Returns the current sum. The returned value is NOT an atomic snapshot; invocation in * the absence of concurrent updates returns an accurate result, but concurrent updates that occur * while the sum is being calculated might not be incorporated. * * @return the sum */ @Override public long sum() { long sum = base; Cell[] as = cells; if (as != null) { int n = as.length;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertEquals(8L * 4096L * 512L, smbInfoAllocation.getCapacity()); assertEquals(8L * 2048L * 512L, smbInfoAllocation.getFree()); } @Test @DisplayName("Should calculate capacity correctly") void testCapacityCalculation() throws SMBProtocolDecodingException { byte[] buffer = new byte[24]; buffer[4] = 0x04; // sectPerAlloc = 4 buffer[8] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
validCount++; } } assertEquals(3, validCount); assertTrue(offset > 0); } @Test @DisplayName("Should calculate combined size for multiple contexts") void testCombinedSizeCalculation() { CreateContextRequest[] contexts = new CreateContextRequest[5]; int[] expectedSizes = { 16, 24, 32, 40, 48 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.9.md
* Secret data containing Docker registry auth objects is now generated using the config.json format ([#53916](https://github.com/kubernetes/kubernetes/pull/53916),[ @juanvallejo](https://github.com/juanvallejo))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Nov 16 10:46:27 UTC 2021 - 313.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, context.getSalt().length); } @ParameterizedTest @ValueSource(ints = { 0, 1, 3, 5, 10 }) @DisplayName("Should calculate size correctly for different hash algo counts") void testSizeCalculation(int hashAlgoCount) { // Arrange int[] hashAlgos = new int[hashAlgoCount]; byte[] salt = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion. * <p> * <strong>Note:</strong> Actual implementations must be thread-safe. * * @see Session#getData() * @since 4.0.0 */ @Experimental @ThreadSafe @Provider
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/erasure/storage-class/README.md
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// When & Then assertEquals(Long.MIN_VALUE, allocInfo.getCapacity()); assertEquals(Long.MIN_VALUE, allocInfo.getFree()); } @Test @DisplayName("Should calculate used space correctly") void shouldCalculateUsedSpaceCorrectly() { // Given long capacity = 1024L * 1024L * 1024L * 100L; // 100GB long free = 1024L * 1024L * 1024L * 40L; // 40GB
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Then assertNotNull(response); assertTrue(response instanceof Smb2TreeConnectResponse); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Should calculate correct message size for different paths") void testSize() { // Given String shortPath = "\\\\a\\b"; String longPath = "\\\\server.domain.com\\very_long_share_name_here";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
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)