- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 268 for callbacks (0.04 seconds)
-
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
} testInstances.clear() // No assertion that serverC and serverD are closed, because the MockWebServerExtension // runs after this callback. if (false) { assertThat(dispatcherD.closed).isTrue() assertThat(dispatcherE.closed).isTrue() assertThat(dispatcherF.closed).isFalse() // Never started. } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 11:13:17 GMT 2025 - 3.3K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
UnaryOperator<String> callback = v -> { String r = request.getUserProperties().getProperty(v); if (r == null) { r = request.getSystemProperties().getProperty(v); } return r != null ? r : v; }; return v -> interpolator.interpolate(v, callback); } static class SimpleSession extends DefaultSession {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
/** The timestamp of the last taken event, used to measure elapsed time between events. */ private var lastTimestampNs: Long? = null /** Confirm that the thread does not hold a lock on `lock` during the callback. */ fun forbidLock(lock: Any) { forbiddenLocks.add(lock) } /** * Removes recorded events up to (and including) an event is found whose class equals [eventClass] * and returns it. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* may ultimately cause the application to slow down or crash. * * Both this class and [Response] implement [Closeable]. Closing a response simply * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you * must close this body by calling any of the following methods: * * * `Response.close()` * * `Response.body().close()` * * `Response.body().source().close()`
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
tests/transaction_test.go
} } func TestDeeplyNestedTransactionWithBlockAndWrappedCallback(t *testing.T) { transaction := func(ctx context.Context, db *gorm.DB, callback func(ctx context.Context, db *gorm.DB) error) error { return db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { return callback(ctx, tx) }) } var ( user = *GetUser("transaction-nested", Config{}) user1 = *GetUser("transaction-nested-1", Config{})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/sts/dex.yaml
# # If this option isn't chosen clients may be added through the gRPC API. staticClients: - id: example-app redirectURIs: - 'http://localhost:8080/oauth2/callback' name: 'Example App' secret: ZXhhbXBsZS1hcHAtc2VjcmV0 connectors: - type: mockCallback id: mock name: Example # Let dex keep a list of passwords which can be used to login to dex.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 15 11:55:55 GMT 2020 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
} /** * Streams lines from a {@link File}, stopping when our callback returns false, or we have read * all of the lines. * * @param file the file to read from * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for * helpful predefined constants * @param callback the {@link LineProcessor} to use to handle the linesCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
internal/grid/stream.go
select { case s.Requests <- b: return nil case <-s.ctx.Done(): return context.Cause(s.ctx) } } // Results returns the results from the remote server one by one. // If any error is returned by the callback, the stream will be canceled. // If the context is canceled, the stream will be canceled. func (s *Stream) Results(next func(b []byte) error) (err error) { done := false defer func() { if s.cancel != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (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 } \
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0)