Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 210 for Combine (0.17 sec)

  1. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

            put(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> builder) {
          entries.addAll(builder.entries);
          return this;
        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

        return pivotNewIndex;
      }
    
      private void swap(int i, int j) {
        T tmp = buffer[i];
        buffer[i] = buffer[j];
        buffer[j] = tmp;
      }
    
      TopKSelector<T> combine(TopKSelector<T> other) {
        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
        return this;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            ImmutableMap.<String, Integer>builder().put("one", 1);
        ImmutableMap.Builder<String, Integer> zat =
            ImmutableMap.<String, Integer>builder().put("two", 2).put("three", 3);
        assertMapEquals(zis.combine(zat).build(), "one", 1, "two", 2, "three", 3);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableMap once CollectorTester is usable to java7.
      public void testToImmutableMap_exceptionOnDuplicateKey_java7_combine() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<C> combine(Builder<C> builder) {
          addAll(builder.ranges);
          return this;
        }
    
        /**
         * Returns an {@code ImmutableRangeSet} containing the ranges added to this builder.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_full.bats

      bazel cquery --keep_going 'deps(//tensorflow/tools/pip_package:wheel)' | sort -u > $BATS_TEST_TMPDIR/pip_deps
      # Find all Python py_test targets not tagged "no_pip" or "manual", excluding
      # any targets in ignored packages. Combine this list of targets into a bazel
      # query list (e.g. the list becomes "target+target2+target3")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	retval := discovery.DiscoveryResponse{}
    	if len(responses) == 0 {
    		return &retval, nil
    	}
    
    	for _, response := range responses {
    		// Combine all the shards as one, even if that means losing information about
    		// the control plane version from each shard.
    		retval.ControlPlane = response.ControlPlane
    		retval.Resources = append(retval.Resources, response.Resources...)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    	gwMsg, err := checkGatewayAPIs(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, gwMsg...)
    
    	// TODO: add more checks
    
    	sa := local.NewSourceAnalyzer(
    		analysis.Combine("upgrade precheck", &maturity.AlphaAnalyzer{}),
    		resource.Namespace(ctx.Namespace()),
    		resource.Namespace(ctx.IstioNamespace()),
    		nil,
    	)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        ImmutableRangeSet.Builder<Integer> zat =
            ImmutableRangeSet.<Integer>builder().add(rangeThree).add(rangeFour);
    
        ImmutableRangeSet<Integer> rangeSet = zis.combine(zat).build();
    
        assertThat(rangeSet.asRanges())
            .containsExactly(Range.closedOpen(1, 3), Range.closedOpen(4, 5), Range.closedOpen(6, 9))
            .inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> zat =
            ImmutableListMultimap.<String, Integer>builder().put("a", 3).put("c", 4);
        ImmutableListMultimap<String, Integer> multimap = zis.combine(zat).build();
        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag.go

    	}
    	fmt.Fprintf(w, tagCreatedStr, tagName, revision, tagName)
    	return nil
    }
    
    func analyzeWebhook(name, istioNamespace, wh, revision string, config *rest.Config) error {
    	sa := local.NewSourceAnalyzer(analysis.Combine("webhook", &webhook.Analyzer{}), "", resource.Namespace(istioNamespace), nil)
    	if err := sa.AddReaderKubeSource([]local.ReaderSource{{Name: "", Reader: strings.NewReader(wh)}}); err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top