Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 144 for marshaled (0.41 sec)

  1. src/internal/profile/profile.go

    	}
    
    	if err := p.postDecode(); err != nil {
    		return nil, err
    	}
    
    	return p, nil
    }
    
    // Write writes the profile as a gzip-compressed marshaled protobuf.
    func (p *Profile) Write(w io.Writer) error {
    	p.preEncode()
    	b := marshal(p)
    	zw := gzip.NewWriter(w)
    	defer zw.Close()
    	_, err := zw.Write(b)
    	return err
    }
    
    // CheckValid tests whether the profile is valid. Checks include, but are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/encoding/json/encode.go

    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Marshal returns the JSON encoding of v.
    //
    // Marshal traverses the value v recursively.
    // If an encountered value implements [Marshaler]
    // and is not a nil pointer, Marshal calls [Marshaler.MarshalJSON]
    // to produce JSON. If no [Marshaler.MarshalJSON] method is present but the
    // value implements [encoding.TextMarshaler] instead, Marshal calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    		},
    	},
    })
    
    // clusterWrapper wraps Cluster object along with upstream protocol options.
    type clusterWrapper struct {
    	cluster *cluster.Cluster
    	// httpProtocolOptions stores the HttpProtocolOptions which will be marshaled when build is called.
    	httpProtocolOptions *http.HttpProtocolOptions
    }
    
    // metadataCerts hosts client certificate related metadata specified in proxy metadata.
    type metadataCerts struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/types.go

    // ClusterConfiguration is.
    type InitConfiguration struct {
    	metav1.TypeMeta
    
    	// ClusterConfiguration holds the cluster-wide information, and embeds that struct (which can be (un)marshalled separately as well)
    	// When InitConfiguration is marshalled to bytes in the external version, this information IS NOT preserved (which can be seen from
    	// the `json:"-"` tag in the external variant of these API types.
    	ClusterConfiguration `json:"-"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. pkg/adsc/adsc.go

    	Locality *core.Locality
    }
    
    type ResponseHandler interface {
    	HandleResponse(con *ADSC, response *discovery.DiscoveryResponse)
    }
    
    // jsonMarshalProtoWithName wraps a proto.Message with name so it can be marshaled with the standard encoding/json library
    type jsonMarshalProtoWithName struct {
    	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    	Message proto.Message
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. pilot/pkg/model/context.go

    				Annotations: annotations,
    			}, meshConfig); generatedProxyConfig != nil {
    			return generatedProxyConfig
    		}
    	}
    	return mesh.DefaultProxyConfig()
    }
    
    // Resources is an alias for array of marshaled resources.
    type Resources = []*discovery.Resource
    
    // DeletedResources is an alias for array of strings that represent removed resources in delta.
    type DeletedResources = []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. pilot/pkg/xds/debug.go

    		return
    	}
    }
    
    // jsonMarshalProto wraps a proto.Message so it can be marshaled with the standard encoding/json library
    type jsonMarshalProto struct {
    	proto.Message
    }
    
    func (p jsonMarshalProto) MarshalJSON() ([]byte, error) {
    	return protomarshal.Marshal(p.Message)
    }
    
    // writeJSON writes a json payload, handling content type, marshaling, and errors
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. src/internal/fuzz/fuzz.go

    	// between 4-7 times and 8-15 times.
    	coverageMask []byte
    }
    
    func newCoordinator(opts CoordinateFuzzingOpts) (*coordinator, error) {
    	// Make sure all the seed corpus has marshaled data.
    	for i := range opts.Seed {
    		if opts.Seed[i].Data == nil && opts.Seed[i].Values != nil {
    			opts.Seed[i].Data = marshalCorpusFile(opts.Seed[i].Values...)
    		}
    	}
    	c := &coordinator{
    		opts:        opts,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/gateway.go

    			continue
    		}
    		listeners = append(listeners, ml.mutable.Listener)
    	}
    	// We'll try to return any listeners we successfully marshaled; if we have none, we'll emit the error we built up
    	err := errs.ErrorOrNil()
    	if err != nil {
    		// we have some listeners to return, but we also have some errors; log them
    		log.Info(err.Error())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  10. src/internal/fuzz/worker.go

    			// Stop minimizing; another unrecoverable error is likely to occur.
    			break
    		}
    
    		if resp.WroteToMem {
    			// Minimization succeeded, and mem holds the marshaled data.
    			entryOut.Data = mem.valueCopy()
    			entryOut.Values, err = unmarshalCorpusFile(entryOut.Data)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top