Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for getters (0.18 sec)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

        private final int length;
        
        public RdmaChannelInfo(int key, long addr, int len) {
            this.remoteKey = key;
            this.address = addr;
            this.length = len;
        }
        
        // Getters...
    }
    ```
    
    ## 6. Configuration
    
    ### 6.1 Configuration Properties
    ```java
    // In PropertyConfiguration.java
    public static final String USE_RDMA = "jcifs.smb.client.useRDMA";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SSPContextTest.java

                return this.established && this.integrity;
            }
        }
    
        @Nested
        @DisplayName("Happy path behavior")
        class HappyPath {
            @Test
            @DisplayName("All getters return configured values and MIC roundtrips")
            void testAllMethodsHappyPath() throws Exception {
                // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

                assertEquals(SERVER_REALM, ticket.getServerRealm());
                assertEquals(SERVER_PRINCIPAL_NAME, ticket.getServerPrincipalName());
                assertNotNull(ticket.getEncData());
    
                // Also test getters that delegate to KerberosEncData
                assertEquals(USER_PRINCIPAL_NAME, ticket.getUserPrincipalName());
                assertEquals(USER_REALM, ticket.getUserRealm());
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            when(mockConfig.getPid()).thenReturn(12345);
            response = new SmbComSeekResponse(mockConfig);
        }
    
        /* ------------------------------------------------------------------ */
        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbOperationException.java

        public SmbOperationException withContext(Map<String, Object> contextMap) {
            if (contextMap != null) {
                this.context.putAll(contextMap);
            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
            return errorCode.getCategory();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
            assertEquals(0x11223344, resp.getCreateAction());
            assertEquals(1111L, resp.getCreationTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
        public void testBuildWithCustomSettings() {
            // Test building with all custom settings
            String id = "custom-id";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        SmbResource parent;
        @Mock
        ResourceNameFilter nameFilter;
    
        private void stubAcquireReturnsSelf() {
            when(tree.acquire()).thenReturn(tree);
        }
    
        @Test
        @DisplayName("Getters return constructor values and acquire is called")
        void gettersAndAcquire() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            String wildcard = "*.*";
            int attrs = 123;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx);
            setField(transport, "negotiated", smb1);
            assertFalse(transport.isSMB2());
        }
    
        @Test
        @DisplayName("Digest setter/getter roundtrip")
        void digestRoundtrip() {
            SMBSigningDigest dg = mock(SMBSigningDigest.class);
            transport.setDigest(dg);
            assertSame(dg, transport.getDigest());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(boost, elevateWord.getBoost(), 0.001f);
            assertEquals(readings, elevateWord.getReadings());
            assertEquals(fields, elevateWord.getFields());
            assertNotNull(elevateWord.getTags());
            assertTrue(elevateWord.getTags().isEmpty());
            assertEquals(roles, elevateWord.getRoles());
        }
    
        @Test
        public void testConstructorWithNullRoles() {
            // Test constructor with null roles
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top