Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 292 for loop1 (0.04 sec)

  1. guava/src/com/google/common/escape/CharEscaper.java

      protected final String escapeSlow(String s, int index) {
        int slen = s.length();
    
        // Get a destination buffer and setup some loop variables.
        char[] dest = Platform.charBufferFromThreadLocal();
        int destSize = dest.length;
        int destIndex = 0;
        int lastEscape = 0;
    
        // Loop through the rest of the string, replacing when needed into the
        // destination buffer, which gets grown as needed as well.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

      var maxStaleSeconds = -1
      var minFreshSeconds = -1
      var onlyIfCached = false
      var noTransform = false
      var immutable = false
    
      var canUseHeaderValue = true
      var headerValue: String? = null
    
      loop@ for (i in 0 until headers.size) {
        val name = headers.name(i)
        val value = headers.value(i)
    
        when {
          name.equals("Cache-Control", ignoreCase = true) -> {
            if (headerValue != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/async-tests.md

    | "Tipp"
    
    Wenn Sie einen `RuntimeError: Task attached to a different loop` erhalten, wenn Sie asynchrone Funktionsaufrufe in Ihre Tests integrieren (z. B. bei Verwendung von <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDBs MotorClient</a>), dann denken Sie daran, Objekte zu instanziieren, die einen Event Loop nur innerhalb asynchroner Funktionen benΓΆtigen, z. B. einen `@app.on_event("startup")`-Callback....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/async-tests.md

    /// tip
    
    If you encounter a `RuntimeError: Task attached to a different loop` when integrating asynchronous function calls in your tests (e.g. when using <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB's MotorClient</a>), remember to instantiate objects that need an event loop only within async functions, e.g. an `'@app.on_event("startup")` callback.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final String ERROR_PARALLEL_EDGE = "connected by a different edge";
      private static final String ERROR_NEGATIVE_COUNT = "is non-negative";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
    
      @Test
      public void transitiveClosure_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build();
        directedGraph.putEdge(N1, N2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. api/next/61515.txt

    pkg testing, method (*B) Loop() bool #61515...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 20 19:09:41 UTC 2024
    - 44 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Graph<Integer> createGraph();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/async-tests.md

    /// tip
    
    πŸš₯ πŸ‘† βš” `RuntimeError: Task attached to a different loop` πŸ•β” πŸ› οΈ πŸ” πŸ”’ πŸ€™ πŸ‘† πŸ’― (βœ… πŸ•β” βš™οΈ <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">✳ MotorClient</a>) πŸ’­ πŸ”— 🎚 πŸ‘ˆ πŸ’ͺ πŸŽ‰ ➰ πŸ•΄ 🏞 πŸ” πŸ”’, βœ… `'@app.on_event("startup")` ⏲.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      var commaFound = false
      loop@ while (!exhausted()) {
        when (this[0]) {
          ','.code.toByte() -> {
            // Consume ','.
            readByte()
            commaFound = true
          }
    
          ' '.code.toByte(), '\t'.code.toByte() -> {
            readByte()
            // Consume space or tab.
          }
    
          else -> break@loop
        }
      }
      return commaFound
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Throwables.java

       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top