Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 531 for shallow (0.26 sec)

  1. cmd/metacache-entries.go

    // This is usually orders of magnitude faster than actually sorting.
    func (m metaCacheEntries) isSorted() bool {
    	return sort.SliceIsSorted(m, m.less)
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntries) shallowClone() metaCacheEntries {
    	dst := make(metaCacheEntries, len(m))
    	copy(dst, m)
    	return dst
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    			continue
    		} // doesn't exist on disk remove from memory.
    		delete(sys.metadataMap, bucket)
    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    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)
  3. src/archive/tar/writer.go

    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    	curr fileWriter // Writer for current file entry
    	hdr  Header     // Shallow copy of Header that is safe for mutations
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Writer to
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. internal/rest/client.go

    func (c *Client) Call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    	if !c.IsOnline() {
    		return nil, &NetworkError{Err: c.LastError()}
    	}
    
    	// Shallow copy. We don't modify the *UserInfo, if set.
    	// All other fields are copied.
    	u := *c.url
    	u.Path = path.Join(u.Path, method)
    	u.RawQuery = values.Encode()
    
    	req, err := c.newRequest(ctx, u, body)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  6. internal/grid/types.go

    func NewURLValuesWith(values map[string][]string) *URLValues {
    	u := URLValues(values)
    	return &u
    }
    
    // Values returns the url.Values.
    // If u is nil, an empty url.Values is returned.
    // The values are a shallow copy of the underlying map.
    func (u *URLValues) Values() url.Values {
    	if u == nil {
    		return url.Values{}
    	}
    	return url.Values(*u)
    }
    
    // Recycle the underlying map.
    func (u *URLValues) Recycle() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    		storageRESTDiskID: *client.diskID.Load(),
    		storageRESTVolume: volume,
    	}))
    	if err != nil {
    		return vol, toStorageErr(err)
    	}
    	vol = *v
    	// Performs shallow copy, so we can reuse.
    	storageStatVolRPC.PutResponse(v)
    	return vol, nil
    }
    
    // DeleteVol - Deletes a volume over the network.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
     *
     * <ul>
     *   <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this
     *       collection. This is a stronger guarantee than that of {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Range.java

     *       <b>This may change in the future.</b>
     * </ul>
     *
     * <h3>Other notes</h3>
     *
     * <ul>
     *   <li>All ranges are shallow-immutable.
     *   <li>Instances of this type are obtained using the static factory methods in this class.
     *   <li>Ranges are <i>convex</i>: whenever two values are contained, all values in between them
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    			return false
    		}
    	}
    	return true
    }
    
    // clone creates a deep-copy clone.
    func (r *replicationAllStats) clone() *replicationAllStats {
    	if r == nil {
    		return nil
    	}
    
    	// Shallow copy
    	dst := *r
    
    	// Copy individual targets.
    	dst.Targets = make(map[string]replicationStats, len(r.Targets))
    	for k, v := range r.Targets {
    		dst.Targets[k] = v
    	}
    
    	return &dst
    }
    
    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