- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 835 for Sets (0.15 sec)
-
guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java
double setSize = rng.nextDouble(); if (setSize < emptySetProportion) { sets[i] = ImmutableSet.of(); } else if (setSize < emptySetProportion + singletonSetProportion) { sets[i] = ImmutableSet.of(PRESENT); } else { sets[i] = ImmutableSet.of(PRESENT, new Object()); } if (rng.nextDouble() < hitRate) { queries[i] = PRESENT; } else {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 2.3K bytes - Viewed (0) -
.github/bot_config.yml
*TensorFlow release binaries version 1.6 and higher are prebuilt with AVX instruction sets.* Therefore on any CPU that does not have these instruction sets, either CPU or GPU version of TF will fail to load. Apparently, your CPU model does not support AVX instruction sets. You can still use TensorFlow with the alternatives given below: * Try Google Colab to use TensorFlow.
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Oct 17 11:48:07 GMT 2023 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
} // Node/edge sets are the same, but node/edge connections differ due to edge type. @Test public void equivalent_directedVsUndirected() { graph.putEdge(N1, N2); MutableGraph<Integer> g2 = createGraph(oppositeType(edgeType)); g2.putEdge(N1, N2); assertThat(graph).isNotEqualTo(g2); } // Node/edge sets and node/edge connections are the same, but directedness differs.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 22 19:09:27 GMT 2017 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
@Override NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) { return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) { return Sets.filter(elements, predicate); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 16 21:55:55 GMT 2022 - 1.2K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
} // Mul sets z = x * y and returns z. func (z *Int) Mul(x, y *Int) *Int { x.doinit() y.doinit() z.doinit() C.mpz_mul(&z.i[0], &x.i[0], &y.i[0]) return z } // Div sets z = x / y, rounding toward zero, and returns z. func (z *Int) Div(x, y *Int) *Int { x.doinit() y.doinit() z.doinit() C.mpz_tdiv_q(&z.i[0], &x.i[0], &y.i[0]) return z } // Mod sets z = x % y and returns z.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
Maps.immutableEntry("bar", (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)), Maps.immutableEntry("baz", (Collection<Integer>) Sets.newHashSet(7, 8)), Maps.immutableEntry("dog", (Collection<Integer>) Sets.newHashSet(9)), Maps.immutableEntry("cat", (Collection<Integer>) Sets.newHashSet(12, 13, 14))));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.SerializableTester; import java.util.Arrays;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Lists; import com.google.common.collect.Ordering; import com.google.common.collect.Sets; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.testing.SerializableTester; import java.util.Arrays;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
@CheckForNull private ThreadFactory backingThreadFactory = null; /** Creates a new {@link ThreadFactory} builder. */ public ThreadFactoryBuilder() {} /** * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created * with this ThreadFactory. * * @param nameFormat a {@link String#format(String, Object...)}-compatible format String, to which
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 10 21:56:03 GMT 2023 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); expected.add(Helpers.mapEntry(k0(), (Collection<V>) Sets.newHashSet(v0(), v3()))); expected.add(Helpers.mapEntry(k1(), (Collection<V>) Sets.newHashSet(v0()))); new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 3.9K bytes - Viewed (0)