Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for retval (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/device-arg-retval-attr.mlir

    //
    // CHECK:      node {
    // CHECK-NEXT:   name: "rets_0"
    // CHECK-NEXT:   op: "_Retval"
    // CHECK-NOT:    device
    // CHECK:        attr {
    // CHECK:          key: "index"
    // CHECK-NEXT:     value {
    // CHECK-NEXT:       i: 0
    //
    // CHECK:      node {
    // CHECK-NEXT:   name: "rets_1"
    // CHECK-NEXT:   op: "_Retval"
    // CHECK:        device: "/CPU:1"
    // CHECK:        attr {
    // CHECK:          key: "index"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-retval-attrs.pbtxt

        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "ret1"
      op: "_Retval"
      input: "arg1"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "index"
        value {
          i: 1
        }
      }
    }
    node {
      name: "ret2"
      op: "_Retval"
      input: "arg2"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. istioctl/cmd/options.go

    }
    
    func optionsCommand(rootCmd *cobra.Command) *cobra.Command {
    	retval := &cobra.Command{
    		Use:   "options",
    		Short: "Displays istioctl global options",
    		Args:  cobra.ExactArgs(0),
    	}
    
    	retval.SetHelpFunc(func(c *cobra.Command, args []string) {
    		c.Printf("The following options can be passed to any command:\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/cgo/linux_syscall.c

    // argset_t matches runtime/cgocall.go:argset.
    typedef struct {
    	uintptr_t* args;
    	uintptr_t retval;
    } argset_t;
    
    // libc backed posix-compliant syscalls.
    
    #define SET_RETVAL(fn) \
      uintptr_t ret = (uintptr_t) fn ; \
      if (ret == (uintptr_t) -1) {	   \
        x->retval = (uintptr_t) errno; \
      } else                           \
        x->retval = ret
    
    void
    _cgo_libc_setegid(argset_t* x) {
    	SET_RETVAL(setegid((gid_t) x->args[0]));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/packaging/rpm/init.d/fess

        daemon --user $FESS_USER --pidfile="$pidfile" $exec -d
        retval=$?
        pid=`ps aux | grep "^${FESS_USER}" | grep "${PROC_NAME}" | sed 's/[\t ]\+/\t/g' | cut -f2`
        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
        # stop it here, often "killproc $prog"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    	}
    	for _, pod := range pods.Items {
    		retval[resource.Namespace(pod.GetNamespace())] = append(retval[resource.Namespace(pod.GetNamespace())], pod)
    	}
    	return retval, nil
    }
    
    // getInjectedImages() returns a map of revision->dockerimage
    func getInjectedImages(ctx context.Context, client kube.CLIClient) (map[string]string, error) {
    	retval := map[string]string{}
    
    	// All configs in all namespaces that are Istio revisioned
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            }
    
            def process = ["ls", "-ld", file.absolutePath].execute()
            def result = process.inputStream.text
            def error = process.errorStream.text
            def retval = process.waitFor()
            if (retval != 0) {
                throw new RuntimeException("Could not list permissions for '$file': $error")
            }
            def perms = result.split()[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      {
        tensorflow::Scope s = tensorflow::Scope::NewRootScope();
        Output arg = ops::_Arg(s.WithOpName("arg"), DT_INT32, 0);
        Output identity = ops::Identity(s.WithOpName("identity_true_fn"), arg);
        ops::_Retval retval(s.WithOpName("retval"), identity, 0);
        std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
        TF_CHECK_OK(s.ToGraph(g.get()));
        auto node_name_image = g->BuildNodeNameIndex();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  9. plugin/pkg/admission/security/podsecurity/admission.go

    		// start with a generic forbidden error
    		retval := admission.NewForbidden(a, errors.New("Not allowed by PodSecurity")).(*apierrors.StatusError)
    		// use message/reason/details/code from admission library if populated
    		if result.Result != nil {
    			if len(result.Result.Message) > 0 {
    				retval.ErrStatus.Message = result.Result.Message
    			}
    			if len(result.Result.Reason) > 0 {
    				retval.ErrStatus.Reason = result.Result.Reason
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 08:49:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
                            }
                        }
    
                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 30 23:39:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top