Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 520 for map1 (0.1 sec)

  1. pkg/config/analysis/analyzers/util/proxyconfig.go

    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type EffectiveProxyConfigResolver struct {
    	meshConfig    *meshconfig.MeshConfig
    	rootNamespace string
    	root          *v1beta1.ProxyConfig
    	namespace     map[string]*v1beta1.ProxyConfig
    	workload      map[string]*v1beta1.ProxyConfig
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 21:07:52 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go

    	}
    	// unstructured maps, as seen in annotations
    	// map keys must be strings
    	if mapOfVal, ok := value.Value().(map[ref.Val]ref.Val); ok {
    		result := make(map[string]any)
    		for k, v := range mapOfVal {
    			stringKey, ok := k.Value().(string)
    			if !ok {
    				return nil, fmt.Errorf("map key %q is of type %t, not string", k, k)
    			}
    			result[stringKey] = v.Value()
    		}
    		return result, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 21:55:08 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Sets.newHashSet(v0(), v3()));
        expected.put(k1(), Sets.newHashSet(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

        private static final String COLOR_DIVIDER = "-";
    
        /**
         * Maps a {@link StyledTextOutput.Style} to the default color spec (that can be overridden by system properties)
         */
        private final Map<String, String> defaults = new HashMap<String, String>();
    
        /**
         * Maps a {@link StyledTextOutput.Style} to the {@link org.gradle.internal.logging.console.ColorMap.Color} that has been created for it
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/go/doc/comment/std.go

    	"bufio",
    	"bytes",
    	"cmp",
    	"context",
    	"crypto",
    	"embed",
    	"encoding",
    	"errors",
    	"expvar",
    	"flag",
    	"fmt",
    	"hash",
    	"html",
    	"image",
    	"io",
    	"iter",
    	"log",
    	"maps",
    	"math",
    	"mime",
    	"net",
    	"os",
    	"path",
    	"plugin",
    	"reflect",
    	"regexp",
    	"runtime",
    	"slices",
    	"sort",
    	"strconv",
    	"strings",
    	"structs",
    	"sync",
    	"syscall",
    	"testing",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 671 bytes
    - Viewed (0)
  6. src/unique/handle.go

    	return Handle[T]{ptr}
    }
    
    var (
    	// uniqueMaps is an index of type-specific concurrent maps used for unique.Make.
    	//
    	// The two-level map might seem odd at first since the HashTrieMap could have "any"
    	// as its key type, but the issue is escape analysis. We do not want to force lookups
    	// to escape the argument, and using a type-specific map allows us to avoid that where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/build.gradle.kts

    plugins {
        id("gradlebuild.distribution.api-java")
        id("gradlebuild.publish-public-libraries")
    }
    
    description = """Persistent caches on disk and cross process locking.
        | Mostly for persisting Maps to the disk.
        | Also contains implementations for in-memory caches in front of the disk cache.
    """.trimMargin()
    
    dependencies {
        api(projects.concurrent)
        api(projects.stdlibJavaExtensions)
        api(projects.serialization)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Sets.newHashSet(v0(), v3()));
        expected.put(k1(), Sets.newHashSet(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/reflect/iter_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package reflect_test
    
    import (
    	"iter"
    	"maps"
    	. "reflect"
    	"testing"
    )
    
    func TestValueSeq(t *testing.T) {
    	m := map[string]int{
    		"1": 1,
    		"2": 2,
    		"3": 3,
    		"4": 4,
    	}
    	c := make(chan int, 3)
    	for i := range 3 {
    		c <- i
    	}
    	close(c)
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		IntDec: cbor.IntDecConvertSignedOrFail,
    
    		// Disable producing map[cbor.ByteString]interface{}, which is not acceptable for
    		// decodes into interface{}.
    		MapKeyByteString: cbor.MapKeyByteStringForbidden,
    
    		// Error on map keys that don't map to a field in the destination struct.
    		ExtraReturnErrors: cbor.ExtraDecErrorUnknownField,
    
    		// Decode maps into concrete type map[string]interface{} when the destination is an
    		// interface{}.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top