- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 900 for makeAs (0.08 sec)
-
src/archive/zip/struct.go
// Since ZIP lacked high precision timestamps (nor an official specification // of the timezone used for the date fields), many competing extra fields // have been invented. Pervasive use effectively makes them "official". // // See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField zip64ExtraID = 0x0001 // Zip64 extended information ntfsExtraID = 0x000a // NTFS unixExtraID = 0x000d // UNIX
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
internal/event/rules.go
targetIDs = targetIDs.Union(targetIDSet) } } return targetIDs } // Clone - returns copy of this rules. func (rules Rules) Clone() Rules { rulesCopy := make(Rules) for pattern, targetIDSet := range rules { rulesCopy[pattern] = targetIDSet.Clone() } return rulesCopy } // Union - returns union with given rules as new rules.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
internal/kms/kms.go
return k.conn.APIs(ctx) } // Metrics returns a current snapshot of the KMS metrics. func (k *KMS) Metrics(ctx context.Context) (*Metrics, error) { latency := make(map[time.Duration]uint64, len(k.latencyBuckets)) for i, b := range k.latencyBuckets { latency[b] = k.latency[i].Load() } return &Metrics{ ReqOK: k.reqOK.Load(), ReqErr: k.reqErr.Load(),
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/logger/logger.go
} // Copy tags. We hold read lock already. tags := make(map[string]interface{}, len(req.tags)) for _, entry := range req.tags { tags[entry.Key] = entry.Val } // Get the cause for the Error deploymentID := req.DeploymentID if req.DeploymentID == "" { deploymentID = xhttp.GlobalDeploymentID } objects := make([]log.ObjectVersion, 0, len(req.Objects)) for _, ov := range req.Objects {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/batch-expire_gen_test.go
v := BatchJobExpire{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBatchJobExpire(b *testing.B) { v := BatchJobExpire{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/last-minute_gen_test.go
v := AccElem{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgAccElem(b *testing.B) { v := AccElem{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 6.8K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen_test.go
v := ChecksumInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgChecksumInfo(b *testing.B) { v := ChecksumInfo{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 13.2K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc. ## Using the `jsonable_encoder` in a `Response` Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
cmd/rebalance-admin.go
meta := &rebalanceMeta{} err = meta.load(ctx, z.serverPools[0]) if err != nil { return r, err } // Compute disk usage percentage si := z.StorageInfo(ctx, true) diskStats := make([]struct { AvailableSpace uint64 TotalSpace uint64 }, len(z.serverPools)) for _, disk := range si.Disks { // Ignore invalid. if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
internal/http/dial_dnscache.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "context" "net" "time" ) // LookupHost is a function to make custom lookupHost for optional cached DNS requests type LookupHost func(ctx context.Context, host string) (addrs []string, err error) // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jul 03 19:30:51 UTC 2023 - 2.6K bytes - Viewed (0)