Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 50 for asSequence (0.35 seconds)

  1. src/bytes/bytes.go

    	return bytealg.LastIndexByte(s, c)
    }
    
    // IndexRune interprets s as a sequence of UTF-8-encoded code points.
    // It returns the byte index of the first occurrence in s of the given rune.
    // It returns -1 if rune is not present in s.
    // If r is [utf8.RuneError], it returns the first instance of any
    // invalid UTF-8 byte sequence.
    func IndexRune(s []byte, r rune) int {
    	const haveFastIndex = bytealg.MaxBruteForce > 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  2. fastapi/_compat/v2.py

        return known_models
    
    
    def get_flat_models_from_fields(
        fields: Sequence[ModelField], known_models: TypeModelSet
    ) -> TypeModelSet:
        for field in fields:
            get_flat_models_from_field(field, known_models=known_models)
        return known_models
    
    
    def _regenerate_error_with_loc(
        *, errors: Sequence[Any], loc_prefix: tuple[str | int, ...]
    ) -> list[dict[str, Any]]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. fastapi/openapi/utils.py

    
    def get_openapi(
        *,
        title: str,
        version: str,
        openapi_version: str = "3.1.0",
        summary: str | None = None,
        description: str | None = None,
        routes: Sequence[BaseRoute],
        webhooks: Sequence[BaseRoute] | None = None,
        tags: list[dict[str, Any]] | None = None,
        servers: list[dict[str, str | Any]] | None = None,
        terms_of_service: str | None = None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/stream-json-lines.md

    Vous pouvez avoir une séquence de données que vous souhaitez envoyer en « flux » ; vous pouvez le faire avec « JSON Lines ».
    
    /// info
    
    Ajouté dans FastAPI 0.134.0.
    
    ///
    
    ## Qu'est-ce qu'un flux ? { #what-is-a-stream }
    
    La « diffusion en continu » de données signifie que votre application commence à envoyer des éléments de données au client sans attendre que l'ensemble de la séquence soit prêt.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  6. fastapi/routing.py

    import inspect
    import json
    import types
    from collections.abc import (
        AsyncIterator,
        Awaitable,
        Callable,
        Collection,
        Coroutine,
        Generator,
        Iterator,
        Mapping,
        Sequence,
    )
    from contextlib import (
        AbstractAsyncContextManager,
        AbstractContextManager,
        AsyncExitStack,
        asynccontextmanager,
    )
    from enum import Enum, IntEnum
    from typing import (
        Annotated,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

      private Graphs() {}
    
      // Graph query methods
    
      /**
       * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset
       * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting
       * and ending with the same node.
       *
       * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1).
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertEquals(expected, murmur3_128(seed).hashBytes(input));
        assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash());
      }
    
      /** Returns a {@link HashCode} for a sequence of longs, in big-endian order. */
      private static HashCode toHashCode(long... longs) {
        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. fastapi/applications.py

    from collections.abc import Awaitable, Callable, Coroutine, Sequence
    from enum import Enum
    from typing import Annotated, Any, TypeVar
    
    from annotated_doc import Doc
    from fastapi import routing
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
        websocket_request_validation_exception_handler,
    )
    from fastapi.exceptions import (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
Back to Top