Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,264 for minline (0.15 sec)

  1. test/newinline.go

    	return func() int { return 42 }() // ERROR "can inline p.func1" "inlining call to p.func1"
    }
    
    func q(x int) int { // ERROR "can inline q"
    	foo := func() int { return x * 2 } // ERROR "can inline q.func1" "func literal does not escape"
    	return foo()                       // ERROR "inlining call to q.func1"
    }
    
    func r(z int) int { // ERROR "can inline r"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_shorten_pkg.txt

    # can be trimmed like subdirectory paths are.
    
    env GOEXPERIMENT=loopvar
    go build -gcflags=inlines/a=-d=loopvar=2 .
    stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go
    stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go
    
    -- go.mod --
    module inlines
    
    go 1.21
    -- a/a.go --
    // Copyright 2023 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 09:07:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/session/KtAnalysisSessionProvider.kt

        // The `analyse` functions affect binary compatibility as they are inlined with every `analyze` call. To avoid breaking binary
        // compatibility, their implementations should not be changed unless absolutely necessary. It should be possible to put most
        // functionality into `beforeEnteringAnalysis` and/or `afterLeavingAnalysis`.
    
        public inline fun <R> analyze(
            useSiteKtElement: KtElement,
            action: KaSession.() -> R,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. test/inline_endian.go

    // license that can be found in the LICENSE file.
    
    // Similar to inline.go, but only for architectures that can merge loads.
    
    package foo
    
    import (
    	"encoding/binary"
    )
    
    // Ensure that simple encoding/binary functions are cheap enough
    // that functions using them can also be inlined (issue 42958).
    func endian(b []byte) uint64 { // ERROR "can inline endian" "b does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:05:02 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/testdata/inject-config-inline.yaml

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 202 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

      if (!nested_module) return;
    
      InlinerInterface inliner(&getContext());
      auto walk_result = getOperation().walk([&](TF::PartitionedCallOp call_op) {
        if (!call_op.getF().getRootReference().getValue().starts_with(
                kNestedModule))
          return WalkResult::advance();
        // This is a call we need to inline!
        LLVM_DEBUG(llvm::dbgs()
                   << "Found call to inline: " << *call_op.getOperation() << "\n");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. test/typeparam/dictionaryCapture-noinline.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. test/runtime/inlinegcpc.go

    // cannot be inlined, no matter how small it is.
    
    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    func pc() uintptr {
    	return getcallerpc() + 1
    }
    
    func cpc() uintptr { // ERROR "can inline cpc"
    	return pc() + 2
    }
    
    func sp() uintptr {
    	return getcallersp() + 3
    }
    
    func csp() uintptr { // ERROR "can inline csp"
    	return sp() + 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 28 19:27:20 UTC 2019
    - 618 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

               llvm::hasSingleElement(*src);
      }
    
      // Returns true if its legal to inline a TF operation `op` into the `dest`
      // region.
      bool isLegalToInline(Operation *op, Region *dest, bool wouldBeCloned,
                           IRMapping &) const final {
        // An op is legal to inline if either of the following conditions is true:
        // (a) Its legal to duplicate the Op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/inl_test.go

    	go func() {
    		cmdErr <- cmd.Run()
    		pw.Close()
    	}()
    	scanner := bufio.NewScanner(pr)
    	curPkg := ""
    	canInline := regexp.MustCompile(`: can inline ([^ ]*)`)
    	haveInlined := regexp.MustCompile(`: inlining call to ([^ ]*)`)
    	cannotInline := regexp.MustCompile(`: cannot inline ([^ ]*): (.*)`)
    	for scanner.Scan() {
    		line := scanner.Text()
    		if strings.HasPrefix(line, "# ") {
    			curPkg = line[2:]
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top