Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 662 for tcCall (0.11 sec)

  1. src/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162816-fe488b867524.txt

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package quote
    
    import (
    	"os"
    	"testing"
    )
    
    func init() {
    	os.Setenv("LC_ALL", "en")
    }
    
    func TestHello(t *testing.T) {
    	hello := "Hello, world."
    	if out := Hello(); out != hello {
    		t.Errorf("Hello() = %q, want %q", out, hello)
    	}
    }
    
    func TestGlass(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  2. hack/update-generated-docs.sh

      genyaml "${dest}/docs/yaml/kubectl/"
    
      # create the list of generated files
      pushd "${dest}" > /dev/null || return 1
      touch docs/.generated_docs
      find . -type f | cut -sd / -f 2- | LC_ALL=C sort > docs/.generated_docs
      popd > /dev/null || return 1
    }
    
    # Removes previously generated docs-- we don't want to check them in. $KUBE_ROOT
    # must be set.
    remove_generated_docs() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top