- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 2,917 for _shouldn (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/bpool/bpool_test.go
bp.Put(make([]byte, width)) // wrong capacity is rejected (very less) if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") } // Try putting a short slice into pool bp.Put(make([]byte, bp.w, bp.wcap)[:2]) if len(bp.c) != 1 { t.Fatal("bytepool should have accepted short slice with sufficient capacity") } b = bp.Get() if len(b) != width {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
cmd/object-handlers-common.go
writeHeaders() writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL) return true } } // Object content should be written to http.ResponseWriter return false } // Validates the preconditions. Returns true if PUT operation should not proceed. // Preconditions supported are: // // x-minio-source-mtime // x-minio-source-etag
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 23 12:36:06 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/CloseableIteratorTest.java
@Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() { // ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 964 bytes - Click Count (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.8K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
tests/test_tutorial/test_query_param_models/test_tutorial002.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Set a test time using reflection long testTime = System.currentTimeMillis(); setFieldValue(response, "lastWriteTime", testTime); // All time methods should return the same converted time long expectedTime = testTime + serverTimeZoneOffset; assertEquals(expectedTime, response.getCreateTime()); assertEquals(expectedTime, response.getLastWriteTime());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
import java.util.HashSet; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Stream; /** * Generates Javadocs in a particular way. * * TODO: We should remove the workarounds here and migrate some of the changes here into the Javadoc task proper. */ public abstract class GradleJavadocsPlugin implements Plugin<Project> { @Inject
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 02 14:18:24 GMT 2025 - 10.4K bytes - Click Count (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()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (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`},Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Click Count (0)