Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for benoit (0.18 sec)

  1. android/guava/src/com/google/common/collect/CompactHashMap.java

       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
       * *Map variants. This class is particularly hard to benchmark, because the benefit is not only in
       * less allocation, but also having the GC do less work to scan the heap because of fewer
       * references, which is particularly hard to quantify.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSink.java

       * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to
       * {@link #openStream()} when the stream returned by that method does not benefit from additional
       * buffering. This method returns a new, independent writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param offset the offset into the array at which to start
       * @return the value found in the array in the form of a long
       */
      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
            | ((source[offset + 3] & 0xFF) << 24);
    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)
  4. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

    
    /**
     * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure.
     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/internal/Finalizer.java

       *     associated FinalizableReferenceQueue is no longer referenced.
       */
      private boolean finalizeReference(Reference<?> reference, Method finalizeReferentMethod) {
        /*
         * This is for the benefit of phantom references. Weak and soft references will have already
         * been cleared by this point.
         */
        reference.clear();
    
        if (reference == frqReference) {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       */
      void cleanUp() {
        if (threadStarted) {
          return;
        }
    
        Reference<?> reference;
        while ((reference = queue.poll()) != null) {
          /*
           * This is for the benefit of phantom references. Weak and soft references will have already
           * been cleared by this point.
           */
          reference.clear();
          try {
            ((FinalizableReference) reference).finalizeReferent();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       */
      void cleanUp() {
        if (threadStarted) {
          return;
        }
    
        Reference<?> reference;
        while ((reference = queue.poll()) != null) {
          /*
           * This is for the benefit of phantom references. Weak and soft references will have already
           * been cleared by this point.
           */
          reference.clear();
          try {
            ((FinalizableReference) reference).finalizeReferent();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
       * *Map variants. This class is particularly hard to benchmark, because the benefit is not only in
       * less allocation, but also having the GC do less work to scan the heap because of fewer
       * references, which is particularly hard to quantify.
       */
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * references (currently executing code, file descriptors).
         * 
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        // the monitor with the guard satisfied. Therefore as soon as tearDownLatch is triggered, we
        // should be able to enter the monitor, and then we set the guard to satisfied for the benefit
        // of any remaining waiting threads.
    
        tearDownLatch.countDown();
        assertTrue(
            "Monitor still occupied in tearDown()",
            monitor.enter(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
Back to top