Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,393 for Create (0.05 sec)

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

            this.delegate = treeConnection;
        }
    
        static SmbTreeConnection create(final CIFSContext c) {
            if (c.getConfig().isTraceResourceUsage()) {
                return new SmbTreeConnectionTrace(c);
            }
            return new SmbTreeConnection(c);
        }
    
        static SmbTreeConnection create(final SmbTreeConnection c) {
            if (c.ctx.getConfig().isTraceResourceUsage()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

        private final int initialReceiveBuffers = 64;
        private final int sendBufferSize = 65536; // 64KB
        private final int receiveBufferSize = 65536; // 64KB
    
        /**
         * Create new RDMA buffer manager
         *
         * @param provider RDMA provider for memory registration
         */
        public RdmaBufferManager(RdmaProvider provider) {
            this.provider = provider;
    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/tcp/TcpRdmaConnection.java

        private static final Logger log = LoggerFactory.getLogger(TcpRdmaConnection.class);
    
        private SocketChannel socketChannel;
        private Socket socket;
    
        /**
         * Create new TCP RDMA connection
         *
         * @param remote remote socket address
         * @param local local socket address, may be null
         */
        public TcpRdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            assertEquals(sourceData.length, result);
            assertArrayEquals(sourceData, smallOutputBuffer);
        }
    
        @Test
        void testReadDataWireFormatExceedsBufferSize() {
            // Create a response with small output buffer
            byte[] smallOutputBuffer = new byte[5];
            TransCallNamedPipeResponse smallResponse = new TransCallNamedPipeResponse(mockConfig, smallOutputBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/HandlerTest.java

        }
    
        @Test
        @DisplayName("parseURL with null spec throws NullPointerException")
        void testParseURL_NullSpec() throws MalformedURLException {
            // Arrange: create a URL object to mutate via parseURL (same package allows calling protected method)
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server/share", handler);
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-handlers.go

    		return
    	}
    
    	// Validate the transition storage ARNs
    	if err = validateTransitionTier(bucketLifecycle); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Create a map of updated set of rules in request
    	updatedRules := make(map[string]lifecycle.Rule, len(bucketLifecycle.Rules))
    	for _, rule := range bucketLifecycle.Rules {
    		updatedRules[rule.ID] = rule
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. cmd/object-api-interface.go

    }
    
    // MakeBucketOptions represents bucket options for ObjectLayer bucket operations
    type MakeBucketOptions struct {
    	LockEnabled       bool
    	VersioningEnabled bool
    	ForceCreate       bool      // Create buckets even if they are already created.
    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(8);
    
            // Create output stream in append mode - note the append flag sets initial fp to 100
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle multiple configurations")
            void testMultipleConfigurations() throws SMBProtocolDecodingException {
                // Given - create multiple configurations
                Configuration config1 = mock(Configuration.class);
                Configuration config2 = mock(Configuration.class);
    
                Smb2LockResponse response1 = new Smb2LockResponse(config1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import java.math.BigInteger;
    import java.util.Date;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    public class PacDataInputStreamTest {
    
        // Helper to create PacDataInputStream from a byte array
        private PacDataInputStream createInputStream(byte[] data) throws IOException {
            return new PacDataInputStream(new ByteArrayInputStream(data));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top