Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 727 for actual (0.1 seconds)

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

  1. guava/src/com/google/common/collect/CompactHashing.java

       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, closedTableSize(expectedSize + 1, 1.0));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

       * be logged if the test fails.
       *
       * This client is also configured to be slightly more deterministic, returning a single IP
       * address for all hosts, regardless of the actual number of IP addresses reported by DNS.
       */
      fun newClient(): OkHttpClient {
        var client = testClient
        if (client == null) {
          client =
            initialClientBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @param i the index
       * @param expect the expected value
       * @param update the new value
       * @return true if successful. False return indicates that the actual value was not equal to the
       *     expected value.
       */
      public final boolean compareAndSet(int i, double expect, double update) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Clear changes to test next scenario
            entry.markComplete();
            assertFalse(entry.hasChanges());
    
            // Update with same values - should not mark as changed (no actual change)
            entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L);
            assertFalse(entry.hasChanges());
    
            // Update with different values - should mark as changed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                super(orchestrator);
            }
    
            @Override
            protected boolean shouldSaveModifications() {
                return true; // Enable actual file operations for tests
            }
    
            // Test helper methods to expose protected functionality
            public String testDoUpgradeLogic(UpgradeContext context, String expectedTargetModel) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. cmd/erasure-coding.go

    // It returns an error if the decoding failed.
    func (e *Erasure) DecodeDataAndParityBlocks(ctx context.Context, data [][]byte) error {
    	return e.encoder().Reconstruct(data)
    }
    
    // ShardSize - returns actual shared size from erasure blockSize.
    func (e *Erasure) ShardSize() int64 {
    	return ceilFrac(e.blockSize, int64(e.dataBlocks))
    }
    
    // ShardFileSize - returns final erasure size from original size.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

        @Internal
        String getAddressAndPort() {
            return portsFile.readLines("UTF-8").get(0)
        }
    
        /** Returns a file that wraps around the actual command when {@code spawn == true}. */
        @Internal
        protected File getWrapperScript() {
            return new File(cwd, Os.isFamily(Os.FAMILY_WINDOWS) ? 'run.bat' : 'run')
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/HandlerTest.java

            String actualPath = rel.getPath();
            assertNotNull(actualPath, "Path should not be null");
            // Based on the test output, the actual path is "/bar" when parsing relative spec "foo/bar"
            // This happens because the URL class parses "foo" as the host and "/bar" as the path
            assertEquals("/bar", actualPath, "Path should be /bar after URL parsing");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

       * Returns an immutable set containing each of {@code elements}, minus duplicates, in the order
       * each appears first in the source collection.
       *
       * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation
       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top