Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for scope (0.27 sec)

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

      private static final ImmutableSet<String> SCOPE_IDS =
          ImmutableSet.of("eno1", "en1", "eth0", "X", "1", "2", "14", "20");
    
      public void testIPv4AddressWithScopeId() {
        ImmutableSet<String> ipStrings = ImmutableSet.of("1.2.3.4", "192.168.0.1");
        for (String ipString : ipStrings) {
          for (String scopeId : SCOPE_IDS) {
            String withScopeId = ipString + "%" + scopeId;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This deliberately avoids all nameservice lookups (e.g. no DNS).
       *
       * <p>Anything after a {@code %} in an IPv6 address is ignored (assumed to be a Scope ID).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/Multisets.java

          Multiset<E> self, Multiset<? extends E> elements) {
        // It'd be nice if we could specialize for ImmutableMultiset here without also retaining
        // its code when it's not in scope...
        if (elements instanceof AbstractMapBasedMultiset) {
          return addAllImpl(self, (AbstractMapBasedMultiset<? extends E>) elements);
        } else if (elements.isEmpty()) {
          return false;
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

      private static final ImmutableSet<String> SCOPE_IDS =
          ImmutableSet.of("eno1", "en1", "eth0", "X", "1", "2", "14", "20");
    
      public void testIPv4AddressWithScopeId() {
        ImmutableSet<String> ipStrings = ImmutableSet.of("1.2.3.4", "192.168.0.1");
        for (String ipString : ipStrings) {
          for (String scopeId : SCOPE_IDS) {
            String withScopeId = ipString + "%" + scopeId;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
        assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta);
        assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       */
      static final class SmoothWarmingUp extends SmoothRateLimiter {
        private final long warmupPeriodMicros;
        /**
         * The slope of the line from the stable interval (when permits == 0), to the cold interval
         * (when permits == maxPermits)
         */
        private double slope;
    
        private double thresholdPermits;
        private double coldFactor;
    
        SmoothWarmingUp(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(yDelta / xDelta);
        assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta);
        assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * <p><b>Note:</b> This class is similar to {@link CharEscaper} but with one very important
     * difference. A CharEscaper can only process Java <a
     * href="http://en.wikipedia.org/wiki/UTF-16">UTF16</a> characters in isolation and may not cope
     * when it encounters surrogate pairs. This class facilitates the correct escaping of all Unicode
     * characters.
     *
     * <p>As there are important reasons, including potential security issues, to handle Unicode
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
Back to top