Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 161 for getters (0.27 sec)

  1. guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                assertEquals("DOM", auth.getUserDomain());
            }
        }
    
        @Test
        @DisplayName("Protected setSubject: updates subject used by getters")
        void setSubject_updatesSubject() {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
            assertNull(auth.getSubject());
            Subject subject = new Subject();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

        /**
         * Check if negotiation was successful
         *
         * @return true if successful
         */
        public boolean isSuccess() {
            return status == STATUS_SUCCESS;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertThrows(RuntimeCIFSException.class, a::getURLPath);
            assertThrows(RuntimeCIFSException.class, a::getUNCPath);
        }
    
        @Test
        @DisplayName("Server, port, URL passthrough getters")
        void testServerPortUrl() throws Exception {
            // No context mocks needed for this test
            SmbResourceLocatorImpl a = locator("smb://server:444/share");
            assertEquals("server", a.getServer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    
        /**
         * Test getters with null values.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            assertArrayEquals(testData, response.getData());
            // The decode method returns only the header size (16 bytes)\n        assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test getters return initial null/zero values")
        void testInitialGetterValues() {
            // Create fresh instance
            SrvPipePeekResponse freshResponse = new SrvPipePeekResponse();
    
            // Verify initial state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top