Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,082 for returns (0.17 sec)

  1. src/bufio/bufio.go

    // beginning of the line is returned. The rest of the line will be returned
    // from future calls. isPrefix will be false when returning the last fragment
    // of the line. The returned buffer is only valid until the next call to
    // ReadLine. ReadLine either returns a non-nil line or it returns an error,
    // never both.
    //
    // The text returned from ReadLine does not include the line end ("\r\n" or "\n").
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. internal/etag/reader.go

    var _ Tagger = wrapReader{} // compiler check
    
    // ETag returns the ETag of the underlying Tagger.
    func (r wrapReader) ETag() ETag {
    	if r.Tagger == nil {
    		return nil
    	}
    	return r.Tagger.ETag()
    }
    
    // Wrap returns an io.Reader that reads from the wrapped
    // io.Reader and implements the Tagger interaface.
    //
    // If content implements Tagger then the returned Reader
    // returns ETag of the content. Otherwise, it returns
    // nil as ETag.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    	}
    	return z
    }
    
    func (z *Int) Int64() int64 {
    	if !z.init {
    		return 0
    	}
    	return int64(C.mpz_get_si(&z.i[0]))
    }
    
    // Neg sets z = -x and returns z.
    func (z *Int) Neg(x *Int) *Int {
    	x.doinit()
    	z.doinit()
    	C.mpz_neg(&z.i[0], &x.i[0])
    	return z
    }
    
    // Abs sets z to the absolute value of x and returns z.
    func (z *Int) Abs(x *Int) *Int {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    	return meta.lifecycleConfig, meta.LifecycleConfigUpdatedAt, nil
    }
    
    // GetNotificationConfig returns configured notification config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetNotificationConfig(bucket string) (*event.Config, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return nil, err
    	}
    	return meta.notificationConfig, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. migrator/table_type.go

    	CommentValue sql.NullString
    }
    
    // Schema returns the schema of the table.
    func (ct TableType) Schema() string {
    	return ct.SchemaValue
    }
    
    // Name returns the name of the table.
    func (ct TableType) Name() string {
    	return ct.NameValue
    }
    
    // Type returns the type of the table.
    func (ct TableType) Type() string {
    	return ct.TypeValue
    }
    
    // Comment returns the comment of current table.
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri May 05 07:58:27 GMT 2023
    - 688 bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    				case DeleteAction, DeleteVersionAction:
    					return true
    				}
    				switch events[j].Action {
    				case DeleteAction, DeleteVersionAction:
    					return false
    				}
    				return true
    			}
    
    			// Prefer earlier occurring event
    			return events[i].Due.Before(events[j].Due)
    		})
    		return events[0]
    	}
    
    	return Event{
    		Action: NoneAction,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    // WalkOptions provides filtering, marker and other Walk() specific options.
    type WalkOptions struct {
    	Filter       func(info FileInfo) bool // return WalkFilter returns 'true/false'
    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. internal/config/lambda/event/targetidset.go

    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    	for k, v := range set {
    		setCopy[k] = v
    	}
    	return setCopy
    }
    
    // add - adds TargetID to the set.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    		e.AllTierStats = e.AllTierStats.clone()
    	}
    	return e
    }
    
    // find a path in the cache.
    // Returns nil if not found.
    func (d *dataUsageCache) find(path string) *dataUsageEntry {
    	due, ok := d.Cache[hashPath(path).Key()]
    	if !ok {
    		return nil
    	}
    	return &due
    }
    
    // isCompacted returns whether an entry is compacted.
    // Returns false if not found.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
Back to top