- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 105 for overheads (0.07 seconds)
-
src/main/java/jcifs/smb1/smb1/BufferCache.java
*/ package jcifs.smb1.smb1; import jcifs.smb1.Config; /** * Buffer cache implementation for SMB1 protocol operations. * Manages a pool of byte buffers to reduce garbage collection overhead. * * Performance optimizations: * - Uses ConcurrentLinkedQueue for O(1) operations * - Lock-free operations for better concurrency * - Proper buffer validation and limits */ public class BufferCache {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
System.out.printf(" Avg release time: %.2f ns%n", avgReleaseTimeNs); // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead) assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)"); assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
this.maxReadSize = Math.min(maxBufferSize - Smb2ReadResponse.OVERHEAD, Math.min(tc.getConfig().getReceiveBufferSize(), this.maxReadSize)) & ~0x7; this.maxWriteSize = Math.min(maxBufferSize - Smb2WriteRequest.OVERHEAD, Math.min(tc.getConfig().getSendBufferSize(), this.maxWriteSize)) & ~0x7;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should return correct OVERHEAD constant value") void testOverheadConstant() { // Then assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD); } @Test @DisplayName("Should initially have zero data length") void testInitialDataLength() { // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertArrayEquals(newFileId, Arrays.copyOfRange(buffer, 16, 32)); } @Test @DisplayName("Should maintain constant overhead") void testOverheadConstant() { assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 48, Smb2WriteRequest.OVERHEAD); } @Test @DisplayName("Should handle boundary conditions") void testBoundaryConditions() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/AggConstructionContentionBenchmark.java
import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.function.Function; /** * Benchmarks the overhead of constructing {@link Aggregator}s in many * parallel threads. Machines with different numbers of cores will see * wildly different results running this from running this with moreCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 16 08:22:22 GMT 2021 - 12.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPlugin.java
); } /** * Newer elasticsearch branches allow building extracted bwc elasticsearch versions * from source without the overhead of creating an archive by using assembleExtracted instead of assemble. */ public String getAssembleTaskName() { return extractedAssembleSupported ? "extractedAssemble" : "assemble"; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Aug 18 09:11:28 GMT 2021 - 14.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * RDMA buffer manager for efficient memory region pooling. * * Manages pools of pre-registered memory regions to avoid the overhead * of frequent registration/deregistration during RDMA operations. */ public class RdmaBufferManager implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(RdmaBufferManager.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
} /** * Returns the current elapsed time shown on this stopwatch, expressed in the desired time unit, * with any fraction rounded down. * * <p><b>Note:</b> the overhead of measurement can be more than a microsecond, so it is generally * not useful to specify {@link TimeUnit#NANOSECONDS} precision here. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* * @author Kevin Bourrillion * @author Jens Nyman * @since 1.0 */ @DoNotMock("Use FakeTimeLimiter") @J2ktIncompatible @GwtIncompatible @SuppressWarnings("GoodTime") // should have java.time.Duration overloads public interface TimeLimiter { /** * Returns an instance of {@code interfaceType} that delegates all method calls to the {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 8.2K bytes - Click Count (0)