Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for mantler (0.22 sec)

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

      @J2ktIncompatible
      @GwtIncompatible // threads
      private static boolean trySetName(String threadName, Thread currentThread) {
        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
      public void testInterruptIsSlow() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
                [code of conduct](https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md).
              required: true
            - label: >
                I have read and understood the [contribution
                guidelines](https://github.com/google/guava/wiki/HowToContribute#feature-requests).
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/pom.xml

            <!--
                In order to build and run the tests against JDK 18+, we need to pass java.security.manager=allow, to make
                the deprecated 'java.lang.SecurityManager' available for use.
             -->
            <jdk>[18,]</jdk>
          </activation>
          <properties>
            <test.add.args>-Djava.security.manager=allow</test.add.args>
          </properties>
        </profile>
      </profiles>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */
      private static final LittleEndianBytes byteArray;
    
      /**
       * Load 8 bytes into long in a little endian manner, from the substring between position and
       * position + 8. The array must have at least 8 bytes from offset (inclusive).
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start
    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)
  6. android/guava/src/com/google/common/primitives/Doubles.java

        reverse(array, newFirstIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code double}
       * value in the manner of {@link Number#doubleValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        reverse(array, newFirstIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code int} value
       * in the manner of {@link Number#intValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       * Returns a new ordering on {@code F} which orders elements by first applying a function to them,
       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * SoftReference} (by default, strong references are used). Softly-referenced objects will be
       * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory
       * demand.
       *
       * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        ServiceManager manager = new ServiceManager(asList(a, b));
        RecordingListener listener = new RecordingListener();
        manager.addListener(listener, directExecutor());
        assertState(manager, Service.State.NEW, a, b);
        assertFalse(manager.isHealthy());
        manager.startAsync().awaitHealthy();
        assertState(manager, Service.State.RUNNING, a, b);
        assertTrue(manager.isHealthy());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top