Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for tcReturn (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

                  synchronized (loadedClasses) {
                    Class<?> toReturn = loadedClasses.get(name);
                    if (toReturn == null) {
                      toReturn = super.findClass(name);
                      loadedClasses.put(name, toReturn);
                    }
                    return toReturn;
                  }
                }
                return super.loadClass(name);
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedArray.java

        }
    
        @Override
        public Object[] isolate() {
            Object[] toReturn = (Object[]) Array.newInstance(arrayType, elements.size());
            for (int i = 0; i < elements.size(); i++) {
                Isolatable<?> element = elements.get(i);
                toReturn[i] = element.isolate();
            }
            return toReturn;
        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. src/cmd/dist/buildgo.go

    		if k != "" {
    			keys = append(keys, k)
    		}
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    		fmt.Fprintf(&buf, "\tcase %s:\n\t\treturn %s\n", quote(k), quote(defaultcc[k]))
    	}
    	fmt.Fprintf(&buf, "\t}\n")
    	if cc := defaultcc[""]; cc != "" {
    		fmt.Fprintf(&buf, "\treturn %s\n", quote(cc))
    	} else {
    		clang, gcc := "clang", "gcc"
    		if strings.HasSuffix(name, "CXX") {
    			clang, gcc = "clang++", "g++"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. src/syscall/mksyscall_libc.pl

    		} elsif($type eq "string" && $errvar ne "") {
    			$text .= "\tvar _p$n $strconvtype\n";
    			$text .= "\t_p$n, $errvar = $strconvfunc($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";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top