Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 701 for map1 (0.04 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/NativeDependencyCache.java

        public File getModuleMapFile(final ModuleMap moduleMap) {
            final String hash = moduleMap.getHashCode().toCompactString();
            return cache.useCache(() -> {
                File dir = new File(cache.getBaseDir(), "maps/" + hash + "/" + moduleMap.getModuleName());
                File moduleMapFile = new File(dir, "module.modulemap");
                if (!moduleMapFile.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

    	Description         string
    	OriginalObj         map[string]interface{}
    	ExpectedWithNull    map[string]interface{}
    	ExpectedWithoutNull map[string]interface{}
    }
    
    var filterNullTestCaseData = []byte(`
    testCases:
      - description: nil original
        originalObj: {}
        expectedWithNull: {}
        expectedWithoutNull: {}
      - description: simple map
        originalObj:
          nilKey: null
          nonNilKey: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/RunInProcess.java

    import org.gradle.internal.invocation.BuildAction;
    import org.gradle.launcher.exec.BuildActionExecutor;
    import org.gradle.launcher.exec.BuildActionParameters;
    import org.gradle.launcher.exec.BuildActionResult;
    
    /**
     * Maps from the client view of a request to the daemon view. Used when a build is run in the client.
     */
    public class RunInProcess implements BuildActionExecutor<BuildActionParameters, ClientBuildRequestContext> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/maps/iter.go

    // If a key in seq already exists in m, its value will be overwritten.
    func Insert[Map ~map[K]V, K comparable, V any](m Map, seq iter.Seq2[K, V]) {
    	for k, v := range seq {
    		m[k] = v
    	}
    }
    
    // Collect collects key-value pairs from seq into a new map
    // and returns it.
    func Collect[K comparable, V any](seq iter.Seq2[K, V]) map[K]V {
    	m := make(map[K]V)
    	Insert(m, seq)
    	return m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    			lhs:   UnstructuredToVal(map[string]interface{}{"key1": "a", "key2": "b"}, &mapSchema),
    			rhs:   UnstructuredToVal(map[string]interface{}{"key2": "b", "key1": "a"}, &mapSchema),
    			equal: true,
    		},
    		{
    			name:  "maps are not equal if contents differs",
    			lhs:   UnstructuredToVal(map[string]interface{}{"key1": "a", "key2": "b"}, &mapSchema),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	if len(input) == 0 {
    		return nil
    	}
    	if input[0] == '[' {
    		return json.Unmarshal(input, i)
    	}
    	m := make(map[string]T)
    	if err := json.Unmarshal(input, &m); err != nil {
    		return err
    	}
    	*i = maps.Values(m)
    	return nil
    }
    
    // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                }
            }
    
            private Map<String, Set<String>> mergeTypeHierarchyAnalysis(Set<File> typeHierarchyAnalysis) {
                return typeHierarchyAnalysis.stream()
                    .flatMap(file -> serializer.readTypeHierarchyAnalysis(file).entrySet().stream())
                    .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue, Sets::union));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeMap.java

          return (ImmutableRangeMap<K, V>) rangeMap;
        }
        Map<Range<K>, ? extends V> map = rangeMap.asMapOfRanges();
        ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size());
        ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size());
        for (Entry<Range<K>, ? extends V> entry : map.entrySet()) {
          rangesBuilder.add(entry.getKey());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/maps/iter_test.go

    			if !yield(i, i+1) {
    				return
    			}
    		}
    	})
    
    	want := map[int]int{
    		1: 1,
    		2: 1,
    	}
    	for i, v := range map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	} {
    		want[i] = v
    	}
    
    	if !Equal(got, want) {
    		t.Errorf("Insert got: %v, want: %v", got, want)
    	}
    }
    
    func TestCollect(t *testing.T) {
    	m := map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:44:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top