Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 464 for called (0.17 sec)

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

          new Runnable() {
            @Override
            public void run() {}
          };
      boolean called = false;
    
      private void assertSingleCallWithCorrectParameters(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
        assertFalse(called); // only called once.
        called = true;
        assertEquals(INITIAL_DELAY, initialDelay);
        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} is
       * called multiple times.
       *
       * <p>When this method is called {@link #state()} will return {@link State#STOPPING}, which is the
       * external state observable by the caller of {@link #stopAsync}.
       *
       * @since 27.0
       */
      @ForOverride
      protected void doCancelStart() {}
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Service.java

         *     State#TERMINATED TERMINATED}.
         */
        public void terminated(State from) {}
    
        /**
         * Called when the service transitions to the {@linkplain State#FAILED FAILED} state. The
         * {@linkplain State#FAILED FAILED} state is a terminal state in the transition diagram.
         * Therefore, if this method is called, no other methods will be called on the {@link Listener}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        secondFuture.cancel(true);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isFalse();
        assertThat(thirdCallable.called).isTrue();
      }
    
      public void testCancellationMultipleThreads() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    		t.Fatalf("Didnt Expect nsenterFunc to be called because this pod does not contain a sidecar")
    	}
    }
    
    func TestCmdAddExcludePod(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true, ""), "testExcludeNS", pod, ns)
    	if len(mockIntercept.lastRedirect) != 0 {
    		t.Fatalf("failed to exclude pod")
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          new Runnable() {
            @Override
            public void run() {}
          };
      boolean called = false;
    
      private void assertSingleCallWithCorrectParameters(
          Runnable command, long initialDelay, long delay, TimeUnit unit) {
        assertFalse(called); // only called once.
        called = true;
        assertEquals(INITIAL_DELAY, initialDelay);
        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // A non-blocking version of `Execute`. After each call, `Join` must be called
      // before `StartExecute` is called again. Using `StartExecute` with `Join`
      // allows the caller to schedule computation on multiple ParallelDevices
      // without sequencing those operations (first call `StartExecute` on each
      // parallel device, then call `Join` on each; even if some of the `Join`s
      // return a bad status the caller must run all of the `Join`s or any future
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @SuppressWarnings("unused") // Called by reflection
        private void privateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        public void publicMethod() {}
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  10. callbacks/create.go

    		callMethod(db, func(value interface{}, tx *gorm.DB) (called bool) {
    			if db.Statement.Schema.BeforeSave {
    				if i, ok := value.(BeforeSaveInterface); ok {
    					called = true
    					db.AddError(i.BeforeSave(tx))
    				}
    			}
    
    			if db.Statement.Schema.BeforeCreate {
    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top