Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 466 for readErr (0.07 sec)

  1. src/main/java/org/codelibs/core/io/ReaderUtil.java

            }
        }
    
        /**
         * {@link Reader}からテキストを読み込みます。
         * <p>
         * {@link Reader}はクローズされません。
         * </p>
         *
         * @param reader
         *            読み込み文字ストリーム。{@literal null}であってはいけません
         * @return テキスト
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
            final StringBuilder buf = new StringBuilder(BUF_SIZE);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. cmd/untar.go

    // disconnectReader will ensure that no reads can take place on
    // the upstream reader after close has been called.
    type disconnectReader struct {
    	r  io.Reader
    	mu sync.Mutex
    }
    
    func (d *disconnectReader) Read(p []byte) (n int, err error) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.r != nil {
    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  3. android/guava/src/com/google/common/io/LineReader.java

        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/LineIterator.java

            assertArgumentNotNull("reader", reader);
    
            return () -> new LineIterator(reader);
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param reader
         *            文字列を読み込む{@link Reader}。{@literal null}であってはいけません
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        }
    
        @Nonnull
        default T read(@Nonnull Reader reader) throws XmlReaderException {
            return read(reader, true);
        }
    
        @Nonnull
        default T read(@Nonnull Reader reader, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().reader(reader).strict(strict).build());
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

    import org.apache.maven.cling.invoker.LookupInvoker;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.jline.consoleui.prompt.ConsolePrompt;
    import org.jline.reader.LineReader;
    import org.jline.reader.LineReaderBuilder;
    import org.jline.reader.UserInterruptException;
    import org.jline.terminal.Terminal;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(),
                        fessConfig.getIndexDocumentSearchIndex());
                reader.setScrollSize(fessConfig.getSuggestSourceReaderScrollSizeAsInteger());
                reader.setLimitDocNumPercentage(fessConfig.getSuggestUpdateContentsLimitNumPercentage());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

        @Override
        public Model read(Reader reader, boolean strict, InputSource source) throws IOException, XmlPullParserException {
            return super.read(reader, strict, source);
        }
    
        @Override
        public Model read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            return super.read(reader, strict);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      override fun fromDer(reader: DerReader): T {
        val peekedHeader = reader.peekHeader()
        if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
          if (isOptional) return defaultValue as T
          throw ProtocolException("expected $this but was $peekedHeader at $reader")
        }
    
        val result =
          reader.read(name) {
            codec.decode(reader)
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ReaderInputStream.java

       *
       * @param reader input source
       * @param charset character set used for encoding chars to bytes
       * @param bufferSize size of internal input and output buffers
       * @throws IllegalArgumentException if bufferSize is non-positive
       */
      ReaderInputStream(Reader reader, Charset charset, int bufferSize) {
        this(
            reader,
            charset
                .newEncoder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top