- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for tcReturn (1.28 sec)
-
src/cmd/compile/internal/typecheck/stmt.go
n.Key = AssignExpr(n.Key) } if n.Value != nil && n.Value.Typecheck() == 0 { n.Value = AssignExpr(n.Value) } Stmts(n.Body) } // tcReturn typechecks an ORETURN node. func tcReturn(n *ir.ReturnStmt) ir.Node { if ir.CurFunc == nil { base.FatalfAt(n.Pos(), "return outside function") } typecheckargs(n) if len(n.Results) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
return n case ir.OFOR: n := n.(*ir.ForStmt) return tcFor(n) case ir.OIF: n := n.(*ir.IfStmt) return tcIf(n) case ir.ORETURN: n := n.(*ir.ReturnStmt) return tcReturn(n) case ir.OTAILCALL: n := n.(*ir.TailCallStmt) n.Call = typecheck(n.Call, ctxStmt|ctxExpr).(*ir.CallExpr) return n case ir.OCHECKNIL: n := n.(*ir.UnaryExpr) return tcCheckNil(n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
template <typename TReturn, typename... TFuncArgs> class CallableWrapperUnpackArgs<TReturn (*)(TFuncArgs...)> : public CallableWrapper<TReturn (*)(TFuncArgs...), TReturn, TFuncArgs...> { using Fn = TReturn (*)(TFuncArgs...); public: CallableWrapperUnpackArgs(Fn fn, const char* name) : CallableWrapper<Fn, TReturn, TFuncArgs...>(fn, name) {} };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try { toReturn = initializeOrUpdateCancellationDelegate(schedule); } catch (Throwable e) { // Any Exception is either a RuntimeException or sneaky checked exception. //
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// to currentFuture doesn't race with itself so that currentFuture is assigned in the // correct order. Throwable scheduleFailure = null; Cancellable toReturn; lock.lock(); try { toReturn = initializeOrUpdateCancellationDelegate(schedule); } catch (Throwable e) { // Any Exception is either a RuntimeException or sneaky checked exception. //
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 27.5K bytes - Viewed (0) -
src/syscall/mksyscall.pl
} elsif($type eq "string" && $errvar ne "") { $text .= "\tvar _p$n *byte\n"; $text .= "\t_p$n, $errvar = BytePtrFromString($name)\n"; $text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n"; push @args, "uintptr(unsafe.Pointer(_p$n))"; $n++; } elsif($type eq "string") { print STDERR "$ARGV:$.: $func uses string arguments, but has no error return\n"; $text .= "\tvar _p$n *byte\n";
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{"foo /* an EOF terminates a line */ /*", "IDENT COMMENT COMMENT ;"}, {"foo /* an EOF terminates a line */ //", "IDENT COMMENT COMMENT ;"}, {"package main\n\nfunc main() {\n\tif {\n\t\treturn /* */ }\n}\n", "package IDENT ; func IDENT ( ) { if { return COMMENT } ; } ;"}, {"package main", "package IDENT ;"}, } func TestSemicolons(t *testing.T) { for _, test := range semicolonTests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0)