Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 359 for Adds (0.51 sec)

  1. internal/store/batch.go

    	sync.Mutex
    }
    
    // BatchConfig represents the batch config
    type BatchConfig[I any] struct {
    	Limit         uint32
    	Store         Store[I]
    	CommitTimeout time.Duration
    	Log           logger
    }
    
    // Add adds the item to the batch
    func (b *Batch[I]) Add(item I) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

         *
         * @param oldSessionId The old session ID.
         * @param newSessionId The new session ID.
         */
        void updateSessionId(String oldSessionId, String newSessionId);
    
        /**
         * Adds a URL to the queue.
         *
         * @param sessionId The session ID.
         * @param url The URL.
         */
        void add(String sessionId, String url);
    
        /**
         * Inserts a URL queue.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/TestLogHandler.java

      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          this.elements = sortedElements;
          this.counts = sortedCounts;
          this.length = uniques;
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSortedMultiset}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. pom.xml

    								<group>root</group>
    							</mapper>
    						</data>
    						<!-- Adds systemd file -->
    						<data>
    							<type>file</type>
    							<src>${project.build.directory}/generated-packaging/deb/systemd/fess.service</src>
    							<dst>${packaging.fess.systemd.dir}/fess.service</dst>
    						</data>
    						<!-- Adds systemd/sysctl.d configuration file -->
    						<data>
    							<type>file</type>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 49.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            }
            return value;
        }
    
        /**
         * Adds an attribute to the factory.
         * @param name The name of the attribute.
         * @param value The value of the attribute.
         */
        public void addAttribute(final String name, final Object value) {
            attributeMap.put(name, value);
        }
    
        /**
         * Adds a feature to the factory.
         * @param key The key of the feature.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

        private String type = URLSET;
    
        /**
         * Creates a new SitemapSet instance with default type URLSET.
         */
        public SitemapSet() {
            // Default constructor
        }
    
        /**
         * Adds a sitemap to this set.
         * @param sitemap the sitemap to add
         */
        public void addSitemap(final Sitemap sitemap) {
            sitemapList.add(sitemap);
        }
    
        /**
         * Removes a sitemap from this set.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                // Use the outputs of this converter as inputs for the next converter
                currentInputs = nextInputs;
            }
    
            return new ArrayList<>(resultSet);
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

        public User load(final User user) {
            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
        /**
         * Adds an authentication chain to the manager.
         * @param chain The authentication chain to add.
         */
        public void addChain(final AuthenticationChain chain) {
            chains = ArrayUtils.addAll(chains, chain);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. internal/event/rules.go

    			suffix = "*" + suffix
    		}
    
    		pattern += suffix
    	}
    
    	pattern = strings.ReplaceAll(pattern, "**", "*")
    
    	return pattern
    }
    
    // Rules - event rules
    type Rules map[string]TargetIDSet
    
    // Add - adds pattern and target ID.
    func (rules Rules) Add(pattern string, targetID TargetID) {
    	rules[pattern] = NewTargetIDSet(targetID).Union(rules[pattern])
    }
    
    // MatchSimple - returns true one of the matching object name in rules.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top