Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 684 for skipif (0.04 seconds)

  1. guava/src/com/google/common/io/CharStreams.java

       * @param n the number of characters to skip
       * @throws EOFException if this stream reaches the end before skipping all the characters
       * @throws IOException if an I/O error occurs
       */
      public static void skipFully(Reader reader, long n) throws IOException {
        checkNotNull(reader);
        while (n > 0) {
          long amt = reader.skip(n);
          if (amt == 0) {
            throw new EOFException();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. cmd/batch-handlers_gen.go

    					z.Expire = new(BatchJobExpire)
    				}
    				err = z.Expire.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Expire")
    					return
    				}
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *BatchJobRequest) EncodeMsg(en *msgp.Writer) (err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LineReader.java

       *     line-termination characters, or {@code null} if the end of the stream has been reached.
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip a line
      public @Nullable String readLine() throws IOException {
        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/MultiReaderTest.java

        CharSource source = newCharSource("a");
        Iterable<CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertEquals(0, joinedReader.skip(0));
        assertEquals('a', joinedReader.read());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. internal/s3select/jstream/decoder.go

    	// look ahead for ] - if the array is empty.
    	if c = d.skipSpaces(); c == ']' {
    		goto out
    	}
    
    scan:
    	if v, err = d.emitAny(); err != nil {
    		goto out
    	}
    
    	if d.depth > d.emitDepth { // skip alloc for array if it won't be emitted
    		array = append(array, v)
    	}
    
    	// next token must be ',' or ']'
    	switch c = d.skipSpaces(); c {
    	case ',':
    		d.skipSpaces()
    		goto scan
    	case ']':
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("keep1", SmbConstants.TYPE_SHARE), entry("skip1", SmbConstants.TYPE_SHARE),
                    entry("keep2", SmbConstants.TYPE_SHARE));
    
            // Filter accepts names starting with "keep"
            when(filter.accept(any())).thenAnswer(inv -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

                case -1:
                    if (tot > 0) {
                        return tot;
                    }
                    return -1;
                }
            }
        }
    
        @Override
        public synchronized long skip(final long numbytes) throws IOException {
            if (numbytes <= 0) {
                return 0;
            }
            long n = numbytes;
            while (n > 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. internal/s3select/jstream/scanner_test.go

    )
    
    var (
    	smallInput  = make([]byte, 1024*12)       // 12K
    	mediumInput = make([]byte, 1024*1024*12)  // 12MB
    	largeInput  = make([]byte, 1024*1024*128) // 128MB
    )
    
    func TestScanner(t *testing.T) {
    	t.Skip("Unstable test")
    	data := []byte("abcdefghijklmnopqrstuvwxyz0123456789")
    
    	var i int
    	r := bytes.NewReader(data)
    	scanner := newScanner(r)
    	for scanner.pos < atomic.LoadInt64(&scanner.end) {
    		c := scanner.next()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertFalse(result);
                assertTrue(echoResponse.isVerifyFailed());
            }
    
            @Test
            @DisplayName("Should skip verification when digest is null")
            void testVerifySignatureNoDigest() {
                byte[] buffer = new byte[1024];
                echoResponse.setDigest(null);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                return;
            }
    
            Class<?> clazz = node.getClass();
            while (clazz != null && !clazz.equals(Object.class)) {
                for (Field field : clazz.getDeclaredFields()) {
                    // Skip static fields and synthetic fields
                    if (Modifier.isStatic(field.getModifiers()) || field.isSynthetic()) {
                        continue;
                    }
    
                    try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top