Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 35 for ByteOrder (0.26 seconds)

  1. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStats}. This tests instances created by {@link
     * PairedStatsAccumulator#snapshot}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/PairedStatsTest.java

    import com.google.common.math.StatsTesting.ManyValues;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link PairedStats}. This tests instances created by {@link
     * PairedStatsAccumulator#snapshot}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    import static java.lang.Byte.toUnsignedInt;
    
    import com.google.errorprone.annotations.Immutable;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import org.jspecify.annotations.Nullable;
    
    /**
     * See MurmurHash3_x64_128 in <a href="http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp">the
     * C++ implementation</a>.
     *
     * @author Austin Appleby
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

           * which will have an efficient native implementation in JDK 9.
           *
           */
          String arch = System.getProperty("os.arch");
          if (Objects.equals(arch, "amd64")) {
            return ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
                : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
          // ensure we really catch *everything*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.UnsupportedEncodingException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.UniAddress;
    
    /**
     * Unit tests for the SmbComNegotiateResponse class.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. lib/fips140/v1.26.0.zip

    encoded // form is reduced modulo l. func isReduced(s []byte) bool { if len(s) != 32 { return false } s0 := byteorder.LEUint64(s[:8]) s1 := byteorder.LEUint64(s[8:16]) s2 := byteorder.LEUint64(s[16:24]) s3 := byteorder.LEUint64(s[24:]) l0 := byteorder.LEUint64(scalarMinusOneBytes[:8]) l1 := byteorder.LEUint64(scalarMinusOneBytes[8:16]) l2 := byteorder.LEUint64(scalarMinusOneBytes[16:24]) l3 := byteorder.LEUint64(scalarMinusOneBytes[24:]) // Do a constant time subtraction chain scalarMinusOneBytes - s. If...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/PairedStats.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.MoreObjects;
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.Objects;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable value object capturing some basic statistics about a collection of paired double
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putInt((int) counter);
            } else {
                // SMB 3.0/3.0.2 CCM: Counter-based approach as per SMB3 specification
                final long counter = this.nonceCounter.incrementAndGet();
                final ByteBuffer buffer = ByteBuffer.wrap(nonce);
                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(counter);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/StatsTest.java

    import com.google.common.primitives.Longs;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigDecimal;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.DoubleSummaryStatistics;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
Back to Top