Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attributes (0.21 sec)

  1. cmd/xl-storage.go

    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. RELEASE.md

        *   `Estimator.export_savedmodel` has been renamed to `export_saved_model`.
        *   When saving to SavedModel, Estimators will strip default op attributes.
            This is almost always the correct behavior, as it is more forwards
            compatible, but if you require that default attributes to be saved with
            the model, please use `tf.compat.v1.Estimator`.
        *   Feature Columns have been upgraded to be more Eager-friendly and to work
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  3. docs/en/docs/release-notes.md

            * Before this, the return content was first passed through `jsonable_encoder` to ensure it was a "jsonable" object, like a `dict`, instead of an arbitrary object with attributes (like an ORM model). That's why you should make sure to update your Pydantic models for objects with attributes to use `orm_mode = True`.
            * If you don't have a `response_model`, the return object will still be passed through `jsonable_encoder` first.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top