- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 3,764 for shouldn (1.15 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
.isSameInstanceAs(result); } } /** * On a concurrent computation that returns null, all threads should get an * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a * later request should call the loader again). */ private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder) throws InterruptedException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
@Nullable Strength keyStrength; @Nullable Strength valueStrength; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterWriteNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long expireAfterAccessNanos = UNSET_INT; @SuppressWarnings("GoodTime") // should be a Duration long refreshNanos = UNSET_INT; @Nullable Equivalence<Object> keyEquivalence;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertSame(ndrBuffer.deferred, derivedBuffer.deferred); // Deferred should be the same as original // Ensure changes to derived buffer don't affect original's index/start derivedBuffer.advance(5); assertEquals(15, derivedBuffer.index); assertEquals(50, ndrBuffer.index); // Original index should be unchanged } @Test void testReset() { ndrBuffer.advance(100);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
byte[] result2 = hmac2.engineDigest(); // Results should be different boolean different = false; for (int i = 0; i < result1.length; i++) { if (result1[i] != result2[i]) { different = true; break; } } assertEquals(true, different, "Different keys should produce different HMAC values"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Append(&account); err != nil { t.Fatalf("Error happened when append account, got %v", err) } if account.ID == 0 { t.Fatalf("Account's ID should be created") } user.Account = account CheckUser(t, user2, user) AssertAssociationCount(t, user, "Account", 1, "AfterAppend") // Replace account2 := Account{Number: "account-has-one-replace"}
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java
public interface ArtifactMetadata { /** * Whether this metadata should be stored alongside the artifact. * * @return whether this metadata should be stored alongside the artifact */ boolean storedInArtifactVersionDirectory(); /** * Whether this metadata should be stored alongside the group. * * @return whether this metadata should be stored alongside the group */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
/** * This method should be used to initiate service shutdown. The invocation of this method should * cause a call to {@link #notifyStopped()}, either during this method's run, or after it has * returned. If shutdown fails, the invocation should cause a call to {@link * #notifyFailed(Throwable)} instead. * * <p>This method should return promptly; prefer to do work on a different thread where it isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data)); SocketInputStream sis = new SocketInputStream(in); // Skip should return 0 for negative or zero values assertEquals(0, sis.skip(skipBytes)); // All data should still be available assertEquals(10, sis.read()); } @Test @DisplayName("Skip correctly advances position in stream")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
} assertTrue("GET method should exist", hasGet); assertTrue("POST method should exist", hasPost); assertTrue("PUT method should exist", hasPut); assertTrue("DELETE method should exist", hasDelete); assertTrue("HEAD method should exist", hasHead); assertTrue("OPTIONS method should exist", hasOptions); assertTrue("TRACE method should exist", hasTrace);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
* * @param zterm whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /** * Constructs a UnicodeString by wrapping an existing unicode_string. * * @param rus wrapped string * @param zterm whether the string should be zero terminated */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0)