- Sort Score
- Result 10 results
- Languages All
Results 1021 - 1030 of 1,538 for Values (0.65 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
List<Class<? extends AbstractTester>> testers = getTesters(); logger.fine(" Testing: " + name); // Split out all the specified sizes. Set<Feature<?>> sizesToTest = Helpers.<Feature<?>>copyToSet(CollectionSize.values()); sizesToTest.retainAll(features); features.removeAll(sizesToTest); addImpliedFeatures(sizesToTest); sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
dummy ^= JOINER_ON_CHARACTER.join(components).length(); } return dummy; } /** * Mimics what the {@link Joiner} class does internally when no extra options like ignoring {@code * null} values are used. */ @Benchmark int joinerInlined(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { StringBuilder sb = new StringBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapIteratorCache.java
MapIteratorCache(Map<K, V> backingMap) { this.backingMap = checkNotNull(backingMap); } @CanIgnoreReturnValue final @Nullable V put(K key, V value) { checkNotNull(key); checkNotNull(value); clearCache(); return backingMap.put(key, value); } @CanIgnoreReturnValue final @Nullable V remove(Object key) { checkNotNull(key); clearCache(); return backingMap.remove(key); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
@ParametricNullness public V getValue() { return delegate().getValue(); } @Override @ParametricNullness @CanIgnoreReturnValue public V setValue(@ParametricNullness V value) { return delegate().setValue(value); } @Override public boolean equals(@Nullable Object object) { return delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* verify() method, which is called after each sequence and is guaranteed to be called * using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) { return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size]; } ImmutableMapEntry(K key, V value) { super(key, value); checkEntryNotNull(key, value); } // Redeclare methods to make them `final`, just to be extra-safe. @Override @ParametricNullness public final K getKey() { return super.getKey(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
"cmd/internal/src" ) // A ScanToken represents an input item. It is a simple wrapping of rune, as // returned by text/scanner.Scanner, plus a couple of extra values. type ScanToken rune const ( // Asm defines some two-character lexemes. We make up // a rune/ScanToken value for them - ugly but simple. LSH ScanToken = -1000 - iota // << Left shift. RSH // >> Logical right shift.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
private Trans2GetDfsReferral trans2GetDfsReferral; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() throws Exception { // Given String filename = "\\\\server\\share\\file.txt"; // When trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should not modify bytes outside written range") void testWriteBytesDoesNotOverflow() { byte[] buffer = new byte[100]; // Fill buffer with known values for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } int startIndex = 50; echoRequest.writeBytesWireFormat(buffer, startIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); decodedContext.decode(buffer, 0, buffer.length); // Verify decoded values assertArrayEquals(originalKey.getKey(), decodedContext.getLeaseKey().getKey()); assertEquals(originalLeaseState, decodedContext.getLeaseState()); assertEquals(originalScope, decodedContext.getCacheScope());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0)