Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for 2361 (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      private static final class SomeCheckedException extends Exception {}
    
      public void testTrustedGetFailure_completed() {
        SettableFuture<String> future = SettableFuture.create();
        future.set("261");
        assertThat(future.tryInternalFastPathGetFailure()).isNull();
      }
    
      public void testTrustedGetFailure_failed() {
        SettableFuture<String> future = SettableFuture.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

          reader.nextFrame(requireSettings = false, BaseTestHandler())
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1",
          )
        }
      }
    
      @Test fun readSettingsFrameNegativeFrameLength() {
        writeMedium(frame, 6) // 2 for the code and 4 for the value
        frame.writeByte(Http2.TYPE_SETTINGS)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2C5F          ; valid                                  # 14.0 GLAGOLITIC SMALL LETTER CAUDATE CHRIVI
    2C60          ; mapped                 ; 2C61          # 5.0  LATIN CAPITAL LETTER L WITH DOUBLE BAR
    2C61          ; valid                                  # 5.0  LATIN SMALL LETTER L WITH DOUBLE BAR
    2C62          ; mapped                 ; 026B          # 5.0  LATIN CAPITAL LETTER L WITH MIDDLE TILDE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address BigInteger representing the IPv4 address
       * @return Inet4Address representation of the given BigInteger
       * @throws IllegalArgumentException if the BigInteger is not between 0 and 2^32-1
       * @since 28.2
       */
      public static Inet4Address fromIPv4BigInteger(BigInteger address) {
        return (Inet4Address) fromBigInteger(address, false);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // java.math.BigInteger
      public void testMean() {
        // Odd-sized ranges have an obvious mean
        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1L << 62) - 1, -1, Long.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

              if (roundCeiling == Long.MAX_VALUE) {
                // correct for Long.MAX_VALUE as discussed above: roundCeilingAsDouble must be 2^63, but
                // roundCeiling is 2^63-1.
                deltaToCeiling++;
              }
    
              int diff = Long.compare(deltaToFloor, deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String SERVER = "Server";
    
      /**
       * The HTTP <a href="https://www.w3.org/TR/server-timing/">{@code Server-Timing}</a> header field
       * name.
       *
       * @since 23.6
       */
      public static final String SERVER_TIMING = "Server-Timing";
    
      /**
       * The HTTP <a href="https://www.w3.org/TR/service-workers/#update-algorithm">{@code
       * Service-Worker-Allowed}</a> header field name.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * @param address BigInteger representing the IPv4 address
       * @return Inet4Address representation of the given BigInteger
       * @throws IllegalArgumentException if the BigInteger is not between 0 and 2^32-1
       * @since 28.2
       */
      public static Inet4Address fromIPv4BigInteger(BigInteger address) {
        return (Inet4Address) fromBigInteger(address, false);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top