Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,191 for call (0.03 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

      /**
       * This Iterator wraps another iterator and gives it a bug found in JDK6.
       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSubList_originalListSetAffectsSubList() {
        List<E> subList = getList().subList(0, 1);
        getList().set(0, e3());
        assertEquals(
            "A set() call to a list after a sublist has been created "
                + "should be reflected in the sublist",
            singletonList(e3()),
            subList);
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testSubList_originalListSetAffectsSubList() {
        List<E> subList = getList().subList(0, 1);
        getList().set(0, e3());
        assertEquals(
            "A set() call to a list after a sublist has been created "
                + "should be reflected in the sublist",
            singletonList(e3()),
            subList);
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
                .that(unnecessaryShouldThrow)
                .isTrue();
            assertThrows(
                "Expected ArithmeticException for roundToDouble(" + input + ", UNNECESSARY)",
                ArithmeticException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		// of view if we simply do a GetObjectInfo() on this prefix by treating it as an object
    		// We save a lot of calls over the network.
    		//
    		// This happens repeatedly for all objects that are created concurrently() avoiding this
    		// as a List() call is an important performance improvement.
    		//
    		// Spark based s3a committers are a  big enough use-case to have this optimization.
    		//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
                manageArtifact(node, managedVersions, listeners);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

    import java.util.concurrent.locks.Lock;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is
     * interrupted during such a call, the call continues to block until the result is available or the
     * timeout elapses, and only then re-interrupts the thread.
     *
     * @author Anthony Zana
     * @since 10.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        /** Do this task's work, and then start another, such as by calling [startNextTask]. */
        fun start()
      }
    
      private object TestThreadSerialTask : SerialTask {
        override fun start() = error("unexpected call")
      }
    
      inner class RunnableSerialTask(
        private val runnable: Runnable,
      ) : SerialTask {
        override fun start() {
          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. internal/kms/kms.go

    	latencyBuckets         []time.Duration // expected to be sorted
    	latency                []atomic.Uint64
    }
    
    // Version returns version information about the KMS.
    //
    // TODO(aead): refactor this API call since it does not account
    // for multiple KMS/KES servers.
    func (k *KMS) Version(ctx context.Context) (string, error) {
    	return k.conn.Version(ctx)
    }
    
    // APIs returns a list of KMS server APIs.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top