Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for AsMap (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                details == 'Gradle cannot track the implementation for classes loaded with an unknown classloader.'
                solutions == [ 'Load your class by using one of Gradle\'s built-in ways.' ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask'
                ]
            }
            verifyAll(receivedProblem(1)) {
                fqid == 'validation:property-validation:unknown-implementation'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/certlist.go

    		}
    	}
    
    	return caMap, nil
    }
    
    // Certificates is a list of Certificates that Kubeadm should create.
    type Certificates []*KubeadmCert
    
    // AsMap returns the list of certificates as a map, keyed by name.
    func (c Certificates) AsMap() CertificateMap {
    	certMap := make(map[string]*KubeadmCert)
    	for _, cert := range c {
    		certMap[cert.Name] = cert
    	}
    
    	return certMap
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
          for (Entry<? extends K, ? extends Collection<? extends V>> entry :
              multimap.asMap().entrySet()) {
            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                solutions == [
                    "Use a $fileType as an input",
                    "Declare the input as a ${getOppositeKind(fileType)} instead",
                ].collect { it.toString() }
                additionalData.asMap == [
                    'typeName': 'org.gradle.api.DefaultTask',
                    'propertyName': 'input',
                ]
            }
    
            where:
            method | path             | fileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousGraphVariantsFailureDescriber.java

                formatter.node("Cannot choose between the available variants of ");
            } else {
                String node = "The consumer was configured to find " + describer.describeAttributeSet(failure.getRequestedAttributes().asMap());
                if (listAvailableVariants) {
                    node = node + ". However we cannot choose between the following variants of ";
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java

            } else {
                formatter.node("No matching variant of " + targetVariantText + " was found. The consumer was configured to find " + describer.describeAttributeSet(failure.getRequestedAttributes().asMap()) + " but:");
            }
    
            formatter.startChildren();
            switch (failureSubType) {
                case NO_VARIANTS_EXIST:
                    formatter.node("No variants exist.");
                    break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:02:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns an immutable multimap containing the same mappings as {@code multimap}. The generated
       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    		}
    	}
    
    	if !bytes.Equal(sum, c.Raw) {
    		return ChecksumMismatch{
    			Want: c.Encoded,
    			Got:  base64.StdEncoding.EncodeToString(sum),
    		}
    	}
    	return nil
    }
    
    // AsMap returns the
    func (c *Checksum) AsMap() map[string]string {
    	if c == nil || !c.Valid() {
    		return nil
    	}
    	return map[string]string{c.Type.String(): c.Encoded}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/AggregatingProblemConsumer.java

            });
            seenProblems.clear();
        }
    
        private List<InternalProblemAggregationVersion3> createSummaries() {
            return seenProblems.asMap().values()
                .stream()
                .map(ImmutableList::copyOf)
                .filter(values -> values.size() > 1)
                .map(AggregatingProblemConsumer::createProblemAggregation)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 09:50:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

                        it.put('key','value')
                    }
                }
            """
    
            when:
            run('reportProblem')
    
            then:
            receivedProblem.additionalData.asMap == ['key': 'value']
        }
    
        def "cannot emit a problem with invalid additional data"() {
            given:
            buildScript 'class InvalidData implements org.gradle.api.problems.internal.AdditionalData {}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top