Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,638 for add1 (0.02 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

        return delegate;
      }
    
      /**
       * Adds the given element to this queue. If the queue is currently full, the element at the head
       * of the queue is evicted to make room.
       *
       * @return {@code true} always
       */
      @Override
      @CanIgnoreReturnValue
      public boolean offer(E e) {
        return add(e);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

            new NoRemoveMultiset<String>() {
              @Override
              public int add(String element, int occurrences) {
                addCalls.incrementAndGet();
                return super.add(element, occurrences);
              }
            };
        ImmutableMultiset<String> adds =
            new ImmutableMultiset.Builder<String>().addCopies("x", 10).build();
        multiset.addAll(adds);
        assertEquals(1, addCalls.get());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        public fun addHeader(header: String): Builder =
          apply {
            headers_.add(header)
          }
    
        /**
         * Adds a new header with the name and value. This may be used to add multiple headers with the
         * same name.
         */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/bufio/net_test.go

    func TestCopyUnixpacket(t *testing.T) {
    	tmpDir := t.TempDir()
    	socket := filepath.Join(tmpDir, "unixsock")
    
    	// Start a unixpacket server.
    	addr := &net.UnixAddr{
    		Name: socket,
    		Net:  "unixpacket",
    	}
    	server, err := net.ListenUnix("unixpacket", addr)
    	if err != nil {
    		t.Skipf("skipping test because opening a unixpacket socket failed: %v", err)
    	}
    
    	// Start a goroutine for the server to accept one connection
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

                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)
  6. internal/event/targetidset.go

    	maps.Copy(setCopy, set)
    	return setCopy
    }
    
    // add - adds TargetID to the set.
    func (set TargetIDSet) add(targetID TargetID) {
    	set[targetID] = struct{}{}
    }
    
    // Union - returns union with given set as new set.
    func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet {
    	nset := set.Clone()
    
    	for k := range sset {
    		nset.add(k)
    	}
    
    	return nset
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocList.java

         *
         * @return the total content size in bytes
         */
        public long getContentSize() {
            return contentSize;
        }
    
        /**
         * Adds to the total content size of this document list.
         *
         * @param contentSize the content size to add in bytes
         */
        public void addContentSize(final long contentSize) {
            this.contentSize += contentSize;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                }
            }
            return null;
        }
    
        /**
         * Adds a directive to the robots.txt rules.
         * The user-agent pattern in the directive is converted to a regular expression pattern,
         * where '*' is replaced with '.*' for pattern matching, and stored case-insensitively.
         *
         * @param directive The directive to add to the robots.txt rules
         */
        public void addDirective(final Directive directive) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

        /**
         * Adds a list of URLs to the include filter for a given session.
         *
         * @param sessionId the ID of the session for which the URLs should be included
         * @param urlList the list of URLs to be added to the include filter
         */
        void addIncludeUrlFilter(String sessionId, List<String> urlList);
    
        /**
         * Adds a URL to the exclude filter list for the specified session.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                esUrlFilter.setFilterType(INCLUDE);
                esUrlFilter.setUrl(url);
                urlFilterList.add(esUrlFilter);
            }
            insertAll(urlFilterList, OpType.INDEX);
            includeFilterCache.invalidate(sessionId);
        }
    
        /**
         * Adds an exclude URL filter for the specified session.
         *
         * @param sessionId The session ID.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top