Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 798 for sets (0.07 sec)

  1. tensorflow/c/eager/c_api_test_util.h

    TFE_Op* SendOp(TFE_Context* ctx, TFE_TensorHandle* in,
                   const std::string& op_name, const std::string& send_device,
                   const std::string& recv_device,
                   tensorflow::uint64 send_device_incarnation);
    
    // Return a RecvOp op `op_name` with the attributes `send_device`,
    // `recv_device`, and `send_device_incarnation` set.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. cni/test/install_cni.go

    ) {
    	t.Logf("prior cni-conf='%v', expected result='%v'", preConfFile, resultFileName)
    
    	// disable monitoring & repair
    	viper.Set(constants.MonitoringPort, 0)
    	viper.Set(constants.RepairEnabled, false)
    
    	// Don't set the CNI conf file env var if preConfFile is not set
    	var envPreconf string
    	if preConfFile != "" {
    		envPreconf = preConfFile
    	} else {
    		preConfFile = resultFileName
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testLast_iterable() {
        Set<String> set = ImmutableSet.of("a", "b", "c");
        assertThat(FluentIterable.from(set).last()).hasValue("c");
      }
    
      public void testLast_emptyIterable() {
        Set<String> set = newHashSet();
        assertThat(FluentIterable.from(set).last()).isAbsent();
      }
    
      public void testSkip_simple() {
        Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
                  public Set apply(Set delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Set<String> set1 = ImmutableSet.of("one");
        Set<String> set2 = ImmutableSet.of("two");
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

    		format := newFormatErasureV3(setCount, setDriveCount)
    		format.ID = deploymentID
    		for i := 0; i < setCount; i++ { // for each erasure set
    			for j := 0; j < setDriveCount; j++ {
    				newFormat := format.Clone()
    				newFormat.Erasure.This = format.Erasure.Sets[i][j]
    				if deploymentID != "" {
    					newFormat.ID = deploymentID
    				}
    				drive := pool.Endpoints[i*setDriveCount+j]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> SortedSet<T> wrap(final SortedSet<T> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(SERIALIZABLE);
        derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top