Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 513 for callback3 (0.06 seconds)

  1. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            ComponentUtil.register(new WebConfigBhv() {
                @Override
                public ListResultBean<WebConfig> selectList(final CBCall<WebConfigCB> cbLambda) {
                    cbLambda.callback(cb);
                    final ListResultBean<WebConfig> list = new ListResultBean<>();
                    list.add((WebConfig) crawlingConfigHelper.getCrawlingConfig("W1"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java

         *
         * @param phase the phase where the error occurred
         * @param error the error message
         */
        void onError(String phase, String error);
    
        /**
         * Returns a no-op callback implementation.
         *
         * @return a callback that does nothing
         */
        static ChatPhaseCallback noOp() {
            return new ChatPhaseCallback() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:32:04 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  6. 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 Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. 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 Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherCleanupTest.kt

    import org.junit.jupiter.api.Test
    
    class DispatcherCleanupTest {
      @StartStop
      private val server = MockWebServer()
    
      @Test
      fun testFinish() {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top