Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for K4 (5.68 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3, k4, v4));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(
          K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue50755.go

    // M3's constraint is named.
    type Map3 map[string]int
    
    func f3[M3 Map3](m3 M3) {
    	f1(m3)
    }
    
    // The core type of M5 unifies with the core type of M4
    // during constraint type inference.
    func f4[M4 map[K4]int, K4 comparable](m4 M4) {}
    
    func f5[M5 map[K5]int, K5 comparable](m5 M5) {
    	f4(m5)
    }
    
    // test case from issue
    
    func Copy[MC ~map[KC]VC, KC comparable, VC any](dst, src MC) {
    	for k, v := range src {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  3. src/net/http/header_test.go

    	{
    		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"},
    		},
    		map[string]bool{"k5": true},
    		"k1: 1a\r\nk1: 1b\r\nk2: 2a\r\nk2: 2b\r\nk3: 3a\r\nk3: 3b\r\n" +
    			"k4: 4a\r\nk4: 4b\r\nk6: 6a\r\nk6: 6b\r\n" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. tools/bug-report/pkg/filter/filter_test.go

      l2: v2
      l3: v3
      l4: v4
    `
    	testClusterResourcesAnnotations = `
    ns1/p1:
      k2: v2
    ns1/p2:
      k1: v1
      k2: v2
      k3: v33
    ns1/p3:
      k1: v1
      k2: v22
      k3: v3
    ns1/p4:
      k1: v1
      k4: v4
    `
    
    	p1c1 = "ns1/d1/p1/c1"
    	p1c2 = "ns1/d1/p1/c2"
    	p2c3 = "ns1/d1/p2/c3"
    	p3c4 = "ns1/d2/p3/c4"
    	p3c5 = "ns1/d2/p3/c5"
    	p4c6 = "ns1/d2/p4/c6"
    
    	p1 = []string{p1c1, p1c2}
    	p2 = []string{p2c3}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k0(), v2()));
        assertGet(k0(), v0(), v1(), v2());
      }
    
      public void testGetAbsentKey() {
        assertGet(k4());
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesRemoveToMultimap() {
        resetContainer(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    public class MapReplaceAllTester<K, V> extends AbstractMapTester<K, V> {
      private SampleElements<K> keys() {
        return new SampleElements<>(k0(), k1(), k2(), k3(), k4());
      }
    
      private SampleElements<V> values() {
        return new SampleElements<>(v0(), v1(), v2(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testReplaceAllRotate() {
        getMap()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k0(), v2()));
        assertGet(k0(), v0(), v1(), v2());
      }
    
      public void testGetAbsentKey() {
        assertGet(k4());
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testPropagatesRemoveToMultimap() {
        resetContainer(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

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

        return e2().getValue();
      }
    
      protected final K k3() {
        return e3().getKey();
      }
    
      protected final V v3() {
        return e3().getValue();
      }
    
      protected final K k4() {
        return e4().getKey();
      }
    
      protected final V v4() {
        return e4().getValue();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/log/slog/record_test.go

    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)
    	}
    	if got := attrsSlice(r); !attrsEqual(got, as) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top