Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 510 for tcCall (0.11 sec)

  1. 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)
  2. 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)
  3. src/main/assemblies/files/fess

        # As those strings are created by the OS, they are dependent on the configured locale
        LANG=en_US.UTF-8
        LC_ALL=en_US.UTF-8
    
        export HOSTNAME=`hostname -s`
    
        cd "$FESS_HOME"
    
        if [ "x$daemonized" = "x" ]; then
            fess_parms="$fess_parms -Dfess.foreground=yes"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/shell_test.go

    		// both -n (as the first argument) and escape sequences are omitted.”
    		cmd := testenv.Command(t, "/bin/sh", "-c", "printf '%s\n' "+string(b))
    		cmd.Env = append(cmd.Environ(), "LC_ALL=POSIX", "POSIXLY_CORRECT=1")
    		cmd.Stderr = new(strings.Builder)
    		out, err := cmd.Output()
    		if err != nil {
    			t.Fatalf("%#q: %v\n%s", cmd.Args, err, cmd.Stderr)
    		}
    
    		if string(out) != wantOut {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 15:30:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    # license that can be found in the LICENSE file.
    
    # Generate Go code listing errors and other #defined constant
    # values (ENAMETOOLONG etc.), by asking the preprocessor
    # about the definitions.
    
    unset LANG
    export LC_ALL=C
    export LC_CTYPE=C
    
    CC=${CC:-gcc}
    
    uname=$(uname)
    
    includes='
    #include <sys/types.h>
    #include <sys/file.h>
    #include <fcntl.h>
    #include <dirent.h>
    #include <sys/socket.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (2)
  9. hack/verify-prometheus-imports.sh

      fi
      all_failing_files+=("$filepath")
    done < <(cd "${KUBE_ROOT}" && grep \
      --exclude-dir={_output,vendor} \
      --include='*.go' \
      -R . \
      -l \
      -Ee '"github.com/prometheus/.*"' \
    | LC_ALL=C sort -u)
    
    # check for any files we're allowing to fail that are no longer failing, so we
    # can enforce that the list shrinks
    allowed_but_not_failing=()
    for allowed_file in "${allowed_prometheus_importers[@]}"; do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 04:03:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. 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)
Back to top