- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 675 for Map (0.04 sec)
-
src/cmd/compile/internal/syntax/testdata/interface.go
type _ interface { int []byte [10]int struct{} *int func() interface{} map[string]int chan T chan<- T <-chan T T[int] } type _ interface { int | string []byte | string [10]int | string struct{} | string *int | string func() | string interface{} | string map[string]int | string chan T | string chan<- T | string <-chan T | string T[int] | string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 18:02:18 UTC 2022 - 1.1K bytes - Viewed (0) -
src/encoding/gob/type_test.go
} } func TestMapType(t *testing.T) { var m map[string]int mapStringInt := getTypeUnlocked("map", reflect.TypeOf(m)) var newm map[string]int newMapStringInt := getTypeUnlocked("map1", reflect.TypeOf(newm)) if mapStringInt != newMapStringInt { t.Errorf("second registration of map[string]int creates new type") } var b map[string]bool mapStringBool := getTypeUnlocked("", reflect.TypeOf(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:26:13 UTC 2023 - 6.1K bytes - Viewed (0) -
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 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 3.9K bytes - Viewed (0) -
src/mime/type.go
"sync" ) var ( mimeTypes sync.Map // map[string]string; ".Z" => "application/x-compress" mimeTypesLower sync.Map // map[string]string; ".z" => "application/x-compress" // extensions maps from MIME type to list of lowercase file // extensions: "image/jpeg" => [".jpg", ".jpeg"] extensionsMu sync.Mutex // Guards stores (but not loads) on extensions. extensions sync.Map // map[string][]string; slice values are append-only. )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/b53456.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 11 21:21:49 UTC 2022 - 215 bytes - Viewed (0) -
src/reflect/asm_ppc64x.s
// See the comment on the declaration of makeFuncStub in makefunc.go // for more details. // No arg size here, runtime pulls arg map out of the func value. TEXT ·makeFuncStub(SB),(NOSPLIT|WRAPPER),$336 NO_LOCAL_POINTERS // NO_LOCAL_POINTERS is a lie. The stack map for the two locals in this // frame is specially handled in the runtime. See the comment above LOCAL_RETVALID. ADD $LOCAL_REGARGS, R1, R20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 3.3K bytes - Viewed (0) -
src/mime/multipart/formdata.go
multipartmaxparts = godebug.New("multipartmaxparts") ) func (r *Reader) readForm(maxMemory int64) (_ *Form, err error) { form := &Form{make(map[string][]string), make(map[string][]*FileHeader)} var ( file *os.File fileOff int64 ) numDiskFiles := 0 combineFiles := true if multipartfiles.Value() == "distinct" { combineFiles = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/go/token/token.go
ELSE: "else", FALLTHROUGH: "fallthrough", FOR: "for", FUNC: "func", GO: "go", GOTO: "goto", IF: "if", IMPORT: "import", INTERFACE: "interface", MAP: "map", PACKAGE: "package", RANGE: "range", RETURN: "return", SELECT: "select", STRUCT: "struct", SWITCH: "switch", TYPE: "type", VAR: "var", TILDE: "~", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 6.4K bytes - Viewed (0) -
test/typeparam/sliceimp.dir/main.go
func TestMap() { s1 := []int{1, 2, 3} s2 := a.Map(s1, func(i int) float64 { return float64(i) * 2.5 }) if want := []float64{2.5, 5, 7.5}; !a.Equal(s2, want) { panic(fmt.Sprintf("a.Map(%v, ...) = %v, want %v", s1, s2, want)) } s3 := []string{"Hello", "World"} s4 := a.Map(s3, strings.ToLower) if want := []string{"hello", "world"}; !a.Equal(s4, want) { panic(fmt.Sprintf("a.Map(%v, strings.ToLower) = %v, want %v", s3, s4, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 4.6K bytes - Viewed (0) -
src/go/doc/comment/testdata/doclink2.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:42 UTC 2022 - 268 bytes - Viewed (0)