Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for unmarshaling (0.26 sec)

  1. src/encoding/json/decode_test.go

    		err:      &UnmarshalTypeError{Value: "object", Type: reflect.TypeFor[map[unmarshaler]string](), Offset: 1},
    	},
    
    	// related to issue 13783.
    	// Go 1.7 changed marshaling a slice of typed byte to use the methods on the byte type,
    	// similar to marshaling a slice of typed int.
    	// These tests check that, assuming the byte type also has valid decoding methods,
    	// either the old base64 string encoding or the new per-element encoding can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    				t.Fatalf("%d: Expected %v during validation but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    // TestMarshalLifecycleConfig checks if lifecycleconfig xml
    // marshaling/unmarshaling can handle output from each other
    func TestMarshalLifecycleConfig(t *testing.T) {
    	// Time at midnight UTC
    	midnightTS := ExpirationDate{time.Date(2019, time.April, 20, 0, 0, 0, 0, time.UTC)}
    	lc := Lifecycle{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/certificates/v1/generated.pb.go

    		}
    		if depth == 0 {
    			return iNdEx, nil
    		}
    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/certificates/v1beta1/generated.pb.go

    		}
    		if depth == 0 {
    			return iNdEx, nil
    		}
    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/net/netip/netip_test.go

    			}
    
    			std := net.ParseIP(s)
    			if std != nil {
    				t.Errorf("net.ParseIP(%q) = %#v, want error", s, std)
    			}
    
    			if s == "" {
    				// Don't test unmarshaling of "" here, do it in
    				// IPMarshalUnmarshal.
    				return
    			}
    			var jsgot Addr
    			js := []byte(`"` + s + `"`)
    			if err := json.Unmarshal(js, &jsgot); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  6. src/encoding/xml/marshal_test.go

    	empty        = ""
    )
    
    // Unless explicitly stated as such (or *Plain), all of the
    // tests below are two-way tests. When introducing new tests,
    // please try to make them two-way as well to ensure that
    // marshaling and unmarshaling are as symmetrical as feasible.
    var marshalTests = []struct {
    	Value          any
    	ExpectXML      string
    	MarshalOnly    bool
    	MarshalError   string
    	UnmarshalOnly  bool
    	UnmarshalError string
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    		}
    		if depth == 0 {
    			return iNdEx, nil
    		}
    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
      map<string, string> requests = 2;
    }
    
    // Mirrors ServiceAccount for unmarshaling.
    message ServiceAccount {
      google.protobuf.Struct annotations = 1;
    }
    
    // DefaultPodDisruptionBudgetConfig specifies the default pod disruption budget configuration.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    		}
    		if depth == 0 {
    			return iNdEx, nil
    		}
    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    		}
    		if depth == 0 {
    			return iNdEx, nil
    		}
    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
Back to top