Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 400 for Adds (0.02 seconds)

  1. guava/src/com/google/common/collect/RangeSet.java

       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
      /**
       * Adds the specified range to this {@code RangeSet} (optional operation). That is, for equal
       * range sets a and b, the result of {@code a.add(range)} is that {@code a} will be the minimal
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. internal/pubsub/pubsub.go

    	for _, sub := range ps.subs {
    		if sub.types.Contains(Mask(item.Mask())) && (sub.filter == nil || sub.filter(item)) {
    			select {
    			case sub.ch <- item:
    			default:
    			}
    		}
    	}
    }
    
    // Subscribe - Adds a subscriber to pubsub system
    func (ps *PubSub[T, M]) Subscribe(mask M, subCh chan T, doneCh <-chan struct{}, filter func(entry T) bool) error {
    	totalSubs := atomic.AddInt32(&ps.numSubscribers, 1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  3. 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);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

     * limitations under the License.
     */
    package okhttp3.brotli
    
    import okhttp3.CompressionInterceptor
    import okhttp3.Gzip
    
    /**
     * Transparent Brotli response support.
     *
     * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in
     * responses.  n.b. this replaces the transparent gzip compression in BridgeInterceptor.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 979 bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/ImmutableGraph.java

          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
         * <p><b>Nodes must be unique</b>, just as {@code Map} keys must be. They must also be non-null.
         *
         * @return this {@code Builder} object
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/testdata/arm64error.s

    	ADDS	$0xff, R6, RSP                                   // ERROR "illegal destination register"
    	ADDS	$0xffff0, R6, RSP                                // ERROR "illegal destination register"
    	ADDS	$0x1000100010001000, R6, RSP                     // ERROR "illegal destination register"
    	ADDS	$0x10001000100011, R6, RSP                       // ERROR "illegal destination register"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 24 21:29:25 GMT 2026
    - 38.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformGlobalSetup.java

    package org.elasticsearch.gradle.internal.test.rest.transform;
    
    import com.fasterxml.jackson.databind.node.ObjectNode;
    
    import javax.annotation.Nullable;
    
    /**
     * A type of {@link RestTestTransform} that transformations or adds a global "setup" section.
     */
    public interface RestTestTransformGlobalSetup {
    
        /**
         * @param setupNodeParent The parent of an existing "setup" ObjectNode, null otherwise. If null implementations may create choose to
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 935 bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationPrecommitPlugin.java

    import org.gradle.api.Project;
    import org.gradle.api.Task;
    import org.gradle.api.publish.PublishingExtension;
    import org.gradle.api.publish.maven.tasks.GenerateMavenPom;
    import org.gradle.api.tasks.TaskProvider;
    
    /**
     * Adds pom validation to every pom generation task.
     */
    public class PomValidationPrecommitPlugin extends PrecommitPlugin {
    
        @Override
        public TaskProvider<? extends Task> createTask(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.previous.remove();
            return last;
        }
    
        /**
         * Adds an element at the beginning.
         *
         * @param element the object to be added
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * Adds an element at the end.
         *
         * @param element the object to be added
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                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());
      }
    
      public void testRemoveUnsupported() {
        Multiset<String> multiset = new NoRemoveMultiset<>();
        multiset.add("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top