- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 1,799 for caso (0.02 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(name.getBytes(StandardCharsets.UTF_8), mock.getName()); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle large buffer decoding") void testLargeBufferDecode() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
@NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, butRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
*/ public void testTestEqualsEqualsObjects() { equalsTester.addEqualityGroup(reference, equalObject1, equalObject2); equalsTester.testEquals(); } /** Test proper handling of case where an object is not equal to itself */ public void testNonReflexiveEquals() { Object obj = new NonReflexiveObject(); equalsTester.addEqualityGroup(obj); try { equalsTester.testEquals();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
if (type3.isMICRequired()) { assertNotNull(type3.getMic()); assertEquals(16, type3.getMic().length); // MIC is 16 bytes } } @Test @DisplayName("Should handle case sensitivity correctly") void testCaseSensitivity() throws Exception { // Given Type2Message type2 = createMockType2Message(); String mixedCaseDomain = "TestDomain";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
void unknownPacketTypeHandled() throws IOException { // According to the SocketInputStream implementation, unknown packet types // are handled in the switch statement's default case which continues the loop byte[] data = new byte[] { 1, 2 }; // Use a type that's not SESSION_MESSAGE or SESSION_KEEP_ALIVE byte[] unknownHeader = new byte[] { (byte) 0x90, 0, 0, 0 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
gorm.go
} else { preparedStmt = NewPreparedStmtDB(db.ConnPool, db.PrepareStmtMaxSize, db.PrepareStmtTTL) db.cacheStore.Store(preparedStmtDBKey, preparedStmt) } switch t := tx.Statement.ConnPool.(type) { case Tx: tx.Statement.ConnPool = &PreparedStmtTX{ Tx: t, PreparedStmtDB: preparedStmt, } default: tx.Statement.ConnPool = &PreparedStmtDB{ ConnPool: db.Config.ConnPool,Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
partNumString := strconv.Itoa(testCase.partNum) fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil) } // Add failure test case. testCases = append(testCases, struct { partNum int expectedIndex int }{6, -1}) // Test them. for _, testCase := range testCases {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
current = current.getCause(); } return buf.toString(); } /** * Checks if a checkbox value represents an enabled state. * This method considers "on" and "true" (case-insensitive) as enabled values. * * @param value the checkbox value to check * @return true if the value represents an enabled checkbox, false otherwise */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15K bytes - Viewed (0)