Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BufferCacheImpl (0.94 sec)

  1. src/main/java/jcifs/smb/BufferCacheImpl.java

     */
    public class BufferCacheImpl implements BufferCache {
    
        private final Object[] cache;
        private final int bufferSize;
        private int freeBuffers = 0;
    
        /**
         * Constructs a buffer cache using configuration settings.
         *
         * @param cfg the configuration to use for buffer cache settings
         */
        public BufferCacheImpl(final Configuration cfg) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

            void negativeMaxBuffersThrows() {
                assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10));
            }
    
            @Test
            @DisplayName("Negative maxSize throws when allocating a new buffer")
            void negativeMaxSizeThrowsOnAllocation() {
                BufferCacheImpl impl = new BufferCacheImpl(0, -7);
                assertThrows(NegativeArraySizeException.class, impl::getBuffer);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/BaseContext.java

    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    import jcifs.SmbResource;
    import jcifs.SmbTransportPool;
    import jcifs.netbios.NameServiceClientImpl;
    import jcifs.smb.BufferCacheImpl;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.DfsImpl;
    import jcifs.smb.Handler;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SIDCacheImpl;
    import jcifs.smb.SmbFile;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top