Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for prop (0.14 sec)

  1. src/test/java/jcifs/tests/NamingTest.java

        @Test
        public void testWINSOnly () throws CIFSException, UnknownHostException {
            Properties prop = new Properties();
            prop.setProperty("jcifs.resolveOrder", "WINS");
            prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins"));
    
            PropertyConfiguration cfg = new PropertyConfiguration(prop);
            BaseContext c = new BaseContext(cfg);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

                this.maxVersion = this.minVersion;
            }
        }
    
    
        protected void initDisallowCompound ( String prop ) {
            if ( prop == null ) {
                return;
            }
            Set<String> disallow = new HashSet<>();
            StringTokenizer st = new StringTokenizer(prop, ",");
            while ( st.hasMoreTokens() ) {
                disallow.add(st.nextToken().trim());
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/tests/BaseCIFSTest.java

            Properties props = new Properties();
            props.putAll(this.properties);
            return new BaseContext(new PropertyConfiguration(props));
        }
    
    
        protected Map<String, String> getProperties () {
            return this.properties;
        }
    
    
        protected String getRequiredProperty ( String prop ) {
            String val = this.properties.get(prop);
            Assume.assumeNotNull(val);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                thread.setDaemon( true );
                thread.start();
            }
        }
        void tryClose() {
            synchronized( LOCK ) {
    
                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                this.thread.start();
            }
        }
    
    
        void tryClose () {
            synchronized ( this.LOCK ) {
    
                /*
                 * Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top