Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for cap1 (0.03 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        void testHaveCapabilityMultipleFlags() {
            // Arrange
            int cap1 = 0x00000001;
            int cap2 = 0x00000002;
            int cap3 = 0x00000004;
            when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true);
            when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);
            when(negotiationResponse.haveCapabilitiy(cap3)).thenReturn(true);
    
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
            when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0);
    
            boolean result = transport.hasCapability(cap);
    
            assertEquals(cap >= 0, result);
            verify(transport, times(1)).hasCapability(cap);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
            boolean result = handle.hasCapability(cap);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int)
         */
        @Override
        public boolean haveCapabilitiy(final int cap) {
            return (this.commonCapabilities & cap) == cap;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. docs/vi/docs/deployment/cloud.md

    # Triển khai FastAPI trên các Dịch vụ Cloud
    
    Bạn có thể sử dụng **bất kỳ nhà cung cấp dịch vụ cloud** nào để triển khai ứng dụng FastAPI của mình.
    
    Trong hầu hết các trường hợp, các nhà cung cấp dịch vụ cloud lớn đều có hướng dẫn triển khai FastAPI với họ.
    
    ## Nhà cung cấp dịch vụ Cloud - Nhà tài trợ
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // Then
            int caps = request.getCapabilities();
            int capCount = 0;
            if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0)
                capCount++;
            if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0)
                capCount++;
    
            assertEquals(expectedCapabilityCount, capCount);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                // Verify the request offset equals the skip value (2)
                ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class);
                verify(mockTree).send(cap.capture(), any(RequestParam.class));
                Smb2ReadRequest req = cap.getValue();
    
                // Reflectively inspect the private 'offset' field to assert it used the advanced fp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. docs/vi/docs/index.md

    ### Tài liệu API thay thế
    
    Và bây giờ, hãy truy cập tới <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
    
    Bạn sẽ thấy tài liệu được thay thế (cung cấp bởi <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Nâng cấp ví dụ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            TestSearchLogEvent event = new TestSearchLogEvent("id", 1L, "type");
    
            // Initial empty map
            Map<String, Object> map1 = new HashMap<>();
            event.setSourceMap(map1);
            assertEquals(0, event.toSource().size());
    
            // Add elements to the map
            map1.put("key1", "value1");
            assertEquals(1, event.toSource().size());
    
            // Replace the map
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         */
        boolean isSigningNegotiated();
    
        /**
         * Checks whether a specific capability has been negotiated.
         *
         * @param cap the capability flag to check
         * @return whether capability is negotiated
         */
        boolean haveCapabilitiy(int cap);
    
        /**
         * Gets the negotiated send buffer size.
         *
         * @return the send buffer size
         */
        int getSendBufferSize();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top