Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for funcNames (0.2 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            mlir::SymbolRefAttr::get(builder.getContext(), func_names.at(then_idx));
        uint32_t else_idx = opts->else_subgraph_index;
        if (else_idx >= func_names.size()) {
          return errors::InvalidArgument("subgraph with index not found: ",
                                         else_idx);
        }
        auto else_attr =
            mlir::SymbolRefAttr::get(builder.getContext(), func_names.at(else_idx));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	if funcName == "" {
    		return 0
    	}
    
    	var funcname [128]byte
    	for i := 0; i < int(nameLen); i += 8 {
    		v, err := safeload(ppa1 + nameOffset + uintptr(i))
    		if err != 0 {
    			return 1
    		}
    		funcname[i] = byte(v >> 56)
    		funcname[i+1] = byte(v >> 48)
    		funcname[i+2] = byte(v >> 40)
    		funcname[i+3] = byte(v >> 32)
    		funcname[i+4] = byte(v >> 24)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ(func_name_, func_names[0]);
      ASSERT_EQ("MyGrad", func_names[1]);
      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(1, grads.size());
      ASSERT_EQ(func_name_, grads[0].first);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    		if actual != test.i {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep string) int, funcName string, testCases []IndexTest) {
    	for _, test := range testCases {
    		actual := f(test.s, test.sep)
    		if actual != test.out {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, test.s, test.sep, actual, test.out)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    			return true
    		} else if !pr {
    			continue
    		}
    
    		callCgoSymbolizer(arg)
    		if arg.funcName != nil {
    			// Note that we don't print any argument
    			// information here, not even parentheses.
    			// The symbolizer must add that if appropriate.
    			println(gostringnocopy(arg.funcName))
    		} else {
    			println("non-Go function")
    		}
    		print("\t")
    		if arg.file != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		traceType = madmin.TraceBatchExpire
    	}
    	funcName := fmt.Sprintf("%s() (job-name=%s)", d.String(), job)
    	if attempts > 0 {
    		funcName = fmt.Sprintf("%s() (job-name=%s,attempts=%s)", d.String(), job, humanize.Ordinal(attempts))
    	}
    	return madmin.TraceInfo{
    		TraceType: traceType,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  funcName,
    		Duration:  duration,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  8. src/runtime/mgcmark.go

    		print("scanframe ", funcname(frame.fn), "\n")
    	}
    
    	isAsyncPreempt := frame.fn.valid() && frame.fn.funcID == abi.FuncID_asyncPreempt
    	isDebugCall := frame.fn.valid() && frame.fn.funcID == abi.FuncID_debugCallV2
    	if state.conservative || isAsyncPreempt || isDebugCall {
    		if debugScanConservative {
    			println("conservatively scanning function", funcname(frame.fn), "at PC", hex(frame.continpc))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			if fields := strings.Fields(l); len(fields) == 3 {
    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					fatalf("#cgo nocallback disabled until Go 1.23")
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					fatalf("#cgo noescape disabled until Go 1.23")
    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    		logopt.LogOpt(v.Pos, "copy", "lower", v.Block.Func.Name, fmt.Sprintf("%d bytes", s))
    	}
    	return true
    }
    func LogLargeCopy(funcName string, pos src.XPos, s int64) {
    	if s < 128 {
    		return
    	}
    	if logopt.Enabled() {
    		logopt.LogOpt(pos, "copy", "lower", funcName, fmt.Sprintf("%d bytes", s))
    	}
    }
    
    // hasSmallRotate reports whether the architecture has rotate instructions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top