Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for asSet (0.08 sec)

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

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
      public void testAsSet_absent() {
        assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty());
      }
    
      public void testAsSet_presentIsImmutable() {
        Set<String> presentAsSet = Optional.of("a").asSet();
        try {
          presentAsSet.add("b");
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        function_aliases: Function name -> function alias mapping.
        asset_file_defs: `AssetFileDef`s that associates the asset files and the
          name of the tensors to which the asset file names should be fed. The
          caller should make sure the asset files exist in the output saved model
          directory.
    
      Raises:
        ValueError iff the graph does not contain a valid signature or the file
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

      "tf_saved_model.session_initializer"() {initializers = [@NoOp]} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/mydata.txt", sym_name = "__tf_saved_model_asset0_mydata.txt"} : () -> ()
    // Session initializer ops and asset ops untouched.
    // CHECK: "tf_saved_model.session_initializer"() <{initializers = [@NoOp]}> : () -> ()
    // CHECK: "tf_saved_model.asset"() <{filename = "assets/mydata.txt", sym_name = "__tf_saved_model_asset0_mydata.txt"}> : () -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

            ImmutableSet<ImmutableCapability> providerCapabilitiesSet = providerCapabilities.asSet();
            if (providerCapabilitiesSet.isEmpty()) {
                // producer doesn't declare anything, so we assume that it only provides the implicit capability
                if (explicitRequestedCapabilities.size() == 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

      mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() <{initializers = []}> : () -> ()
          "tf_saved_model.asset"() <{filename = "assets/vocab_file.txt", sym_name = "__tf_saved_model_asset0_vocab_file.txt"}> : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class. However, this common usage:
       *
       * <pre>{@code
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class. However, this common usage:
       *
       * <pre>{@code
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top