Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 129 for isSupported (0.08 sec)

  1. src/main/java/jcifs/smb/NtlmContext.java

        @Override
        public int getFlags() {
            return 0;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isSupported(final ASN1ObjectIdentifier mechanism) {
            return NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

      override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
        // Ensure we are compiling against the right variant
        println(AndroidPlatform.isSupported)
    
        val url = "https://github.com/square/okhttp".toHttpUrl()
        println(url.topPrivateDomain())
    
        client.newCall(Request(url)).enqueue(
          object : Callback {
            override fun onFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        int CAP_NONE = 0x0000;
        /**
         * Raw mode transfers are supported capability.
         */
        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
         * Unicode strings are supported capability.
         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
         */
        int CAP_LARGE_FILES = 0x0008;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            this.flags = 0;
        }
    
        @Override
        public int getContextType() {
            return NEGO_CTX_COMPRESSION_TYPE;
        }
    
        /**
         * Gets the supported compression algorithms.
         *
         * @return the supported compression algorithms
         */
        public int[] getCompressionAlgorithms() {
            return this.compressionAlgorithms != null ? this.compressionAlgorithms.clone() : new int[0];
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            largeTestData = generateTestData(8192);
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
            int[] supported = compressionService.getSupportedAlgorithms();
            assertNotNull(supported);
            assertTrue(supported.length > 0);
    
            assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_NONE));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/compression/CompressionService.java

        /**
         * Checks if the specified compression algorithm is supported.
         *
         * @param algorithm the compression algorithm to check
         * @return true if the algorithm is supported
         */
        boolean isAlgorithmSupported(int algorithm);
    
        /**
         * Gets the list of supported compression algorithms.
         *
         * @return array of supported algorithm constants
         */
        int[] getSupportedAlgorithms();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/PreauthIntegrityService.java

        }
    
        /**
         * Checks if a hash algorithm is supported.
         *
         * @param hashAlgorithm the algorithm to check
         * @return true if supported
         */
        public boolean isHashAlgorithmSupported(int hashAlgorithm) {
            return hashAlgorithm == HASH_ALGO_SHA512; // Currently only SHA-512 is supported
        }
    
        /**
         * Gets the list of supported hash algorithms.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * Check if RDMA is available on this system
         *
         * @return true if RDMA can be used, false otherwise
         */
        boolean isAvailable();
    
        /**
         * Get supported RDMA capabilities
         *
         * @return set of capabilities supported by this provider
         */
        Set<RdmaCapability> getSupportedCapabilities();
    
        /**
         * Create RDMA connection to remote endpoint
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        @Test
        @DisplayName("Test supported hash algorithms")
        public void testSupportedHashAlgorithms() {
            assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512));
            assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported
    
            int[] supported = preauthService.getSupportedHashAlgorithms();
            assertNotNull(supported);
            assertEquals(1, supported.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

        }
    
        @Override
        public int size() {
            return 20; // Fixed size: 2 + 2 + 4 + 12 (transform structure)
        }
    
        /**
         * Check if RDMA is supported based on this context
         *
         * @return true if RDMA Transform V1 is supported
         */
        public boolean isRdmaSupported() {
            return transformCount > 0 && rdmaTransformId == 0x0001;
        }
    
        /**
         * Get the transform count
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top