mirror of
https://github.com/golang/go.git
synced 2025-10-20 03:23:18 +00:00
16 lines
282 B
Go
16 lines
282 B
Go
![]() |
// build
|
||
|
|
||
|
// Copyright 2025 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 p
|
||
|
|
||
|
func F(a, b map[float32]int) int {
|
||
|
var st *struct {
|
||
|
n int
|
||
|
f float32
|
||
|
}
|
||
|
return a[0] + b[st.f]
|
||
|
}
|