Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 487 for Skip (0.02 sec)

  1. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    			// Everybody agreed
    			for _, r := range readers {
    				r.skip(1)
    			}
    			if opts.agreed != nil {
    				opts.agreed(current)
    			}
    			continue
    		}
    		if opts.partial != nil {
    			opts.partial(topEntries, errs)
    		}
    		// Skip the inputs we used.
    		for i, r := range readers {
    			if topEntries[i].name != "" {
    				r.skip(1)
    			}
    		}
    	}
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *  6. Read from and close that source.
     *
     * Exchanges that do not have a request body may skip creating and closing the request body.
     * Exchanges that do not have a response body can call
     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
      /** The client that configures this stream. May be null for HTTPS proxy tunnels. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
        }
    
        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <code>InputStream</code> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          TYPE_PING -> readPing(handler, length, flags, streamId)
          TYPE_GOAWAY -> readGoAway(handler, length, flags, streamId)
          TYPE_WINDOW_UPDATE -> readWindowUpdate(handler, length, flags, streamId)
          else -> source.skip(length.toLong()) // Implementations MUST discard frames of unknown types.
        }
    
        return true
      }
    
      @Throws(IOException::class)
      private fun readHeaders(
        handler: Handler,
        length: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. cmd/metacache_gen.go

    				return
    			}
    		case "v":
    			z.dataVersion, err = dc.ReadUint8()
    			if err != nil {
    				err = msgp.WrapError(err, "dataVersion")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            }
        }
    
        public void test_install_zipWithSkippedEntries() throws IOException {
            // Create a zip with entries that should be skipped
            Path jarPath = tempDir.resolve("skip-entries.jar");
            createMockThemeZipWithSkippedEntries(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
                protected Path getJarFile(Artifact artifact) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertTrue(it.hasNext());
            assertEquals("a", it.next().getName(), "First element should be initial from open()");
            assertTrue(it.hasNext());
            assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'");
            assertFalse(it.hasNext(), "Iterator exhausted after valid entries");
            verify(tree, times(1)).release(); // closed after exhaustion
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top