Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 406 for marshaled (0.15 sec)

  1. 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)
  2. staging/src/k8s.io/api/rbac/v1/generated.pb.go

    	0x5a, 0x4f, 0xc6, 0x0a, 0x00, 0x00,
    }
    
    func (m *AggregationRule) 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 *AggregationRule) 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
    - 77.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    }
    
    func (m *ContainerResourceMetricSource) 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 *ContainerResourceMetricSource) 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
    - 163K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/product-platform/build.gradle.kts

    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.springframework.boot:spring-boot-dependencies:2.7.8"))
    
        constraints {
            api("org.apache.juneau:juneau-marshall:8.2.0")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 361 bytes
    - Viewed (0)
  5. pkg/kubelet/status/state/checkpoint.go

    		ResizeStatusEntries: make(map[string]v1.PodResizeStatus),
    	}
    }
    
    // MarshalCheckpoint returns marshalled checkpoint
    func (prc *PodResourceAllocationCheckpoint) MarshalCheckpoint() ([]byte, error) {
    	// make sure checksum wasn't set before so it doesn't affect output checksum
    	prc.Checksum = 0
    	prc.Checksum = checksum.New(prc)
    	return json.Marshal(*prc)
    }
    
    // UnmarshalCheckpoint tries to unmarshal passed bytes to checkpoint
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/platforms/product-platform/build.gradle

    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform('org.springframework.boot:spring-boot-dependencies:2.7.8'))
    
        constraints {
            api('org.apache.juneau:juneau-marshall:8.2.0')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 361 bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    // PackageError implements MarshalJSON so that Err is marshaled as a string
    // and non-essential fields are omitted.
    func (p *PackageError) MarshalJSON() ([]byte, error) {
    	perr := struct {
    		ImportStack []string
    		Pos         string
    		Err         string
    	}{p.ImportStack, p.Pos, p.Err.Error()}
    	return json.Marshal(perr)
    }
    
    func (p *PackageError) setPos(posList []token.Position) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go

    	0xff, 0xff, 0x22, 0xbd, 0xc5, 0xc7, 0xf1, 0x13, 0x00, 0x00,
    }
    
    func (m *AuditAnnotation) 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 *AuditAnnotation) 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
    - 117.9K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		return i
    	}
    	return int(intstr.IntVal)
    }
    
    // MarshalJSON implements the json.Marshaller interface.
    func (intstr IntOrString) MarshalJSON() ([]byte, error) {
    	switch intstr.Type {
    	case Int:
    		return json.Marshal(intstr.IntVal)
    	case String:
    		return json.Marshal(intstr.StrVal)
    	default:
    		return []byte{}, fmt.Errorf("impossible IntOrString.Type")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top