Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 406 for marshaled (0.17 sec)

  1. 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)
  2. 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)
  3. cmd/erasure-multipart.go

    // object and uploadID.  Takes additional input of part-number-marker
    // to indicate where the listing should begin from.
    //
    // Implements S3 compatible ListObjectParts API. The resulting
    // ListPartsInfo structure is marshaled directly into XML and
    // replied back to the client.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  4. src/encoding/json/decode_test.go

    	},
    }
    
    func TestMarshal(t *testing.T) {
    	b, err := Marshal(allValue)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	if string(b) != allValueCompact {
    		t.Errorf("Marshal:")
    		diff(t, b, []byte(allValueCompact))
    		return
    	}
    
    	b, err = Marshal(pallValue)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	if string(b) != pallValueCompact {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    					meta:   allMeta[start:end],
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. pkg/util/protomarshal/protomarshal.go

    		Multiline: true,
    		Indent:    indent,
    	}.Marshal(msg)
    }
    
    // MarshalProtoNames marshals a proto to canonical JSON original protobuf names
    func MarshalProtoNames(msg proto.Message) ([]byte, error) {
    	if msg == nil {
    		return nil, errors.New("unexpected nil message")
    	}
    
    	// Marshal from proto to json bytes
    	m := jsonpb.Marshaler{OrigName: true}
    	buf := &bytes.Buffer{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/crypto/tls/conn.go

    // the record layer state. If transcript is non-nil the marshaled message is
    // written to it.
    func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
    	c.out.Lock()
    	defer c.out.Unlock()
    
    	data, err := msg.marshal()
    	if err != nil {
    		return 0, err
    	}
    	if transcript != nil {
    		transcript.Write(data)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/marshal.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    // MarshalToYaml marshals an object into yaml.
    func MarshalToYaml(obj runtime.Object, gv schema.GroupVersion) ([]byte, error) {
    	return MarshalToYamlForCodecs(obj, gv, clientsetscheme.Codecs)
    }
    
    // MarshalToYamlForCodecs marshals an object into yaml using the specified codec
    // TODO: Is specifying the gv really needed here?
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/math/big/intmarsh.go

    		return fmt.Errorf("math/big: cannot unmarshal %q into a *big.Int", text)
    	}
    	return nil
    }
    
    // The JSON marshalers are only here for API backward compatibility
    // (programs that explicitly look for these two methods). JSON works
    // fine with the TextMarshaler only.
    
    // MarshalJSON implements the [encoding/json.Marshaler] interface.
    func (x *Int) MarshalJSON() ([]byte, error) {
    	if x == nil {
    		return []byte("null"), nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/crypto/sha512/sha512_test.go

    	"crypto/internal/boring"
    	"crypto/rand"
    	"encoding"
    	"encoding/hex"
    	"fmt"
    	"hash"
    	"io"
    	"testing"
    )
    
    type sha512Test struct {
    	out       string
    	in        string
    	halfState string // marshaled hash state after first half of in written, used by TestGoldenMarshal
    }
    
    var golden224 = []sha512Test{
    	{
    		"6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4",
    		"",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
Back to top