Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for noinlines (0.26 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ExtensionContainerExtensions.kt

     *
     * @param T the extension type
     * @param action the configuration action
     *
     * @see [ExtensionContainer.configure]
     * @since 5.0
     */
    inline fun <reified T : Any> ExtensionContainer.configure(noinline action: T.() -> Unit) {
        configure(typeOf<T>(), action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

        }
    }
    
    
    private
    inline fun <T> loggingOutputTo(noinline log: (String) -> Unit, action: () -> T): T =
        redirectingOutputTo({ LoggingOutputStream(log) }, action)
    
    
    private
    inline fun <T> ignoringOutputOf(action: () -> T): T =
        redirectingOutputTo({ NullOutputStream.INSTANCE }, action)
    
    
    private
    inline fun <T> redirectingOutputTo(noinline outputStream: () -> OutputStream, action: () -> T): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. src/syscall/tables_wasip1.go

    var (
    	errEAGAIN error = EAGAIN
    	errEINVAL error = EINVAL
    	errENOENT error = ENOENT
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    //
    // We set both noinline and nosplit to reduce code size, this function has many
    // call sites in the syscall package, inlining it causes a significant increase
    // of the compiled code; the function call ultimately does not make a difference
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/interleaved/interleaved.go

    		}
    
    		match := func(n ir.Node) bool {
    			switch n := n.(type) {
    			case *ir.CallExpr:
    				return true
    			case *ir.TailCallStmt:
    				n.Call.NoInline = true // can't inline yet
    			}
    			return false
    		}
    
    		edit := func(n ir.Node) ir.Node {
    			call, ok := n.(*ir.CallExpr)
    			if !ok { // previously inlined
    				return nil
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/inl.go

    		ix = call.Parent
    		outerxpos = call.Pos
    	}
    	return ctxt.PosTable.Pos(outerxpos)
    }
    
    // InnermostPos returns the innermost position corresponding to xpos,
    // that is, the code that is inlined and that inlines nothing else.
    // In the example for InlTree above, the code for println within h
    // would have an innermost position with line number 12, whether
    // h was not inlined, inlined into g, g-then-f, or g-then-f-then-main.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 22:47:15 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/runtime/symtab_test.go

    	for p := 0; p < procs; p++ {
    		go func() {
    			for i := 0; i < 1000; i++ {
    				testCallerFoo(t)
    			}
    			c <- true
    		}()
    		defer func() {
    			<-c
    		}()
    	}
    }
    
    // These are marked noinline so that we can use FuncForPC
    // in testCallerBar.
    //
    //go:noinline
    func testCallerFoo(t *testing.T) {
    	testCallerBar(t)
    }
    
    //go:noinline
    func testCallerBar(t *testing.T) {
    	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. src/unicode/utf16/utf16.go

    }
    
    // Decode returns the Unicode code point sequence represented
    // by the UTF-16 encoding s.
    func Decode(s []uint16) []rune {
    	// Preallocate capacity to hold up to 64 runes.
    	// Decode inlines, so the allocation can live on the stack.
    	buf := make([]rune, 0, 64)
    	return decode(s, buf)
    }
    
    // decode appends to buf the Unicode code point sequence represented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf_test.go

    	testenv.MustHaveGoBuild(t)
    
    	mustHaveDWARF(t)
    
    	t.Parallel()
    
    	const prog = `
    package main
    
    var G int
    
    func noinline(x int) int {
    	defer func() { G += x }()
    	return x
    }
    
    func cand(x, y int) int {
    	return noinline(x+y) ^ (y - x)
    }
    
    func main() {
    	x := cand(G*G,G|7%G)
    	G = x
    }
    `
    	// Note: this is a build with "-l=4", as opposed to "-l -N". The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/inline.go

    	}
    }
    
    func (p *parseState) skip(i int) {
    	p.emitted = i
    }
    
    func (p *parseState) inline(s string) []Inline {
    	s = trimSpaceTab(s)
    	// Scan text looking for inlines.
    	// Leaf inlines are converted immediately.
    	// Non-leaf inlines have potential starts pushed on a stack while we await completion.
    	// Links take priority over other emphasis, so the emphasis must be delayed.
    	p.s = s
    	p.list = nil
    	p.emitted = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

        final override val contextReceivers: List<KaContextReceiver> get() = withValidityAssertion { emptyList() }
    
        /**
         * Returns true if the function parameter is marked with `noinline` modifier
         */
        public abstract val isNoinline: Boolean
    
        /**
         * Returns true if the function parameter is marked with `crossinline` modifier
         */
        public abstract val isCrossinline: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top