Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 96 for testpipe (0.2 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

        
        SmbFile dir = new SmbFile("smb://server/share/testdir/", context);
        SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context);
        
        // Get initial listing (establishes cache)
        SmbFile[] initialFiles = dir.listFiles();
        
        // Create new file
        testFile.createNewFile();
        
        // Wait for change notification
        Thread.sleep(2000);
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testIsEmpty() {
        assertTrue(table.isEmpty());
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertFalse(table.isEmpty());
      }
    
      public void testSize() {
        assertSize(0);
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSize(3);
      }
    
      public void testEquals() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("1");
            list.addLast("2");
            assertThat(list.getLast(), is("2"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(list.size(), is(0));
            list.addLast("1");
            assertThat(list.size(), is(1));
            list.removeFirst();
            assertThat(list.size(), is(0));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, info.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns correct buffer size")
        void testSize() {
            assertEquals(40, fileBasicInfo.size());
        }
    
        @Test
        @DisplayName("Test encode method")
        void testEncode() throws SMBProtocolDecodingException {
            // Create instance with test values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Then
            assertTrue(isCancel, "Should identify itself as a cancel request");
        }
    
        @Test
        @DisplayName("Test size calculation")
        void testSize() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            int size = request.size();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Method Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
                assertEquals(EXPECTED_SIZE, size);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, info.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInfo.size());
    
            // Test with different instance
            FileEndOfFileInformation info = new FileEndOfFileInformation(999L);
            assertEquals(8, info.size());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(mockConfig, responseConfig);
        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top