- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 120 for calculations (0.08 seconds)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
assertEquals(20, bytesDecoded); // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect long expectedCapacity = alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity()); // Verify free space calculation: free * sectPerAlloc * bytesPerSect long expectedFree = free * sectPerAlloc * bytesPerSect;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
protected final List<Map<String, Object>> parent; /** The starting position of the current page in the overall result set. */ protected final int start; /** The offset value used for pagination calculations. */ protected final int offset; /** The number of records per page. */ protected final int pageSize; /** The current page number (1-based). */ protected int currentPageNumber;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
import java.time.LocalDateTime; import java.time.ZonedDateTime; import java.util.Collection; import java.util.Date; import java.util.Map; import java.util.Objects; /** * Utility class for memory operations and size calculations. */ public final class MemoryUtil { private MemoryUtil() { } /** * Gets a formatted memory usage log string. * * @return formatted memory usage information */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/warm-backend-minio.go
if objectSize > maxMultipartPutObjectSize { err = errors.New("entity too large") return partSize, err } configuredPartSize := minPartSize // Use floats for part size for all calculations to avoid // overflows during float64 to int64 conversions. partSizeFlt := float64(objectSize / maxPartsCount) partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertEquals(1, stats.getOperationErrors(), "Should have 1 error"); assertEquals(0.25, stats.getErrorRate(), 0.001, "Error rate should be 25% (1 error out of 4 successful operations)"); // Verify latency calculations assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive"); assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
int bytesEncoded = buffer.encode(dst, 0); assertEquals(buffer.size(), bytesEncoded); } } @Test @DisplayName("Should handle concurrent size calculations") void testConcurrentSizeCalculations() throws InterruptedException { String path = "\\\\server\\share\\test"; buffer = new DfsReferralRequestBuffer(path, 3);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
return result; } } /** * This method is needed to "align" values used later on for interpolations and path calculations. * We enforce "canonical" paths, so IF key and canonical path value disagree, let override it. */ protected void mayOverrideDirectorySystemProperty(LocalContext context, String javaSystemPropertyKey, Path value) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
// Then assertEquals(7000L * 8 * 512, usedSpace); } @Test @DisplayName("Should support percentage calculations") void shouldSupportPercentageCalculations() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
pageSize, offset); } /** * Converts an object value to a float for score calculations. * Handles Float and String types, returning 0.0f for unsupported types. * * @param value the object to convert to float * @return float representation of the value, or 0.0f if conversion failsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Then assertEquals(7000L * 8 * 512, usedSpace); } @Test @DisplayName("Should support percentage calculations") void shouldSupportPercentageCalculations() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0)