Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for InetAddress (0.1 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

        address = InetAddress.getByName("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff");
        assertTrue(InetAddresses.isMaximum(address));
      }
    
      public void testIncrementIPv4() throws UnknownHostException {
        InetAddress address_66_0 = InetAddress.getByName("172.24.66.0");
        InetAddress address_66_255 = InetAddress.getByName("172.24.66.255");
        InetAddress address_67_0 = InetAddress.getByName("172.24.67.0");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address the InetAddress to decrement
       * @return a new InetAddress that is one less than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the beginning of its range
       * @since 18.0
       */
      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address the InetAddress to decrement
       * @return a new InetAddress that is one less than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the beginning of its range
       * @since 18.0
       */
      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            /*
             * Determine the InetAddress of the local interface
             * if one was not specified.
             */
            InetAddress localInetAddress = tc.getConfig().getNetbiosLocalAddress();
            if ( localInetAddress == null ) {
                try {
                    localInetAddress = InetAddress.getLocalHost();
                }
                catch ( UnknownHostException uhe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

        }
    
        /** 
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
            if( addr != null ) {
                try {
                    def = InetAddress.getByName( addr );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
        }
    
        return lookupHttps(hostname)
      }
    
      @Throws(UnknownHostException::class)
      private fun lookupHttps(hostname: String): List<InetAddress> {
        val networkRequests = ArrayList<Call>(2)
        val failures = ArrayList<Exception>(2)
        val results = ArrayList<InetAddress>(5)
    
        buildRequest(hostname, networkRequests, results, failures, DnsRecordCodec.TYPE_A)
    
        if (includeIPv6) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

        private static InetAddress baddr;
    
        private static LogStream log = LogStream.getInstance();
    
        static {
            String ro = Config.getProperty( "jcifs.smb1.resolveOrder" );
            InetAddress nbns = NbtAddress.getWINSAddress();
    
            try {
                baddr = Config.getInetAddress( "jcifs.smb1.netbios.baddr",
                                    InetAddress.getByName( "255.255.255.255" ));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        protected int netbiosRetryTimeout = 3000;
        protected String netbiosScope;
        protected int netbiosLocalPort = 0;
        protected InetAddress netbiosLocalAddress;
        protected String lmhostsFilename;
        protected InetAddress[] winsServer = new InetAddress[0];
        protected InetAddress broadcastAddress;
        protected List<ResolverType> resolverOrder;
        protected int maximumBufferSize = 0x10000;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

        /**
         * To convert this address to an <code>InetAddress</code>.
         *
         * @return the {@link java.net.InetAddress} representation of this address.
         * @throws UnknownHostException
         */
    
        public InetAddress getInetAddress () throws UnknownHostException {
            return InetAddress.getByName(getHostAddress());
        }
    
    
        @Override
        public InetAddress toInetAddress () throws UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    
        // InetAddress proxy specification.
        socketAddress = InetSocketAddress(InetAddress.getByName("localhost"), 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
        socketAddress = InetSocketAddress(InetAddress.getByAddress(byteArrayOf(127, 0, 0, 1)), 1234)
        assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top