Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for xxxabc (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonSuffix("xyz", "abcde"));
        assertEquals("", Strings.commonSuffix("xyz", "xyzabc"));
        assertEquals("c", Strings.commonSuffix("abc", "ccccc"));
        assertEquals("aa", Strings.commonSuffix("aa", "aaaaa"));
        assertEquals("abc", Strings.commonSuffix(new StringBuilder("xyzabc"), "xxxabc"));
    
        // Identical valid surrogate pairs.
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0x5678, testBlock.getPid());
            }
    
            @Test
            @DisplayName("Test UID property")
            void testUidProperty() {
                testBlock.setUid(0x9ABC);
                assertEquals(0x9ABC, testBlock.getUid());
            }
    
            @Test
            @DisplayName("Test MID property")
            void testMidProperty() {
                testBlock.setMid(0xDEF0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/rpcTest.java

            void testUuidTEncode() throws NdrException {
                // Given: A UUID with test values
                rpc.uuid_t uuid = new rpc.uuid_t();
                uuid.time_low = 0x12345678;
                uuid.time_mid = (short) 0x9ABC;
                uuid.time_hi_and_version = (short) 0xDEF0;
                uuid.clock_seq_hi_and_reserved = (byte) 0x11;
                uuid.clock_seq_low = (byte) 0x22;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00", errMissData},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abc", 8}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00", io.ErrUnexpectedEOF},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00abc\x00\x00de", errMissData},
    		},
    	}, {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            buffer[offset + 2] = 0x02; // PIPE
            buffer[offset + 3] = 0;
            SMBUtil.writeInt4(0x1234, buffer, offset + 4);
            SMBUtil.writeInt4(0x5678, buffer, offset + 8);
            SMBUtil.writeInt4(0x9ABC, buffer, offset + 12);
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(16, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    			testRemaining{5, 5},
    			testWrite{"abc", 3, nil},
    			testRemaining{2, 2},
    			testReadFrom{fileOps{"\x00\x00"}, 2, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeReg{5, "\x00\x00abc"},
    		tests: []testFnc{
    			testRemaining{5, 5},
    			testWrite{"\x00\x00", 2, nil},
    			testRemaining{3, 3},
    			testWrite{"abc", 3, nil},
    			testReadFrom{fileOps{"z"}, 0, ErrWriteTooLong},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    		}
    	}
    }
    
    var scanTests = []string{
    	"",
    	"a",
    	"¼",
    	"☹",
    	"\x81",   // UTF-8 error
    	"\uFFFD", // correctly encoded RuneError
    	"abcdefgh",
    	"abc def\n\t\tgh    ",
    	"abc¼☹\x81\uFFFD日本語\x82abc",
    }
    
    func TestScanByte(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanBytes)
    		var i int
    		for i = 0; s.Scan(); i++ {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top