Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setStackTrace (0.2 sec)

  1. tensorflow/c/eager/immediate_execution_operation.h

      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
      virtual void SetCancellationManager(
          CancellationManager* cancellation_manager) = 0;
    
      // Returns the stack trace set by `SetStackTrace` if exists.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        private TimeoutFutureException(String message) {
          super(message);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ThrowablesTest.java

        // Now we test a property that holds only for the lazy implementation.
    
        if (!lazyStackTraceIsLazy()) {
          return;
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        // Now we test a property that holds only for the lazy implementation.
    
        if (!lazyStackTraceIsLazy()) {
          return;
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
          throw (Error) cause;
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       *       1/stackSize}).
       * </ul>
       *
       * <p>Note: The special implementation does not respect calls to {@link Throwable#setStackTrace
       * throwable.setStackTrace}. Instead, it always reflects the original stack trace from the
       * exception's creation.
       *
       * @since 19.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

       *       1/stackSize}).
       * </ul>
       *
       * <p>Note: The special implementation does not respect calls to {@link Throwable#setStackTrace
       * throwable.setStackTrace}. Instead, it always reflects the original stack trace from the
       * exception's creation.
       *
       * @since 19.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

              // For pre-populated disallowedPriorLocks edges, omit the stack trace.
              setStackTrace(EMPTY_STACK_TRACE);
              break;
            }
            if (!EXCLUDED_CLASS_NAMES.contains(origStackTrace[i].getClassName())) {
              setStackTrace(Arrays.copyOfRange(origStackTrace, i, n));
              break;
            }
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * snapshot of the state and therefore it can be used to answer simple queries without needing to
       * grab a lock.
       */
      // @Immutable except that Throwable is mutable (initCause(), setStackTrace(), mutable subclasses).
      private static final class StateSnapshot {
        /**
         * The internal state, which equals external state unless shutdownWhenStartupFinishes is true.
         */
        final State state;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_function_test.cc

      std::vector<StackFrame> feed_frames = {{"feed.cc", 10, "alpha"}};
      std::vector<StackFrame> neg_frames = {{"neg.cc", 15, "beta"}};
      feed->node.SetStackTrace(std::make_shared<FrozenStackTrace>(feed_frames));
      neg->node.SetStackTrace(std::make_shared<FrozenStackTrace>(neg_frames));
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top