- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 464 for Callback (0.52 sec)
-
cmd/is-dir-empty_linux.go
"syscall" ) // Returns true if no error and there is no object or prefix inside this directory func isDirEmpty(dirname string, legacy bool) bool { if legacy { // On filesystems such as btrfs, nfs this is not true, so fallback // to performing readdir() instead. entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0 } var stat syscall.Stat_t
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1.4K bytes - Viewed (0) -
CHANGELOG.md
## Version 5.0.0-alpha.4 _2022-02-01_ **This release introduces fast fallback to better support mixed IPv4+IPv6 networks.** Fast fallback is what we're calling our implementation of Happy Eyeballs, [RFC 8305][rfc_8305]. With this feature OkHttp will attempt both IPv6 and IPv4 connections concurrently, keeping whichever connects first. Fast fallback gives IPv6 connections a 250 ms head start so IPv6 is preferred on networks
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java
import java.util.concurrent.atomic.AtomicInteger; import jcifs.internal.smb2.rdma.RdmaAccess; import jcifs.internal.smb2.rdma.RdmaMemoryRegion; /** * TCP memory region implementation. * * For TCP fallback, memory regions are just wrappers around * ByteBuffers since no real RDMA registration is needed. */ public class TcpMemoryRegion extends RdmaMemoryRegion {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 2.1K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/maven-user.properties
# RgavCacheKey - BOM import caching (session/soft, typically resolved once) # DefaultModelBuilderRequest - Model building operations (none, ensures fresh dynamic builds) # * - Fallback for all other requests (request/soft for temporary child request caching) # maven.cache.config = \ SourceCacheKey { scope:session ref:hard } \ DefaultArtifactResolverRequest { scope:session ref:hard } \
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; /** * Unit tests for the {@link UpgradeContext} class. * Tests console output formatting and Unicode icon fallback behavior. */ @DisplayName("UpgradeContext") class UpgradeContextTest { @Test @DisplayName("should create context successfully") void shouldCreateContextSuccessfully() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
import okio.BufferedSource /** * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client. * Implementations must quickly dispatch callbacks to avoid creating a bottleneck. * * While [onReset] may occur at any time, the following callbacks are expected in order, * correlated by stream ID. * * * [onRequest] * * [onHeaders] (unless canceled) * * [onData] (optional sequence of data frames) *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
callbacks/row.go
package callbacks import ( "gorm.io/gorm" ) func RowQuery(db *gorm.DB) { if db.Error == nil { BuildQuerySQL(db) if db.DryRun || db.Error != nil { return } if isRows, ok := db.Get("rows"); ok && isRows.(bool) { db.Statement.Settings.Delete("rows") db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...) } else {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Feb 08 05:40:41 UTC 2023 - 581 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java
import org.apache.maven.api.cli.Logger; import static java.util.Objects.requireNonNull; /** * System {@link Logger}. Uses provided {@link PrintStream}s or {@link System#err} ones as fallback. * This logger is used in case of "early failures" (when no logging may be set up yet). */ public class SystemLogger implements Logger { private final PrintWriter out; private final Level threshold;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Feb 08 16:25:25 UTC 2025 - 2.4K bytes - Viewed (0) -
callbacks/callmethod.go
package callbacks import ( "reflect" "gorm.io/gorm" ) func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) { tx := db.Session(&gorm.Session{NewDB: true}) if called := fc(db.Statement.ReflectValue.Interface(), tx); !called { switch db.Statement.ReflectValue.Kind() { case reflect.Slice, reflect.Array: db.Statement.CurDestIndex = 0 for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Feb 18 01:20:29 UTC 2023 - 846 bytes - Viewed (0)