Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,413 for reader (0.06 sec)

  1. internal/ioutil/hardlimitreader.go

    func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} }
    
    // A HardLimitedReader reads from R but limits the amount of
    // data returned to just N bytes. Each call to Read
    // updates N to reflect the new amount remaining.
    // Read returns EOF when N <= 0 or when the underlying R returns EOF.
    type HardLimitedReader struct {
    	R io.Reader // underlying reader
    	N int64     // max bytes remaining
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiIterationMarkCharFilterFactory.java

            normalizeKana = settings.getAsBoolean("normalize_kana", JapaneseIterationMarkCharFilter.NORMALIZE_KANA_DEFAULT);
        }
    
        @Override
        public Reader create(Reader reader) {
            return new JapaneseIterationMarkCharFilter(reader, normalizeKanji, normalizeKana);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       * including any potential composed values.
       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

                this.inputStream = inputStream;
                return this;
            }
    
            public XmlReaderRequestBuilder reader(Reader reader) {
                this.reader = reader;
                return this;
            }
    
            public XmlReaderRequestBuilder transformer(Transformer transformer) {
                this.transformer = transformer;
                return this;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSourceTester.java

      }
    
      public void testOpenStream() throws IOException {
        Reader reader = source.openStream();
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. 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)
  7. cmd/encryption-v1.go

    	reader, err := sio.DecryptReader(client, sio.Config{
    		Key:            objectEncryptionKey,
    		SequenceNumber: seqNumber,
    		CipherSuites:   fips.DARECiphers(),
    	})
    	if err != nil {
    		return nil, crypto.ErrInvalidCustomerKey
    	}
    	return reader, nil
    }
    
    // DecryptBlocksRequestR - same as DecryptBlocksRequest but with a
    // reader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4.go

    	return nil
    }
    
    // readCRLF - check if reader only has '\r\n' CRLF character.
    // returns malformed encoding if it doesn't.
    func readCRLF(reader io.Reader) error {
    	buf := make([]byte, 2)
    	_, err := io.ReadFull(reader, buf[:2])
    	if err != nil {
    		return err
    	}
    	if buf[0] != '\r' || buf[1] != '\n' {
    		return errMalformedEncoding
    	}
    	return nil
    }
    
    // Read a line of bytes (up to \n) from b.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        /**
         *
         * @param reader a reader object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Model read(Reader reader) throws IOException, XmlPullParserException {
            return read(reader, true);
        } // -- Model read( Reader )
    
        protected Model read(InputStream is, boolean strict, InputSource source)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            private final Reader reader;
    
            private int initialCapacity = 10000;
    
            private int maxAlphanumTermSize = -1;
    
            private int maxSymbolTermSize = -1;
    
            private boolean duplicateTermRemoved = false;
    
            private int[] spaceChars = { '\u0020', '\u00a0', '\u3000', '\ufffd' };
    
            public TextNormalizeContext(final Reader reader) {
                this.reader = reader;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top