Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for tdmap (0.05 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    	// FIXME: this seems clunky, maybe there is a better way to do this.
    
    	if ts, ok := d.rtmap[symIdx]; ok {
    		if def, ok := d.tdmap[ts]; ok {
    			return def
    		}
    		d.linkctxt.Errorf(ts, "internal error: no entry for sym %d in tdmap\n", ts)
    		return 0
    	}
    	d.linkctxt.Errorf(symIdx, "internal error: no entry for sym %d in rtmap\n", symIdx)
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. internal/logger/logonce.go

    // Holds a map of recently logged errors.
    type logOnceType struct {
    	IDMap map[string]onceErr
    	sync.Mutex
    }
    
    func (l *logOnceType) logOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        }
    
        private static Map<AccessorKey, ReplacedAccessor> mapOldAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
            return upgradedProperties.stream()
                .flatMap(UpgradePropertiesRuleSetup::mapOldAccessorsOfUpgradedProperty)
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AbstractResolutionFailureDescriber.java

                .collect(Collectors.toMap(AssessedAttribute::getAttribute, AssessedAttribute::getProvided, (a, b) -> a));
            @SuppressWarnings("DataFlowIssue") Map<Attribute<?>, ?> incompatibleAttrs = assessedCandidate.getIncompatibleAttributes().stream()
                .collect(Collectors.toMap(AssessedAttribute::getAttribute, AssessedAttribute::getProvided, (a, b) -> a));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/project.go

    			return project.id, false, nil
    		}
    		idMap[project.id] = true
    	}
    	var needToAddProjid = true
    	for _, projid := range list.projid {
    		idMap[projid.id] = true
    		if projid.id == id && id != common.BadQuotaID {
    			needToAddProjid = false
    		}
    	}
    	var err error
    	if id == common.BadQuotaID {
    		id, err = findAvailableQuota(path, idMap)
    		if err != nil {
    			return common.BadQuotaID, false, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

            conventionAware.map("map1", new Callable<Object>() {
                public Object call() {
                    return toMap("a", "b");
                }
            });
            assertThat(conventionAware.getConventionValue(emptyMap(), "map1", false), equalTo((Object) toMap("a", "b")));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestRuntimesGenerator.java

    import java.nio.file.StandardOpenOption;
    import java.util.Arrays;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import static java.util.stream.Collectors.toMap;
    
    public class PerformanceTestRuntimesGenerator {
    
        public static void main(String[] args) throws IOException {
            new PerformanceTestRuntimesGenerator().generate(new File(args[0]));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import static java.util.function.Function.identity;
    import static java.util.stream.Collectors.toMap;
    
    /**
     * DefaultLifecycleMapping
     */
    public class DefaultLifecycleMapping implements LifecycleMapping {
    
        private List<Lifecycle> lifecycles;
    
        private Map<String, Lifecycle> lifecycleMap;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:46:36 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top