Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,073 for called (0.18 sec)

  1. guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: 2023-11-24 12:43
    - Last Modified: 2021-06-15 18:00
    - 9.1K bytes
    - Viewed (0)
  2. 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: 2023-12-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 22.5K bytes
    - Viewed (0)
  3. android/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: 2023-11-10 12:43
    - Last Modified: 2023-09-06 17:04
    - 45K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/AbstractCache.java

        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
         * @since 11.0
         */
        void recordHits(int count);
    
        /**
         * Records cache misses. This should be called when a cache request returns a value that was not
         * found in the cache. This method should be called by the loading thread, as well as by threads
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2021-06-15 18:00
    - 9.1K bytes
    - Viewed (0)
  5. okhttp/src/commonMain/kotlin/okhttp3/internal/http/HttpMethod.kt

    object HttpMethod {
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun invalidatesCache(method: String): Boolean =
        (method == "POST" || method == "PATCH" || method == "PUT" ||
          method == "DELETE" || method == "MOVE")
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
    Plain Text
    - Registered: 2023-12-01 11:42
    - Last Modified: 2022-02-23 20:36
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NbtException.java

                    break;
                case NOT_LISTENING_CALLED:
                    result += "Not listening on called name";
                    break;
                case NOT_LISTENING_CALLING:
                    result += "Not listening for calling name";
                    break;
                case CALLED_NOT_PRESENT:
                    result += "Called name not present";
                    break;
                case NO_RESOURCES:
    Java
    - Registered: 2023-12-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 3.8K bytes
    - Viewed (0)
  7. 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: 2023-12-01 12:43
    - Last Modified: 2023-05-12 18:32
    - 20.4K bytes
    - Viewed (0)
  8. 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) {
    	defer resetGlobalTestVariables()
    
    	k8Args = "K8S_POD_NAMESPACE=testExcludeNS;K8S_POD_NAME=testPodName"
    	getKubePodInfoCalled = false
    
    	testCmdAdd(t)
    
    	if getKubePodInfoCalled {
    		t.Fatalf("failed to exclude pod")
    	}
    }
    
    Go
    - Registered: 2023-11-29 22:53
    - Last Modified: 2023-09-20 17:53
    - 15.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Finish the task by unblocking the task latch.  Then wait for the
        // listener to be called by blocking on the listener latch.
        taskLatch.countDown();
        assertEquals(25, task.get().intValue());
        assertTrue(listenerLatch.await(5, TimeUnit.SECONDS));
        assertTrue(task.isDone());
    Java
    - Registered: 2023-12-01 12:43
    - Last Modified: 2023-09-06 17:04
    - 4.7K bytes
    - Viewed (0)
  10. 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: 2023-11-24 12:43
    - Last Modified: 2023-04-17 14:48
    - 16.7K bytes
    - Viewed (0)
Back to top