Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 386 for rails (0.02 sec)

  1. android/guava/src/com/google/common/math/LongMath.java

       *
       * @since 14.0
       */
      public static long mean(long x, long y) {
        // Efficient method for computing the arithmetic mean.
        // The alternative (x + y) / 2 fails for large values.
        // The alternative (x + y) >>> 1 fails for negative values.
        return (x & y) + ((x ^ y) >> 1);
      }
    
      /*
       * This bitmask is used as an optimization for cheaply testing for divisibility by 2, 3, or 5.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * entries will not be returned by the iterator. If existing entries are removed during iteration,
       * they will be absent (unless they were already returned).
       *
       * If there are I/O problems during iteration, this iterator fails silently. For example, if the
       * hosting filesystem becomes unreachable, the iterator will omit elements rather than throwing
       * exceptions.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * the iterator is created, in any way except through the iterator's own remove method, the
       * iterator will generally throw a {@link ConcurrentModificationException}. Thus, in the face of
       * concurrent modification, the iterator fails quickly and cleanly, rather than risking arbitrary,
       * non-deterministic behavior at an undetermined time in the future.
       *
       * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed as it is, generally
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .isEqualTo(new File("/c:/Documents ~ Settings, or not/11-12 12:05"));
      }
    
      // https://github.com/google/guava/issues/2152
      @AndroidIncompatible // works in newer Android versions but fails at the version we test with
      public void testToFile_androidIncompatible() throws Exception {
        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    		return formatData, formatFi, nil
    	}
    	return nil, nil, fmt.Errorf(`Disk %s: unknown format version %s`, export, version)
    }
    
    // Migrates version V1 of format.json to version V2 of format.json,
    // migration fails upon any error.
    func formatErasureMigrateV1ToV2(data []byte, version string) ([]byte, error) {
    	if version != formatErasureVersionV1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * @throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6
       *     address surrounded by square brackets, or if the address has a scope id that fails
       *     validation against interfaces on the machine
       */
      public static InetAddress forUriString(String hostAddr) {
        InetAddress addr = forUriStringOrNull(hostAddr, /* parseScope= */ true);
        if (addr == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

          return true;
        }
        if (object instanceof Multiset) {
          Multiset<?> that = (Multiset<?>) object;
          /*
           * We can't simply check whether the entry sets are equal, since that
           * approach fails when a TreeMultiset has a comparator that returns 0
           * when passed unequal elements.
           */
    
          if (multiset.size() != that.size() || multiset.entrySet().size() != that.entrySet().size()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

          return true;
        }
        if (object instanceof Multiset) {
          Multiset<?> that = (Multiset<?>) object;
          /*
           * We can't simply check whether the entry sets are equal, since that
           * approach fails when a TreeMultiset has a comparator that returns 0
           * when passed unequal elements.
           */
    
          if (multiset.size() != that.size() || multiset.entrySet().size() != that.entrySet().size()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * nameserver.
     */
    
        public static final int M_NODE = 2;
    
    /** 
     * A Hybrid node tries to resolve a name using the nameserver first. If
     * that fails use the broadcast address. This is the default if a nameserver
     * is provided. This is the behavior of Microsoft Windows machines.
     */ 
    
        public static final int H_NODE = 3;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

            </field>
            <field>
              <name>checksumPolicy</name>
              <version>1.0.0+</version>
              <description>
                What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and
                above), "warn" (default for Maven 2 and 3) or "ignore".
              </description>
              <type>String</type>
            </field>
          </fields>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top