- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 858 for element1 (0.08 sec)
-
guava-tests/test/com/google/common/collect/OrderingTest.java
} }; // Don't let the elements be in such a predictable order list = shuffledCopy(list, new Random(1)); sort(list, arbitrary); // Now we don't care what order it's put the list in, only that // comparing any pair of elements gives the answer we expect. testComparator(arbitrary, list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/WrongType.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUE
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 934 bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
class TapeVSpace : public eager::VSpace<AbstractTensorHandle, GradientFunction, TapeTensor> { public: explicit TapeVSpace(AbstractContext* ctx) : ctx_(ctx) {} ~TapeVSpace() override {} // Returns the number of elements in the gradient tensor. int64_t NumElements(AbstractTensorHandle* tensor) const override; // Consumes references to the tensors in the gradient_tensors list and returns // a tensor with the result.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
} } /** * Sorts the elements of {@code array} in descending order. * * @since 23.1 */ public static void sortDescending(byte[] array) { checkNotNull(array); sortDescending(array, 0, array.length); } /** * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
public void testRemoveAll_duplicate() { ArrayWithDuplicate<E> arrayAndDuplicate = createArrayWithDuplicateElement(); collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimapGwtSerializationDependencies.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.util.Collection; import java.util.Map; /** * A dummy superclass to support GWT serialization of the element types of a {@link HashMultimap}. * The GWT supersource for this class contains a field for each type. * * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 24 18:57:48 UTC 2019 - 1.4K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
if eDate.Time.IsZero() { return nil } return e.EncodeElement(eDate.Format(time.RFC3339), startElement) } // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element. type ExpireDeleteMarker struct { Boolean } // Boolean signifies a boolean XML struct with custom marshaling type Boolean struct { val bool set bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0)