Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,254 for encodeTo (0.51 sec)

  1. pkg/apis/apiserverinternal/types.go

    // encodes objects to when persisting objects in the backend.
    type ServerStorageVersion struct {
    	// The ID of the reporting API server.
    	APIServerID string
    
    	// The API server encodes the object to this version when persisting it in
    	// the backend (e.g., etcd).
    	EncodingVersion string
    
    	// The API server can decode objects encoded in these versions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

    // encodes objects to when persisting objects in the backend.
    message ServerStorageVersion {
      // The ID of the reporting API server.
      optional string apiServerID = 1;
    
      // The API server encodes the object to this version when persisting it in
      // the backend (e.g., etcd).
      optional string encodingVersion = 2;
    
      // The API server can decode objects encoded in these versions.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

    // encodes objects to when persisting objects in the backend.
    message ServerStorageVersion {
      // The ID of the reporting API server.
      optional string apiServerID = 1;
    
      // The API server encodes the object to this version when persisting it in
      // the backend (e.g., etcd).
      optional string encodingVersion = 2;
    
      // The API server can decode objects encoded in these versions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/delmarker-expiration.go

    		return err
    	}
    
    	if dexp.Days <= 0 {
    		return errInvalidDaysDelMarkerExpiration
    	}
    
    	*de = DelMarkerExpiration(dexp)
    	return nil
    }
    
    // MarshalXML encodes a DelMarkerExpiration value into an XML element
    func (de DelMarkerExpiration) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if de.Empty() {
    		return nil
    	}
    
    	type delMarkerExpiration DelMarkerExpiration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apiserverinternal/v1alpha1/types.go

    }
    
    // An API server instance reports the version it can decode and the version it
    // encodes objects to when persisting objects in the backend.
    type ServerStorageVersion struct {
    	// The ID of the reporting API server.
    	APIServerID string `json:"apiServerID,omitempty" protobuf:"bytes,1,opt,name=apiServerID"`
    
    	// The API server encodes the object to this version when persisting it in
    	// the backend (e.g., etcd).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

            return new ArrayOfPrimitiveValueSnapshot(primitiveType, primitiveType.decode(decoder));
        }
    
        public void encode(Encoder encoder) throws IOException {
            encoder.writeByte(getPrimitiveTypeCode());
            primitiveType.encode(encoder, array);
        }
    
        @Override
        public int hashCode() {
            return primitiveType.hashCode(array);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    	bEncoding = encoding{encode: encodeB, validate: validateB, length: 4}
    	uEncoding = encoding{encode: encodeU, validate: validateU, length: 4}
    	jEncoding = encoding{encode: encodeJ, validate: validateJ, length: 4}
    
    	// rawEncoding encodes a raw instruction byte sequence.
    	rawEncoding = encoding{encode: encodeRawIns, validate: validateRaw, length: 4}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/encoder.md

        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/encoder.md

    === "Python 3.10+"
    
        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/encoder.md

    ⚫️ 📨 🎚, 💖 Pydantic 🏷, &amp; 📨 🎻 🔗 ⏬:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    👉 🖼, ⚫️ 🔜 🗜 Pydantic 🏷 `dict`, &amp; `datetime` `str`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Apr 01 09:26:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top