- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for collocated (0.04 sec)
-
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
int expectedSize) { return new CompactLinkedHashSet<>(expectedSize); } private static final int ENDPOINT = -2; // TODO(user): predecessors and successors should be collocated (reducing cache misses). // Might also explore collocating all of [hash, next, predecessor, successor] fields of an // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2 /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
int expectedSize) { return new CompactLinkedHashSet<>(expectedSize); } private static final int ENDPOINT = -2; // TODO(user): predecessors and successors should be collocated (reducing cache misses). // Might also explore collocating all of [hash, next, predecessor, successor] fields of an // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2 /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
ResourceHolder holder = entry.getValue(); // Check if resource is abandoned if (!holder.closed && !holder.isAlive()) { // Resource object has been garbage collected but not closed reportLeak(holder); activeResources.remove(entry.getKey()); cleaned++; } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
public void close() throws Exception { cleanup(); } /** * Get total number of regions allocated * * @return total allocated regions */ public long getTotalAllocated() { return totalAllocated.get(); } /** * Get total number of regions released * * @return total released regions */ public long getTotalReleased() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
private final int pointer; /** * Constructs a new PacUnicodeString instance. * * @param length the actual length of the string in bytes * @param maxLength the maximum allocated length for the string in bytes * @param pointer the pointer/offset to the string data */ public PacUnicodeString(final short length, final short maxLength, final int pointer) { this.length = length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>. * * <p>Keep a strong reference to this object until all of the associated referents have been * finalized. If this object is garbage collected earlier, the backing thread will not invoke {@code * finalizeReferent()} on the remaining references. * * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interners.java
return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has * interned, thus preventing these instances from being garbage-collected. If this retention is * acceptable, this implementation may perform better than {@link #newWeakInterner}. */ public static <E> Interner<E> newStrongInterner() { return newBuilder().strong().build(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertNotNull(sendBuffer, "Send buffer should be allocated"); assertTrue(sendBuffer.getSize() >= 8192, "Send buffer should be at least 8KB"); RdmaMemoryRegion recvBuffer = bufferManager.getReceiveRegion(); assertNotNull(recvBuffer, "Receive buffer should be allocated"); assertTrue(recvBuffer.getSize() > 0, "Receive buffer should have positive size");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} }; // When BufferCache.getBuffers(req, rsp); // Then assertNotNull(req.txn_buf, "Request buffer should be allocated"); assertNotNull(rsp.txn_buf, "Response buffer should be allocated"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, req.txn_buf.length, "Request buffer should have correct size");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation assertTrue(bufferManager.getTotalAllocated() > initialAllocated, "Total allocated should increase"); assertTrue(bufferManager.getActiveRegions() > 0, "Active regions should be positive"); // Release regions bufferManager.releaseSendRegion(region1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0)