Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,696 for Called (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            new FutureCallback<String>() {
              private boolean called = false;
    
              @Override
              public void onSuccess(String result) {
                fail("Was not expecting onSuccess() to be called.");
              }
    
              @Override
              public synchronized void onFailure(Throwable t) {
                assertFalse(called);
                assertThat(t).isInstanceOf(CancellationException.class);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ctx, pod, podIPs, netNs)
    	return args.Error(0)
    }
    
    func (f *fakeServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ctx, pod)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        manager.awaitStopped(5, SECONDS); // no exception thrown
      }
    
      /**
       * This covers a case where if the last service to stop failed then the stopped callback would
       * never be called.
       */
      public void testSingleFailedServiceCallsStopped() {
        Service a = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * initial write to timer is never definitely visible to Fire.run since it is assigned after
       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      private class InnerWithOneParameterConstructor {
        @SuppressWarnings("unused") // called by reflection
        public InnerWithOneParameterConstructor(String s) {}
      }
    
      public void testInnerClassWithOneParameterConstructor() {
        Constructor<?> constructor =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Address.java

         */
        InetAddress toInetAddress () throws UnknownHostException;
    
    
        /**
         * Guess called name to try for session establishment. These
         * methods are used by the smb package.
         * 
         * @return guessed name
         */
        String firstCalledName ();
    
    
        /**
         * Guess next called name to try for session establishment. These
         * methods are used by the smb package.
         * 
         * @param tc
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener = new MockFutureListener(resultFuture);
      }
    
      public void testFutureGetBeforeCallback() throws Exception {
        // Verify that get throws a timeout exception before the callback is called.
        assertThrows(TimeoutException.class, () -> resultFuture.get(1L, TimeUnit.MILLISECONDS));
      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
        inputFuture.setException(EXCEPTION);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           * requireNonNull is safe because we don't null out `sequencer` except:
           *
           * - after the requireNonNull call below. (And this object has its Runnable.run override
           *   called only once, just as it has its Executor.execute override called only once.)
           *
           * - if we return immediately from `execute` (in which case we never get here)
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top