Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for 01234567 (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

     */
    @NullUnmarked
    public class AbstractByteHasherTest extends TestCase {
    
      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        hasher.putByte((byte) 1);
        hasher.putBytes(new byte[] {2, 3, 4, 5, 6});
        hasher.putByte((byte) 7);
        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

                    response.dataLength = 10;
                    // Copy data to the buffer that was passed in the response constructor
                    byte[] testData = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
                    System.arraycopy(testData, 0, response.b, response.off, testData.length);
                    return null;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("1.001 \u03bcs", stopwatch.toString());
        ticker.advance(8998);
        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0x12, buffer[1] & 0xFF);
        }
    
        @Test
        @DisplayName("Should encode and decode 32-bit integers")
        void testInt32Operations() {
            // Given
            int value = 0x12345678;
            byte[] buffer = new byte[4];
    
            // When - encode little endian
            Encdec.enc_uint32le(value, buffer, 0);
            long decoded = Encdec.dec_uint32le(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

      public enum SampleMatcherConfig {
        WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS),
        HASH(CharMatcher.is('#'), "#"),
        ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
        WESTERN_DIGIT("0123456789"),
        ALL_DIGIT(CharMatcher.digit(), ALL_DIGITS),
        OPS_5("+-*/%"),
        HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"),
        HEX_22(
            CharMatcher.inRange('0', '9')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
            // Prepare byte array
            byte[] encryptionKey = "12345678".getBytes();
            byte[] domainNameBytes = "DOMAIN".getBytes(ServerMessageBlock.OEM_ENCODING);
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testContextWithFlags() {
            CompressionNegotiateContext contextWithFlags =
                    new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77 }, 0x12345678);
    
            assertEquals(0x12345678, contextWithFlags.getFlags());
        }
    
        @Test
        @DisplayName("Test toString representation")
        public void testToString() {
            String str = context.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageFloat(0.12345678)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=0.123457,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    }
    
    func TestGroupConditions(t *testing.T) {
    	type Pizza struct {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/testdata/ascii.txt

     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 95 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

     */
    @NullUnmarked
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top