Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 388 for callback2 (0.06 sec)

  1. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param index the name of the index to scroll through
         * @param callback the function to apply to each search hit, returning true to continue or false to stop
         * @return the number of documents processed
         */
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

    _2016-01-13_
    
    This release commits to a stable 3.0 API. Read the 3.0.0-RC1 changes for advice
    on upgrading from 2.x to 3.x.
    
     *  **The `Callback` interface now takes a `Call`**. This makes it easier to
        check if the call was canceled from within the callback. When migrating
        async calls to this new API, `Call` is now the first parameter for both
        `onResponse()` and `onFailure()`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. 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"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                    // Verify parameters
                    assertSame(ldapUser, user);
                    assertEquals("dc=example,dc=com", baseDn);
                    assertEquals("(uid=%s)", accountFilter);
                    assertEquals("(memberOf=%s)", groupFilter);
    
                    // Test callback
                    String[] callbackRoles = new String[] { "role1", "role2" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    
        /**
         * Processes the callback from OpenID Connect provider.
         *
         * @param request the HTTP servlet request
         * @param code the authorization code
         * @return the login credential
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. 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{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (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)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/JobProcess.java

         * Uses the default buffer size and no output callback.
         *
         * @param process the system process to wrap
         */
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        /**
         * Constructs a new JobProcess with the specified process, buffer size, and output callback.
         *
         * @param process the system process to wrap
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

        }
    
      /**
       * A callback to be invoked each time the dispatcher becomes idle (when the number of running
       * calls returns to zero).
       *
       * Note: The time at which a [call][Call] is considered idle is different depending on whether it
       * was run [asynchronously][Call.enqueue] or [synchronously][Call.execute]. Asynchronous calls
       * become idle after the [onResponse][Callback.onResponse] or [onFailure][Callback.onFailure]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top