- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 116 for 0$it (0.03 seconds)
-
tests/prepared_stmt_test.go
// Get the number of statement keys stored in the PreparedStmtDB. lens := len(conn.Stmts.Keys()) // Check if the number of stored statement keys is 0. if lens == 0 { // If the number is 0, it means there are no statements stored in the LRU cache. // The test fails and an error message is output. t.Fatalf("lru should not be empty") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} // Test zero time separately - it's handled specially SMBUtil.writeTime(0L, buffer, 0); long readTime = SMBUtil.readTime(buffer, 0); // When writing 0, it writes 0 directly, and when reading 0, it returns negative offset assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, readTime); } @Test void testUTimeConversionRoundTrip() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
private val model: CIBuildModel, ) : FunctionalTestBucketProvider { private val buckets: List<BuildTypeBucket> = crossVersionBuckets.map { GradleVersionRangeCrossVersionTestBucket(it[0], it[1]) } // For quickFeedbackCrossVersion and allVersionsCrossVersion, the buckets are split by Gradle version // By default, split them by CROSS_VERSION_BUCKETS override fun createFunctionalTestsFor(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Feb 12 14:43:33 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertEquals(8, result); // Structure size (2) + offset (2) + length (4) assertNotNull(response.getResults()); // Bug in implementation: when bufferLength is 0, it still tries to decode at least once assertEquals(1, response.getResults().length); // Due to implementation bug } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
cmd/signature-v4_test.go
credentialTemplate := "%s/%s/%s/s3/aws4_request" now := UTCNow() accessKey := globalActiveCred.AccessKey testCases := []struct { form http.Header expected APIErrorCode }{ // (0) It should fail if 'X-Amz-Credential' is missing. { form: http.Header{}, expected: ErrCredMalformed, }, // (1) It should fail if the access key is incorrect. { form: http.Header{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
cmd/xl-storage-meta-inline.go
} // serialize will serialize the provided keys and values. // The function will panic if keys/value slices aren't of equal length. // Payload size can give an indication of expected payload size. // If plSize is <= 0 it will be calculated. func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) { if len(keys) != len(vals) { panic(fmt.Errorf("xlMetaInlineData.serialize: keys/value number mismatch")) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/hash/reader.go
// It also computes the SHA256 checksum of everything it reads // if sha256Hex is not the empty string. // // If size resp. actualSize is unknown at the time of calling // NewReader then it should be set to -1. // When size is >=0 it *must* match the amount of data provided by r. // // NewReader may try merge the given size, MD5 and SHA256 values // into src - if src is a Reader - to avoid computing the same // checksums multiple times.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
Jesse Wilson <******@****.***> 1773565338 -0400
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
headerStartField.set(response, 0); // When int bytesRead = response.readBytesWireFormat(buffer, bodyStart); // Then // When dataLength is 0, it returns max(16, dataOffset + 0 - bodyStart) = max(16, 80) = 80 assertEquals(80, bytesRead); assertEquals(0, response.getDataLength()); assertEquals(0, response.getDataRemaining()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); assertThat(map.segments).hasLength(4); // 1 is as low as it goes, not 0. it feels dirty to know this/test this. assertThat(map.segments[0].table.length()).isEqualTo(1); assertThat(map.segments[1].table.length()).isEqualTo(1); assertThat(map.segments[2].table.length()).isEqualTo(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0)