Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 662 for convex (0.03 sec)

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

        }
    
        /**
         * Initializes the context and server for this SID for deferred resolution.
         *
         * @param context the CIFS context to use
         * @param server the server name for SID resolution
         */
        public void initContext(final String server, final CIFSContext context) {
            this.origin_ctx = context;
            this.origin_server = server;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        @Mock
        private NameServiceClient mockNameServiceClient;
    
        @Mock
        private NetbiosAddress mockLocalHost;
    
        @BeforeEach
        void setUp() {
            // Setup mock context with lenient stubbing to avoid UnnecessaryStubbingException
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. docs/smb3-features/03-multi-channel-design.md

        // Requires multi-NIC test environment
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true");
        context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure single channel throughput
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

    @DisplayName("Type3Message Tests")
    class Type3MessageTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @BeforeEach
        void setUp() {
            // Basic setup for mock context if needed
        }
    
        /**
         * Helper method to create properly configured mock context
         */
        private CIFSContext createMockContext() {
            CIFSContext mockCtx = mock(CIFSContext.class);
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/CharEscaper.java

    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
     * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the
     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

            void testDefaultConstructor() {
                context = new PreauthIntegrityNegotiateContext();
    
                assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType());
                assertNull(context.getHashAlgos());
                assertNull(context.getSalt());
            }
    
            @Test
            @DisplayName("Should handle null hash algorithms")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    } else {
                        out[j++] = ch;
                    }
                    break;
                case 1:
                    /*
                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[0] = (byte) (Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77));
            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZ77_HUFFMAN));
            assertTrue(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_LZNT1));
            assertFalse(context.supportsAlgorithm(CompressionNegotiateContext.COMPRESSION_PATTERN_V1));
        }
    
        @Test
        @DisplayName("Test context encoding")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            assertFalse(context.hasDefaultCredentials());
        }
    
        @Test
        void testHasDefaultCredentials_withNull() {
            context = new TestAbstractCIFSContext(null); // Test with null credentials
            assertFalse(context.hasDefaultCredentials());
        }
    
        @Test
        void testRenewCredentials() {
            assertFalse(context.renewCredentials("someLocation", new Exception("someError")));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/PreauthIntegrityService.java

                throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId);
            }
    
            try {
                byte[] newHash = calculateHash(context.getCurrentHash(), messageData, context.getHashAlgorithm());
                context.updateHash(newHash);
    
                log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top