Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 725 for typed (0.04 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-lazy/kotlin/build.gradle.kts

    // tag::container-api[]
    tasks.register("greeting") {
        doLast { println("Hello, World!") }
    }
    
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.register<Zip>("docZip") {
        archiveFileName = "doc.zip"
        from("doc")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 263 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-lazy/groovy/build.gradle

    // tag::container-api[]
    tasks.register('greeting') {
        doLast { println('Hello, World!') }
    }
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.register('docZip', Zip) {
        archiveFileName = 'doc.zip'
        from 'doc'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 261 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-eager/groovy/build.gradle

    // tag::container-api[]
    tasks.create('greeting') {
        doLast { println('Hello, World!') }
    }
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.create(name: 'docZip', type: Zip) {
        archiveFileName = 'doc.zip'
        from 'doc'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 269 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    		t.Fatalf("Failed to parse yaml object: %v", err)
    	}
    	typed, err := tc.ObjectToTyped(obj)
    	if err != nil {
    		t.Fatalf("Failed to convert object to typed: %v", err)
    	}
    	newObj, err := tc.TypedToObject(typed)
    	if err != nil {
    		t.Fatalf("Failed to convert typed to object: %v", err)
    	}
    	if !reflect.DeepEqual(obj, newObj) {
    		t.Errorf(`Round-trip failed:
    Original object:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt

    
    @LeaksFileHandles("Kotlin Compiler Daemon working directory")
    class ProjectSchemaLambdaAccessorsIntegrationTest : AbstractKotlinIntegrationTest() {
        @Test
        fun `accessors to __untyped__ groovy closures extensions are typed Any`() {
    
            withDefaultSettings()
            PluginBuilder(file("buildSrc")).apply {
                addPlugin(
                    """
                    project.extensions.add("closureExtension", { String name ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. pkg/wasm/convert_test.go

    	"google.golang.org/protobuf/proto"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/emptypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config/xds"
    )
    
    type mockCache struct {
    	wantSecret []byte
    	wantPolicy PullPolicy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. internal/grid/README.md

    the operation would become deadlocked if the channels are full.
    
    ### Typed handlers
    
    Typed handlers are handlers that have a specific type for the request and response payloads.
    
    ```go
        // Create a typed handler.
        handler := func(ctx context.Context, p *Payload, in <-chan *Req, out chan<- *Resp) *RemoteErr {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to convert new object (%v) to smd typed: %v", objectGVKNN(newObjVersioned), err)
    	}
    	liveObjTyped, err := f.typeConverter.ObjectToTyped(liveObjVersioned, typed.AllowDuplicates)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to convert live object (%v) to smd typed: %v", objectGVKNN(liveObjVersioned), err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract.go

    // fields are in different locations, and are a different type.
    func ExtractInto(object runtime.Object, objectType typed.ParseableType, fieldManager string, applyConfiguration interface{}, subresource string) error {
    	typedObj, err := toTyped(object, objectType)
    	if err != nil {
    		return fmt.Errorf("error converting obj to typed: %w", err)
    	}
    
    	accessor, err := meta.Accessor(object)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 03:17:15 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/versionconverter.go

    			return h
    		},
    	}
    }
    
    // Convert implements sigs.k8s.io/structured-merge-diff/merge.Converter
    func (v *versionConverter) Convert(object *typed.TypedValue, version fieldpath.APIVersion) (*typed.TypedValue, error) {
    	// Convert the smd typed value to a kubernetes object.
    	objectToConvert, err := v.typeConverter.TypedToObject(object)
    	if err != nil {
    		return object, err
    	}
    
    	// Parse the target groupVersion.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top