- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 273 for leave (0.02 seconds)
-
cmd/data-usage-cache.go
return } sz := d.sizeRecursive(path.Key()) leaves = append(leaves, struct { objects uint64 path dataUsageHash }{objects: sz.Objects, path: path}) for ch := range e.Children { add(dataUsageHash(ch)) } } // Add path recursively. add(path) sort.Slice(leaves, func(i, j int) bool { return leaves[i].objects < leaves[j].objects }) for remove > 0 && len(leaves) > 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/etcd.go
timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout) defer cancel() lease, err := client.Grant(timeoutCtx, ttl) if err != nil { return etcdErrToErr(err, client.Endpoints()) } _, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID)) etcdLogIf(ctx, err) return etcdErrToErr(err, client.Endpoints()) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 2.9K bytes - Click Count (0) -
internal/config/etcd/etcd.go
} cli, err := clientv3.New(cfg.Config) if err != nil { return nil, err } cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix) cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix) cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix) return cli, nil } func parseEndpoints(endpoints string) ([]string, bool, error) { etcdEndpoints := strings.Split(endpoints, config.ValueSeparator) var etcdSecure bool
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 3.9K bytes - Click Count (0) -
tests/compose.yml
- ACCEPT_EULA=Y - MSSQL_SA_PASSWORD=LoremIpsum86 tidb: image: 'pingcap/tidb:v6.5.0' ports: - "127.0.0.1:9940:4000" command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 & gaussdb: image: 'opengauss/opengauss:7.0.0-RC1.B023' hostname: opengauss-server ports: - "127.0.0.1:9950:5432" environment: - TZ=Asia/ShanghaiCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Aug 04 04:07:30 GMT 2025 - 1.9K bytes - Click Count (0) -
src/bufio/net_test.go
tot += n if err == io.EOF { return } if err != nil { t.Error(err) return } } }() clientConn, err := net.DialUnix("unixpacket", nil, addr) if err != nil { // Leaves the server goroutine hanging. Oh well. t.Fatal(err) } defer wg.Wait() defer clientConn.Close() const data = "data" r := bufio.NewReader(strings.NewReader(data)) n, err := io.Copy(clientConn, r)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
docs/fr/docs/how-to/authentication-error-status-code.md
{* ../../docs_src/authentication_error_status_code/tutorial001_an_py310.py hl[9:13] *} /// tip | Astuce Remarquez que la fonction renvoie l'instance de l'exception, elle ne la lève pas. La levée est effectuée dans le reste du code interne.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.3K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
private final HandleType type; private final long timeout; private final long createTime; private volatile long lastAccessTime; private final Smb2LeaseKey leaseKey; // Associated lease if any private volatile boolean reconnecting; private transient SmbFile file; // Not serialized public HandleInfo(String path, HandleGuid guid, byte[] fileId,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId()); // This would typically involve: // 1. Creating a new Smb2CreateRequest with reconnect context // 2. Adding lease context if needed // 3. Sending the request through the appropriate transport // 4. Processing the response // For now, we'll return false to indicate that the concrete implementation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1)