- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 88 for overheads (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
architecture/standards/0002-avoid-using-java-serialization.md
This is due to Java's use of reflection and the need to maintain a lot of metadata. - **Size of Serialized Data:** Java serialization tends to produce larger serialized objects because it includes class metadata and other overhead. - **Flexibility and Control:** Java serialization offers limited control over the serialization process, such as excluding certain fields, customizing naming conventions, and handling complex data structures more gracefully.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 14:05:45 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password)); byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password); // Assert: overloads consistent assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key"); // Changing domain should change the key (domain is part of MAC input) byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
private final List<EventSpy> eventSpies; @Inject public EventSpyDispatcher(List<EventSpy> eventSpies) { // make copy to get rid of needless overhead for dynamic lookups this.eventSpies = new ArrayList<>(eventSpies); } public ExecutionListener chainListener(ExecutionListener listener) { if (eventSpies.isEmpty()) { return listener;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* </ul> * * <p>Disadvantages compared to {@code long[]}: * * <ul> * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). * <li><i>Some</i> construction use cases force the data to be copied (though several construction * APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code long[]} (though the most common * utilities do have replacements here).Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
} catch (SecurityException e) { // OK if we can't set the name in this environment. } return result; } // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService? // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to // calculate names? /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
* * @author David Richter */ @NullUnmarked public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* intended to be used as a metric: smaller headers are more efficient to encode and transmit. */ fun byteCount(): Long { // Each header name has 2 bytes of overhead for ': ' and every header value has 2 bytes of // overhead for '\r\n'. var result = (namesAndValues.size * 2).toLong() for (i in 0 until namesAndValues.size) { result += namesAndValues[i].length.toLong() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test OVERHEAD constant value") void testOverheadConstant() { assertEquals(72, Smb2QueryDirectoryResponse.OVERHEAD); assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, Smb2QueryDirectoryResponse.OVERHEAD); } @Test @DisplayName("Test readBytesWireFormat with buffer boundary conditions")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
import com.google.common.base.Function; import java.util.ListIterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
import com.google.common.base.Function; import java.util.ListIterator; import org.jspecify.annotations.Nullable; /** * An iterator that transforms a backing list iterator; for internal use. This avoids the object * overhead of constructing a {@link Function} for internal methods. * * @author Louis Wasserman */ @GwtCompatible abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0)