Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 323 for skipS (0.14 seconds)

  1. internal/ioutil/ioutil.go

    //
    // This is implemented such that we want to restrict
    // an enscapsulated writer upto a certain length
    // and skip a certain number of bytes.
    type LimitWriter struct {
    	io.Writer
    	skipBytes int64
    	wLimit    int64
    }
    
    // Write implements the io.Writer interface limiting upto
    // configured length, also skips the first N bytes.
    func (w *LimitWriter) Write(p []byte) (n int, err error) {
    	n = len(p)
    	var n1 int
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/FluentIterable.java

      /**
       * Returns a view of this fluent iterable that skips its first {@code numberToSkip} elements. If
       * this fluent iterable contains fewer than {@code numberToSkip} elements, the returned fluent
       * iterable skips all of its elements.
       *
       * <p>Modifications to this fluent iterable before a call to {@code iterator()} are reflected in
       * the returned fluent iterable. That is, the iterator skips the first {@code numberToSkip}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

         *
         * @param response the response object to populate
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doRecv(Response response) throws IOException;
    
        /**
         * Skips an unexpected or unrecognized message.
         *
         * @throws IOException if an I/O error occurs
         */
        protected abstract void doSkip() throws IOException;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                Arrays.fill(buffer, (byte) 0xFF);
    
                lock.encode(buffer, 0);
    
                // Reserved field bytes are not modified by the encode method
                // The implementation just skips these bytes without writing zeros
                assertEquals(-1, SMBUtil.readInt4(buffer, 20));
            }
        }
    
        @Nested
        @DisplayName("Flag Constants Tests")
        class FlagConstantsTests {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("a");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns a view of {@code iterable} that skips its first {@code numberToSkip} elements. If
       * {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips
       * all of its elements.
       *
       * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are
       * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_WithSystemPropertyHandler_SkipsJcifsPackage() throws Exception {
            // This test verifies that the handler resolution mechanism correctly skips the 'jcifs'
            // package when it is listed in the 'java.protocol.handler.pkgs' system property.
            // We use mock handlers since actual system handlers might not be available in test environment.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

            E element = (E) elements[0];
            return of(element);
          default:
            return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements));
        }
      }
    
      // Factory method that skips the null checks.  Used only when the elements
      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/bufio/bufio.go

    	}
    	if n == 0 {
    		return
    	}
    
    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	remain := n
    	for {
    		skip := b.Buffered()
    		if skip == 0 {
    			b.fill()
    			skip = b.Buffered()
    		}
    		if skip > remain {
    			skip = remain
    		}
    		b.r += skip
    		remain -= skip
    		if remain == 0 {
    			return n, nil
    		}
    		if b.err != nil {
    			return n - remain, b.readErr()
    		}
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns a view of {@code iterable} that skips its first {@code numberToSkip} elements. If
       * {@code iterable} contains fewer than {@code numberToSkip} elements, the returned iterable skips
       * all of its elements.
       *
       * <p>Modifications to the underlying {@link Iterable} before a call to {@code iterator()} are
       * reflected in the returned iterator. That is, the iterator skips the first {@code numberToSkip}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
Back to Top