Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 529 for seulement (0.06 sec)

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

          Iterable<? extends @Nullable Object> iterable, @CheckForNull Object element) {
        if (iterable instanceof Collection) {
          Collection<?> collection = (Collection<?>) iterable;
          return Collections2.safeContains(collection, element);
        }
        return Iterators.contains(iterable.iterator(), element);
      }
    
      /**
       * Removes, from an iterable, every element that belongs to the provided collection.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultiset.java

      @Override
      public int count(@CheckForNull Object element) {
        return delegate().count(element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        return delegate().add(element, occurrences);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        return delegate().remove(element, occurrences);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. cmd/last-minute.go

    	default:
    		return "unknown"
    	}
    }
    
    // AccElem holds information for calculating an average value
    type AccElem struct {
    	Total int64
    	Size  int64
    	N     int64
    }
    
    // Add a duration to a single element.
    func (a *AccElem) add(dur time.Duration) {
    	if dur < 0 {
    		dur = 0
    	}
    	a.Total += int64(dur)
    	a.N++
    }
    
    // Merge b into a.
    func (a *AccElem) merge(b AccElem) {
    	a.N += b.N
    	a.Total += b.Total
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

       * implementation for the creation of contents is independent and could be different from that of
       * the map under test.
       */
      Map<Element, Element> contents;
    
      /** Map pre-created before experiment starts to only measure iteration cost during experiment. */
      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean add(E e) {
        return offer(e);
      }
    
      /**
       * Inserts the specified element into this priority queue.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Queue#offer})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

          return standardAddAll(collection);
        }
    
        @Override
        public boolean add(T element) {
          return standardAdd(element);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public int count(Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean contains(Object object) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

        /**
         * 先頭に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * 最後に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addLast(final E element) {
            header.addBefore(element);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingList.java

      public E get(int index) {
        return delegate().get(index);
      }
    
      @Override
      public int indexOf(@CheckForNull Object element) {
        return delegate().indexOf(element);
      }
    
      @Override
      public int lastIndexOf(@CheckForNull Object element) {
        return delegate().lastIndexOf(element);
      }
    
      @Override
      public ListIterator<E> listIterator() {
        return delegate().listIterator();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      /**
       * Removes a single instance of the specified element from this queue, if it is present. More
       * formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains
       * one or more such elements. Returns {@code true} if this queue contained the specified element
       * (or equivalently, if this queue changed as a result of the call).
       *
       * @param o element to be removed from this queue, if present
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertEquals(
            "multiset.setCount() should return the old count",
            getMultiset().count(element),
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private int setCount(E element, int count) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top