Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for isAlive (0.24 sec)

  1. common/scripts/kind_provisioner.sh

    from ipaddress import ip_network, IPv6Network;
    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
      @VisibleForTesting
      boolean isLive(ReferenceEntry<K, V> entry, long now) {
        return segmentFor(entry.getHash()).getLiveValue(entry, now) != null;
      }
    
      /**
       * Returns the segment that should be used for a key with the given hash.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top