Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for median (0.15 sec)

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

            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h1 = fmix64(h1);
          h2 = fmix64(h2);
    
          h1 += h2;
          h2 += h1;
    
          return HashCode.fromBytesNoCopy(
              ByteBuffer.wrap(new byte[CHUNK_SIZE])
                  .order(ByteOrder.LITTLE_ENDIAN)
                  .putLong(h1)
                  .putLong(h2)
                  .array());
        }
    
        private static long fmix64(long k) {
          k ^= k >>> 33;
          k *= 0xff51afd7ed558ccdL;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

          String arch = System.getProperty("os.arch");
          if ("amd64".equals(arch)) {
            theGetter =
                ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                    ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
                    : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
          // ensure we really catch *everything*
        }
        byteArray = theGetter;
      }
    
    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)
  5. android/guava/src/com/google/common/hash/HashCode.java

       * is big-endian or little-endian depends on the byte order of {@link #asBytes}. This may be
       * surprising for implementations of {@code HashCode} that represent the number in big-endian
       * since everything else in the hashing API uniformly treats multibyte values as little-endian.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      private LittleEndianDataOutputStream out = new LittleEndianDataOutputStream(baos);
    
      public void testWriteLittleEndian() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
          assertTrue(bb.remaining() >= chunkSize);
          for (int i = 0; i < chunkSize; i++) {
            out.write(bb.get());
          }
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          assertFalse(remainingCalled);
          remainingCalled = true;
          assertEquals(ByteOrder.LITTLE_ENDIAN, bb.order());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/Utf8Test.java

       * @param expectedCount the expected number of roundtrippable permutations
       * @param start the starting bytes encoded as a long as big-endian
       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

        int pos = 0;
        for (int[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 4-element byte array; equivalent to
       * {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code
    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)
Back to top