Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 241 for Flow (0.11 seconds)

  1. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertThat(copy.columnKeySet()).containsExactlyElementsIn(original.columnKeySet()).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Mind-bogglingly slow in GWT
      @AndroidIncompatible // slow
      public void testOverflowCondition() {
        // See https://github.com/google/guava/issues/1322 for details.
        ImmutableTable.Builder<Integer, Integer, String> builder = ImmutableTable.builder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLong.java

       * returns the low 64 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedLong plus(UnsignedLong val) {
        return fromLongBits(this.value + checkNotNull(val).value);
      }
    
      /**
       * Returns the result of subtracting this and {@code val}. If the result would have more than 64
       * bits, returns the low 64 bits of the result.
       *
       * @since 14.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Fingerprint2011.java

      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      /** Implementation of Hash128to64 from util/hash/hash128to64.h */
      @VisibleForTesting
      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= a >>> 47;
        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

          result +=
            when {
              c.isSurrogate() -> {
                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> {
                c.code
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  6. mockwebserver/README.md

    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isMacOsX = OperatingSystem.current().isMacOsX
        val isIntel: Boolean = architecture == "x86_64" || architecture == "x86"
        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 4.9K bytes
    - Click Count (1)
  8. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        testExhaustively(Ordering.<String>natural(), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromExplicit() {
        testExhaustively(Ordering.explicit("a", "b", "c", "d"), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
      public void testCombinationsExhaustively_startingFromUsingToString() {
        testExhaustively(Ordering.usingToString(), 1, 12, 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top