Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 921 for called (0.3 sec)

  1. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. 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: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  3. 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: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/main/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.
      fun requiresRequestBody(method: String): Boolean =
        (
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top