Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for 010203FF (0.05 seconds)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
            @DisplayName("toString with empty challenge array")
            void testToStringWithEmptyChallenge() {
                UniAddress dc = mock(UniAddress.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("abc", StringUtil.substringToLast("abc", "dddd"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex() throws Exception {
            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/InetAddressesTest.java

        mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
        assertThat(mapped).isEqualTo(InetAddress.getByName("1.2.3.4"));
    
        mappedStr = "::ffff:0102:0304";
        assertTrue(InetAddresses.isMappedIPv4Address(mappedStr));
        mapped = InetAddresses.forString(mappedStr);
        assertThat(mapped).isNotInstanceOf(Inet6Address.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals("Expected structureSize = 60", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 10, 20, 30 })
            @DisplayName("Should correctly read from different buffer offsets")
            void testReadBytesWireFormatWithDifferentOffsets(int offset) throws SMBProtocolDecodingException {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. tests/migrate_test.go

    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    		if err := m.AutoMigrate(&DynamicUser{}); err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
Back to Top