Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for shouldFail (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/crypto/header_test.go

    		}
    	}
    }
    
    var kmsParseHTTPTests = []struct {
    	Header     http.Header
    	ShouldFail bool
    }{
    	{Header: http.Header{}, ShouldFail: true},                                                     // 0
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"aws:kms"}}, ShouldFail: false}, // 1
    	{Header: http.Header{
    		"X-Amz-Server-Side-Encryption":                []string{"aws:kms"},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
        private final CountDownLatch delayLatch;
    
        DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) {
          this.shouldWait = shouldWait;
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        CyclicBarrier firstBarrier = new CyclicBarrier(2);
        CyclicBarrier secondBarrier = new CyclicBarrier(2);
        AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            () -> {
              try {
                if (shouldWait.get()) {
                  firstBarrier.await();
                  secondBarrier.await();
                }
              } catch (Exception e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        CyclicBarrier firstBarrier = new CyclicBarrier(2);
        CyclicBarrier secondBarrier = new CyclicBarrier(2);
        AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            () -> {
              try {
                if (shouldWait.get()) {
                  firstBarrier.await();
                  secondBarrier.await();
                }
              } catch (Exception e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top