Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 327 for cosine (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            if (toClose != null) {
              connection.connectionListener.connectionClosed(connection)
            }
          } else {
            check(toClose == null) // If we still have a connection we shouldn't be closing any sockets.
          }
        }
    
        val result = timeoutExit(e)
        if (e != null) {
          eventListener.callFailed(this, result!!)
        } else {
          eventListener.callEnd(this)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencias con yield
    
    FastAPI admite dependencias que realizan algunos <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>pasos adicionales después de finalizar</abbr>.
    
    Para hacer esto, usa `yield` en lugar de `return` y escribe los pasos adicionales (código) después.
    
    /// tip | Consejo
    
    Asegúrate de usar `yield` una sola vez por dependencia.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    	}
    	result = totalSizes[0]
    	for i := 1; i < len(totalSizes); i++ {
    		result = gcd(result, totalSizes[i])
    	}
    	return result
    }
    
    // isValidSetSize - checks whether given count is a valid set size for erasure coding.
    var isValidSetSize = func(count uint64) bool {
    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. CHANGELOG.md

        chunked but has no data.
    
     *  Breaking: Replace `SocketPolicy` with a new type, `SocketEffect`. It splits triggers (request
        start, response body, etc.) from effects (closing the socket, closing the stream, etc.).
    
     *  Breaking: Rename `RecordedRequest.sequenceNumber` to `exchangeIndex` and introduce
        `connectionIndex` on that type. These properties may be useful when testing features like
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
        connection.readTimeout = 500
        assertFailsWith<SocketTimeoutException> {
          connection.responseCode
        }
    
        // Closing the server should unblock the dispatcher.
        server.close()
      }
    
      @Test
      fun requestUrlReconstructed() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello world")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        ImmutableRangeSet.Builder<Integer> zat =
            ImmutableRangeSet.<Integer>builder().add(rangeThree).add(rangeFour);
    
        ImmutableRangeSet<Integer> rangeSet = zis.combine(zat).build();
    
        assertThat(rangeSet.asRanges())
            .containsExactly(Range.closedOpen(1, 3), Range.closedOpen(4, 5), Range.closedOpen(6, 9))
            .inOrder();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableTable.java

          for (Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
            put(cell);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<R, C, V> combine(Builder<R, C, V> other) {
          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<E> combine(ImmutableSet.Builder<E> builder) {
          super.combine(builder);
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableSortedSet} based on the contents of the {@code
         * Builder} and its comparator.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<E> combine(Builder<E> other) {
          addAll(other.contents, other.size);
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder}.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> zat =
            ImmutableListMultimap.<String, Integer>builder().put("a", 3).put("c", 4);
        ImmutableListMultimap<String, Integer> multimap = zis.combine(zat).build();
        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top