Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for void (0.12 sec)

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

                "56be34521d144c88dbb8c733f0e8b3f6");
        }
    
    
        private static void testJavaHMAC ( String key, String data, String expect ) throws GeneralSecurityException {
            testJavaHMAC(key, data.getBytes(StandardCharsets.US_ASCII), expect);
        }
    
    
        private static void testJavaHMAC ( String key, byte[] bytes, String expect ) throws NoSuchAlgorithmException, InvalidKeyException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

        }
    
    
        @Test
        public void testBaseFile () throws MalformedURLException, CIFSException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) {
                    assertEquals(SmbConstants.TYPE_SHARE, f.getType());
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

            while ( r != start );
    
            if ( res != null ) {
                return res;
            }
    
            return dr;
        }
    
    
        /**
         * @param domains
         */
        private static void dumpReferralCache ( Map<String, Map<String, CacheEntry<DfsReferralDataInternal>>> domains ) {
            for ( Entry<String, Map<String, CacheEntry<DfsReferralDataInternal>>> entry : domains.entrySet() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/EnumTest.java

    
        @Test
        // BUG #16
        public void testListCountRollover () throws IOException {
            testListCount(5, 4); // 4 + 2 (.,..) files
        }
    
    
        @Test
        // BUG #16
        public void testListCountExact () throws IOException {
            testListCount(5, 3); // 3 + 2 (.,..) files
        }
    
    
        @Test
        // BUG #16
        public void testListCountMoreThanTwo () throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

    
        public int getContextFlags () {
            return this.contextFlags;
        }
    
    
        public void setContextFlags ( int contextFlags ) {
            this.contextFlags = contextFlags;
        }
    
    
        public boolean getContextFlag ( int flag ) {
            return ( getContextFlags() & flag ) == flag;
        }
    
    
        public void setContextFlag ( int flag, boolean value ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
        public void prepare ( CommonServerMessageBlockRequest next ) {
            if ( isReceived() ) {
                ( (ServerMessageBlock2) next ).setTreeId(getTreeId());
            }
            super.prepare(next);
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testRenameFile () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbFile defaultShareRoot = getDefaultShareRoot();
                  SmbResource f = new SmbFile(defaultShareRoot, makeRandomName());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

            }
        }
    
    
        protected void initProtocolVersions ( String minStr, String maxStr ) {
            DialectVersion min = ( minStr != null && !minStr.isEmpty() ) ? DialectVersion.valueOf(minStr) : null;
            DialectVersion max = ( maxStr != null && !maxStr.isEmpty() ) ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    
    
    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)
  9. src/test/java/jcifs/tests/OplockTests.java

        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testOpenOplocked () throws UnknownHostException, IOException {
            CIFSContext c = getContext();
            c = withTestNTLMCredentials(c);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ContextConfigTest.java

     *
     */
    @SuppressWarnings ( "javadoc" )
    public class ContextConfigTest {
    
        private SingletonContext context;
    
    
        @Before
        public void setUp () {
            this.context = SingletonContext.getInstance();
        }
    
    
        @Test
        public void testSingletonInit () {
            assertNotNull(this.context.getBufferCache());
            assertNotNull(this.context.getNameServiceClient());
    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