Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for map (0.12 sec)

  1. src/archive/tar/common.go

    	//
    	// When Writer.WriteHeader is called, the contents of Xattrs will take
    	// precedence over those in PAXRecords.
    	//
    	// Deprecated: Use PAXRecords instead.
    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    	// User-defined records should have keys of the following form:
    	//	VENDOR.keyword
    	// Where VENDOR is some namespace in all uppercase, and keyword may
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  2. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. misc/linkcheck/linkcheck.go

    }
    
    var (
    	mu          sync.Mutex
    	crawled     = make(map[string]bool)      // URL without fragment -> true
    	neededFrags = make(map[urlFrag][]string) // URL#frag -> who needs it
    )
    
    var aRx = regexp.MustCompile(`<a href=['"]?(/[^\s'">]+)`)
    
    // Owned by crawlLoop goroutine:
    var (
    	linkSources = make(map[string][]string) // url no fragment -> sources
    	fragExists  = make(map[urlFrag]bool)
    	problems    []string
    )
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm.go

    package arch
    
    import (
    	"strings"
    
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    )
    
    var armLS = map[string]uint8{
    	"U":  arm.C_UBIT,
    	"S":  arm.C_SBIT,
    	"W":  arm.C_WBIT,
    	"P":  arm.C_PBIT,
    	"PW": arm.C_WBIT | arm.C_PBIT,
    	"WP": arm.C_WBIT | arm.C_PBIT,
    }
    
    var armSCOND = map[string]uint8{
    	"EQ":  arm.C_SCOND_EQ,
    	"NE":  arm.C_SCOND_NE,
    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/sync/61696.md

    The [Map.Clear] method deletes all the entries, resulting in
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 10 17:07:25 GMT 2024
    - 105 bytes
    - Viewed (0)
  6. api/go1.9.txt

    pkg runtime/pprof, type LabelSet struct
    pkg sync, method (*Map) Delete(interface{})
    pkg sync, method (*Map) Load(interface{}) (interface{}, bool)
    pkg sync, method (*Map) LoadOrStore(interface{}, interface{}) (interface{}, bool)
    pkg sync, method (*Map) Range(func(interface{}, interface{}) bool)
    pkg sync, method (*Map) Store(interface{}, interface{})
    pkg sync, type Map struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  7. src/bytes/boundary_test.go

    // preceded and followed by a faulting page.
    func dangerousSlice(t *testing.T) []byte {
    	pagesize := syscall.Getpagesize()
    	b, err := syscall.Mmap(0, 0, 3*pagesize, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANONYMOUS|syscall.MAP_PRIVATE)
    	if err != nil {
    		t.Fatalf("mmap failed %s", err)
    	}
    	err = syscall.Mprotect(b[:pagesize], syscall.PROT_NONE)
    	if err != nil {
    		t.Fatalf("mprotect low failed %s\n", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    var anonymousStructTag = make(map[*dwarf.StructType]string)
    
    func (c *typeConv) Init(ptrSize, intSize int64) {
    	c.ptrSize = ptrSize
    	c.intSize = intSize
    	c.m = make(map[string]*Type)
    	c.ptrs = make(map[string][]*Type)
    	c.getTypeIDs = make(map[string]bool)
    	c.incompleteStructs = make(map[string]bool)
    	c.bool = c.Ident("bool")
    	c.byte = c.Ident("byte")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    // (m[key]) from the map. If m is nil or there is no such element, delete
    // is a no-op.
    func delete(m map[Type]Type1, key Type)
    
    // The len built-in function returns the length of v, according to its type:
    //
    //	Array: the number of elements in v.
    //	Pointer to array: the number of elements in *v (even if v is nil).
    //	Slice, or map: the number of elements in v; if v is nil, len(v) is zero.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    the type of the pointer.
    
    Note that values of some Go types, other than the type's zero value,
    always include Go pointers. This is true of string, slice, interface,
    channel, map, and function types. A pointer type may hold a Go pointer
    or a C pointer. Array and struct types may or may not include Go
    pointers, depending on the element types. All the discussion below
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top