Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 400 for marshaling (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    	if st.Kind() == reflect.String && dt.Elem().Kind() == reflect.Uint8 {
    		// We store original []byte representation as string.
    		// This conversion is allowed, but we need to be careful about
    		// marshaling data appropriately.
    		if len(sv.Interface().(string)) > 0 {
    			marshalled, err := json.Marshal(sv.Interface())
    			if err != nil {
    				return fmt.Errorf("error encoding %s to json: %v", st, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    // used.
    type Value struct {
    	value interface{}
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    // MarshalJSON provides json marshaling of values.
    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    		return b, nil
    	}
    	return json.Marshal(v.value)
    }
    
    // GetTypeString returns a string representation for vType
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier.go

    		mem := stores[0].MemoryArg()
    		pos := stores[0].Pos
    
    		// If the source of a MoveWB is volatile (will be clobbered by a
    		// function call), we need to copy it to a temporary location, as
    		// marshaling the args of wbMove might clobber the value we're
    		// trying to move.
    		// Look for volatile source, copy it to temporary before we check
    		// the write barrier flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

            "type": "object",
            "x-kubernetes-map-type": "atomic"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.Time": {
            "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
            "format": "date-time",
            "type": "string"
          }
        },
        "securitySchemes": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_builder.go

    		if cachedCluster == nil {
    			allFound = false
    		}
    		res = append(res, cachedCluster)
    	}
    	return res, allFound
    }
    
    // build does any final build operations needed, like marshaling etc.
    func (mc *clusterWrapper) build() *cluster.Cluster {
    	if mc == nil {
    		return nil
    	}
    	// Marshall Http Protocol options if they exist.
    	if mc.httpProtocolOptions != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. src/encoding/xml/marshal_test.go

    	empty        = ""
    )
    
    // Unless explicitly stated as such (or *Plain), all of the
    // tests below are two-way tests. When introducing new tests,
    // please try to make them two-way as well to ensure that
    // marshaling and unmarshaling are as symmetrical as feasible.
    var marshalTests = []struct {
    	Value          any
    	ExpectXML      string
    	MarshalOnly    bool
    	MarshalError   string
    	UnmarshalOnly  bool
    	UnmarshalError string
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__authentication.k8s.io__v1beta1_openapi.json

            "type": "object",
            "x-kubernetes-map-type": "atomic"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.Time": {
            "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.",
            "format": "date-time",
            "type": "string"
          }
        },
        "securitySchemes": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. cluster/gce/windows/common.psm1

    # We make syscalls directly, because whatever the powershell cmdlets do under the hood,
    # they can't seem to open the log files concurrently with writers.
    # See https://docs.microsoft.com/en-us/dotnet/framework/interop/marshaling-data-with-platform-invoke
    # for details on which unmanaged types map to managed types.
    $SyscallDefinitions = @'
    [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // request. Valid values are:
      // - All: all dry run stages will be processed
      // +optional
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // - All: all dry run stages will be processed
      // +optional
      // +listType=atomic
      repeated string dryRun = 5;
    }
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    message Duration {
      optional int64 duration = 1;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
Back to top