- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 248 for calculate (0.07 seconds)
-
cmd/metrics-v3-cache.go
m.percUtil = float64(ioStats.TotalTicks) * 100 / (durationSecs * 1000) return m } func newDriveMetricsCache() *cachevalue.Cache[storageMetrics] { var ( // prevDriveIOStats is used to calculate "per second" // values for IOStat related disk metrics e.g. reads/sec. prevDriveIOStats map[string]madmin.DiskIOStats prevDriveIOStatsMu sync.RWMutex prevDriveIOStatsRefreshedAt time.Time )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.1K bytes - Click Count (0) -
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"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 17 17:09:42 GMT 2025 - 5.7K bytes - Click Count (0) -
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 stateCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 10.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java
import org.apache.maven.project.MavenProject; /** * Lifecycle mapping delegate component interface. Calculates project build execution plan given {@link Lifecycle} and * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to * calculate the execution plan, but custom lifecycles can use alternative mapping strategies. */ @Named(DefaultLifecycleMappingDelegate.HINT)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 8.5K bytes - Click Count (0) -
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); // writeChannelInfoOffsetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
apache-maven/pom.xml
</descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </execution> </executions> </plugin> <!-- calculate checksums of source release for Apache dist area --> <plugin> <groupId>net.nicoulaj.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.11</version>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 30 07:38:30 GMT 2026 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
} return leastLoadedChannel != null ? leastLoadedChannel : channels.iterator().next(); } private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) { // Calculate total weight int totalWeight = 0; for (ChannelInfo channel : channels) { totalWeight += channel.getScore(); } if (totalWeight == 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @Test @DisplayName("Should correctly calculate bytes read from different starting positions") void testReadBytesWireFormatDifferentStartPositions() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[20];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
maven-tests/mvnw
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Sep 25 18:22:49 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
long timeMiddle = measureEqualsTime(baseAuth, middleAuth, TIMING_ITERATIONS); long timeEnd = measureEqualsTime(baseAuth, endAuth, TIMING_ITERATIONS); // Calculate relative timing differences double maxTime = Math.max(Math.max(timeStart, timeMiddle), timeEnd); double minTime = Math.min(Math.min(timeStart, timeMiddle), timeEnd);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0)