- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,329 for Result (0.16 seconds)
-
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (dir, n) -> n == null; boolean result = filter.accept(mockDir, name); if (name == null) { assertTrue(result, "Null name should be accepted by this filter"); } else { assertFalse(result, "Non-null names should be rejected by this filter"); } verifyNoInteractions(mockDir); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
int result = response.readParametersWireFormat(buffer, 0, 2); assertEquals(2, result); } @Test @DisplayName("Should write setup wire format") void testWriteSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.writeSetupWireFormat(buffer, 0); assertEquals(0, result); } @Test
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
* @param supplier The function to execute and cache the result * @return The result from the supplier (either fresh or cached) * @throws RuntimeException Any exception thrown by the supplier will be cached and re-thrown on subsequent calls */ <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> f.isDirectory(); when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert assertTrue(result, "Directory should be accepted"); verify(smbFile, times(1)).isDirectory(); verify(smbFile, never()).getName(); verifyNoMoreInteractions(smbFile); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
logger.log(format("ECL0017", e.getMessage()), e); } } /** * Moves the result set to the next position. * * @param resultSet * The result set. Must not be {@literal null}. * @return Whether the result set successfully moved to the next position. */ public static boolean next(final ResultSet resultSet) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
questionNameField.set(response, new Name(mockConfig)); int result = response.readBodyWireFormat(src, srcIndex); assertTrue(result > 0); } @Test void writeRDataWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeRDataWireFormat(dst, 10); assertEquals(0, result); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "dateKey", supplier); String result = buf.toString(); assertTrue(result.startsWith("\"dateKey\":\"")); // Check that the date was converted to string and properly escaped assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000")); } // Test appendTimestamp method @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
UpgradeContext context = createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0")); String result = upgradeGoal.testDoUpgradeLogic(context, "4.1.0"); assertEquals("4.1.0", result); } @Test @DisplayName("should use 4.1.0 when --all option is specified") void shouldUse410WhenAllOptionSpecified() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
final int prime = 31; int result = 1; result = prime * result + ((value1 == null) ? 0 : value1.hashCode()); result = prime * result + ((value2 == null) ? 0 : value2.hashCode()); result = prime * result + ((value3 == null) ? 0 : value3.hashCode()); result = prime * result + ((value4 == null) ? 0 : value4.hashCode()); return result; } @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0)