Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for callback1 (0.21 sec)

  1. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            Map<String, Object> data = new HashMap<>();
    
            callback1.store(params, data);
            assertEquals(11L, callback1.getDocumentSize());
    
            callback2.store(params, data);
            assertEquals(21L, callback2.getDocumentSize());
    
            // Test commit on both
            callback1.commit();
            callback2.commit();
        }
    
        public void test_store_with_null_parameters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. callbacks.go

    	var callbacks []*callback
    	removedMap := map[string]bool{}
    	for _, callback := range p.callbacks {
    		if callback.match == nil || callback.match(p.db) {
    			callbacks = append(callbacks, callback)
    		}
    		if callback.remove {
    			removedMap[callback.name] = true
    		}
    	}
    
    	if len(removedMap) > 0 {
    		callbacks = removeCallbacks(callbacks, removedMap)
    	}
    	p.callbacks = callbacks
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ### Create a callback `APIRouter` { #create-a-callback-apirouter }
    
    First create a new `APIRouter` that will contain one or more callbacks.
    
    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[3,25] *}
    
    ### Create the callback *path operation* { #create-the-callback-path-operation }
    
    To create the callback *path operation* use the same `APIRouter` you created above.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
            // Name should be formatted as username@domain
            assertEquals("user@DOM", nc.getName());
            // Password should be set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

         * {@inheritDoc}
         *
         * @see javax.security.auth.callback.CallbackHandler#handle(javax.security.auth.callback.Callback[])
         */
        @Override
        public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
            for (Callback cb : callbacks) {
                if (log.isDebugEnabled()) {
                    log.debug("Got callback " + cb.getClass().getName());
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      private val call: Call?,
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
      constructor(call: Call, listener: EventSourceListener) : this(call, call.request(), listener)
    
      constructor(response: Response, listener: EventSourceListener) : this(null, response.request, listener)
    
      @Volatile private var canceled = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. gorm.go

    func (db *DB) InstanceGet(key string) (interface{}, bool) {
    	return db.Statement.Settings.Load(fmt.Sprintf("%p", db.Statement) + key)
    }
    
    // Callback returns callback manager
    func (db *DB) Callback() *callbacks {
    	return db.callbacks
    }
    
    // AddError add error to db
    func (db *DB) AddError(err error) error {
    	if err != nil {
    		if db.Config.TranslateError {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            DataStoreParams params = new DataStoreParams();
    
            // Execute store
            dataStore.store(config, callback, params);
    
            // Verify callback was used correctly
            assertEquals(2, callback.getDocumentSize());
            assertTrue(callback.isCommitted());
        }
    
        public void test_multiple_datastore_instances() {
            // Test multiple DataStore instances working independently
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    ```
    
    #### 6.2 Implementation Tasks
    - [ ] Implement Witness RPC protocol
    - [ ] Create witness service discovery
    - [ ] Implement client registration
    - [ ] Add notification callback mechanism
    - [ ] Create resource monitoring
    - [ ] Implement automatic re-registration
    - [ ] Add cluster node tracking
    - [ ] Create failover coordination
    
    #### 6.3 Integration Points
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. 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)
Back to top