Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for testpipe (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED);
    
            FileNotifyInformationImpl info = new FileNotifyInformationImpl(buffer, 0, buffer.length);
    
            assertNotNull(info);
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction());
            assertEquals("testfile.txt", info.getFileName());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

         * @param pipeType
         *            the type of the pipe
         * @return the SMB pipe resource at the specified location
         * @throws CIFSException if the pipe resource cannot be accessed
         */
        SmbPipeResource getPipe(String url, int pipeType) throws CIFSException;
    
        /**
         * Close all connections and release resources associated with this context
         *
         * @return whether any connection was still in use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            }
    
            @Override
            public Configuration getConfig() {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public SmbPipeResource getPipe(String name, int flags) {
                return null; // Not relevant for AbstractCIFSContext tests
            }
    
            @Override
            public SmbResource get(String key) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            fileStandardInfo.decode(buffer, 0, buffer.length);
            assertEquals(expectedEndOfFile, fileStandardInfo.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns 22")
        void testSize() {
            assertEquals(22, fileStandardInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertThat(testInstance.values()).containsExactly("foo", "bar", "baz").inOrder();
        }
      }
    
      public void testSize() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(3, testInstance.size());
        }
      }
    
      public void testContainsValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    
      public void testSize() {
        int expectedSize = getNumElements();
        Multimap<K, V> multimap = multimap();
        assertEquals(expectedSize, multimap.size());
    
        int size = 0;
        for (Entry<K, V> entry : multimap.entries()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbPipeInputStream.java

        /**
         * @param handle
         * @param th
         * @throws SmbException
         */
        SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException {
            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
        /**
         * Ensures that the tree connection is established.
         *
         * @return the tree handle implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top