Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for _noinline (0.25 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

         * Processes the descendants of the element using the preorder implementation of tree traversal.
         */
        private inline fun <reified T : PsiElement> PsiElement.forEachDescendantOfType(
            noinline predicate: (T) -> Boolean = { true },
            noinline action: (T) -> Unit,
        ) = this.accept(object : PsiRecursiveElementVisitor() {
            override fun visitElement(element: PsiElement) {
                if (element is T && predicate(element)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/testdata/ranges.c

    // gcc -g -O2 -freorder-blocks-and-partition
    
    const char *arr[10000];
    const char *hot = "hot";
    const char *cold = "cold";
    
    __attribute__((noinline))
    void fn(int path) {
    	int i;
    
    	if (path) {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = hot;
    		}
    	} else {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = cold;
    		}
    	}
    }
    
    int main(int argc, char *argv[]) {
    	fn(argc);
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 14:06:09 UTC 2016
    - 415 bytes
    - Viewed (0)
  3. src/debug/dwarf/testdata/rnglistx.c

    // clang -gdwarf-5 -O2 -nostdlib
    
    __attribute__((noinline, cold))
    static int sum(int i) {
      int j, s;
    
      s = 0;
      for (j = 0; j < i; j++) {
        s += j * i;
      }
      return s;
    }
    
    int main(int argc, char** argv) {
      if (argc == 0) {
        return 0;
      }
      return sum(argc);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 17 00:54:09 UTC 2021
    - 268 bytes
    - Viewed (0)
  4. test/typeparam/valimp.dir/a.go

    // Copyright 2021 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 a
    
    type Value[T any] struct {
    	val T
    }
    
    // The noinline directive should survive across import, and prevent instantiations
    // of these functions from being inlined.
    
    //go:noinline
    func Get[T any](v *Value[T]) T {
    	return v.val
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 587 bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SourceControlExtensions.kt

    import org.gradle.vcs.VersionControlSpec
    
    
    /**
     * Specifies the VCS location for the requested component.
     *
     * @see VcsMapping.from
     */
    inline fun <reified T : VersionControlSpec> VcsMapping.from(noinline configureAction: T.() -> Unit) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 961 bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PolymorphicDomainObjectContainerExtensions.kt

     *
     * @see [PolymorphicDomainObjectContainer.register]
     */
    inline fun <reified T : Any> PolymorphicDomainObjectContainer<in T>.register(name: String, noinline configuration: T.() -> Unit): NamedDomainObjectProvider<T> =
        register(name, T::class.java, configuration)
    
    
    /**
     * Creates a domain object with the specified name and type, adds it to the container,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		cfg.Granularity = "addresses"
    		cfg.NoInlines = false // Need inline info to support call expansion
    	case "peek":
    		trim = false
    	case "list":
    		trim = false
    		cfg.Granularity = "lines"
    		// Do not force 'noinlines' to be false so that specifying
    		// "-list foo -noinlines" is supported and works as expected.
    	case "text", "top", "topproto":
    		if cfg.NodeCount == -1 {
    			cfg.NodeCount = 0
    		}
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Unsupported.kt

    ) = unsupported<T>(documentationSection) {
        text(description)
    }
    
    
    inline fun <reified T : Any> unsupported(
        documentationSection: DocumentationSection = DocumentationSection.RequirementsDisallowedTypes,
        noinline unsupportedMessage: StructuredMessageBuilder
    ): Codec<T> = codec(
        encode = {
            logUnsupported("serialize", documentationSection, unsupportedThings = unsupportedMessage)
        },
        decode = {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/testdata/xl-meta-inline-notinline.zip

    Anis Elleuch <******@****.***> 1653398798 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 24 13:26:38 UTC 2022
    - 131.6K bytes
    - Viewed (0)
Back to top