- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 410 for callbacks (0.03 sec)
-
tests/preload_suits_test.go
}, } DB.Save(&lvl) var called int64 DB.Callback().Query().After("gorm:query").Register("TestPreloadManyToManyCallbacks", func(_ *gorm.DB) { atomic.AddInt64(&called, 1) }) DB.Preload("Level2s").First(&Level1{}, "id = ?", lvl.ID) if called != 3 { t.Errorf("Wanted callback to be called 3 times but got %d", called) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 05 11:34:13 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
* were running under a new enough version of Android to support NIO. * * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another* * layer of fallback before consulting the system property, we could try * com.sun.security.auth.module.NTSystem. * * But for now, we use the value from the system property as our best guess. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/debugging/inspect/export.go
return 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions) } return versions, buf, nil } // decodeVersions will decode a number of versions from a buffer // and perform a callback for each version in order, newest first. // Any non-nil error is returned. func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) { var tHdr, tMeta []byte // Zero copy bytes
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:38:44 UTC 2025 - 9.1K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
).eventListenerFactory(clientTestRule.wrap(listener1)) .build() val request = Request.Builder().url(sanUrl).build() val call1 = client1.newCall(request) call1.enqueue( object : Callback { @Throws(IOException::class) override fun onResponse( call: Call, response: Response, ) { try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(handle.areSignaturesActive()); verify(session, times(4)).close(); verify(transport, times(4)).close(); } @Test @DisplayName("isSMB2 true and exception fallback to false") void isSMB2Cases() throws Exception { // Happy path returns true; transport exception path returns false when(transport.isSMB2()).thenReturn(true); assertTrue(handle.isSMB2());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
/** Table of cells. When non-null, size is a power of 2. */ transient volatile Cell @Nullable [] cells; /** * Base value, used mainly when there is no contention, but also as a fallback during table * initialization races. Updated via CAS. */ transient volatile long base; /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */ transient volatile int busy;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/erasure-healing-common.go
if modTime.IsZero() || modTime.Equal(timeSentinel) { etags := listObjectETags(partsMetadata, errs, quorum) etag = commonETag(etags, quorum) if etag != "" { // allow this fallback only if a non-empty etag is found. for index, e := range etags { if partsMetadata[index].IsValid() && e == etag { onlineDisks[index] = disks[index] } else { onlineDisks[index] = nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
} /** * Gets the path by trying multiple locations in order of preference. * First tries to get the real path from servlet context, then checks various * fallback locations including source and target directories. * * @param root the root directory (e.g., "WEB-INF/") * @param base the base directory under root (e.g., "conf", "classes")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
case WitnessAsyncNotifyMessage.WitnessNotificationMessage.WITNESS_IP_CHANGE: return WitnessEventType.IP_CHANGE; default: return WitnessEventType.RESOURCE_CHANGE; // Default fallback } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean useLargeReadWrite = true; /** LAN Manager compatibility level for authentication */ protected int lanmanCompatibility = 3; /** Whether to allow fallback to NTLM authentication */ protected boolean allowNTLMFallback = true; /** Whether to use raw NTLM authentication without SPNEGO */ protected boolean useRawNTLM = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)