Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 305 for Correct (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the
     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    You're allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block.
    
    This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame.
    
    ## Connection Pool
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLong.java

        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
        return (double) ((value >>> 1) | (value & 1)) * 2.0;
      }
    
      /** Returns the value of this {@code UnsignedLong} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLong.java

        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
        return (double) ((value >>> 1) | (value & 1)) * 2.0;
      }
    
      /** Returns the value of this {@code UnsignedLong} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body.md

    
    ## Request body + path + query parameters
    
    You can also declare **body**, **path** and **query** parameters, all at the same time.
    
    **FastAPI** will recognize each of them and take the data from the correct place.
    
    {* ../../docs_src/body/tutorial004_py310.py hl[16] *}
    
    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. cmd/signature-v4_test.go

    				"X-Amz-Signature":  []string{"invalidsignature"},
    				"Policy":           []string{"policy"},
    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (3) It should succeed if everything is correct.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{
    					fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion),
    				},
    				"X-Amz-Date": []string{now.Format(iso8601Format)},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate_test.go

    		}
    		if tag != tc.tagName {
    			t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag)
    		}
    
    		// ensure all webhooks have the correct client config
    		for _, webhook := range wh.Webhooks {
    			injectionWhConf := webhook.ClientConfig
    			if tc.whSVC != "" {
    				if injectionWhConf.Service == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertCorrectSlice(100, 100, 0, 0);
        assertCorrectSlice(100, 100, 10, 0);
        assertCorrectSlice(100, 101, 10, 0);
      }
    
      /**
       * Tests that the default slice() behavior is correct when the source is sliced starting at an
       * offset that is greater than the current length of the source, a stream is then opened to that
       * source, and finally additional bytes are appended to the source before the stream is read.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * Note: the superclass toArray() methods assume that size() gives a correct
       * answer, which ours does not.
       */
    
      @Override
      public Object[] toArray() {
        return snapshot().toArray();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      public boolean offer(E element) {
        checkNotNull(element);
        modCount++;
        int insertIndex = size++;
    
        growIfNeeded();
    
        // Adds the element to the end of the heap and bubbles it up to the correct
        // position.
        heapForIndex(insertIndex).bubbleUp(insertIndex, element);
        return size <= maximumSize || pollLast() != element;
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top