Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mmap (0.17 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if start/pageSize != (start+n)/pageSize {
    		// bump start to next page
    		start = round(limit, pageSize)
    	}
    	return start, start + n
    }
    
    var memmap = mmap.Mmap
    var munmap = mmap.Munmap
    
    func (m *mappedFile) close() {
    	m.closeOnce.Do(func() {
    		if m.mapping != nil {
    			munmap(m.mapping)
    			m.mapping = nil
    		}
    		if m.f != nil {
    			m.f.Close() // best effort
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/modules.txt

    golang.org/x/telemetry/counter/countertest
    golang.org/x/telemetry/internal/config
    golang.org/x/telemetry/internal/configstore
    golang.org/x/telemetry/internal/counter
    golang.org/x/telemetry/internal/crashmonitor
    golang.org/x/telemetry/internal/mmap
    golang.org/x/telemetry/internal/telemetry
    golang.org/x/telemetry/internal/upload
    # golang.org/x/term v0.20.0
    ## explicit; go 1.18
    golang.org/x/term
    # golang.org/x/text v0.16.0
    ## explicit; go 1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/sync/map.go

    // The zero Map is empty and ready for use. A Map must not be copied after first use.
    //
    // In the terminology of [the Go memory model], Map arranges that a write operation
    // “synchronizes before” any read operation that observes the effect of the write, where
    // read and write operations are defined as follows.
    // [Map.Load], [Map.LoadAndDelete], [Map.LoadOrStore], [Map.Swap], [Map.CompareAndSwap],
    // and [Map.CompareAndDelete] are read operations;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. cmd/metrics-v3.go

    	scannerCollectorPath       collectorPath = "/scanner"
    )
    
    const (
    	clusterBasePath = "/cluster"
    )
    
    type metricsV3Collection struct {
    	mgMap       map[collectorPath]*MetricsGroup
    	bucketMGMap map[collectorPath]*MetricsGroup
    
    	// Gatherers for non-bucket MetricsGroup's
    	mgGatherers map[collectorPath]prometheus.Gatherer
    
    	collectorPaths []collectorPath
    }
    
    func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    fi
    
    uname=$(uname)
    
    includes_AIX='
    #include <net/if.h>
    #include <net/netopt.h>
    #include <netinet/ip_mroute.h>
    #include <sys/protosw.h>
    #include <sys/stropts.h>
    #include <sys/mman.h>
    #include <sys/poll.h>
    #include <sys/select.h>
    #include <sys/termio.h>
    #include <termios.h>
    #include <fcntl.h>
    
    #define AF_LOCAL AF_UNIX
    '
    
    includes_Darwin='
    #define _DARWIN_C_SOURCE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    			}
    			cmap := xdstest.ExtractClusters(clusters)
    			got := xdstest.MapKeys(cmap)
    
    			// Check we have all expected clusters
    			if !reflect.DeepEqual(xdstest.MapKeys(tt.clusters), got) {
    				t.Errorf("expected clusters: %v, got: %v", xdstest.MapKeys(tt.clusters), got)
    			}
    
    			for cname, c := range cmap {
    				// Check the upstream endpoints match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    	// TODO: keep a single varnum map, then make all of these maps slices instead?
    	vars map[ir.Node]*ssa.Value
    
    	// fwdVars are variables that are used before they are defined in the current block.
    	// This map exists just to coalesce multiple references into a single FwdRef op.
    	// *Node is the unique identifier (an ONAME Node) for the variable.
    	fwdVars map[ir.Node]*ssa.Value
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top