Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 539 for libname (0.2 sec)

  1. src/runtime/stubs.go

    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // Should be a built-in for unsafe.Pointer?
    //
    // add should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - fortio.org/log
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname add
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. src/cmd/link/testdata/linkname/coro.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Linkname coroswitch is not allowed, even if iter.Pull
    // is instantiated in the same package.
    
    package main
    
    import (
    	"iter"
    	"unsafe"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    func main() {
    	next, stop := iter.Pull(seq)
    	next()
    	stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 506 bytes
    - Viewed (0)
  3. test/linknameasm.dir/x.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that a linkname applied on an assembly declaration
    // does not affect stack map generation.
    
    package main
    
    import (
    	"runtime"
    	_ "unsafe"
    )
    
    //go:linkname asm
    func asm(*int)
    
    func main() {
    	x := new(int)
    	asm(x)
    }
    
    // called from asm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 451 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        # .so file in the directory
        lib_dir = os.path.dirname(source.__file__)
        for lib_name in os.listdir(lib_dir):
          if lib_name.endswith('.so'):
            lib_path = os.path.join(lib_dir, lib_name)
            logging.info('load file: ' + lib_path)
            load_library.load_op_library(lib_path)
    
      py_funcs = [
          func
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  5. fuzzing/fuzzingserver-update-expected.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    if [ ! -f target/fuzzingserver-actual.txt ]; then
      echo "File not found. Did you run the Autobahn test script?"
      exit 1
    fi
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 275 bytes
    - Viewed (0)
  6. src/runtime/cgo.go

    	_cgo_getstackbound            unsafe.Pointer
    )
    
    // iscgo is set to true by the runtime/cgo package
    //
    // iscgo should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/ebitengine/purego
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname iscgo
    var iscgo bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/empty.s

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin && go1.12
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 255 bytes
    - Viewed (0)
  8. src/runtime/alg.go

    // actually supports the instructions used by the AES-based
    // hash implementation.
    var useAeshash bool
    
    // in asm_*.s
    
    // memhash should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/aacfactory/fns
    //   - github.com/dgraph-io/ristretto
    //   - github.com/minio/simdjson-go
    //   - github.com/nbd-wtf/go-nostr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/runtime/symtabinl.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/abi"
    	_ "unsafe" // for linkname
    )
    
    // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [3]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. fuzzing/fuzzingserver-test.sh

    #!/usr/bin/env bash
    
    SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
    cd "$SCRIPT_DIR"
    
    which wstest
    if [ $? != 0 ]; then
      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
Back to top