- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,044 for set (0.29 sec)
-
internal/event/targetidset.go
func (set TargetIDSet) add(targetID TargetID) { set[targetID] = struct{}{} } // Union - returns union with given set as new set. func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet { nset := set.Clone() for k := range sset { nset.add(k) } return nset } // Difference - returns difference with given set as new set. func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
initialValue, getList().set(index, newValue)); assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index)); assertEquals("set() should not change the size of a list.", getNumElements(), getList().size()); } @ListFeature.Require(SUPPORTS_SET) public void testSet_indexTooLow() { try { getList().set(-1, e3());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5.3K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
:err ECHO JAVA_HOME environment variable must be set! 1>&2 EXIT /B 1 :cont set SCRIPT_DIR=%~dp0 for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI REM ***** JAVA options ***** if "%FESS_MIN_MEM%" == "" ( set FESS_MIN_MEM=256m ) if "%FESS_MAX_MEM%" == "" ( set FESS_MAX_MEM=1g ) if NOT "%FESS_HEAP_SIZE%" == "" ( set FESS_MIN_MEM=%FESS_HEAP_SIZE% set FESS_MAX_MEM=%FESS_HEAP_SIZE% )
Batch File - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); assertFalse(set.contains(0)); assertTrue(set.contains(1)); assertTrue(set.contains(2)); assertTrue(set.contains(3)); assertFalse(set.contains(4)); set = ContiguousSet.create(Range.open(0, 4), integers()); assertFalse(set.contains(0)); assertTrue(set.contains(1)); assertTrue(set.contains(2));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); assertFalse(set.contains(0)); assertTrue(set.contains(1)); assertTrue(set.contains(2)); assertTrue(set.contains(3)); assertFalse(set.contains(4)); set = ContiguousSet.create(Range.open(0, 4), integers()); assertFalse(set.contains(0)); assertTrue(set.contains(1)); assertTrue(set.contains(2));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 19.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
} } return features; } /** * Given a set of features, return a new set of all features directly or indirectly implied by any * of them. * * @param features the set of features whose implications to find * @return the implied set of features */ public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { Set<Feature<?>> impliedSet = new LinkedHashSet<>();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 21 15:08:35 GMT 2022 - 12.1K bytes - Viewed (0) -
docs/erasure/storage-class/README.md
- Greater than or equal to 2, if `REDUCED_REDUNDANCY` parity is not set. - Greater than `REDUCED_REDUNDANCY` parity, if it is set. Parity blocks can not be higher than data blocks, so `STANDARD` storage class parity can not be higher than N/2. (N being total number of drives) The default value for the `STANDARD` storage class depends on the number of volumes in the erasure set: | Erasure Set Size | Default Parity (EC:N) |
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 5.8K bytes - Viewed (1) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
* @return true if this set contains the specified element. */ @Override public boolean contains(final Object o) { return map.containsKey(o); } /** * Adds the specified element to this set if it is not already present. * * @param o * element to be added to this set.
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
/** * Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is * not present in this network. * * @since 33.1.0 */ protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) { return InvalidatableSet.of( set, () -> nodes().contains(node), () -> String.format(NODE_REMOVED_FROM_GRAPH, node)); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* set. The order in which these subsets appear in the outer set is undefined. Note that the power * set of the empty set is not the empty set, but a one-element set containing the empty set. * * <p>The returned set and its constituent sets use {@code equals} to decide whether two elements * are identical, even if the input set uses a different concept of equivalence. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0)