Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 281 for week (0.17 sec)

  1. src/bytes/reader_test.go

    		{seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF},
    		{seek: io.SeekStart, n: 5, want: "01234"},
    		{seek: io.SeekCurrent, n: 5, want: "56789"},
    		{seek: io.SeekEnd, off: -1, n: 1, wantpos: 9, want: "9"},
    	}
    
    	for i, tt := range tests {
    		pos, err := r.Seek(tt.off, tt.seek)
    		if err == nil && tt.seekerr != "" {
    			t.Errorf("%d. want seek error %q", i, tt.seekerr)
    			continue
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingQueue.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E remove() {
        return delegate().remove();
      }
    
      @Override
      @CheckForNull
      public E peek() {
        return delegate().peek();
      }
    
      @Override
      @ParametricNullness
      public E element() {
        return delegate().element();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Interners.java

          this.strong = true;
          return this;
        }
    
        /**
         * Instructs the {@link InternerBuilder} to build a weak interner.
         *
         * @see Interners#newWeakInterner()
         */
        @GwtIncompatible("java.lang.ref.WeakReference")
        public InternerBuilder weak() {
          this.strong = false;
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/AbstractIterator.java

       * contract of {@link PeekingIterator#peek()}.
       *
       * <p>Implementations of {@code AbstractIterator} that wish to expose this functionality should
       * implement {@code PeekingIterator}.
       */
      @ParametricNullness
      public final T peek() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingQueue.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E remove() {
        return delegate().remove();
      }
    
      @Override
      @CheckForNull
      public E peek() {
        return delegate().peek();
      }
    
      @Override
      @ParametricNullness
      public E element() {
        return delegate().element();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

        a function definition to make that definition weak.  */
    @@ -125,14 +131,16 @@
        If weak aliases are not available, this defines a strong alias.  */
     # define weak_alias(name, aliasname) _weak_alias (name, aliasname)
     # define _weak_alias(name, aliasname) \
    -  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
    +  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
    +    __attribute_copy__ (name);
     
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>clearing weak references to unreachable referents
       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        public boolean remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove(object);
        }
    
        @Override
        public @Nullable E peek() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.peek();
        }
    
        @Override
        public E element() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.element();
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/PeekingIterator.java

       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 2.5K bytes
    - Viewed (0)
Back to top