Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for inside (0.32 sec)

  1. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
        final AtomicInteger deliveries = new AtomicInteger();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (info.getName().endsWith("GwtSerializationDependencies")) {
            continue; // These classes exist only for the GWT compiler, not to be used.
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

          if (info.getName().endsWith("GwtSerializationDependencies")) {
            continue; // These classes exist only for the GWT compiler, not to be used.
          }
          if (
          /*
           * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs:
           * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/net/HostSpecifier.java

        try {
          return fromValid(specifier);
        } catch (IllegalArgumentException e) {
          // Since the IAE can originate at several different points inside
          // fromValid(), we implement this method in terms of that one rather
          // than the reverse.
    
          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
        final AtomicInteger deliveries = new AtomicInteger();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top