Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 276 for marshaled (0.25 sec)

  1. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    	0xff, 0x1c, 0xe6, 0x20, 0x06, 0xcf, 0x07, 0x00, 0x00,
    }
    
    func (m *Endpoint) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Endpoint) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Max)
    	if err != nil {
    		err = msgp.WrapError(err, "Max")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ActiveWorkerStat) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Curr"
    	o = append(o, 0x83, 0xa4, 0x43, 0x75, 0x72, 0x72)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. cmd/batch-handlers_gen.go

    			return
    		}
    	} else {
    		err = z.Expire.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Expire")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BatchJobRequest) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 6
    	// string "ID"
    	o = append(o, 0x86, 0xa2, 0x49, 0x44)
    	o = msgp.AppendString(o, z.ID)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/go/doc/comment/testdata/README.md

    “html” for Printer.HTML, “markdown” for Printer.Markdown, and “text” for Printer.Text.
    The format can also be “dump” for a textual dump of the raw data structures.
    
    The text before the `-- input --` line, if present, is JSON to be unmarshaled
    to initialize a comment.Printer. For example, this test case sets the Printer's
    TextWidth field to 20:
    
    	{"TextWidth": 20}
    	-- input --
    	Package gob manages streams of gobs - binary values exchanged between an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BucketReplicationResyncStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "v"
    	o = append(o, 0x84, 0xa1, 0x76)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admission/v1/generated.pb.go

    }
    
    func (m *AdmissionRequest) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *AdmissionRequest) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/authentication/v1alpha1/generated.pb.go

    }
    
    func (m *SelfSubjectReview) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *SelfSubjectReview) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1/generated.pb.go

    	0x0f, 0x42, 0xd2, 0x33, 0xde, 0x08, 0x00, 0x00,
    }
    
    func (m *Eviction) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *Eviction) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  9. pkg/bootstrap/instance.go

    		return err
    	}
    
    	// Execute the template.
    	return t.Execute(w, templateParams)
    }
    
    func toJSON(i any) string {
    	if i == nil {
    		return "{}"
    	}
    
    	ba, err := json.Marshal(i)
    	if err != nil {
    		log.Warnf("Unable to marshal %v: %v", i, err)
    		return "{}"
    	}
    
    	return string(ba)
    }
    
    // GetEffectiveTemplatePath gets the template file that should be used for bootstrap
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/internal/chacha8rand/chacha8.go

    				break
    			}
    			s.Refill()
    		}
    	}
    	s.Init64(seed)
    }
    
    // Marshal marshals the state into a byte slice.
    // Marshal and Unmarshal are functions, not methods,
    // so that they will not be linked into the runtime
    // when it uses the State struct, since the runtime
    // does not need these.
    func Marshal(s *State) []byte {
    	data := make([]byte, 6*8)
    	copy(data, "chacha8:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top