Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Region1 (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            // Get a region and release it
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(1024);
            bufferManager.releaseSendRegion(region1);
    
            // Get another region - should potentially reuse from pool
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(1024);
            assertNotNull(region2);
    
            // Both regions should be valid
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

         * Release a send region back to the pool
         *
         * @param region memory region to release
         */
        public void releaseSendRegion(RdmaMemoryRegion region) {
            if (region.getSize() == sendBufferSize && availableSendRegions.size() < initialSendBuffers * 2) {
                availableSendRegions.offer(region);
            } else {
                region.close();
                totalReleased.incrementAndGet();
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaAccess.java

     * RDMA memory access permissions for registered memory regions.
     * These flags control what operations can be performed on a memory region.
     */
    public enum RdmaAccess {
        /**
         * Local read access to the memory region
         */
        LOCAL_READ,
    
        /**
         * Local write access to the memory region
         */
        LOCAL_WRITE,
    
        /**
         * Remote read access to the memory region
         */
        REMOTE_READ,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

        /** Access permissions for this memory region */
        protected final EnumSet<RdmaAccess> accessFlags;
        /** Local key for accessing this memory region */
        protected final int localKey;
        /** Remote key for remote RDMA access */
        protected final int remoteKey;
        /** Virtual address of the memory region */
        protected final long address;
        /** Flag indicating if the memory region is still valid */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.internal.smb2.rdma.RdmaAccess;
    import jcifs.internal.smb2.rdma.RdmaMemoryRegion;
    
    /**
     * DiSNI memory region implementation.
     *
     * This class would integrate with DiSNI to provide registered
     * memory regions for high-performance RDMA operations.
     *
     * Note: This is a skeleton implementation. A real implementation would
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EncodableTest.java

            // Assert: copied region equals the source slice.
            for (int i = 0; i < len; i++) {
                assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i);
            }
    
            // Assert: bytes before and after region remain unchanged.
            for (int i = 0; i < dstIndex; i++) {
                assertEquals((byte) 0x55, dst[i], "Unexpected change before copy region at " + i);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java

    /**
     * TCP memory region implementation.
     *
     * For TCP fallback, memory regions are just wrappers around
     * ByteBuffers since no real RDMA registration is needed.
     */
    public class TcpMemoryRegion extends RdmaMemoryRegion {
    
        private static final AtomicInteger keyGenerator = new AtomicInteger(1000);
    
        /**
         * Create new TCP memory region
         *
         * @param buffer memory buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    	}
    
    	cred.scope.region = credElements[1]
    	// Verify if region is valid.
    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/config-current_test.go

    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region() != globalMinioDefaultRegion {
    		t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region())
    	}
    
    	// Set new region and verify.
    	config.SetRegion(globalServerConfig, "us-west-1")
    	site, err := config.LookupSite(
    		globalServerConfig[config.SiteSubSys][config.Default],
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. cmd/server-startup-msg.go

    	}
    	return newAPIEndpoints
    }
    
    // Prints common server startup message. Prints credential, region and browser access.
    func printServerCommonMsg(apiEndpoints []string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region()
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top