Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for inserts (0.04 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
      private void insert(E x) {
        items[putIndex] = x;
        putIndex = inc(putIndex);
        ++count;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      public MonitorBasedPriorityBlockingQueue(Collection<? extends E> c) {
        q = new PriorityQueue<E>(c);
      }
    
      /**
       * Inserts the specified element into this priority queue.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Collection#add})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

         * Default constructor for AuthenticationManager.
         */
        public AuthenticationManager() {
            // Default constructor
        }
    
        /**
         * Inserts a new user across all authentication chains.
         * @param user The user to insert.
         */
        public void insert(final User user) {
            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    	if l.root.next == nil {
    		l.Init()
    	}
    }
    
    // insert inserts e after at, increments l.len, and returns e.
    func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] {
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    	e.list = l
    	l.len++
    	return e
    }
    
    // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

         */
        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related content entity.
         * After storing, updates the related content helper to refresh the cache.
         *
         * @param relatedContent the RelatedContent entity to store
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

         */
        public OptionalEntity<RelatedQuery> getRelatedQuery(final String id) {
            return relatedQueryBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related query in the database.
         * After storing, the related query helper is updated to refresh the cache.
         *
         * @param relatedQuery the RelatedQuery entity to store
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

         */
        public OptionalEntity<BoostDocumentRule> getBoostDocumentRule(final String id) {
            return boostDocumentRuleBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a boost document rule.
         * @param boostDocumentRule The boost document rule to store.
         */
        public void store(final BoostDocumentRule boostDocumentRule) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         */
        public OptionalEntity<DuplicateHost> getDuplicateHost(final String id) {
            return duplicateHostBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a duplicate host configuration.
         *
         * <p>This method immediately refreshes the index to ensure the change is visible.
         * If the configuration already exists (based on ID), it will be updated;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            asyncManager.async(() -> {
                insertLogin(user);
            });
        }
    
        /**
         * Inserts a login record for the given member.
         * Currently this method does nothing.
         *
         * @param member the member to insert a login record for
         */
        protected void insertLogin(final Object member) {
            // nothing
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                        }
                    });
    
        }
    
        /**
         * Inserts or updates a user in LDAP directory.
         *
         * @param user the user object to insert or update
         */
        public void insert(final User user) {
            if (!fessConfig.isLdapAdminEnabled(user.getName())) {
                return;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top