Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for cmap (0.16 sec)

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

    		Exitf("resize output file failed: %v", err)
    	}
    
    	low, high := uint32(filesize), uint32(filesize>>32)
    	fmap, err := syscall.CreateFileMapping(syscall.Handle(out.f.Fd()), nil, syscall.PAGE_READWRITE, high, low, nil)
    	if err != nil {
    		return err
    	}
    	defer syscall.CloseHandle(fmap)
    
    	ptr, err := syscall.MapViewOfFile(fmap, syscall.FILE_MAP_READ|syscall.FILE_MAP_WRITE, 0, 0, uintptr(filesize))
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 01:59:25 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pkg/kube/krt/informer_test.go

    		},
    	}
    	cmt.Create(cmA)
    	tt.WaitOrdered("add/ns/a")
    	assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA})
    
    	cmt.Update(cmA2)
    	tt.WaitOrdered("update/ns/a")
    	assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA2})
    
    	cmt.Create(cmB)
    	tt.WaitOrdered("add/ns/b")
    	assert.Equal(t, slices.SortBy(ConfigMaps.List(), func(a *corev1.ConfigMap) string { return a.Name }), []*corev1.ConfigMap{cmA2, cmB})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/util/workloadinstances/map.go

    )
    
    // MultiValueMap represents a map where each key might be associated with
    // multiple values.
    type MultiValueMap map[string]sets.String
    
    // Insert adds given (key, value) pair into the map.
    func (m MultiValueMap) Insert(key, value string) MultiValueMap {
    	sets.InsertOrNew(m, key, value)
    	return m
    }
    
    // Delete removes given (key, value) pair out of the map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 08 02:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/pprof/map.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pprof
    
    import "unsafe"
    
    // A profMap is a map from (stack, tag) to mapEntry.
    // It grows without bound, but that's assumed to be OK.
    type profMap struct {
    	hash    map[uintptr]*profMapEntry
    	all     *profMapEntry
    	last    *profMapEntry
    	free    []profMapEntry
    	freeStk []uintptr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 21:51:02 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  5. test/abi/map.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "runtime"
    
    type T [10]int
    
    var m map[*T]int
    
    //go:noinline
    func F() {
    	m = map[*T]int{
    		K(): V(), // the key temp should be live across call to V
    	}
    }
    
    //go:noinline
    func V() int { runtime.GC(); runtime.GC(); runtime.GC(); return 123 }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 20 14:30:03 UTC 2021
    - 557 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/mime.map

    Shinsuke Sugaya <******@****.***> 1553287182 +0900
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  7. src/go/types/map.go

    // Source: ../../cmd/compile/internal/types2/map.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 781 bytes
    - Viewed (0)
  8. src/cmp.bash

    	echo $pkg
    	DIR=$GOROOT/src/$pkg
    	go build -gcflags "$FLAGS2 -S" -o /dev/null $pkg &> $DIR/new.txt
    done
    
    echo
    echo
    echo "3) compare assembly files"
    for pkg in `go list std`; do
    	DIR=$GOROOT/src/$pkg
    
    	if cmp $DIR/old.txt $DIR/new.txt &> /dev/null
    	then rm $DIR/old.txt $DIR/new.txt
    	else echo "==> $DIR"
    	fi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:03:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/cmp/cmp.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package cmp provides types and functions related to comparing
    // ordered values.
    package cmp
    
    // Ordered is a constraint that permits any ordered type: any type
    // that supports the operators < <= >= >.
    // If future releases of Go add new ordered types,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. pkg/test/framework/config/map.go

    package config
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/test/scopes"
    )
    
    type Map map[string]any
    
    func (m Map) Map(key string) Map {
    	nested, ok := m[key]
    	if !ok {
    		return nil
    	}
    	out, ok := nested.(Map)
    	if !ok {
    		return nil
    	}
    	return out
    }
    
    func (m Map) String(key string) string {
    	v, ok := m[key]
    	if !ok || v == nil {
    		return ""
    	}
    	str, ok := v.(string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top