Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for k0 (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

              "computeIfAbsent(present, returnsCurrentValue) should return present or throw",
              v0(),
              getMap()
                  .computeIfAbsent(
                      k0(),
                      k -> {
                        assertEquals(k0(), k);
                        return v0();
                      }));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        nullKeyValueEntry = entry(null, null);
        presentKeyNullValueEntry = entry(k0(), null);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
            "getOrDefault(present, null) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), null));
      }
    
      public void testGetOrDefault_absent() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/avx512enc/avx512bw.s

    	VPCMPW $126, Z13, Z11, K7, K0                      // 62d3a54f3fc57e
    	VPCMPW $126, Z14, Z11, K7, K0                      // 62d3a54f3fc67e
    	VPCMPW $126, 15(DX)(BX*1), Z11, K7, K0             // 62f3a54f3f841a0f0000007e
    	VPCMPW $126, -7(CX)(DX*2), Z11, K7, K0             // 62f3a54f3f8451f9ffffff7e
    	VPCMPW $126, Z13, Z5, K7, K0                       // 62d3d54f3fc57e
    	VPCMPW $126, Z14, Z5, K7, K0                       // 62d3d54f3fc67e
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 22 14:57:15 UTC 2018
    - 159.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testSizeMultipleValues() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v2()));
    
        assertEquals(3, multimap().size());
        assertEquals(3, multimap().entries().size());
        assertEquals(3, multimap().keys().size());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        nullKeyValueEntry = entry(null, null);
        presentKeyNullValueEntry = entry(k0(), null);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_supportedPresent() {
        assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top