Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,234 for ofObject (0.17 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.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)
  5. 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)
  6. cmd/object-api-options.go

    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    
    	vid = strings.TrimSpace(vid)
    	if vid != "" && vid != nullVersionID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    		},
    		{
    			object: "object.json",
    			header: http.Header{
    				"Content-Type": []string{"application/json"},
    			},
    			result: false,
    		},
    		{
    			object: "object.txt",
    			header: http.Header{
    				"Content-Type": []string{"text/plain"},
    			},
    			result: false,
    		},
    		{
    			object: "object",
    			header: http.Header{
    				"Content-Type": []string{"text/something"},
    			},
    			result: false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    	return "Object not found: " + e.Bucket + "/" + e.Object
    }
    
    // MethodNotAllowed on the object
    type MethodNotAllowed GenericError
    
    func (e MethodNotAllowed) Error() string {
    	return "Method not allowed: " + e.Bucket + "/" + e.Object
    }
    
    // ObjectLocked object is currently WORM protected.
    type ObjectLocked GenericError
    
    func (e ObjectLocked) Error() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	VersionsSort WalkVersionsSortOrder    // sort order for versions of the same object; default: Ascending order in ModTime
    }
    
    // ExpirationOptions represents object options for object expiration at objectLayer.
    type ExpirationOptions struct {
    	Expire bool
    }
    
    // TransitionOptions represents object options for transition ObjectLayer operation
    type TransitionOptions struct {
    	Status         string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    	if !globalTierConfigMgr.Empty() {
    		// Get appropriate object info to identify the remote object to delete
    		goiOpts := os.GetOpts()
    		if goi, gerr := objectAPI.GetObjectInfo(ctx, bucket, object, goiOpts); gerr == nil {
    			os.SetTransitionState(goi.TransitionedObject)
    		}
    	}
    
    	opts, err := completeMultipartOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
Back to top