Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 406 for marshaled (0.15 sec)

  1. cmd/bucket-listobjects-handlers.go

    		return
    	}
    
    	listObjectVersions := objectAPI.ListObjectVersions
    
    	// Initiate a list object versions operation based on the input params.
    	// On success would return back ListObjectsInfo object to be
    	// marshaled into S3 compatible XML header.
    	listObjectVersionsInfo, err := listObjectVersions(ctx, bucket, prefix, marker, versionIDMarker, delimiter, maxkeys)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/scan.go

    	}
    	s, err := json.Marshal(p)
    	if err != nil {
    		panic(err) // This should be impossible because scanner.Error contains only strings and ints.
    	}
    	return string(s)
    }
    
    // parseErrorFromString converts a string produced by parseErrorToString back
    // to an error.  An empty string is converted to a nil error, and all
    // other strings are expected to be JSON-marshaled parseError structs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    }
    
    // A MarshalingValue marshals itself into a Builder.
    type MarshalingValue interface {
    	// Marshal is called by Builder.AddValue. It receives a pointer to a builder
    	// to marshal itself into. It may return an error that occurred during
    	// marshaling, such as unset or invalid values.
    	Marshal(b *Builder) error
    }
    
    // AddValue calls Marshal on v, passing a pointer to the builder to append to.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. operator/pkg/metrics/monitoring.go

    	// OverlayError overlaying YAMLs to combine profile, user
    	// defined settings in CR, Hub-tag etc. fails.
    	OverlayError MergeErrorType = "overlay"
    
    	// IOPFormatError occurs when supplied CR cannot be marshaled
    	// or unmarshaled to/from YAML.
    	IOPFormatError MergeErrorType = "iop_format"
    
    	// TranslateValuesError occurs when translating from legacy API fails.
    	TranslateValuesError MergeErrorType = "translate_values"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. src/encoding/json/encode_test.go

    	s := renamedByteSlice("abc")
    	got, err := Marshal(s)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	want := `"YWJj"`
    	if string(got) != want {
    		t.Errorf("Marshal:\n\tgot:  %s\n\twant: %s", got, want)
    	}
    	r := renamedRenamedByteSlice("abc")
    	got, err = Marshal(r)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	if string(got) != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/xdsgen.go

    			util.ByteCount(ResourceSize(res)), info, debug)
    	}
    
    	return nil
    }
    
    func ResourceSize(r model.Resources) int {
    	// Approximate size by looking at the Any marshaled size. This avoids high cost
    	// proto.Size, at the expense of slightly under counting.
    	size := 0
    	for _, r := range r {
    		size += len(r.Resource.Value)
    	}
    	return size
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/crdclient/client.go

    // Istio store interface, we need to take dynamic inputs. Using the dynamic informers results in poor
    // performance, as the cache will store unstructured objects which need to be marshaled on each Get/List call.
    // Using istio/client-go directly will cache objects marshaled, allowing us to have cheap Get/List calls,
    // at the expense of some code gen.
    package crdclient
    
    import (
    	"fmt"
    	"sync"
    	"time"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/defaults_test.go

    			} else {
    				if visit.path != "" {
    					marshaled, _ := json.Marshal(defaultedV.Interface())
    					defaults[visit.path] = string(marshaled)
    				}
    				toVisit = append(toVisit, testPath{path: visit.path, value: visit.value.Elem()})
    			}
    
    		case isPrimitive(visit.value.Kind()):
    			if !reflect.DeepEqual(defaultedV.Interface(), zeroV.Interface()) {
    				marshaled, _ := json.Marshal(defaultedV.Interface())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  9. src/encoding/xml/marshal.go

    		start.Name.Local = typ.Name()
    	} else {
    		// Must be a pointer to a named type,
    		// since it has the Marshaler methods.
    		start.Name.Local = typ.Elem().Name()
    	}
    	return start
    }
    
    // marshalInterface marshals a Marshaler interface value.
    func (p *printer) marshalInterface(val Marshaler, start StartElement) error {
    	// Push a marker onto the tag stack so that MarshalXML
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/encoding/asn1/asn1_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(NullBytes, marshaled) {
    		t.Errorf("Expected Marshal of NullRawValue to yield %x, got %x", NullBytes, marshaled)
    	}
    
    	unmarshaled := RawValue{}
    	if _, err := Unmarshal(NullBytes, &unmarshaled); err != nil {
    		t.Fatal(err)
    	}
    
    	unmarshaled.FullBytes = NullRawValue.FullBytes
    	if len(unmarshaled.Bytes) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
Back to top