- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 2,810 for when (0.33 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Verify parameter content assertEquals(0x0101, SMBUtil.readInt2(paramBuffer, 0)); } @Test void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2QueryPathInfo = new Trans2QueryPathInformation(mockConfig, TEST_FILENAME, TEST_INFO_LEVEL);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
fastapi/encoders.py
# TODO: pv2 should this return strings instead? def decimal_encoder(dec_value: Decimal) -> Union[int, float]: """ Encodes a Decimal as int if there's no exponent, otherwise float This is useful when we use ConstrainedDecimal to represent Numeric(x,0) where an integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Test void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0); // When zero is written, it stays as zero in buffer // When read back, it converts to negative Unix time due to Windows FileTime conversion long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
Set.of(pom1), // modified Set.of() // errors ); assertTrue(result.success(), "Result should be successful when no errors"); assertEquals(2, result.processedCount(), "Should have 2 processed POMs"); assertEquals(1, result.modifiedCount(), "Should have 1 modified POM");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} static class ThrowsAtEndException extends RuntimeException { /* nothing */ } /** * This Iterator claims to have more elements than the underlying iterable, but when you try to * fetch the extra elements, it throws an unchecked exception. */ static class ThrowsAtEndIterator<E> implements Iterator<E> { Iterator<E> iterator;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/fr/llm-prompt.md
### Target language Translate to French (français). Language code: fr. ### Grammar to use when talking to the reader Use the formal grammar (use «vous» instead of «tu»). ### Quotes 1) Convert neutral double quotes («"») and English double typographic quotes («“» and «”») to French guillemets (««» and «»»). 2) In the French docs, guillemets are written without extra spaces: use «texte», not « texte ».
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
src/bytes/boundary_test.go
} } } func TestIndexNearPageBoundary(t *testing.T) { t.Parallel() q := dangerousSlice(t) if len(q) > 64 { // Only worry about when we're near the end of a page. q = q[len(q)-64:] } b := dangerousSlice(t) if len(b) > 256 { // Only worry about when we're near the end of a page. b = b[len(b)-256:] } for j := 1; j < len(q); j++ { q[j-1] = 1 // difference is only found on the last byte
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 30 20:05:58 UTC 2023 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
@Test void constructor_shouldInitializeFieldsAndCallSuper() { // Given int access = 0x01; // Example access value // When MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle); // Then // Verify that ptype is set to 0 assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/bucket/replication/DESIGN.md
synchronous replication is configured above, replication is attempted right away prior to returning the PUT object response. In the event that the replication target is down, the `X-Amz-Replication-Status` is marked as `FAILED` and resynced with target when the scanner runs again. Any metadata changes on the source object version, such as metadata updates via PutObjectTagging, PutObjectRetention, PutObjectLegalHold and COPY api are replicated in a similar manner to target version, with the `...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0) -
tests/error_translator_test.go
package tests_test import ( "errors" "testing" "gorm.io/gorm" "gorm.io/gorm/utils/tests" ) func TestDialectorWithErrorTranslatorSupport(t *testing.T) { // it shouldn't translate error when the TranslateError flag is false translatedErr := errors.New("translated error") untranslatedErr := errors.New("some random error") db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}) err := db.AddError(untranslatedErr)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0)