Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mapLiteral (0.11 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            public MapLiteralValue(Map<String, ExpressionValue> literal) {
                this.literal = literal;
            }
    
            @Override
            public String with(Syntax syntax) {
                return syntax.mapLiteral(literal);
            }
        }
    
        /**
         * This class is part of an attempt to provide the minimal functionality needed to script calling methods
         * which have a no-arg closure as their only parameter.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  2. src/runtime/map_test.go

    	// on the stack. Escaping maps start with a non-nil bucket pointer if
    	// hint size is above bucketCnt and thereby have more than one bucket.
    	// These tests depend on bucketCnt and loadFactor* in map.go.
    	t.Run("mapliteral", func(t *testing.T) {
    		for _, tt := range mapBucketTests {
    			localMap := map[int]int{}
    			if runtime.MapBucketsPointerIsNil(localMap) {
    				t.Errorf("no escape: buckets pointer is nil for non-escaping map")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top