Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for sinn (0.14 sec)

  1. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       *
       * @param sink the output byte array
       * @param offset the offset into the array at which to start writing
       * @param value the value to write
       */
      static void store64(byte[] sink, int offset, long value) {
        // We don't want to assert in production code.
        assert offset >= 0 && offset + 8 <= sink.length;
        // Delegates to the fast (unsafe)version or the fallback.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Floats.java

      }
    
      /**
       * Parses the specified string as a single-precision floating point value. The ASCII character
       * {@code '-'} (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

        assertSip("abcdef", 0x2a6e77e733c7c05dL);
        assertSip("SipHash", 0x8325093242a96f60L);
      }
    
      // Test for common pitfall regarding sign extension.
      // For example: (long) data[i++] | (long) data[i++] << 8 | ...
      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestByteSink.java

     */
    
    package com.google.common.io;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    /**
     * A byte sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    public class TestByteSink extends ByteSink implements TestStreamSupplier {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          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(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

        }
        if (value < Integer.MIN_VALUE) {
          return Integer.MIN_VALUE;
        }
        return (int) value;
      }
    
      /**
       * Compares the two specified {@code int} values. The sign of the value returned is the same as
       * that of {@code ((Integer) a).compareTo(b)}.
       *
       * <p><b>Java 7+ users:</b> this method should be treated as deprecated; use the equivalent {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/pom.xml

                  <version>3.0.1</version>
                  <executions>
                    <execution>
                      <id>sign-artifacts</id>
                      <phase>verify</phase>
                      <goals>
                        <goal>sign</goal>
                      </goals>
                    </execution>
                  </executions>
                </plugin>
              </plugins>
          </build>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLong.java

        this.value = value;
      }
    
      /**
       * Returns an {@code UnsignedLong} corresponding to a given bit representation. The argument is
       * interpreted as an unsigned 64-bit value. Specifically, the sign bit of {@code bits} is
       * interpreted as a normal bit, and all other bits are treated as usual.
       *
       * <p>If the argument is nonnegative, the returned result will be equal to {@code bits},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Doubles.java

        // long bits = Double.doubleToLongBits(value);
        // return (int) (bits ^ (bits >>> 32));
      }
    
      /**
       * Compares the two specified {@code double} values. The sign of the value returned is the same as
       * that of <code>((Double) a).{@linkplain Double#compareTo compareTo}(b)</code>. As with that
       * method, {@code NaN} is treated as greater than all other values, and {@code 0.0 > -0.0}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (short x : VALUES) {
          for (short y : VALUES) {
            // Only compare the sign of the result of compareTo().
            int expected = Short.valueOf(x).compareTo(y);
            int actual = Shorts.compare(x, y);
            if (expected == 0) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top