Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 189 for serializar (0.06 sec)

  1. tests/serializer_test.go

    		t.Fatalf("failed to query data, got error %v", err)
    	}
    
    	AssertEqual(t, result.Roles, data.Roles)
    	AssertEqual(t, result.JobInfo.Location, data.JobInfo.Location)
    }
    
    // Test for: panic when serializer field with any type is nil
    func TestSerializerWithAnyType(t *testing.T) {
    	type ProductWithAny struct {
    		gorm.Model
    		Name string
    		Data any `gorm:"serializer:json"`
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ## Notes { #notes }
    
    When you return a `Response` directly its data is not validated, converted (serialized), or documented automatically.
    
    But you can still document it as described in [Additional Responses in OpenAPI](additional-responses.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. cmd/batch-handlers_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    			return
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobPrefix) Msgsize() (s int) {
    	s = msgp.ArrayHeaderSize
    	for zb0003 := range z {
    		s += msgp.StringPrefixSize + len(z[zb0003])
    	}
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. cmd/metacache_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *metacache) Msgsize() (s int) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. internal/s3select/json/record.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // RawJSON is a byte-slice that contains valid JSON
    type RawJSON []byte
    
    // MarshalJSON instance for []byte that assumes that byte-slice is
    // already serialized JSON
    func (b RawJSON) MarshalJSON() ([]byte, error) {
    	return b, nil
    }
    
    // Record - is JSON record.
    type Record struct {
    	// Used in Set(), Marshal*()
    	KVS jstream.KVS
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            try {
                toolchainsWriter.write(stringWriter, null, toolchains);
            } catch (IOException e) {
                throw new IllegalStateException("Failed to serialize toolchains to memory", e);
            }
    
            String serializedToolchains = stringWriter.toString();
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

         *
         */
        public static Element findChildElement(Element parent, String name) {
            return parent.child(name).orElse(null);
        }
    
        /**
         * Serializes a domtrip Document to XML string with preserved formatting.
         *
         * @param document the domtrip Document
         * @return the XML string with preserved formatting
         *
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils_test.go

    		} else {
    			versions = append(versions, fi)
    			allVersionIDs = append(allVersionIDs, fi.VersionID)
    		}
    	}
    	buf, err := xl.AppendTo(nil)
    	if err != nil {
    		t.Fatalf("Failed to serialize xlmeta %v", err)
    	}
    	fivs, err := getFileInfoVersions(buf, basefi.Volume, basefi.Name, false)
    	if err != nil {
    		t.Fatalf("getFileInfoVersions failed: %v", err)
    	}
    	chkNumVersions := func(fis []FileInfo) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. README.md

        `com.google.guava:failureaccess:1.0.3`. It also has
        [some annotation-only dependencies][guava-deps], which we discuss in more
        detail at that link.
    
    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top