Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for pop (0.17 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. guava-testlib/src/com/google/common/testing/CollectorTester.java

            while (stack.size() > 1) {
              A right = pop(stack);
              A left = pop(stack);
              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
          <E extends @Nullable Object> void push(List<E> stack, E value) {
            stack.add(value);
          }
    
          <E extends @Nullable Object> E pop(List<E> stack) {
            return stack.remove(stack.size() - 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
         * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and
         * push to on a call to {@code set()}).
         */
        @Nullable Stack<E> stackWithLastReturnedElementAtTop = null;
    
        MultiExceptionListIterator(List<E> expectedElements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
         * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and
         * push to on a call to {@code set()}).
         */
        @Nullable Stack<E> stackWithLastReturnedElementAtTop = null;
    
        MultiExceptionListIterator(List<E> expectedElements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      // Avoid infinite recursion. Whichever forward function we run, it'll end up
      // executing ops, and we don't want to watch those with this accumulator.
      call_state_.emplace(nullptr, true);
      auto pop_call_state = gtl::MakeCleanup([this] { this->call_state_.pop(); });
    
      std::vector<Gradient*> forward_grads;
      if (forward_function == nullptr) {
        // We have no special-cased forward gradient. Fall back to running the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. 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)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

                candidate.desc == methodNode.desc && candidate.signature == methodNode.signature
            }
    
            while (superTypeStack.isNotEmpty()) {
                val superTypeName = superTypeStack.pop()
    
                if (!visited.add(superTypeName)) continue
    
                val superType = typeForInternalName(superTypeName) ?: continue
    
                if (superType.delegate.methods.any(matchesMethodNode)) return false
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  8. 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)
  9. fastapi/openapi/utils.py

                        additional_response,
                    ) in route.responses.items():
                        process_response = additional_response.copy()
                        process_response.pop("model", None)
                        status_code_key = str(additional_status_code).upper()
                        if status_code_key == "DEFAULT":
                            status_code_key = "default"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public void push(E e) {
          synchronized (mutex) {
            delegate().push(e);
          }
        }
    
        @Override
        public E pop() {
          synchronized (mutex) {
            return delegate().pop();
          }
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          synchronized (mutex) {
            return delegate().descendingIterator();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top