- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for shallow (0.16 sec)
-
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 May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:43:43 GMT 2024 - 23.2K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
internal/rest/client.go
case offline: // client offline, return last error captured. return nil, &NetworkError{Err: c.LastError()} } // client is still connected, attempt the request. // 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 May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 14.4K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 01 23:42:09 GMT 2024 - 15.4K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 19.8K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 26.1K bytes - Viewed (0) -
src/bytes/buffer_test.go
} return s } func TestNewBuffer(t *testing.T) { buf := NewBuffer(testBytes) check(t, "NewBuffer", buf, testString) } var buf Buffer // Calling NewBuffer and immediately shallow copying the Buffer struct // should not result in any allocations. // This can be used to reset the underlying []byte of an existing Buffer. func TestNewBufferShallow(t *testing.T) { testenv.SkipIfOptimizationOff(t)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
internal/config/api/api.go
) // API sub-system constants const ( apiRequestsMax = "requests_max" apiRequestsDeadline = "requests_deadline" apiClusterDeadline = "cluster_deadline" apiCorsAllowOrigin = "cors_allow_origin" apiRemoteTransportDeadline = "remote_transport_deadline" apiListQuorum = "list_quorum" apiReplicationPriority = "replication_priority" apiReplicationMaxWorkers = "replication_max_workers"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 01:08:07 GMT 2024 - 11.1K bytes - Viewed (1) -
istioctl/pkg/workload/workload_test.go
if !strings.Contains(output, noClusterID) { t.Fatal(err) } } checkFiles := map[string]bool{ // inputs that we allow to exist, if other files seep in unexpectedly we fail the test ".gitignore": false, "meshconfig.yaml": false, "workloadgroup.yaml": false, } for k, v := range generated { checkFiles[k] = v }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} func getFilterType(filters []*listener.Filter) string { for _, filter := range filters { if filter.Name == HTTPListener { httpProxy := &hcm.HttpConnectionManager{} // Allow Unmarshal to work even if Envoy and istioctl are different filter.GetTypedConfig().TypeUrl = "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0)