Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 979 for have (0.12 sec)

  1. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(10, removalListener.getCount());
    
        // check that new values are still there - they still have 10 ms to live
        for (int i = 0; i < 10; i++) {
          loader.reset();
          assertEquals(Integer.valueOf(i + shift2), cache.getUnchecked(keyPrefix + i));
          assertFalse("Creator should NOT have been called @#" + i, loader.wasCalled());
        }
        assertEquals(10, removalListener.getCount());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    		// then we need to make sure we have unlocked
    		// upto tolerance+1 - especially for RUnlock
    		// to ensure that we don't end up with active
    		// read locks on the resource after unlocking
    		// only half of the lockers.
    		return unlocksFailed >= tolerance
    	}
    	return unlocksFailed > tolerance
    }
    
    // checkQuorumLocked determines whether we have locked the required quorum of underlying locks or not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    			// do have the FileInfo{}.
    			return validMeta, true
    		}
    
    		// We have no idea what this file is, leave it as is.
    		return validMeta, false
    	}
    
    	if nonActionableMetaErrs > 0 || nonActionablePartsErrs > 0 {
    		return validMeta, false
    	}
    
    	if validMeta.Deleted {
    		// notFoundPartsErrs is ignored since
    		// - delete marker does not have any parts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

              @Override
              public void run() {
                assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true));
              }
            };
        Runnable tearDown =
            new Runnable() {
              @Override
              public void run() {
                assertTrue("setUp should have run", setUpRan.getAndSet(false));
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          headersQueue += headers
        } else {
          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  6. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            }
    
            // After the collection we will have the artifact object in the result but they will not be resolved yet.
            result = artifactCollector.collect(
                    artifacts, rootArtifact, managedVersions, collectionRequest, source, collectionFilter, listeners, null);
    
            // We have metadata retrieval problems, or there are cycles that have been detected
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    			// If the object you request does not exist,
    			// the error Amazon S3 returns depends on
    			// whether you also have the s3:ListBucket
    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ThrowablesTest.java

          Throwables.getCausalChain(null);
          fail("Should have throw NPE");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testGetCasualChainLoop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        try {
          Throwables.getCausalChain(cause);
          fail("Should have throw IAE");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

          Throwables.getCausalChain(null);
          fail("Should have throw NPE");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testGetCasualChainLoop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        try {
          Throwables.getCausalChain(cause);
          fail("Should have throw IAE");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

      public void add(double x, double y) {
        // We extend the recursive expression for the one-variable case at Art of Computer Programming
        // vol. 2, Knuth, 4.2.2, (16) to the two-variable case. We have two value series x_i and y_i.
        // We define the arithmetic means X_n = 1/n \sum_{i=1}^n x_i, and Y_n = 1/n \sum_{i=1}^n y_i.
        // We also define the sum of the products of the differences from the means
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
Back to top