Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 752 for Allocation (0.05 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertTrue(result.contains("sectPerAlloc=" + sectPerAlloc));
            assertTrue(result.contains("bytesPerSect=" + bytesPerSect));
        }
    
        @Test
        @DisplayName("Test decode with single sector per allocation")
        void testDecodeWithSingleSectorPerAllocation() throws SMBProtocolDecodingException {
            // Prepare test data with sectPerAlloc = 1
            byte[] buffer = new byte[22];
            int idFileSystem = 0x11111111;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
    
            try (RdmaBufferManager bufferManager = new RdmaBufferManager(provider)) {
                // Test basic buffer allocation
                RdmaMemoryRegion sendRegion = bufferManager.getSendRegion(4096);
                assertNotNull(sendRegion, "Send region should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    // license that can be found in the LICENSE file.
    
    package bytes
    
    // Simple byte buffer for marshaling data.
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // smallBufferSize is an initial allocation minimal capacity.
    const smallBufferSize = 64
    
    // A Buffer is a variable-sized buffer of bytes with [Buffer.Read] and [Buffer.Write] methods.
    // The zero value for Buffer is an empty buffer ready to use.
    type Buffer struct {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            // Allocate regions larger than pool buffer size to force new allocations
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation
    
            assertTrue(bufferManager.getTotalAllocated() > initialAllocated, "Total allocated should increase");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        /*
         * TODO: cpovirk - Pre-size the HashMap based on the number of enum values? (But *not* based on
         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<>(keyTypeOrObjectUnderJ2cl), new HashMap<>());
        Serialization.populateMap(this, stream);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         * The total length of this DCERPC message
         */
        protected int length = 0;
        /**
         * The call ID for matching requests and responses
         */
        protected int call_id = 0;
        /**
         * The allocation hint for buffer sizing
         */
        protected int alloc_hint = 0;
        /**
         * The result code of the DCERPC operation
         */
        protected int result = 0;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Gets the allocation size.
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Gets the end of file position.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         * The total length of this DCERPC message
         */
        protected int length = 0;
        /**
         * The call ID for matching requests and responses
         */
        protected int call_id = 0;
        /**
         * The allocation hint for buffer sizing
         */
        protected int alloc_hint = 0;
        /**
         * The result code of the DCERPC operation
         */
        protected int result = 0;
    
        /**
         * Checks if a specific flag is set
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/arena/arena.go

    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    limits the impact of these use-after-free bugs by preventing reuse of freed
    memory regions until the garbage collector is able to determine that it is
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top