- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,439 for result1 (0.14 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt
val result = mutableListOf<HeldCertificate>() for (i in 1..length) { result.add( 0, HeldCertificate .Builder() .signedBy(if (result.isNotEmpty()) result[0] else null) .certificateAuthority(length - i) .serialNumber(i.toLong()) .build(), ) } return result }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.5K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
RequestParameter[] result = searchHelper.getSearchParameters(); assertEquals(2, result.length); assertEquals("q", result[0].getName()); assertEquals("test", result[0].getValues()[0]); assertEquals("lang", result[1].getName()); assertEquals("en", result[1].getValues()[0]); assertEquals("ja", result[1].getValues()[1]); } // Test addRewriter method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
generics.go
"gorm.io/gorm/clause" "gorm.io/gorm/logger" ) type result struct { Result sql.Result RowsAffected int64 } func (info *result) ModifyStatement(stmt *Statement) { stmt.Result = info } // Build implements clause.Expression interface func (result) Build(clause.Builder) { } func WithResult() *result { return &result{} } type Interface[T any] interface {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
throwValidationErrorApi(messages -> { messages.addErrorsFailedToStartJob(GLOBAL, id); }); }); return asJson(new ApiResponse().status(Status.OK).result()); } /** * Stops a scheduled job by ID. * * @param id the ID of the scheduled job to stop * @return JSON response indicating success or failure */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// When String result = transCallNamedPipe.toString(); // Then assertNotNull(result); assertTrue(result.contains("TransCallNamedPipe")); assertTrue(result.contains("pipeName=" + TEST_PIPE_NAME)); } @Test @DisplayName("Test with empty data")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void hasCapability_variousCaps(int cap) throws SmbException { when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0); boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
for (CollectStrategy scheme : CollectStrategy.values()) { A finalAccum = scheme.result(collector, inputs); if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) { @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH` R result = (R) finalAccum; assertEquivalent(expectedResult, result); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* Runnable}, and arrange that {@code get} will return the given result on successful completion. * * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)}Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
String result = trans2QueryFSInfo.toString(); assertNotNull(result); assertTrue(result.contains("Trans2QueryFSInformation")); assertTrue(result.contains("informationLevel=0x")); // SMB_INFO_ALLOCATION is -1, which should be displayed properly assertTrue(result.contains("fff") || result.contains("FFF")); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// When String result = trans.toString(); // Then assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name."); assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level."); assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)