Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for addresses (0.1 sec)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertNotNull(address, "Should return address for IP address");
            assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address");
        }
    
        @Test
        @DisplayName("Should get all addresses by name")
        void testGetAllByName() throws UnknownHostException {
            // When
            Address[] addresses = nameServiceClient.getAllByName("localhost", false);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            /**
             * Get the list of IP addresses for IP change notifications
             *
             * @return list of IP addresses
             */
            public List<String> getIpAddresses() {
                return ipAddresses;
            }
    
            /**
             * Sets the list of IP addresses for IP change notifications.
             *
             * @param ipAddresses the list of new IP addresses available for the witness service
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessNotification.java

             * Creates a new witness IP address.
             *
             * @param address the IP address
             */
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
    
            /**
             * Gets the IP address.
             *
             * @return the IP address
             */
            public InetAddress getAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            assertEquals(0, stats.getActiveSessions());
            assertEquals(0, stats.getTotalChannels());
        }
    
        @Test
        @DisplayName("createChannelTransport should fail with null addresses")
        void testCreateChannelTransportWithNullAddresses() {
            // Use reflection to access private method for testing
            Exception exception = assertThrows(Exception.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        static final class CacheEntry {
    
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry(final Name hostName, final NbtAddress address, final long expiration) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        public void test_execute_stateChangeEmptyNotificationAddresses() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    addresses = new UniAddress[1];
                    addresses[0] = UniAddress.getByName(server);
                    return getNextAddress();
                }
                final String address = queryLookup(query, "address");
                if (address != null && address.length() > 0) {
                    final byte[] ip = java.net.InetAddress.getByName(address).getAddress();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

     * addresses, and lengths for direct memory access operations.
     */
    public class RdmaChannelInfo {
    
        private final Smb2RdmaTransform transform;
    
        /**
         * Create new RDMA channel info
         *
         * @param remoteKey remote memory key for RDMA access (token)
         * @param address remote memory address (offset)
         * @param length length of the memory region
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

                        return name;
                    }
                });
    
                assertEquals(name, ComponentUtil.getFessConfig().getMailFromName());
            }
        }
    
        // Test with different from addresses
        public void test_differentFromAddresses() {
            String[] fromAddresses = { "******@****.***", "******@****.***", "******@****.***", "******@****.***" };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top