Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for inside (0.23 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
           * And, no, defining (final or not) local variables out of the loop still isn't as good
           * because the null check on the theUnsafe object remains inside the loop and
           * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                        // is undefined in shutdown hooks.
                        // This is because the logging code installs a shutdown hook of its
                        // own. See Cleaner class inside {@link LogManager}.
                        service.shutdown();
                        service.awaitTermination(terminationTimeout, timeUnit);
                      } catch (InterruptedException ignored) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/ThrowablesTest.java

                  Throwables.propagateIfPossible(t);
                  throw new SomeChainingException(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        assertThrows(SomeChainingException.class, () -> sample.noneDeclared());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
    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

                  Throwables.propagateIfPossible(t);
                  throw new SomeChainingException(t);
                }
              }
            };
    
        // Expect the undeclared exception to have been chained inside another
        assertThrows(SomeChainingException.class, () -> sample.noneDeclared());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible(Throwable, Class)
    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)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * listeners are also applicable to heavyweight functions passed to this method. (Specifically,
       * {@code directExecutor} functions should avoid heavyweight operations inside {@code
       * AsyncFunction.apply}. Any heavyweight operations should occur in other threads responsible for
       * completing the returned {@code Future}.)
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
           * We store `localFutures` inside the listener because `this.futures` might be nulled out by
           * the time the listener runs for the final future -- at which point we need to check all
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

            }
          }
          return;
        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        failLeave.countDown(); // release the background thread
      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

        public boolean apply(CharSequence t) {
          return pattern.matcher(t).find();
        }
    
        @Override
        public int hashCode() {
          // Pattern uses Object.hashCode, so we have to reach
          // inside to build a hashCode consistent with equals.
    
          return Objects.hashCode(pattern.pattern(), pattern.flags());
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/InvokableTest.java

            new LocalClassWithSeeminglyHiddenThisInStaticInitializer();
      }
    
      /**
       * This class demonstrates a bug in getParameters() when the local class is inside static
       * initializer.
       */
      private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer {
        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
Back to top