Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 339 for indented (0.04 seconds)

  1. src/bytes/bytes.go

    func LastIndexFunc(s []byte, f func(r rune) bool) int {
    	return lastIndexFunc(s, f, true)
    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		r, wid := utf8.DecodeRune(s[start:])
    		if f(r) == truth {
    			return start
    		}
    		start += wid
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    Let's take this application as example:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    The query parameter `q` is of type `str | None`, that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

         * merged, but overlapping ranges will cause an exception when {@link #build()} is called.
         *
         * @throws IllegalArgumentException if any inserted ranges are empty
         * @since 21.0
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(FLAG_END_HEADERS or FLAG_PRIORITY)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeInt(0) // Independent stream.
        frame.writeByte(255) // Heaviest weight, zero-indexed.
        frame.writeAll(headerBytes)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun priority(
              streamId: Int,
              streamDependency: Int,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Joiner.java

        }
      }
    
      // TODO(cpovirk): Rename to "toCharSequence."
      CharSequence toString(@Nullable Object part) {
        /*
         * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw.
         * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because
         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/CharSource.java

     * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
     *
     * <p><b>Note:</b> In general, {@code CharSource} is intended to be used for "file-like" sources
     * that provide readers that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/LinkedListMultimap.java

          nextSibling.previous = node;
          nextSibling.previousSibling = node;
        }
        size++;
        return node;
      }
    
      /**
       * Removes the specified node from the linked list. This method is only intended to be used from
       * the {@code Iterator} classes. See also {@link LinkedListMultimap#removeAllNodes(Object)}.
       */
      private void removeNode(Node<K, V> node) {
        if (node.previous != null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  8. guava/src/com/google/common/io/CharSource.java

     * encoding} may be viewed as a {@code CharSource} using {@link ByteSource#asCharSource(Charset)}.
     *
     * <p><b>Note:</b> In general, {@code CharSource} is intended to be used for "file-like" sources
     * that provide readers that are:
     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            int nameIndex = xmlOutput.indexOf("<name>");
            int descriptionIndex = xmlOutput.indexOf("<description>");
            int urlIndex = xmlOutput.indexOf("<url>");
    
            // Verify description is inserted between name and url
            assertTrue(nameIndex < descriptionIndex, "name should come before description");
            assertTrue(descriptionIndex < urlIndex, "description should come before url");
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         * returns 0, but if we had a SingletonImmutableSortedSet, this might no
         * longer be the case.)
         *
         * javax.naming.Name and java.util.concurrent.Delayed might work, but
         * they're fairly obscure, we've invented our own interface and class.
         */
        Interface a = new Impl();
        Interface b = new Impl();
        ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b);
        Object[] unused1 = set.toArray();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 45.8K bytes
    - Click Count (0)
Back to Top