Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for visible (0.26 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("privateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(
                VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("protectedMethod")));
        assertTrue(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/annotations/VisibleForTesting.java

     * the License.
     */
    
    package com.google.common.annotations;
    
    /**
     * Annotates a program element that exists, or is more widely visible than otherwise necessary, only
     * for use in test code.
     *
     * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

          super(functions);
          for (HashFunction function : functions) {
            checkArgument(
                function.bits() % 8 == 0,
                "the number of bits (%s) in hashFunction (%s) must be divisible by 8",
                function.bits(),
                function);
          }
        }
    
        @Override
        HashCode makeHash(Hasher[] hashers) {
          byte[] bytes = new byte[bits() / 8];
          int i = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns a comparator that compares two {@code char} arrays <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>; not advisable
       * for sorting user-visible strings as the ordering may not match the conventions of the user's
       * locale. That is, it compares, using {@link #compare(char, char)}), the first pair of values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    listener. Notably, this means that 'volatile' is unnecessary to make 'inputFuture' visible
      //    to the listener.
      //
      // 2. In done() where we may propagate cancellation to the input. In this case it is _not_ fine.
      //    There is currently nothing that enforces that the write to inputFuture in the constructor is
      //    visible to done(). This is because there is no happens before edge between the write and a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      /*
       * If I understand correctly:
       *
       * This needs to be a @JsMethod so that J2CL knows to look for a JavaScript implemention of
       * it in Platform.native.js. (The JavaScript implementation inline below is visible to *GWT*, but
       * *J2CL* doesn't look at it.)
       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

       * @since 19.0 (since 1.0 as constant {@code INVISIBLE})
       */
      @Deprecated
      public static CharMatcher invisible() {
        return Invisible.INSTANCE;
      }
    
      /**
       * Determines whether a character is single-width (not double-width). When in doubt, this matcher
       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
        // in our test environment, which foils the purpose of this test, so we disable the logic for
        // our test by setting a static field. We are changing the field in the parallel version of FRQ
        // and each test creates its own one of those, so there is no test interference here.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        };
    
        abstract boolean isVisible(int modifiers);
    
        /** Returns {@code true} if {@code member} is visible under {@code this} visibility. */
        final boolean isVisible(Member member) {
          return isVisible(member.getModifiers());
        }
    
        final Iterable<Method> getStaticMethods(Class<?> cls) {
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      public static boolean shutdownAndAwaitTermination(
          ExecutorService service, long timeout, TimeUnit unit) {
        long halfTimeoutNanos = unit.toNanos(timeout) / 2;
        // Disable new tasks from being submitted
        service.shutdown();
        try {
          // Wait for half the duration of the timeout for existing tasks to terminate
    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)
Back to top