Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for ofObject (0.42 sec)

  1. src/runtime/pinner.go

    	}
    }
    
    // pinnerBits is the same type as gcBits but has different methods.
    type pinnerBits gcBits
    
    // ofObject returns the pinState of the n'th object.
    // nosplit, because it's called by isPinned, which is nosplit
    //
    //go:nosplit
    func (p *pinnerBits) ofObject(n uintptr) pinState {
    	bytep, mask := (*gcBits)(p).bitp(n * 2)
    	byteVal := atomic.Load8(bytep)
    	return pinState{bytep, byteVal, mask}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/go/types/object.go

    // All objects implement the Object interface.
    type Object interface {
    	Parent() *Scope // scope in which this object is declared; nil for methods and struct fields
    	Pos() token.Pos // position of object identifier in declaration
    	Pkg() *Package  // package to which this object belongs; nil for labels and objects in the Universe scope
    	Name() string   // package local object name
    	Type() Type     // object type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/object.go

    // It doesn't take into account whether the object is in a local (function) scope
    // or not.
    func (obj *object) Exported() bool { return isExported(obj.name) }
    
    // Id is a wrapper for Id(obj.Pkg(), obj.Name()).
    func (obj *object) Id() string { return Id(obj.pkg, obj.name) }
    
    func (obj *object) String() string       { panic("abstract") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/object.cc

    limitations under the License.
    ==============================================================================*/
    // Implementation of objects.
    #include "tensorflow/cc/experimental/libtf/object.h"
    
    #include <type_traits>
    
    namespace tf {
    namespace libtf {
    
    const String& Object::ParentKey() {
      static const String* key = new String("__parent__");
      return *key;
    }
    
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 10 22:48:48 UTC 2021
    - 961 bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/object.h

      friend tensorflow::StatusOr<T> Cast(Handle handle);
    };
    
    /// @brief The `Object` class modeled after Python "objects".
    ///
    /// An `Object` uses a TaggedValue dictionary to store its attributes. The
    /// "__parent__" attribute is reserved.
    class Object : public Handle {
     public:
      /// Constructs a handle that acts as an object.
      Object() : Handle(TaggedValue::Dict()) {}
      /// Retrieves the key of the object's parent.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    }
    
    // DeleteObjectTags - delete object tags from an existing object
    func (er erasureObjects) DeleteObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	return er.PutObjectTags(ctx, bucket, object, "", opts)
    }
    
    // GetObjectTags - get object tags from an existing object
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		// do an additional verification whether object exists when object is deletemarker and request
    		// is from replication
    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    			if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    				VersionSuspended: globalBucketVersioningSys.PrefixSuspended(object.parentBucket, object.name),
    				UserDefined:      object.meta,
    			})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		obj, err := obj.DeleteObject(context.Background(), object.parentBucket, object.name, ObjectOptions{
    			Versioned:        globalBucketVersioningSys.PrefixEnabled(object.parentBucket, object.name),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    		26: {bucketName: bucket, objName: object, inputData: data, inputDataSize: int64(len(data) - 1), expectedMd5: getMD5Hash(data[:len(data)-1]), expectedError: ioutil.ErrOverread},
    		27: {bucketName: bucket, objName: object, inputData: nilBytes, inputDataSize: int64(len(nilBytes) + 1), expectedMd5: getMD5Hash(nilBytes), expectedError: IncompleteBody{Bucket: bucket, Object: object}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top