Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 614 for breaker (0.33 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

    class Http2Test {
      val frame = Buffer()
      val reader = Http2Reader(frame, false)
      val expectedStreamId = 15
    
      @Test fun unknownFrameTypeSkipped() {
        writeMedium(frame, 4) // has a 4-byte field
        frame.writeByte(99) // type 99
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId)
        frame.writeInt(111111111) // custom data
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

            return (InputSource) value;
        }
    
        private Model read(Reader reader, boolean strict, InputSource source) throws IOException {
            try {
                if (source != null) {
                    return new MavenXpp3ReaderEx().read(reader, strict, source);
                } else {
                    return new MavenXpp3Reader().read(reader, strict);
                }
            } catch (XmlPullParserException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         */
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
         * Reads the model from the specified character reader. The reader will be automatically closed before the method
         * returns.
         *
         * @param input The reader to deserialize the model from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

        }
    
        /**
         * Returns the contents read from the reader as a string.
         *
         * @param reader
         *            the reader
         * @param initialCapacity
         *            the initial buffer capacity
         * @return the string read from the reader
         */
        protected static String read(final Reader reader, final int initialCapacity) {
            int bufferSize;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/Closeables.java

       * flush all bytes to the underlying resource.
       *
       * @param reader the reader to be closed, or {@code null} in which case this method does nothing
       * @since 17.0
       */
      public static void closeQuietly(@Nullable Reader reader) {
        try {
          close(reader, true);
        } catch (IOException impossible) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. internal/s3select/jstream/scanner.go

    )
    
    type scanner struct {
    	pos       int64 // position in reader
    	ipos      int64 // internal buffer position
    	ifill     int64 // internal buffer fill
    	end       int64
    	buf       [chunk + 1]byte // internal buffer (with a lookback size of 1)
    	nbuf      [chunk]byte     // next internal buffer
    	fillReq   chan struct{}
    	fillReady chan int64
    	readerErr error // underlying reader error, if any
    }
    
    func newScanner(r io.Reader) *scanner {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/rule_test.go

    	                    </Rule>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    		{ // Rule with negative values for ObjectSizeGreaterThan
    			inputXML: `<Rule>
    				<ID>negative-obj-size-greater-than</ID>
    				<Filter><ObjectSizeGreaterThan>-1</ObjectSizeGreaterThan></Filter>
    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  8. cmd/encryption-v1.go

    	reader, err := sio.DecryptReader(client, sio.Config{
    		Key:            objectEncryptionKey,
    		SequenceNumber: seqNumber,
    	})
    	if err != nil {
    		return nil, crypto.ErrInvalidCustomerKey
    	}
    	return reader, nil
    }
    
    // DecryptBlocksRequestR - same as DecryptBlocksRequest but with a
    // reader
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  9. cmd/streaming-signature-v4.go

    	if len(wantTrailers) > 0 {
    		return io.ErrUnexpectedEOF
    	}
    	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
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  10. cmd/post-policy-fan-out.go

    				if err != nil {
    					errs[idx] = err
    					return
    				}
    
    				reader, err = reader.WithEncryption(hr, &objectEncryptionKey)
    				if err != nil {
    					errs[idx] = err
    					return
    				}
    			}
    
    			objInfo, err := objectAPI.PutObject(ctx, bucket, req.Key, reader, ObjectOptions{
    				Versioned:        globalBucketVersioningSys.PrefixEnabled(bucket, req.Key),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top