Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for yielding (0.07 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertNull(expectHost);
          return;
        }
        assertNotNull(expectHost);
    
        // Apply withDefaultPort(), yielding hp2.
        final boolean badDefaultPort = (defaultPort < 0 || defaultPort > 65535);
        HostAndPort hp2 = null;
        try {
          hp2 = hp.withDefaultPort(defaultPort);
          assertFalse(badDefaultPort);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

      @Override
      public int hashCode() {
        return Objects.hashCode(numHashFunctions, funnel, strategy, bits);
      }
    
      /**
       * Returns a {@code Collector} expecting the specified number of insertions, and yielding a {@link
       * BloomFilter} with false positive probability 3%.
       *
       * <p>Note that if the {@code Collector} receives significantly more elements than specified, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        /*
         * Wait not just until the Future's value is set (as in future.get()) but
         * also until ListeningScheduledExecutorService's wrapper task is done
         * executing listeners, as detected by yielding control to afterExecute.
         */
        completed.await();
        assertTrue(future.isDone());
        assertThat(future.get()).isEqualTo(42);
        assertListenerRunImmediately(future);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        /*
         * Wait not just until the Future's value is set (as in future.get()) but
         * also until ListeningScheduledExecutorService's wrapper task is done
         * executing listeners, as detected by yielding control to afterExecute.
         */
        completed.await();
        assertTrue(future.isDone());
        assertThat(future.get()).isEqualTo(42);
        assertListenerRunImmediately(future);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    			a.N = atomic.LoadInt64(&old.N)
    			e.mu.Lock()
    			e.lastMinuteLatency.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    			// We may be able to grab the new accumulator by yielding.
    			runtime.Gosched()
    			acc = e.cached.Load()
    		}
    	}
    	atomic.AddInt64(&acc.N, 1)
    	atomic.AddInt64(&acc.Total, int64(value))
    	atomic.AddInt64(&acc.Size, sz)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * Creates an index {@code ImmutableListMultimap} that contains the results of applying a
       * specified function to each item in an {@code Iterable} of values. Each value will be stored as
       * a value in the resulting multimap, yielding a multimap with the same size as the input
       * iterable. The key used to store that value in the multimap will be the result of calling the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. RELEASE.md

        `tf.distribute` and `tf.keras` APIS.
    *   Adds `enable_tensor_equality()`, which switches the behavior such that:
        *   Tensors are no longer hashable.
        *   Tensors can be compared with `==` and `!=`, yielding a Boolean Tensor
            with element-wise comparison results. This will be the default behavior
            in 2.0.
    
    ## Breaking Changes
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    The expression blocks until a value is available.
    Receiving from a <code>nil</code> channel blocks forever.
    A receive operation on a <a href="#Close">closed</a> channel can always proceed
    immediately, yielding the element type's <a href="#The_zero_value">zero value</a>
    after any previously sent values have been received.
    </p>
    
    <pre>
    v1 := &lt;-ch
    v2 = &lt;-ch
    f(&lt;-ch)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top