- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for ptrs (0.03 sec)
-
src/cmd/cgo/gcc.go
dtype := c.ptrKeys[0] dtypeKey := dtype.String() c.ptrKeys = c.ptrKeys[1:] ptrs := c.ptrs[dtypeKey] delete(c.ptrs, dtypeKey) // Note Type might invalidate c.ptrs[dtypeKey]. t := c.Type(dtype, pos) for _, ptr := range ptrs { ptr.Go.(*ast.StarExpr).X = t.Go ptr.C.Set("%s*", t.C) } } } // Type returns a *Type with the same memory layout as
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
} void StringVectorToArrays(const std::vector<string>& v, std::unique_ptr<const void*[]>* ptrs, std::unique_ptr<size_t[]>* lens) { ptrs->reset(new const void*[v.size()]); lens->reset(new size_t[v.size()]); for (size_t i = 0; i < v.size(); ++i) { (*ptrs)[i] = v[i].data(); (*lens)[i] = v[i].size(); } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
callbacks.go
c.replace = true c.processor.callbacks = append(c.processor.callbacks, c) return c.processor.compile() } // getRIndex get right index from string slice func getRIndex(strs []string, str string) int { for i := len(strs) - 1; i >= 0; i-- { if strs[i] == str { return i } } return -1 } func sortCallbacks(cs []*callback) (fns []func(*DB), err error) { var ( names, sorted []string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
// Caller must delete[] the returned value static const char** ToArray(const std::vector<string>& strs) { const char** ptr = nullptr; if (!strs.empty()) { ptr = new const char*[strs.size()]; for (size_t i = 0; i < strs.size(); ++i) { ptr[i] = strs[i].c_str(); } } return ptr; } // An explicit `num_opers` is needed so that we can distinguish between the
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
cmd/utils.go
func lcpSuffix(strs []string) string { return lcp(strs, false) } func lcp(strs []string, pre bool) string { // short-circuit empty list if len(strs) == 0 { return "" } xfix := strs[0] // short-circuit single-element list if len(strs) == 1 { return xfix } // compare first to rest for _, str := range strs[1:] { xfixl := len(xfix) strl := len(str)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
} func AddRootFlags(flags *pflag.FlagSet) *RootFlags { r := &RootFlags{ kubeconfig: ptr.Of[string](""), configContext: ptr.Of[string](""), impersonate: ptr.Of[string](""), impersonateUID: ptr.Of[string](""), impersonateGroup: ptr.Of[[]string]([]string{""}), namespace: ptr.Of[string](""), istioNamespace: ptr.Of[string](""), } flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 30 01:19:20 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
protected: explicit TracingTensorHandle(AbstractTensorHandleKind kind) : AbstractTensorHandle(kind) {} public: // For LLVM style RTTI. static bool classof(const AbstractTensorHandle* ptr) { return ptr->getKind() == kGraph || ptr->getKind() == kMlir; } }; // An abstract operation describes an operation by its type, name, and // attributes. It can be "executed" by the context with some input tensors.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
if rootFlags == nil { rootFlags = &RootFlags{ kubeconfig: ptr.Of[string](""), configContext: ptr.Of[string](""), impersonate: ptr.Of[string](""), impersonateUID: ptr.Of[string](""), impersonateGroup: nil, namespace: ptr.Of[string](""), istioNamespace: ptr.Of[string](""), defaultNamespace: "", } } return &instance{ RootFlags: *rootFlags, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/management.md
Some of the tasks they can perform include: * Adding labels to PRs. * Editing PR titles. * Adding commits on top of PRs to tweak them. * Mark answers in GitHub Discussions questions, etc. * Merge some specific types of PRs. You can see the current team members in [FastAPI People - Team](./fastapi-people.md#team){.internal-link target=_blank}.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
} val prs: MutableList<GitHubPullRequest> = mutableListOf() for (page in 1..10) { val prPage = getMergedContributorPullRequests(page) prs.addAll(prPage) if (prPage.size < PAGE_SIZE) { break } } return prs .filter { it.milestone?.title?.startsWith(milestone.get()) == true }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 5.6K bytes - Viewed (0)