Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 621 for incorrectly (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertEquals("Unknown filesystem info class 99", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat handles large buffer offset correctly")
        void testReadBytesWireFormatLargeBufferOffset() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  2. tests/generics_test.go

    			if result.Pets[i-1].Name > result.Pets[i].Name {
    				t.Fatalf("Preload user %v pets not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i])
    			}
    		}
    		for i := 1; i < len(result.Pets); i++ {
    			if result.Pets[i-1].Name > result.Pets[i].Name {
    				t.Fatalf("Preload user %v friends not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i])
    			}
    		}
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
            int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

       * #descendingMultiset()} will not reflect any changes you make to the behavior of methods such as
       * {@link #add(Object)} or {@link #pollFirstEntry}. This skeleton implementation correctly
       * delegates each of its operations to the appropriate methods of this {@code
       * ForwardingSortedMultiset}.
       *
       * <p>In many cases, you may wish to override {@link #descendingMultiset()} to return an instance
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. cmd/bucket-replication-utils_test.go

    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING;", Targets: map[string]replication.StatusType{"arn1": "PENDING"}},
    		expStatus: replication.Pending,
    	},
    	{ // 3. replication status for one target - incorrect format
    		name:      "replication status for one target",
    		rs:        ReplicationState{ReplicationStatusInternal: "arn1=PENDING"},
    		expStatus: replication.StatusType(""),
    	},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. cmd/bitrot-streaming.go

    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    	// Now pipe.Close() can return before the data is read on the other end of the pipe and written to the disk
    	// Hence an immediate Read() on the file can return incorrect data.
    	if b.canClose != nil {
    		b.canClose.Wait()
    	}
    
    	// Recycle the buffer.
    	if b.byteBuf != nil {
    		globalBytePoolCap.Load().Put(b.byteBuf)
    		b.byteBuf = nil
    	}
    	return err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
        }
    
        public void test_parseXmlSitemaps_withBOM() {
            // Sitemap with UTF-8 BOM should be parsed correctly
            final byte[] bom = new byte[] { (byte) 0xEF, (byte) 0xBB, (byte) 0xBF };
            final String xml =
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosApRequest(seq, new KerberosKey[0]));
    
            // Verify apOptions is set correctly in a minimal sequence without ticket
            KerberosApRequest req = new KerberosApRequest(buildMinimalApReqSeq(ap), null);
            assertEquals(ap, req.getApOptions());
            assertNull(req.getTicket());
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Verify results
            assertEquals(20, bytesRead);
            assertEquals(fileAttributes, response.getAttributes());
            assertEquals(fileSize, response.getSize());
    
            // Verify time was read correctly (accounting for UTime conversion)
            long readTime = (Long) getFieldValue(response, "lastWriteTime");
            // UTime is seconds since 1970, so we need to compare at second precision
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertNotNull(packet);
            assertEquals(SessionServicePacket.SESSION_REQUEST, packet.type);
        }
    
        @Test
        @DisplayName("writeTrailerWireFormat should write both names correctly")
        void testWriteTrailerWireFormat() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top