Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 97 for K2 (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/log/slog/record_test.go

    // license that can be found in the LICENSE file.
    
    package slog
    
    import (
    	"slices"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestRecordAttrs(t *testing.T) {
    	as := []Attr{Int("k1", 1), String("k2", "foo"), Int("k3", 3),
    		Int64("k4", -1), Float64("f", 3.1), Uint64("u", 999)}
    	r := newRecordWithAttrs(as)
    	if g, w := r.NumAttrs(), len(as); g != w {
    		t.Errorf("NumAttrs: got %d, want %d", g, w)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/net/http/header_test.go

    			"Double-Blank": {"", ""},
    		},
    		nil,
    		"Blank: \r\nDouble-Blank: \r\nDouble-Blank: \r\n",
    	},
    	// Tests header sorting when over the insertion sort threshold side:
    	{
    		Header{
    			"k1": {"1a", "1b"},
    			"k2": {"2a", "2b"},
    			"k3": {"3a", "3b"},
    			"k4": {"4a", "4b"},
    			"k5": {"5a", "5b"},
    			"k6": {"6a", "6b"},
    			"k7": {"7a", "7b"},
    			"k8": {"8a", "8b"},
    			"k9": {"9a", "9b"},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.1K 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. 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)
  9. 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)
  10. 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)
Back to top