Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,189 for whet (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        void testGetCipherId() {
            // When
            int cipherId = encryptionContext.getCipherId();
    
            // Then
            assertEquals(1, cipherId, "Should return the cipher ID set in constructor");
        }
    
        @Test
        @DisplayName("Should return correct dialect version")
        void testGetDialect() {
            // When
            DialectVersion dialect = encryptionContext.getDialect();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Given
            when(mockDelegate.isUseSMB2OnlyNegotiation()).thenReturn(true);
            when(mockDelegate.isRequireSecureNegotiate()).thenReturn(false);
            when(mockDelegate.isSendNTLMTargetName()).thenReturn(true);
            when(mockDelegate.isPort139FailoverEnabled()).thenReturn(false);
            when(mockDelegate.isDfsStrictView()).thenReturn(true);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. tests/associations_many2many_test.go

    		t.Fatalf("should raise error when create users without languages reference")
    	}
    
    	if err := DB.Create(&user.Languages).Error; err != nil {
    		t.Fatalf("no error should happen when create languages, but got %v", err)
    	}
    
    	if err := DB.Omit("Languages.*").Create(&user).Error; err != nil {
    		t.Fatalf("no error should happen when create user when languages exists, but got %v", err)
    	}
    
    	// Find
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        private void setupParentForUrlCreation() throws CIFSException {
            // Only set up parent mocks when they're actually needed for URL creation
            when(parent.getContext()).thenReturn(this.ctx);
            when(parent.getLocator()).thenReturn(parentLocator);
            // Make the parent appear as a workgroup to use the simpler URL code-path
            when(parentLocator.isWorkgroup()).thenReturn(true);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(pipe.openUnshared(anyString(), anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh);
            when(fh.acquire()).thenReturn(fh);
            lenient().when(fh.isValid()).thenReturn(true);
            lenient().when(fh.getTree()).thenReturn(tree);
            when(fh.getFileId()).thenReturn(new byte[16]);
    
            // Setup for ioctl request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTransportPoolTest.java

            void testFullConnectionLifecycle() throws Exception {
                // Given
                when(transportPool.getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, false)).thenReturn(transport);
                doNothing().when(transportPool).removeTransport(transport);
                when(transportPool.close()).thenReturn(false);
    
                // When - complete lifecycle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        void testGetByNameWithNullLmHostsFile() {
            // Test when lmhosts file is not configured
            when(mockConfig.getLmHostsFileName()).thenReturn(null);
    
            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                // Given
                when(mockResource.children()).thenReturn(mockIterator);
                when(mockResource.children("*.txt")).thenReturn(mockIterator);
                when(mockResource.children(mockNameFilter)).thenReturn(mockIterator);
                when(mockResource.children(mockResourceFilter)).thenReturn(mockIterator);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
                when(parent.getLocator()).thenReturn(locator);
                when(locator.getURL()).thenReturn(new URL("file:/"));
                when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top