- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 794 for resultCh (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
byte[] dst1 = new byte[10]; byte[] dst2 = new byte[10]; // Act int result1 = transWaitNamedPipe.writeSetupWireFormat(dst1, 0); int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0); // Assert assertEquals(result1, result2); assertArrayEquals(dst1, dst2); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
Configuration mockConfig = mock(Configuration.class); when(mockSession.getConfig()).thenReturn(mockConfig); Configuration result1 = mockSession.getConfig(); Configuration result2 = mockSession.getConfig(); assertSame(result1, result2, "getConfig() should return consistent values"); verify(mockSession, times(2)).getConfig(); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// Execute the job multiple times String result1 = purgeDocJob.execute(); // Reset the flag deleteByQueryCalled = false; String result2 = purgeDocJob.execute(); // Assert both executions were successful assertEquals("", result1); assertEquals("", result2); assertTrue(deleteByQueryCalled); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
char[] password3 = "testpassworX".toCharArray(); Boolean result1 = (Boolean) constantTimeMethod.invoke(null, password1, password2); Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3); assertTrue(result1, "Identical passwords should be equal"); assertFalse(result2, "Different passwords should not be equal"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
tests/query_test.go
} for idx := range results { results[idx].Name = results[idx].Name + "_new" } if err := tx.Save(results).Error; err != nil { t.Fatalf("failed to save users, got error %v", err) } return nil }); result.Error != nil || result.RowsAffected != 6 { t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected) } if totalBatch != 6 {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; /** * Base interface for service operation results in Maven. This interface defines the common contract * for operation results, providing access to the original request that generated this result. * * <p>Each result is linked to its originating {@link Request}, allowing for: * <ul> * <li>Traceability between requests and their outcomes</li>Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> result1 = response.getNotifyInformation(); List<FileNotifyInformation> result2 = response.getNotifyInformation(); List<FileNotifyInformation> result3 = response.getNotifyInformation(); // Verify all calls return the same content assertEquals(result1.size(), result2.size()); assertEquals(result2.size(), result3.size());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Act int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0); int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50); int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100); // Assert assertEquals(result1, result2); assertEquals(result2, result3); assertTrue(result1 > 0); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertTrue(result1 instanceof MatchAllQueryBuilder); assertTrue(result2 instanceof MatchAllQueryBuilder); // Both should generate the same JSON String json1 = result1.toString().replaceAll("[\\s\\n]", ""); String json2 = result2.toString().replaceAll("[\\s\\n]", ""); assertEquals(json1, json2); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
int result = response.writeDataWireFormat(dst, 0); assertEquals(0, result); } @Test void testReadSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); } @Test void testReadParametersWireFormat() { byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)