- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 836 for Sets (0.13 sec)
-
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
public AtomicDouble() { this(0.0); } /** * Gets the current value. * * @return the current value */ public final double get() { return longBitsToDouble(value.get()); } /** * Sets to the given value. * * @param newValue the new value */ public final void set(double newValue) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 28 21:00:54 GMT 2022 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java
// Before JDK6 (including under GWT), the TreeMap keySet is a plain Set. if (Maps.newTreeMap().keySet() instanceof SortedSet) { assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet())); } assertTrue( SortedIterables.hasSameComparator( Ordering.natural().reverse(), Sets.newTreeSet(Ordering.natural().reverse())));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Set<String> set = of("a", "b"); assertEquals(Sets.newHashSet("a", "b"), set); } public void testCreation_threeElements() { Set<String> set = of("a", "b", "c"); assertEquals(Sets.newHashSet("a", "b", "c"), set); } public void testCreation_fourElements() { Set<String> set = of("a", "b", "c", "d"); assertEquals(Sets.newHashSet("a", "b", "c", "d"), set); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
Set<String> set = of("a", "b"); assertEquals(Sets.newHashSet("a", "b"), set); } public void testCreation_threeElements() { Set<String> set = of("a", "b", "c"); assertEquals(Sets.newHashSet("a", "b", "c"), set); } public void testCreation_fourElements() { Set<String> set = of("a", "b", "c", "d"); assertEquals(Sets.newHashSet("a", "b", "c", "d"), set); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java
public final class SetsFilterSortedSetTest extends AbstractFilteredSortedSetTest<SortedSet<Integer>> { @Override SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) { final TreeSet<Integer> result = Sets.newTreeSet(contents); // we have to make the result not Navigable return new ForwardingSortedSet<Integer>() { @Override protected SortedSet<Integer> delegate() { return result; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 16 21:55:55 GMT 2022 - 1.4K 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) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testContains_nonNullSetYes() { Iterable<String> set = Sets.newHashSet("a", null, "b"); assertTrue(FluentIterable.from(set).contains("b")); } public void testContains_nonNullSetNo() { Iterable<String> set = Sets.newHashSet("a", "b"); assertFalse(FluentIterable.from(set).contains("c")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
import static com.google.common.graph.Graphs.checkPositive; import static java.util.Objects.requireNonNull; import com.google.common.collect.Iterables; import com.google.common.collect.Iterators; import com.google.common.collect.Sets; import com.google.common.collect.UnmodifiableIterator; import com.google.common.math.IntMath; import java.util.AbstractSet; import java.util.Collections; import java.util.Map; import java.util.Set;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 26 17:43:39 GMT 2021 - 4.5K bytes - Viewed (0) -
cni/pkg/install/install.go
if cniConfigMap["type"] != "istio-cni" { return fmt.Errorf("istio-cni CNI config file modified: %s", cniConfigFilepath) } return nil } // Sets isReady to true. func setReady(isReady *atomic.Value) { installReady.Record(1) isReady.Store(true) } // Sets isReady to false. func setNotReady(isReady *atomic.Value) { installReady.Record(0) isReady.Store(false)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
cni/pkg/install/binaries.go
import ( "os" "path/filepath" "istio.io/istio/pkg/file" "istio.io/istio/pkg/util/sets" ) // Copies/mirrors any files present in a single source dir to N number of target dirs // and returns a set of the filenames copied. func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) { copiedFilenames := sets.String{} srcFiles, err := os.ReadDir(srcDir) if err != nil { return copiedFilenames, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Dec 11 19:10:54 GMT 2023 - 1.5K bytes - Viewed (0)