Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Interpret (0.75 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	"github.com/fxamacker/cbor/v2"
    )
    
    type metaFactory interface {
    	// Interpret should return the version and kind of the wire-format of the object.
    	Interpret(data []byte) (*schema.GroupVersionKind, error)
    }
    
    type defaultMetaFactory struct{}
    
    func (mf *defaultMetaFactory) Interpret(data []byte) (*schema.GroupVersionKind, error) {
    	var tm metav1.TypeMeta
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/internal/trace/raw/doc.go

    // Copyright 2023 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 raw provides an interface to interpret and emit Go execution traces.
    It can interpret and emit execution traces in its wire format as well as a
    bespoke but simple text format.
    
    The readers and writers in this package perform no validation on or ordering of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/InputPropertyAnnotationHandler.java

                        .severity(Severity.ERROR)
                        .details("A property of type '" + ModelType.of(valueType).getDisplayName() + "' annotated with @Input cannot determine how to interpret the file")
                        .solution("Annotate with @InputFile for regular files")
                        .solution("Annotate with @InputFiles for collections of files")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    				t.Error(diff)
    			}
    		})
    	}
    }
    
    func TestMetaFactoryInterpret(t *testing.T) {
    	mf := &defaultMetaFactory{}
    	_, err := mf.Interpret(nil)
    	if err == nil {
    		t.Error("expected non-nil error")
    	}
    	gvk, err := mf.Interpret([]byte("\xa2\x6aapiVersion\x63a/b\x64kind\x61c"))
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/gover/version.go

    	// Since we can't tell which, we have to assume it's very old.
    	// The semantics of the go.mod changed at Go 1.17 to support
    	// graph pruning. If see a go.mod without a go line, we have to
    	// assume Go 1.16 so that we interpret the requirements correctly.
    	// Note that this default must stay at Go 1.16; it cannot be moved forward.
    	DefaultGoModVersion = "1.16"
    
    	// DefaultGoWorkVersion is the Go version to assume for go.work files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/EvaluationFailureMessageGenerator.kt

    object EvaluationFailureMessageGenerator {
        fun generateFailureMessage(
            scriptSourceIdentifier: String,
            stageFailures: List<StageFailure>
        ): String = buildString {
            appendLine("Failed to interpret the declarative DSL file '$scriptSourceIdentifier':")
            stageFailures.forEach { stageFailure ->
                when (stageFailure) {
                    is StageFailure.FailuresInLanguageTree -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1/types.go

    	// ready indicates that this endpoint is prepared to receive traffic,
    	// according to whatever system is managing the endpoint. A nil value
    	// indicates an unknown state. In most cases consumers should interpret this
    	// unknown state as ready. For compatibility reasons, ready should never be
    	// "true" for terminating endpoints, except when the normal readiness
    	// behavior is being explicitly overridden, for example when the associated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                contextualLabel == 'Type \'MyTask\' property \'file\' has @Input annotation used on property of type \'File\''
                details == 'A property of type \'File\' annotated with @Input cannot determine how to interpret the file'
                solutions == [
                    'Annotate with @InputFile for regular files',
                    'Annotate with @InputFiles for collections of files',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  9. src/internal/goexperiment/flags.go

    // was compiled (as boolean and integer constants).
    //
    // Note especially that this package does not itself change behavior
    // at run time based on the GOEXPERIMENT variable.
    // The code used in builds to interpret the GOEXPERIMENT variable
    // is in the separate package internal/buildcfg.
    package goexperiment
    
    //go:generate go run mkconsts.go
    
    // Flags is the set of experiments that can be enabled or disabled in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/DeclarativeDslProjectSettingsIntegrationSpec.groovy

    package org.gradle.internal.declarativedsl.settings
    
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    class DeclarativeDslProjectSettingsIntegrationSpec extends AbstractIntegrationSpec {
    
        def "can interpret the settings file with the declarative DSL"() {
            given:
            file("settings.gradle.dcl") << """
                pluginManagement {
                    includeBuild("pluginIncluded")
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:21:50 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top