- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 3,508 for should (0.03 sec)
-
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* FutureTask#done() done()} method. For similar functionality, call {@link #addListener}. * * <p>Few users should use this class. It is intended primarily for those who are implementing an * {@code ExecutorService}. Most users should call {@link ListeningExecutorService#submit(Callable) * ListeningExecutorService.submit} on a service obtained from {@link * MoreExecutors#listeningDecorator}. *
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/EncodableTest.java
assertEquals(0, enc.size(), "size() must be zero"); assertEquals(0, written, "encode() must return zero for zero length"); for (byte b : dst) { assertEquals((byte) 0x7A, b, "Destination should remain unchanged"); } } @Test @DisplayName("encode() throws when destination too small") void encodeThrowsWhenDestinationTooSmall() { byte[] src = makeSeq(5);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/signature-v4-utils.go
return true } // If x-amz-content-sha256 is set and the value is not // 'UNSIGNED-PAYLOAD' we should validate the content sha256. switch v[0] { case unsignedPayload, unsignedPayloadTrailer: return true case emptySHA256: // some broken clients set empty-sha256 // with > 0 content-length in the body, // we should skip such clients and allow // blindly such insecure clients only if // S3 strict compatibility is disabled.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 25 17:10:22 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-gwt/pom.xml
won't. I have one idea for a better approach, but it's painful, and I haven't tested it: We could postprocess Collect.gwt.xml to add <skip> lines for all the files that should be covered by testModule.gwt.xml. Maybe I'll try it someday. [*] https://code.google.com/p/google-web-toolkit/wiki/ResourceOracle#When_multiple_PathPrefix_es_have_the_same_path
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertEquals(1, loadCount[0]); // Should not increment // Simulate time passing (more than 60 seconds) testFactory.lastLoadedTime = System.currentTimeMillis() - 61000L; // Should reload after cache expiry names = testFactory.getDataStoreNames(); assertEquals(2, names.length); assertEquals(2, loadCount[0]); // Should increment }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertThrows(SmbException.class, () -> tree.treeConnect(null, null)); // After failure, state should be reset to disconnected assertEquals(0, tree.connectionState); } @Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* to stop requests. You could poll for lifecycle changes in a work loop: * * <pre> * public void run() { * while ({@link #isRunning()}) { * // perform a unit of work * } * } * </pre> * * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which * should cause {@link #run()} to return. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
int writtenSize = range.encode(dst, 0); assertEquals(10, writtenSize, "Range size when not large should be 10"); // create a new empty range and decode LockingAndXRange decoded = new LockingAndXRange(false); int decodedSize = decoded.decode(dst, 0, dst.length); assertEquals(10, decodedSize, "Decode should return size 10"); assertEquals(99, decoded.getPid());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
@CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testPoll_size1() { assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
{"VADDPD.Z.A X0, X1, X2", `Z suffix should be the last; unknown suffix "A"`}, {"VADDPD.Z.Z X0, X1, X2", `Z suffix should be the last; duplicate suffix "Z"`}, {"VADDPD.SAE.BCST X0, X1, X2", `can't combine rounding/SAE and broadcast`}, {"VADDPD.BCST.SAE X0, X1, X2", `can't combine rounding/SAE and broadcast`}, {"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 1.9K bytes - Viewed (0)