Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for getByName (0.09 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * <code>getByName</code> methods can be used for that.
     *
     * @param host hostname to resolve
     * @throws java.net.UnknownHostException if there is an error resolving the name
     */
    
        public static NbtAddress getByName( String host )
                                            throws UnknownHostException {
            return getByName( host, 0x00, null );
        }
    
    /** 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/TimeoutTest.java

                @Override
                public Address getByName ( String hostname ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname));
                }
    
    
                @Override
                public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname, possibleNTDomainOrWorkgroup));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

         * 
         * @param host
         * @param tc
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName ( String host, CIFSContext tc ) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
        synchronized NbtAddress getByName ( Name name, CIFSContext tc ) {
            NbtAddress result = null;
    
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

     * name resolution and session services are handled internally by the smb package.
     * 
     * <p>
     * Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
     * <code>getAllByAddress</code> to create a new NbtAddress instance. This
     * class is symmetric with {@link java.net.InetAddress}.
     *
     * <p>
     * <b>About NetBIOS:</b> The NetBIOS name
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocksProxy.kt

              when {
                domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> {
                  InetAddress.getByName("localhost")
                }
                else -> InetAddress.getByName(domainName)
              }
            }
    
            else -> throw ProtocolException("unsupported address type: $addressType")
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Config.java

        public static InetAddress getInetAddress ( Properties props, String key, InetAddress def ) {
            String addr = props.getProperty(key);
            if ( addr != null ) {
                try {
                    def = InetAddress.getByName(addr);
                }
                catch ( UnknownHostException uhe ) {
                    log.error("Unknown host " + addr, uhe);
                }
            }
            return def;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  7. android-test-app/build.gradle.kts

      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      buildTypes {
        release {
          isShrinkResources = true
          isMinifyEnabled = true
          signingConfig = signingConfigs.getByName("debug")
          setProguardFiles(listOf(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"))
          testProguardFiles("test-proguard-rules.pro")
        }
      }
    }
    
    dependencies {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
            if( addr != null ) {
                try {
                    def = InetAddress.getByName( addr );
                } catch( UnknownHostException uhe ) {
                    if( log.level > 0 ) {
                        log.println( addr );
                        uhe.printStackTrace( log );
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

                _domains = null;
            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
                SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
                DfsReferral dr = trans.getDfsReferrals(auth, "", 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/build.gradle.kts

      mainClass.set("okhttp3.internal.idn.GenerateIdnaMappingTableCode")
      args("$buildDir/generated/sources/idnaMappingTable")
      classpath = generateIdnaMappingTableConfiguration
    }
    
    kotlin {
      sourceSets {
        getByName("main") {
          kotlin.srcDir(copyKotlinTemplates.get().outputs)
          kotlin.srcDir(generateIdnaMappingTable.outputs)
        }
      }
    }
    
    project.applyOsgi(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top