- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for setResult (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* it. */ setResult(transformResult); } /** Template method for subtypes to actually run the transform. */ @ForOverride @ParametricNullness abstract T doTransform(F function, @ParametricNullness I result) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} /** * Gets the negotiation result code * @return the result code */ public int getResult() { return this.result; } /** * Sets the negotiation result code * @param result the result code to set */ public void setResult(final int result) { this.result = result; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT"); } @Test @DisplayName("serialization omits tags when field is null") void testSerializationOmittingNullFields() throws IOException { NegTokenTarg token = new NegTokenTarg(); token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE); // mechanism, token and mic are left null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* it. */ setResult(transformResult); } /** Template method for subtypes to actually run the transform. */ @ForOverride @ParametricNullness abstract T doTransform(F function, @ParametricNullness I result) throws Exception; /** Template method for subtypes to actually set the result. */ @ForOverride abstract void setResult(@ParametricNullness T result); @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} private static final class ResultMsg extends TestMessage { void setResult(int r) { this.result = r; } } @Test void testGetResult() { ResultMsg m = new ResultMsg(); assertNull(m.getResult()); m.setResult(0xDEAD); DcerpcException e = m.getResult(); assertEquals(0xDEAD, e.getErrorCode()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
Set<BsUser> set = new HashSet<>(); set.add(entity1); set.add(entity2); RenderDataUtil.register(data, "set", set); Object setResult = data.getDataMap().get("set"); assertNotNull(setResult); assertTrue(setResult instanceof List); } // Test helper class public static class ComplexObject { private String value; public String getValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
class ResultHandlingTests { @Test @DisplayName("getResult should return null when result is 0") void testGetResultSuccess() throws Exception { // Given setResultField(bind, 0); // When DcerpcException result = bind.getResult(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception { assertEquals(expected, getResponse(methodName).getResult()); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isCancelled()); ExecutorService executor = newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get()); // Release the future value. latch.countDown(); assertTrue(getResult.get(10, SECONDS)); } finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0)