Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for collocated (0.07 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. cmd/benchmark-utils_test.go

    	// md5sum of the data to written is required as input for PutObject.
    
    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    
    	for i := 0; b.Loop(); i++ {
    		// insert the object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

         * 2. the child project lists a dependency on project a only
         * 3. a depends on b (which is transitive to the child project),
         *    and b depends on c.
         *
         * We should see that the resulting size of collected artifacts is two:
         * a &amp; b only.
         */
        @Test
        void testDependencyManagementExclusionsExcludeTransitively() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * An entry in a hash table of a {@link Segment}.
       *
       * <p>Entries in the map can be in the following states:
       *
       * <p>Valid: - Live: valid key/value are set
       *
       * <p>Invalid: - Collected: key/value was partially collected, but not yet cleaned up
       */
      interface InternalEntry<K, V, E extends InternalEntry<K, V, E>> {
        /** Gets the next entry in the chain. */
        E getNext();
    
        /** Gets the entry's hash. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top