Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 205 for marshaled (0.37 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go

    		encodedSize := uint64(t.Size())
    		data := memAlloc.Allocate(encodedSize)
    
    		n, err := t.MarshalTo(data)
    		if err != nil {
    			return err
    		}
    		_, err = w.Write(data[:n])
    		return err
    
    	case proto.Marshaler:
    		// this path performs extra allocations
    		data, err := t.Marshal()
    		if err != nil {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 13:38:23 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  4. src/html/template/js.go

    	// "<!--", "-->", "<![CDATA[", "]]>", or "</script"
    	// in case custom marshalers produce output containing those.
    	// Note: Do not use \x escaping to save bytes because it is not JSON compatible and this escaper
    	// supports ld+json content-type.
    	if len(b) == 0 {
    		// In, `x=y/{{.}}*z` a json.Marshaler that produces "" should
    		// not cause the output `x=y/*z`.
    		return " null "
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		// 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)
    			}
    			// TODO: Is this Unmarshal needed?
    			var data []byte
    			err = json.Unmarshal(marshalled, &data)
    			if err != nil {
    				return fmt.Errorf("error decoding from json: %v", 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)
  6. internal/grid/msg_gen.go

    func (z Flags) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z Flags) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  7. pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go

    	}
    
    	if len(capacity) > 0 {
    		node.Status.Capacity = v1.ResourceList(capacity)
    		node.Status.Allocatable = v1.ResourceList(capacity)
    	}
    	return node
    }
    
    func marshall(nodeIDs nodeIDMap) string {
    	b, _ := json.Marshal(nodeIDs)
    	return string(b)
    }
    
    func generateCSINode(nodeIDs nodeIDMap, volumeLimits *storage.VolumeNodeResources, topologyKeys topologyKeyMap) *storage.CSINode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 17 02:02:59 UTC 2022
    - 34.3K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance_gen.go

    func (z rebalSaveOpts) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z rebalSaveOpts) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/crypto/x509/oid_test.go

    		}
    
    		if !o2.Equal(tt.out) {
    			t.Errorf("ParseOID(%q) = %v; want = %v", tt.in, o2, tt.out)
    			continue
    		}
    
    		marshalled, err := o.MarshalText()
    		if string(marshalled) != tt.in || err != nil {
    			t.Errorf("(%#v).MarshalText() = (%v, %v); want = (%v, nil)", o, string(marshalled), err, tt.in)
    			continue
    		}
    
    		binary, err := o.MarshalBinary()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/address.go

    		case *Inet4Addr:
    			l, err := a.marshal(b)
    			if err != nil {
    				return 0, err
    			}
    			b = b[l:]
    			attrs |= 1 << uint(i)
    		case *Inet6Addr:
    			l, err := a.marshal(b)
    			if err != nil {
    				return 0, err
    			}
    			b = b[l:]
    			attrs |= 1 << uint(i)
    		case *DefaultAddr:
    			l, err := a.marshal(b)
    			if err != nil {
    				return 0, err
    			}
    			b = b[l:]
    			attrs |= 1 << uint(i)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top