Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for oldHook (0.09 sec)

  1. src/net/http/httptest/server.go

    			if _, ok := s.conns[c]; ok {
    				delete(s.conns, c)
    				// Keep Close from returning until the user's ConnState hook
    				// (if any) finishes.
    				defer s.wg.Done()
    			}
    		}
    		if oldHook != nil {
    			oldHook(c, cs)
    		}
    	}
    }
    
    // closeConn closes c.
    // s.mu must be held.
    func (s *Server) closeConn(c net.Conn) { s.closeConnChan(c, nil) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/ledger/smt.go

    		if shortcut {
    			batch[0] = []byte{1}
    		} else {
    			batch[0] = []byte{0}
    		}
    
    		s.storeNode(batch, h, oldRoot)
    	}
    	return h
    }
    
    // storeNode stores a batch and deletes the old node from cache
    func (s *smt) storeNode(batch [][]byte, h, oldRoot []byte) {
    	if !bytes.Equal(h, oldRoot) {
    		var node hash
    		copy(node[:], h)
    		// record new node
    		s.db.updatedMux.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java

                .filter(snapshot -> isAncestorASymlink(symlinkCache, new File(snapshot.getAbsolutePath())))
                .reduce(
                    root,
                    (oldRoot, snapshot) -> invalidator.invalidate(snapshot.getAbsolutePath(), oldRoot),
                    nonCombining());
        }
    
        @CheckReturnValue
        private static SnapshotHierarchy removeDirectSymlinks(SnapshotHierarchy root, Invalidator invalidator) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache.go

    	} else {
    		// If periodic cert refresh resulted in discovery of a new root, trigger a ROOTCA request to refresh trust anchor
    		oldRoot := sc.cache.GetRoot()
    		if !bytes.Equal(oldRoot, ns.RootCert) {
    			cacheLog.Info("Root cert has changed, start rotating root cert")
    			// We store the oldRoot only for comparison and not for serving
    			sc.cache.SetRoot(ns.RootCert)
    			sc.OnSecretUpdate(security.RootCertReqResourceName)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top