Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 357 for embeddeds (0.16 sec)

  1. platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/base/KotlinDslBasePlugin.kt

    import org.gradle.kotlin.dsl.plugins.dsl.KotlinDslPluginOptions
    import org.gradle.kotlin.dsl.plugins.embedded.EmbeddedKotlinPlugin
    import org.gradle.kotlin.dsl.plugins.embedded.kotlinArtifactConfigurationNames
    
    
    /**
     * The `kotlin-dsl-base` plugin.
     *
     * - Applies the `embedded-kotlin` plugin
     * - Adds the `gradleKotlinDsl()` dependency to the `compileOnly` and `testImplementation` configurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue53137.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"unsafe"
    )
    
    type Embedded struct {
    	B int
    }
    
    type S[K any] struct {
    	A K
    	Embedded
    }
    
    func showOffsets[K any](d *S[K]) {
    	o1 := unsafe.Offsetof(d.B)
    	o2 := unsafe.Offsetof(d.Embedded)
    	if o1 != o2 {
    		panic("offset mismatch")
    	}
    }
    
    func main() {
    	showOffsets(new(S[int]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 31 14:58:09 UTC 2022
    - 466 bytes
    - Viewed (0)
  3. docs/tr/docs/newsletter.md

    # FastAPI ve Arkadaşları Bülteni
    
    <iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://xr4n4.mjt.lu/wgt/xr4n4/hj5/form?c=40a44fa4" width="100%" style="height: 0;"></iframe>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 09 15:14:23 UTC 2024
    - 325 bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/attributes/Bundling.java

         */
        String EXTERNAL = "external";
    
        /**
         * Dependencies are packaged <i>within</i> the main component artifact.
         */
        String EMBEDDED = "embedded";
    
        /**
         * Dependencies are packaged <i>within</i> the main component artifact
         * but also in a different namespace to prevent conflicts.
         */
        String SHADOWED = "shadowed";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue4909a.go

    // where x is a field of an embedded pointer field.
    
    package p
    
    import (
    	"unsafe"
    )
    
    type T struct {
    	A int
    	*B
    }
    
    func (t T) Method() {}
    
    type B struct {
    	X, Y int
    }
    
    var t T
    var p *T
    
    const N1 = unsafe.Offsetof(t.X)      // ERROR "indirection|field X is embedded via a pointer in T"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 23:59:57 UTC 2020
    - 839 bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/decls3.go

    // license that can be found in the LICENSE file.
    
    // embedded types
    
    package decls3
    
    import "unsafe"
    import "fmt"
    
    // fields with the same name at the same level cancel each other out
    
    func _() {
    	type (
    		T1 struct { X int }
    		T2 struct { X int }
    		T3 struct { T1; T2 } // X is embedded twice at the same level via T1->X, T2->X
    	)
    
    	var t T3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    		// embedded types.
    		tset.terms = allTermlist
    		for i := 0; i < u.NumEmbeddeds(); i++ {
    			embedded := u.EmbeddedType(i)
    			if _, ok := embedded.Underlying().(*types.TypeParam); ok {
    				return nil, fmt.Errorf("invalid embedded type %T", embedded)
    			}
    			tset2, err := computeTermSetInternal(embedded, seen, depth+1)
    			if err != nil {
    				return nil, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/go/doc/testdata/error1.go

    package error1
    
    type I0 interface {
    	// When embedded, the predeclared error interface
    	// must remain visible in interface types.
    	error
    }
    
    type T0 struct {
    	ExportedField interface {
    		// error should be visible
    		error
    	}
    }
    
    type S0 struct {
    	// In struct types, an embedded error must only be visible
    	// if AllDecls is set.
    	error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 498 bytes
    - Viewed (0)
  9. src/time/tzdata/tzdata.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package tzdata provides an embedded copy of the timezone database.
    // If this package is imported anywhere in the program, then if
    // the time package cannot find tzdata files on the system,
    // it will use this embedded information.
    //
    // Importing this package will increase the size of a program by about
    // 450 KB.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 22:30:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/reflect/example_test.go

    		user
    		firstName string
    		lastName  string
    	}
    
    	u := data{
    		user:      user{"Embedded John", "Embedded Doe"},
    		firstName: "John",
    		lastName:  "Doe",
    	}
    
    	s := reflect.ValueOf(u).FieldByIndex([]int{0, 1})
    	fmt.Println("embedded last name:", s)
    
    	// Output:
    	// embedded last name: Embedded Doe
    }
    
    func ExampleValue_FieldByName() {
    	type user struct {
    		firstName string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:04:36 UTC 2022
    - 4.5K bytes
    - Viewed (0)
Back to top