- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,335 for idents (0.11 sec)
-
src/runtime/sys_openbsd1.go
) //go:nosplit //go:cgo_unsafe_args func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 { ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(thrsleep_trampoline)), unsafe.Pointer(&ident)) KeepAlive(tsp) KeepAlive(abort) return ret } func thrsleep_trampoline() //go:nosplit //go:cgo_unsafe_args func thrwakeup(ident uintptr, n int32) int32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 03:11:18 UTC 2021 - 1.2K bytes - Viewed (0) -
src/runtime/netpoll_kqueue_event.go
} } func isWakeup(ev *keventt) bool { if ev.filter == _EVFILT_USER { if ev.ident == kqIdent { return true } println("runtime: netpoll: break fd ready for", ev.ident) throw("runtime: netpoll: break fd ready for something unexpected") } return false } func drainWakeupEvent(kq int32) { ev := keventt{ ident: kqIdent, filter: _EVFILT_USER, flags: _EV_DISABLE, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:46 UTC 2024 - 1.8K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
{Comment, "// identifiers"}, {Ident, "a"}, {Ident, "a0"}, {Ident, "foobar"}, {Ident, "abc123"}, {Ident, "LGTM"}, {Ident, "_"}, {Ident, "_abc123"}, {Ident, "abc123_"}, {Ident, "_abc_123_"}, {Ident, "_äöü"}, {Ident, "_本"}, {Ident, "äöü"}, {Ident, "本"}, {Ident, "a۰۱۸"}, {Ident, "foo६४"}, {Ident, "bar9876"}, {Ident, f100}, {Comment, "// decimal ints"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
pkg/credentialprovider/config.go
func (ident *DockerConfigEntry) UnmarshalJSON(data []byte) error { var tmp dockerConfigEntryWithAuth err := json.Unmarshal(data, &tmp) if err != nil { return err } ident.Username = tmp.Username ident.Password = tmp.Password ident.Email = tmp.Email if len(tmp.Auth) == 0 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 19 15:11:57 UTC 2023 - 9.3K bytes - Viewed (0) -
src/go/token/token.go
for i := keyword_beg + 1; i < keyword_end; i++ { keywords[tokens[i]] = i } } // Lookup maps an identifier to its keyword token or [IDENT] (if not a keyword). func Lookup(ident string) Token { if tok, is_keyword := keywords[ident]; is_keyword { return tok } return IDENT } // Predicates // IsLiteral returns true for tokens corresponding to identifiers
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/fixedbugs/issue30566a.go
// license that can be found in the LICENSE file. package main import "fmt" //go:noinline func ident(s string) string { return s } func returnSecond(x bool, s string) string { return s } func identWrapper(s string) string { return ident(s) } func main() { got := returnSecond((false || identWrapper("bad") != ""), ident("good")) if got != "good" { panic(fmt.Sprintf("wanted \"good\", got \"%s\"", got)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 20:04:07 UTC 2019 - 535 bytes - Viewed (0) -
src/go/types/struct.go
var fset objset // current field typ and tag var typ Type var tag string add := func(ident *ast.Ident, embedded bool) { if tag != "" && tags == nil { tags = make([]string, len(fields)) } if tags != nil { tags = append(tags, tag) } pos := ident.Pos() name := ident.Name fld := NewField(pos, check.pkg, name, typ, embedded)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/go/types/generate_test.go
return false } } return true }) } // asIdent returns x as *ast.Ident if it is an identifier with the given name. func asIdent(x ast.Node, name string) *ast.Ident { if ident, _ := x.(*ast.Ident); ident != nil && ident.Name == name { return ident } return nil } // isIdent reports whether x is an identifier with the given name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/go/parser/resolver_test.go
objmap := map[token.Pos]token.Pos{} ast.Inspect(file, func(node ast.Node) bool { // Ignore blank identifiers to reduce noise. if ident, _ := node.(*ast.Ident); ident != nil && ident.Obj != nil && ident.Name != "_" { objmap[ident.Pos()] = ident.Obj.Pos() } return true }) return objmap } // declsFromComments looks at comments annotating uses and declarations, and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 19 17:46:07 UTC 2022 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/sigchanyzer.go
return nil, nil } func isSignalNotify(info *types.Info, call *ast.CallExpr) bool { check := func(id *ast.Ident) bool { obj := info.ObjectOf(id) return obj.Name() == "Notify" && obj.Pkg().Path() == "os/signal" } switch fun := call.Fun.(type) { case *ast.SelectorExpr: return check(fun.Sel) case *ast.Ident: if fun, ok := findDecl(fun).(*ast.SelectorExpr); ok { return check(fun.Sel) } return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 3.8K bytes - Viewed (0)