Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,185 for stack (0.26 sec)

  1. src/cmd/asm/internal/lex/stack.go

    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Stack is a stack of TokenReaders. As the top TokenReader hits EOF,
    // it resumes reading the next one down.
    type Stack struct {
    	tr []TokenReader
    }
    
    // Push adds tr to the top (end) of the input stack. (Popping happens automatically.)
    func (s *Stack) Push(tr TokenReader) {
    	s.tr = append(s.tr, tr)
    }
    
    func (s *Stack) Next() ScanToken {
    	tos := s.tr[len(s.tr)-1]
    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)
  2. cmd/leak-detect_test.go

    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    // Identify whether the stack trace entry is part of ignoredStackFn .
    func isIgnoredStackFn(stack string) (ok bool) {
    	ok = true
    	for _, stackFn := range ignoredStackFns {
    		if !strings.Contains(stack, stackFn) {
    			ok = false
    			continue
    		}
    		break
    	}
    	return ok
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/TearDownStack.java

      public final void addTearDown(TearDown tearDown) {
        synchronized (stack) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
        synchronized (stack) {
          stackCopy = Lists.newArrayList(stack);
          stack.clear();
        }
        for (TearDown tearDown : stackCopy) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        }
    
        return builder.buildOrThrow();
      }
    
      /**
       * Parses a trie node and returns the number of characters consumed.
       *
       * @param stack The prefixes that precede the characters represented by this node. Each entry of
       *     the stack is in reverse order.
       * @param encoded The serialized trie.
       * @param start An index in the encoded serialized trie to begin reading characters from.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

        public void enter() {
            LinkedList<ScopeState> stack = values.get();
            if (stack == null) {
                stack = new LinkedList<>();
                values.set(stack);
            }
            stack.addFirst(new ScopeState());
        }
    
        private ScopeState getScopeState() {
            LinkedList<ScopeState> stack = values.get();
            if (stack == null || stack.isEmpty()) {
                throw new IllegalStateException();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig.go

    			"Possible values for <level>: none, error, warn, info, debug")
    	logCmd.PersistentFlags().StringVar(&stackTraceLevel, "stack-trace-level", stackTraceLevel,
    		"Comma-separated list of stack trace level for scopes in the format of <scope>:<stack-trace-level>[,<scope>:<stack-trace-level>,...]. "+
    			"Possible values for <stack-trace-level>: none, error, warn, info, debug")
    	logCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      public void testSingleTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
        final SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDown should have run", true, tearDown.ran);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

      std::vector<int64_t> tensor_stack;
      tensor_stack.reserve(target.size());
      for (auto t : target) {
        tensor_stack.push_back(t);
      }
      BackpropInitialState<BackwardFunction, TapeTensor> result;
      while (!tensor_stack.empty()) {
        int64_t tensor_id = tensor_stack.back();
        tensor_stack.pop_back();
        auto op_id_it = tensor_tape.find(tensor_id);
    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)
  9. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      public void testSingleTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
        final SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDown should have run", true, tearDown.ran);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
          RunnableExecutorPair reversedStack = null;
          while (stack != NULL_PAIR) {
            RunnableExecutorPair head = stack;
            stack = stack.next;
            head.next = reversedStack;
            reversedStack = head;
          }
          stack = reversedStack;
          while (stack != null) {
            stack.execute();
            stack = stack.next;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top