Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 218 for Kistner (0.83 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CountingRemovalListener<Object, Object> listener = countingRemovalListener();
        LoadingCache<Object, Object> nullCache =
            CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader());
        assertEquals(0, nullCache.size());
        Object key = new Object();
        assertSame(key, nullCache.getUnchecked(key));
        assertEquals(1, listener.getCount());
        assertEquals(0, nullCache.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    				{
    					Name: "10.102.11.148_15021",
    					ActiveState: &envoy_admin.ListenersConfigDump_DynamicListenerState{
    						VersionInfo: "2023-06-20T09:07:41Z/3",
    						Listener: &anypb.Any{
    							TypeUrl: "type.googleapis.com/envoy.config.listener.v3.Listener",
    						},
    						LastUpdated: timestamppb.Now(),
    					},
    					ClientStatus: 453,
    				},
    			},
    		},
    	}
    	tests := []struct {
    		name  string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        CountingRemovalListener<Object, Object> listener = countingRemovalListener();
        LoadingCache<Object, Object> nullCache =
            CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader());
        assertEquals(0, nullCache.size());
        Object key = new Object();
        assertSame(key, nullCache.getUnchecked(key));
        assertEquals(1, listener.getCount());
        assertEquals(0, nullCache.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        // In the process we made one successful connection attempt.
        assertThat(listener.recordedEventTypes().filter { it == "ConnectStart" }).hasSize(2)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(1)
        assertThat(listener.recordedEventTypes().filter { it == "ConnectEnd" }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                final Object bean = instantiateObject(implType);
                if (null == value) {
                    processConfiguration(lookup, bean, loader, configuration, evaluator, listener);
                } else {
                    new CompositeBeanHelper(lookup, loader, evaluator, listener).setDefault(bean, value, configuration);
                }
                return bean;
            } catch (final ComponentConfigurationException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * after executing them.
       *
       * @param listener the listener to run when the computation is complete
       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. cni/pkg/monitoring/monitoring.go

    	"istio.io/istio/pkg/network"
    )
    
    func SetupMonitoring(port int, path string, stop <-chan struct{}) {
    	if port <= 0 {
    		return
    	}
    	mux := http.NewServeMux()
    	var listener net.Listener
    	var err error
    	if listener, err = net.Listen("tcp", fmt.Sprintf(":%d", port)); err != nil {
    		log.Errorf("unable to listen on socket: %v", err)
    		return
    	}
    	exporter, err := monitoring.RegisterPrometheusExporter(nil, nil)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                final ClassRealm realm,
                final ConfigurationListener listener)
                throws ComponentConfigurationException {
            try {
                ClassRealmConverter.pushContextRealm(realm);
    
                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
            } finally {
                ClassRealmConverter.popContextRealm();
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        compound.addListener(listener, directExecutor());
        assertThat(getDone(compound)).isEmpty();
        assertTrue(listener.wasCalled());
      }
    
      public void testAllAsList_emptyArray() throws Exception {
        SingleCallListener listener = new SingleCallListener();
        listener.expectCall();
        ListenableFuture<List<String>> compound = allAsList();
        compound.addListener(listener, directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top