- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 523 for tcCall (0.1 sec)
-
src/runtime/testdata/testprogcgo/coro.go
println("expect: OK") CoroCgo(callerStopCallback, iterSimple) }) register("CoroCgoStopCallbackIterNested", func() { println("expect: OK") CoroCgo(callerStopCallback, iterNested) }) } var toCall func() //export go_callback_coro func go_callback_coro(handle C.uintptr_t) { h := cgo.Handle(handle) h.Value().(func())() h.Delete() } func callFromC(f func()) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0) -
hack/make-rules/test.sh
-o -path './staging/*' \ -o -path './vendor/*' \ \) -prune \ \) -name '*_test.go' -print0 | xargs -0n1 dirname | LC_ALL=C sort -u find ./staging -name '*_test.go' -not -path '*/test/integration/*' -prune -print0 | xargs -0n1 dirname | LC_ALL=C sort -u ) } # TODO: This timeout should really be lower, this is a *long* time to test one
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 10.8K bytes - Viewed (0) -
src/runtime/stubs.go
func getg() *g // mcall switches from the g to the g0 stack and invokes fn(g), // where g is the goroutine that made the call. // mcall saves g's current PC/SP in g->sched so that it can be restored later. // It is up to fn to arrange for that later execution, typically by recording // g in a data structure, causing something to call ready(g) later.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/runtime/coro.go
func coroexit(c *coro) { gp := getg() gp.coroarg = c gp.coroexit = true mcall(coroswitch_m) } //go:linkname coroswitch // coroswitch switches to the goroutine blocked on c // and then blocks the current goroutine on c. func coroswitch(c *coro) { gp := getg() gp.coroarg = c mcall(coroswitch_m) } // coroswitch_m is the implementation of coroswitch // that runs on the m stack. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir
// RUN: odml-to-stablehlo-opt %s -stablehlo-custom-call-legalize-composite | FileCheck %s // CHECK-LABEL: module module { // CHECK-LABEL: @main func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<2xf32>) { // CHECK: stablehlo.custom_call @foo stablehlo.custom_call @foo() : () -> () // CHECK-NOT: stablehlo.custom_call
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 19:49:44 UTC 2024 - 1009 bytes - Viewed (0) -
src/internal/trace/testdata/testprog/cpu-profile.go
) // The actual CPU hogging function. // Must not call other functions nor access heap/globals in the loop, // otherwise under race detector the samples will be in the race runtime. func cpuHog1(x int) int { return cpuHog0(x, 1e5) } func cpuHog0(x, n int) int { foo := x for i := 0; i < n; i++ { if i%1000 == 0 { // Spend time in mcall, stored as gp.m.curg, with g0 running runtime.Gosched() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.8K bytes - Viewed (0) -
hack/update-vendor-licenses.sh
# update /LICENSES set -o errexit set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/init.sh" export LANG=C export LC_ALL=C ############################################################################### # Process package content # # @param package The incoming package name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:53 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/internal/obj/loong64/a.out.go
AAMMAXDBWU AAMMAXDBVU AAMMINDBWU AAMMINDBVU // 2.2.10. Other Miscellaneous Instructions ARDTIMELW ARDTIMEHW ARDTIMED ALAST // aliases AJMP = obj.AJMP AJAL = obj.ACALL ARET = obj.ARET ) func init() { // The asm encoder generally assumes that the lowest 5 bits of the // REG_XX constants match the machine instruction encoding, i.e.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
} case obj.ACALL: switch p.To.Type { case obj.TYPE_MEM: // Handled in preprocess. case obj.TYPE_REG: p.As = AJALR p.From.Type = obj.TYPE_REG p.From.Reg = REG_LR default: ctxt.Diag("unknown destination type %+v in CALL: %v", p.To.Type, p) } case obj.AUNDEF: p.As = AEBREAK case ASCALL: // SCALL is the old name for ECALL. p.As = AECALL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
hack/lib/util.sh
# function kube::util::check-file-in-alphabetical-order { local failure_file="$1" if ! diff -u "${failure_file}" <(LC_ALL=C sort "${failure_file}"); then { echo echo "${failure_file} is not in alphabetical order. Please sort it:" echo echo " LC_ALL=C sort -o ${failure_file} ${failure_file}" echo } >&2 false fi } # kube::util::require-jq
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:33 UTC 2024 - 25.9K bytes - Viewed (0)