Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for invariantly (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

        when {
          value != null -> LinkedTags(key, value, this)
          else -> this
        }
    
      override fun <T : Any> get(key: KClass<T>): T? = null
    
      override fun toString() = "{}"
    }
    
    /**
     * An invariant of this implementation is that [next] must not contain a mapping for [key].
     * Otherwise, we would have two values for the same key.
     */
    private class LinkedTags<K : Any>(
      private val key: KClass<K>,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(cache.size()).isEqualTo(1);
        assertThat(cache.getUnchecked("b")).isEqualTo("b");
      }
    
      // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants.
    
      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

         */
        static boolean hashFloodingDetected(@Nullable Object[] hashTable) {
          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
          int mask = hashTable.length - 1;
    
          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertIntact(q);
        assertThat(result).containsExactly(1, 15, 13, 8, 14);
      }
    
      /**
       * This tests a special case of the removeAt() call. Moving an element sideways on the heap could
       * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See
       * implementation.
       */
      public void testInvalidatingRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.35.md

    - Introduced end-to-end tests to verify component invariant metrics across the entire test suite. ([#133394](https://github.com/kubernetes/kubernetes/pull/133394), [@BenTheElder](https://github.com/BenTheElder))
    - Introduced new kubelet metrics for the Ensure Secret Pulled Images KEP, including:
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
Back to top