Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 446 for callback1 (0.06 seconds)

  1. cmd/metacache-set.go

    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    	// Keep track of fallback disks
    	var fdMu sync.Mutex
    	fds := opts.fallbackDisks
    	fallback := func(err error) StorageAPI {
    		if _, ok := err.(StorageErr); ok {
    			// Attempt to grab a fallback disk
    			fdMu.Lock()
    			defer fdMu.Unlock()
    			if len(fds) == 0 {
    				return nil
    			}
    			fdsCopy := fds
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                }
                return v;
            };
        }
    
        private static UnaryOperator<String> or(UnaryOperator<String>... callbacks) {
            return s -> {
                for (UnaryOperator<String> cb : callbacks) {
                    String r = cb.apply(s);
                    if (r != null) {
                        return r;
                    }
                }
                return null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  3. utils/tests/dummy_dialecter.go

    package tests
    
    import (
    	"gorm.io/gorm"
    	"gorm.io/gorm/callbacks"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    type DummyDialector struct {
    	TranslatedErr error
    }
    
    func (DummyDialector) Name() string {
    	return "dummy"
    }
    
    func (DummyDialector) Initialize(db *gorm.DB) error {
    	callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds.callback;
    
    import java.util.Map;
    
    import org.codelibs.fess.entity.DataStoreParams;
    
    /**
     * Callback interface for handling index update operations during data store processing.
     * This interface provides methods for storing documents, tracking processing metrics,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      private val source: BufferedSource,
      private val callback: Callback,
    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. finisher_api.go

    	return tx
    }
    
    // Update updates column with value using callbacks. Reference: https://gorm.io/docs/update.html#Update-Changed-Fields
    func (db *DB) Update(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	return tx.callbacks.Update().Execute(tx)
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  7. fastapi/applications.py

                    [FastAPI docs for OpenAPI Callbacks](https://fastapi.tiangolo.com/advanced/openapi-callbacks/).
                    """
                ),
            ] = None,
            webhooks: Annotated[
                Optional[routing.APIRouter],
                Doc(
                    """
                    Add OpenAPI webhooks. This is similar to `callbacks` but it doesn't
                    depend on specific *path operations*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionConfigurationModule.java

        private final CoreExtensionEntry extension;
        private final UnaryOperator<String> callback;
    
        private final DefaultInterpolator interpolator = new DefaultInterpolator();
    
        public ExtensionConfigurationModule(CoreExtensionEntry extension, UnaryOperator<String> callback) {
            this.extension = extension;
            this.callback = callback;
        }
    
        @Override
        public void configure(Binder binder) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         * Uses OpenSearch scroll API for efficient iteration over large result sets.
         *
         * @param sessionId The session ID.
         * @param callback The callback to execute for each access result.
         */
        @Override
        public void iterate(final String sessionId, final AccessResultCallback<OpenSearchAccessResult> callback) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. fastapi/routing.py

                        current_dependencies.extend(route.dependencies)
                    current_callbacks = []
                    if callbacks:
                        current_callbacks.extend(callbacks)
                    if route.callbacks:
                        current_callbacks.extend(route.callbacks)
                    current_generate_unique_id = get_value_or_default(
                        route.generate_unique_id_function,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
Back to Top