Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pop (0.18 sec)

  1. cmd/metacache-walk.go

    			// If directory entry on stack before this, pop it now.
    			for len(dirStack) > 0 && dirStack[len(dirStack)-1] < meta.name {
    				pop := dirStack[len(dirStack)-1]
    				select {
    				case <-ctx.Done():
    					return ctx.Err()
    				case out <- metaCacheEntry{name: pop}:
    				}
    				if opts.Recursive {
    					// Scan folder we found. Should be in correct sort order where we are.
    					err := scanDir(pop)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/stack.go

    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    
    func (s *Stack) Next() ScanToken {
    	tos := s.tr[len(s.tr)-1]
    	tok := tos.Next()
    	for tok == scanner.EOF && len(s.tr) > 1 {
    		tos.Close()
    		// Pop the topmost item from the stack and resume with the next one down.
    		s.tr = s.tr[:len(s.tr)-1]
    		tok = s.Next()
    	}
    	return tok
    }
    
    func (s *Stack) Text() string {
    	return s.tr[len(s.tr)-1].Text()
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jan 09 22:33:23 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    func (w *Walker) export(pkg *apiPackage) {
    	if verbose {
    		log.Println(pkg)
    	}
    	pop := w.pushScope("pkg " + pkg.Path())
    	w.current = pkg
    	w.collectDeprecated()
    	scope := pkg.Scope()
    	for _, name := range scope.Names() {
    		if token.IsExported(name) {
    			w.emitObj(scope.Lookup(name))
    		}
    	}
    	pop()
    }
    
    func set(items []string) map[string]bool {
    	s := make(map[string]bool)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    					globalBackgroundHealState.popHealLocalDisks(disk)
    				}(disk)
    			}
    
    			// Reset for next interval.
    			diskCheckTimer.Reset(defaultMonitorNewDiskInterval)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top