- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 549 for plen (0.02 sec)
-
internal/lru/lru.go
c.mu.Lock() defer c.mu.Unlock() values := make([]V, 0, len(c.items)) now := time.Now() for ent := c.evictList.Back(); ent != nil; ent = ent.PrevEntry() { if now.After(ent.ExpiresAt) { continue } values = append(values, ent.Value) } return values } // Len returns the number of items in the cache. func (c *LRU[K, V]) Len() int { c.mu.Lock() defer c.mu.Unlock()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
src/archive/tar/common.go
ustar := blk.toUSTAR() gnu := blk.toGNU() verifyString(h.Name, len(v7.name()), "Name", paxPath) verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath) verifyString(h.Uname, len(ustar.userName()), "Uname", paxUname) verifyString(h.Gname, len(ustar.groupName()), "Gname", paxGname) verifyNumeric(h.Mode, len(v7.mode()), "Mode", paxNone) verifyNumeric(int64(h.Uid), len(v7.uid()), "Uid", paxUid)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
* @param len the length of data to write */ public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) { super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE); this.name = pipeName; this.pipeData = data; this.pipeDataOff = off; this.pipeDataLen = len; this.timeout = 0xFFFFFFFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* @param len the length of data to send */ public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) { super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE); this.pipeFid = fid; this.pipeData = data; this.pipeDataOff = off; this.pipeDataLen = len; this.maxParameterCount = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
if err := xlMeta.LoadOrConvert(xlMetaBuf); err != nil { return FileInfoVersions{}, err } versions, err = xlMeta.ListVersions(volume, path, allParts) } if err == nil && len(versions) == 0 { // This special case is needed to handle len(xlMeta.versions) == 0 versions = []FileInfo{ { Volume: volume, Name: path, Deleted: true, IsLatest: true, ModTime: timeSentinel1970, }, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/table_test.go
if err != nil { t.Fatalf("failed to parse user unique, got error %v", err) } constraints := user.ParseUniqueConstraints() if len(constraints) != 1 { t.Fatalf("failed to find unique constraint, got %v", constraints) } for key := range constraints { if len(key) != 63 { t.Errorf("failed to find unique constraint, got %v", constraints) } } })
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/metacache-bucket.go
} } // If above limit, remove the caches with the oldest handout time. if len(caches)-len(remove) > metacacheMaxEntries { remainCaches := make([]metacache, 0, len(caches)-len(remove)) for id, cache := range caches { if _, ok := remove[id]; ok { continue } remainCaches = append(remainCaches, cache) } if len(remainCaches) > metacacheMaxEntries { // Sort oldest last...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
if err != nil { t.Fatal(err) } } // Add a version with tiered content, one with local content xl := xlMetaV2{} counter := 1 report := func() { t.Helper() // t.Logf("versions (%d): len = %d", counter, len(xl.versions)) counter++ } fi := FileInfo{ Volume: "volume", Name: "object-name", VersionID: "00000000-0000-0000-0000-000000000001", IsLatest: true,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
soft_delete.go
if c, ok := stmt.Clauses["WHERE"]; ok { if where, ok := c.Expression.(clause.Where); ok && len(where.Exprs) >= 1 { for _, expr := range where.Exprs { if orCond, ok := expr.(clause.OrConditions); ok && len(orCond.Exprs) == 1 { where.Exprs = []clause.Expression{clause.And(where.Exprs...)} c.Expression = where stmt.Clauses["WHERE"] = c break
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 4.5K bytes - Viewed (1) -
cmd/admin-handlers-pools.go
if globalEndpoints.Legacy() { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL) return } z, ok := objectAPI.(*erasureServerPools) if !ok || len(z.serverPools) == 1 { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL) return } if z.IsDecommissionRunning() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 11K bytes - Viewed (0)