Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for K2 (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testForcePutKeyAndValuePresent() {
        getMap().forcePut(k0(), v1());
        expectContents(Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k2(), v2()));
        assertEquals(2, getMap().size());
        assertFalse(getMap().containsKey(k1()));
        assertFalse(getMap().containsValue(v0()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testForcePutKeyAndValuePresent() {
        getMap().forcePut(k0(), v1());
        expectContents(Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k2(), v2()));
        assertEquals(2, getMap().size());
        assertFalse(getMap().containsKey(k1()));
        assertFalse(getMap().containsValue(v0()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/runtime/map.go

    				if b.tophash[i] == emptyRest {
    					break search
    				}
    				continue
    			}
    			k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
    			k2 := k
    			if t.IndirectKey() {
    				k2 = *((*unsafe.Pointer)(k2))
    			}
    			if !t.Key.Equal(key, k2) {
    				continue
    			}
    			// Only clear key if there are pointers in it.
    			if t.IndirectKey() {
    				*(*unsafe.Pointer)(k) = nil
    			} else if t.Key.Pointers() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/log/slog/value.go

    }
    
    //////////////// Other
    
    // Equal reports whether v and w represent the same Go value.
    func (v Value) Equal(w Value) bool {
    	k1 := v.Kind()
    	k2 := w.Kind()
    	if k1 != k2 {
    		return false
    	}
    	switch k1 {
    	case KindInt64, KindUint64, KindBool, KindDuration:
    		return v.num == w.num
    	case KindString:
    		return v.str() == w.str()
    	case KindFloat64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
      protected final K k2() {
        return e2().getKey();
      }
    
      protected final V v2() {
        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
                            e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue()), (k1, k2) -> k2));
        }
    
        private String getUserAgent() {
            String version = runtimeInformation.getMavenVersion();
            version = version.isEmpty() ? version : "/" + version;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       * to the set.
       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of key type {@code K},
       * {@code k.equals(k2)} implies that {@code k2} is also of type {@code K}. Using a key type for
       * which this may not hold, such as {@code ArrayList}, may risk a {@code ClassCastException} when
       * calling methods on the resulting map view.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
Back to top