Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 496 for Inline1 (0.28 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

                .assertContainsCompileAvoidanceWarning("buildSrc.jar: class com/example/Foo: inline fun foo(): compile avoidance is not supported with public inline functions")
        }
    
        @Test
        fun `recompiles buildscript on inline lambda function change in buildSrc class`() {
            val className = givenKotlinClassInBuildSrcContains(
                """
                inline fun foo() {
                    val sum: (Int, Int) -> Int = { x, y -> x + y }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		name, flat, cum := n.Info.PrintableName(), n.FlatValue(), n.CumValue()
    
    		var inline, noinline bool
    		for _, e := range n.In {
    			if e.Inline {
    				inline = true
    			} else {
    				noinline = true
    			}
    		}
    
    		var inl string
    		if inline {
    			if noinline {
    				inl = "(partial-inline)"
    			} else {
    				inl = "(inline)"
    			}
    		}
    
    		flatSum += flat
    		items = append(items, TextItem{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticinit/sched.go

    	}
    	r, ok := subst(as2body.Rhs[0], args)
    	if !ok {
    		return false
    	}
    	ok = s.StaticAssign(l, loff, r, typ)
    
    	if ok && base.Flag.Percent != 0 {
    		ir.Dump("static inlined-LEFT", l)
    		ir.Dump("static inlined-ORIG", call)
    		ir.Dump("static inlined-RIGHT", r)
    	}
    	return ok
    }
    
    // from here down is the walk analysis
    // of composite literals.
    // most of the work is to generate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go

    type ObjectTestExternal struct {
    	runtime.TypeMeta `yaml:",inline" json:",inline"`
    
    	ID    string                 `json:"id,omitempty"`
    	Items []runtime.RawExtension `json:"items,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    type InternalSimple struct {
    	runtime.TypeMeta `json:",inline"`
    	TestString       string `json:"testString"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

            ).assertSameApi()
        }
    
        // test throws until we can detect lambdas in inline functions and treat them as ABI
        @Test(expected = CompileAvoidanceException::class)
        fun `changes to inline method bodies change generated API class`() {
            givenChangingClass(
                "Foo",
                """
                    inline fun foo(): String {
                        return "foo"
                    }
                """,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

                assertGeneratedExtensions(
                    """
                    inline fun org.gradle.kotlin.dsl.fixtures.codegen.ClassToKClass.`rawClass`(`type`: kotlin.reflect.KClass<*>): Unit =
                        `rawClass`(`type`.java)
                    """,
                    """
                    inline fun org.gradle.kotlin.dsl.fixtures.codegen.ClassToKClass.`unknownClass`(`type`: kotlin.reflect.KClass<*>): Unit =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/utils.h

    inline bool IsAllOnesConstant(Attribute value) {
      auto values = value.cast<DenseElementsAttr>().getValues<int32_t>();
      return !std::any_of(values.begin(), values.end(),
                          [](int32_t element_value) { return element_value != 1; });
    }
    
    // Checks if all elements in the constant attribute value are non-negative.
    inline bool HasNonNegativeValues(Attribute value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Benefits
    
    When using the automatically generated clients you would get **autocompletion** for:
    
    * Methods.
    * Request payloads in the body, query parameters, etc.
    * Response payloads.
    
    You would also have **inline errors** for everything.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    template <typename T>
    inline std::vector<T> GetVector(DenseElementsAttr elements);
    
    // TODO(zichuanwei@): for each type, we need to make sure the element type
    // matches the expected type otherwise an error should be thrown, but for now
    // we're just returning empty vector
    template <>
    inline std::vector<bool> GetVector(DenseElementsAttr elements) {
      auto type = elements.getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

                                                key="labels.web_api_json_enabled"/></span>
                                        <div class="form-inline col-sm-9">
                                            <la:errors property="webApiJson"/>
                                            <div class="form-check">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 16 12:54:35 UTC 2023
    - 39.4K bytes
    - Viewed (0)
Back to top