Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 403 for Allocation (0.04 sec)

  1. src/test/java/jcifs/smb/BufferCacheImplTest.java

            }
    
            // Since cache cannot store, getBuffer must create a new buffer of configured size
            byte[] got = impl.getBuffer();
            assertNotNull(got);
            assertEquals(8, got.length, "Allocation uses configured maximum size when cache is empty");
            assertNotSame(supplied, got, "Zero-sized cache must not return the released instance");
        }
    
        // Edge: releasing null must be a no-op without exceptions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        /**
         * Get the file change time
         *
         * @return the changeTime
         */
        public final long getChangeTime() {
            return this.changeTime;
        }
    
        /**
         * Get the file allocation size
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

       *
       * @see IntStream#findFirst()
       * @throws NullPointerException if the last element of the stream is null
       */
      public static OptionalInt findLast(IntStream stream) {
        // findLast(Stream) does some allocation, so we might as well box some more
        java.util.Optional<Integer> boxedLast = findLast(stream.boxed());
        return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (1)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        }
    
        /**
         * Record RDMA connection closure
         */
        public void recordConnectionClosed() {
            connectionsActive.decrementAndGet();
        }
    
        /**
         * Record memory region allocation
         */
        public void recordMemoryRegionAllocated() {
            memoryRegionsAllocated.incrementAndGet();
            memoryRegionsActive.incrementAndGet();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Louis Wasserman
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashSet}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
                @Override
                public void run() {
                  task.run();
                }
    
                @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        }
    
        /**
         * Get the file change time
         * @return the changeTime
         */
        public final long getChangeTime() {
            return this.changeTime;
        }
    
        /**
         * Get the allocation size of the file
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            return buffer;
        }
    
        private byte[] createMockFileStandardInfoBuffer() {
            // Create a buffer that represents FileStandardInfo data
            byte[] buffer = new byte[24];
    
            // Mock allocation size (8 bytes)
            for (int i = 0; i < 8; i++) {
                buffer[i] = (byte) i;
            }
    
            // Mock end of file (8 bytes)
            for (int i = 8; i < 16; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top