Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 614 for breaker (0.06 seconds)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        CharSequenceReader reader = new CharSequenceReader(string);
        assertTrue(reader.markSupported());
    
        assertThat(readFully(reader)).isEqualTo(string);
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertThat(readFully(reader)).isEqualTo(string);
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. tests/test_dependency_paramless.py

        response = client.get("/get-credentials", headers={"authorization": "Bearer token"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "token", "scopes": ["a", "b"]}
    
    
    def test_parameterless_with_scopes():
        response = client.get(
            "/parameterless-with-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
       * Returns an entry with a key greater than the keys of the {@link #samples()} but less than the
       * key of {@link #aboveSamplesGreater()}.
       */
      Entry<K, V> aboveSamplesLesser();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        }
    
        /**
         * Reads an XML node from a reader.
         */
        @Nonnull
        public static XmlNode read(Reader reader) throws XMLStreamException {
            return read(reader, null);
        }
    
        /**
         * Reads an XML node from a reader.
         */
        @Nonnull
        public static XmlNode read(Reader reader, @Nullable InputLocationBuilder locationBuilder)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/io/ReaderUtil.java

        }
    
        /**
         * Reads text from the given {@link Reader}.
         * <p>
         * The {@link Reader} is not closed by this method.
         * </p>
         *
         * @param reader
         *            the character input stream to read from (must not be {@literal null})
         * @return the text read from the reader
         */
        public static String readText(final Reader reader) {
            assertArgumentNotNull("reader", reader);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:27 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          }
    
          override fun fromDer(reader: DerReader): Any? {
            if (isOptional && !reader.hasNext()) return optionalValue
    
            val peekedHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected a value at $reader")
            for ((_, adapter) in choices) {
              if (adapter.matches(peekedHeader)) {
                return adapter.fromDer(reader)
              }
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  9. internal/s3select/progress.go

    	if r == nil {
    		return 0
    	}
    	return atomic.LoadInt64(&r.bytesRead)
    }
    
    func newCountUpReader(reader io.Reader) *countUpReader {
    	return &countUpReader{
    		reader: reader,
    	}
    }
    
    type progressReader struct {
    	rc              io.ReadCloser
    	scannedReader   *countUpReader
    	processedReader *countUpReader
    
    	closedMu sync.Mutex
    	closer   io.ReadCloser
    	closed   bool
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 22 00:33:43 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  10. 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)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
Back to Top