Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for nexte (0.02 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                            final int nexts = str.indexOf('[', si + 1);
                            final int nexte = str.indexOf(']', si);
                            if (nexts >= 0 && nexte >= 0 && nexte == nexts - 1) {
                                server = str.substring(si, nexte + 1);
                                si = nexts;
                            } else {
                                server = "127.0.0.1";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // Given
            Trans2FindNext2 next = new Trans2FindNext2(0x0101, 0, "name");
            byte[] buf = new byte[16];
    
            // When/Then
            assertEquals(0, next.readSetupWireFormat(buf, 0, buf.length));
            assertEquals(0, next.readParametersWireFormat(buf, 0, buf.length));
            assertEquals(0, next.readDataWireFormat(buf, 0, buf.length));
            assertEquals(0, next.writeDataWireFormat(buf, 0));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
                    assertNull(iterator3.next(), "Third instance next() should return null");
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            SmbResource result = iterator.next();
            assertNotNull(result, "Should still be able to get element");
            assertEquals("file1.txt", result.getName());
    
            assertFalse(iterator.hasNext(), "Should not have more elements");
    
            // Verify delegate.next() was only called once
            verify(mockDelegate, times(1)).next();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         */
        @Override
        public boolean hasNext() {
            return this.next != null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next() {
            final FileEntry n = this.next;
            try {
                final FileEntry ne = advance(false);
                if (ne == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

         */
        @Override
        public boolean hasNext() {
            return this.next != null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next() {
            final FileEntry n = this.next;
            try {
                final FileEntry ne = advance();
                if (ne == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

         */
        @Override
        public boolean hasNext() {
            return this.next != null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public SmbResource next() {
            final SmbResource n = this.next;
            this.next = advance();
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public long expiration;
    
        /** The next DFS referral in the chain */
        DfsReferral next;
        /** Map containing DFS referral entries */
        Map map;
        /** The cache key for this referral */
        String key = null;
    
        /**
         * Constructs a new DfsReferral instance
         */
        public DfsReferral() {
            this.next = this;
        }
    
        void append(final DfsReferral dr) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                        }
    
                        DfsReferralDataInternal next = dr;
                        do {
                            next.stripPathConsumed(1 + domain.length() + 1 + root.length());
                            next = next.next();
                        } while (next != dr);
    
                        if (dr.getPathConsumed() > (path != null ? path.length() : 0)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            when(delegate.hasNext()).thenReturn(true, true, false);
            when(delegate.next()).thenReturn(bad, good);
    
            NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, null);
    
            // Act: first valid next should be the second element
            assertTrue(itr.hasNext());
            SmbResource r = itr.next();
    
            // Assert: the invalid name was skipped, valid one returned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top