Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getStackTrace (0.25 sec)

  1. guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
    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)
  2. android/guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  @Override
                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  @Override
                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace(Throwable)
      public void testLazyStackTrace() {
        Exception e = new Exception();
        StackTraceElement[] originalStackTrace = e.getStackTrace();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
    
        assertThrows(UnsupportedOperationException.class, () -> lazyStackTrace(e).set(0, null));
    
    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)
  6. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace(Throwable)
      public void testLazyStackTrace() {
        Exception e = new Exception();
        StackTraceElement[] originalStackTrace = e.getStackTrace();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
    
        assertThrows(UnsupportedOperationException.class, () -> lazyStackTrace(e).set(0, null));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

            }
    
            if ( track && this.traceResource ) {
                synchronized ( this.acquires ) {
                    this.acquires.add(truncateTrace(Thread.currentThread().getStackTrace()));
                }
            }
    
            if ( usage == 1 ) {
                synchronized ( this ) {
                    if ( this.sessionAcquired.compareAndSet(false, true) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

                LockGraphNode.class.getName());
    
        ExampleStackTrace(LockGraphNode node1, LockGraphNode node2) {
          super(node1.getLockName() + " -> " + node2.getLockName());
          StackTraceElement[] origStackTrace = getStackTrace();
          for (int i = 0, n = origStackTrace.length; i < n; i++) {
            if (WithExplicitOrdering.class.getName().equals(origStackTrace[i].getClassName())) {
    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. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

            });
        thread.start();
    
        boolean done = doneSignal.await(1, TimeUnit.SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
          fail(builder.toString());
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // because it could be some superclass.
        assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get");
      }
    
      private static int findStackFrame(ExecutionException e, String clazz, String method) {
        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
Back to top