- Sort Score
- Num 10 results
- Language All
Results 1321 - 1330 of 1,673 for CASE (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(800L, SMBUtil.readInt8(buffer, EXPECTED_SIZE * 2 + 8)); assertEquals(900, SMBUtil.readInt4(buffer, EXPECTED_SIZE * 2 + 16)); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle encoding with minimum buffer size") void testMinimumBufferSize() { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
} @Test void toString_shouldReturnExpectedFormat_withNullAddrEntry() throws NoSuchFieldException, IllegalAccessException { // Set 'addrEntry' field to null for this test case Field addrEntryField = NameServicePacket.class.getDeclaredField("addrEntry"); addrEntryField.setAccessible(true); addrEntryField.set(nameQueryResponse, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
if (expectEqual) { assertEquals(hA, hB); assertEquals(hA.hashCode(), hB.hashCode()); } else { assertNotEquals(hA, hB); } // Test negative case with different tree id handles SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class); lenient().when(tC.acquire()).thenReturn(tC); lenient().when(tC.getTreeId()).thenReturn(treeId + 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/en/docs/fastapi-people.md
Here I'm also highlighting contributions from sponsors.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
src/bytes/buffer.go
// as a string. If the [Buffer] is a nil pointer, it returns "<nil>". // // To build strings more efficiently, see the [strings.Builder] type. func (b *Buffer) String() string { if b == nil { // Special case, useful in debugging. return "<nil>" } return string(b.buf[b.off:]) } // Peek returns the next n bytes without advancing the buffer. // If Peek returns fewer than n bytes, it also returns [io.EOF].
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertEquals(0x1, EncryptionNegotiateContext.CIPHER_AES128_CCM); assertEquals(0x2, EncryptionNegotiateContext.CIPHER_AES128_GCM); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum supported ciphers") void testMaximumCiphers() throws SMBProtocolDecodingException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
for (int i = 0; i < fieldCount; i++) { fields[i] = "field" + i; } queryFieldConfig.setSearchFields(fields); // Test field at the end (worst case for array lookup, but same for Set) String testField = "field999"; // Warm up for (int i = 0; i < 100; i++) { queryCommand.isSearchField(testField); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, 8, copiedFileId, 0, 16); assertArrayEquals(newFileId, copiedFileId); } @Test @DisplayName("Test edge case with minimum buffer size") void testMinimumBufferSize() { byte[] buffer = new byte[24]; // Exact size needed int written = request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, transPeekNamedPipe.getSubCommand()); } @Test @DisplayName("Should handle edge case with zero FID") void testZeroFid() { // Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, 0); byte[] buffer = new byte[10]; // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the * behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should * override {@code putAll} as well, either providing your own implementation, or delegating to the * provided {@code standardPutAll} method. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0)