Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,836 for result (0.05 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
         */
        if (result.isEmpty()) {
          return;
        }
        assertTrue(ImmutableList.of("a").equals(result));
        assertEquals(1, result.size());
      }
    
      public void testBuilderAddCollectionHandlesNulls() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    			ch <- struct {
    				err       error
    				scopeName string
    			}{err: err, scopeName: si.Name}
    		}(scope)
    	}
    	wg.Wait()
    	close(ch)
    	for result := range ch {
    		if result.err != nil {
    			return fmt.Errorf("failed updating Scope %s: %v", result.scopeName, result.err)
    		}
    	}
    	return nil
    }
    
    func (c *ControlzClient) GetScope(scope string) (*ScopeInfo, error) {
    	var s ScopeInfo
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        @Override
        public BiMap<Country, String> create(Object... entries) {
          BiMap<Country, String> result = EnumHashBiMap.create(Country.class);
          for (Object o : entries) {
            Entry<Country, String> entry = (Entry<Country, String>) o;
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/Cache.java

       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.api.GradleException
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.internal.tasks.testing.junit.result.TestResultSerializer
    import org.gradle.api.provider.MapProperty
    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.internal.exceptions.DefaultMultiCauseException
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. cni/pkg/repair/monitoring.go

    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	typeLabel  = monitoring.CreateLabel("type")
    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Dec 20 22:14:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

            String s = prp.getProperty( key );
            int result = -1;
            if( s != null ) {
                try {
                    result = Integer.parseInt( s );
                } catch( NumberFormatException nfe ) {
                    if( log.level > 0 )
                        nfe.printStackTrace( log );
                }
            }
            return result;
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    
      private ImmutableSetMultimap<V, K> invert() {
        Builder<V, K> builder = builder();
        for (Entry<K, V> entry : entries()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                final AuthenticationResult result = future.get(acquisitionTimeout, TimeUnit.MILLISECONDS);
                if (result == null) {
                    throw new SsoLoginException("authentication result was null");
                }
                return result;
            } catch (final Exception e) {
                throw new SsoLoginException("Failed to get a token.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

      public static <K, V> NavigableMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        NavigableMapTestSuiteBuilder<K, V> result = new NavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top