Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 742 for Last (0.02 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

           * AGP: https://github.com/google/guava/issues/7769.
           *
           * My impression is that an AtomicReferenceFieldUpdater in a static field is similarly fast to
           * Unsafe on modern JVMs (if perhaps not quite as fast as VarHandle?). However, I'm not sure
           * exactly what we've benchmarked, and we certainly haven't benchmarked as far back as JDK 8.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                .addHeader("Request-Interceptor", "Android") // 1. Added first.
                .build(),
            )
          originalResponse
            .newBuilder()
            .addHeader("Response-Interceptor", "Donut") // 4. Added last.
            .build()
        }
        addInterceptor(network) { chain: Interceptor.Chain ->
          val originalRequest = chain.request()
          val originalResponse =
            chain.proceed(
              originalRequest
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private void assertCastFails(long value) {
        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * from a list of segments by alternating between "/" and the encoded segment. For example the
     * segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/".
     *
     * If a path's last segment is the empty string then the path ends with "/". This class always
     * builds non-empty paths: if the path is omitted it defaults to "/". The default path's segment
     * list is a single empty string: `[""]`.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetLast() {
        assertNull(sortedMultiset.lastEntry());
        assertThrows(
            NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last()));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetPollLast() {
        assertNull(sortedMultiset.pollLastEntry());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetLast() {
        assertNull(sortedMultiset.lastEntry());
        assertThrows(
            NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last()));
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetPollLast() {
        assertNull(sortedMultiset.pollLastEntry());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      private class Itr implements Iterator<E> {
        final Object[] array; // Array of all elements
        int cursor; // index of next element to return;
        int lastRet; // index of last element, or -1 if no such
    
        Itr(Object[] array) {
          lastRet = -1;
          this.array = array;
        }
    
        @CanIgnoreReturnValue // pushed down from class to method
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. cmd/bucket-metadata-sys.go

    			return nil, time.Time{}, BucketLifecycleNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	// there could be just `ExpiryUpdatedAt` field populated as part
    	// of last delete all. Treat this situation as not lifecycle configuration
    	// available
    	if meta.lifecycleConfig == nil || len(meta.lifecycleConfig.Rules) == 0 {
    		return nil, time.Time{}, BucketLifecycleNotFound{Bucket: bucket}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public E first() {
          synchronized (mutex) {
            return delegate().first();
          }
        }
    
        @Override
        public E last() {
          synchronized (mutex) {
            return delegate().last();
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public E first() {
          synchronized (mutex) {
            return delegate().first();
          }
        }
    
        @Override
        public E last() {
          synchronized (mutex) {
            return delegate().last();
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
Back to Top