Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for environment (0.26 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        if (System.getProperty("com.google.appengine.runtime.environment") == null) {
          return false;
        }
        try {
          Class.forName("com.google.appengine.api.utils.SystemProperty");
        } catch (ClassNotFoundException e) {
          return false;
        }
        try {
          // If the current environment is null, we're not inside AppEngine.
    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)
  2. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          if (theUnsafe.arrayIndexScale(byte[].class) != 1) {
            throw new AssertionError();
          }
        }
      }
    
      /** Fallback implementation for when Unsafe is not available in our current environment. */
      private enum JavaLittleEndianBytes implements LittleEndianBytes {
        INSTANCE {
          @Override
          public long getLongLittleEndian(byte[] source, int offset) {
            return Longs.fromBytes(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

     * string formatting itself should not be a concern.
     *
     * <p>As with any performance concerns, you should consider profiling your code (in a production
     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Types.java

                method.setAccessible(true);
              } catch (AccessControlException e) {
                // OK: the method is accessible to us anyway. The setAccessible call is only for
                // unusual execution environments where that might not be true.
              }
              builder.put(method.getName(), method);
            }
          }
          typeVariableMethods = builder.buildKeepingLast();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Optional.java

     * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question.
     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

       *
       * <p>As of jdk7u40, HashMap has an empty-map optimization. The argument to new HashMap(int) is
       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. README.md

        on Linux, with some additional testing on newer JDKs and on Windows. Some
        features, especially in `com.google.common.io`, may not work correctly in
        non-Linux environments. For the Android flavor, our unit tests also run on
        API level 21 (Lollipop).
    
    [guava-snapshot-api-docs]: https://guava.dev/releases/snapshot-jre/api/docs/
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * implemented in terms of that method (though they will likely be overridden by subclasses for
       * performance reasons).) This means that a call to this method have can different behavior in GWT
       * and non-GWT environments UNLESS subclasses are careful to always override all methods
       * implemented in terms of sortedDelegate (except comparator()).
       */
      ImmutableSortedSet(Comparator<? super E> comparator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

     * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question.
     *
     * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
     * from other programming environments, though it may bear some similarities.
     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top