- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for val2 (0.01 sec)
-
tests/lru_test.go
lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10)) wg.Done() }(i) } wg.Wait() if lc.Len() != 100 { t.Fatalf("length differs from expected") } } func TestLRUInvalidateAndEvict(t *testing.T) { var evicted int lc := lru.NewLRU(-1, func(_, _ string) { evicted++ }, 0) lc.Add("key1", "val1") lc.Add("key2", "val2") val, ok := lc.Get("key1") if !ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} } } for key, val := range unMarshalXLMeta.Meta { jsoniterVal, exists := jsoniterXLMeta.Meta[key] if !exists { t.Errorf("No meta data entry for Key \"%s\" exists.", key) } if val != jsoniterVal { t.Errorf("Expected the value for Meta data key \"%s\" to be \"%s\", but got \"%s\".", key, val, jsoniterVal) } } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
keys = append(keys, found) if string(found) == key { vals = append(vals, value) plSize += len(value) replaced = true } else { vals = append(vals, foundVal) plSize += len(foundVal) } } // Add one more. if !replaced { keys = append(keys, []byte(key)) vals = append(vals, value) plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/hu/docs/index.md
* Ellenőrzi hogy létezik a kötelező `price` nevű attribútum és `float`. * Ellenőrzi hogy létezik a `is_offer` nevű opcionális paraméter, ami ha létezik akkor `bool` * Ez ágyazott JSON objektumokkal is működik * JSONről való automatikus konvertálás. * dokumentáljuk mindent OpenAPI-al amit használható: * Interaktív dokumentációs rendszerekkel. * Automatikus kliens kód generáló a rendszerekkel, több nyelven.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 20.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/CIBuildModel.kt
val trigger: Trigger = Trigger.NEVER, val runsIndependent: Boolean = false, ) { val id = stageName.id } data class DocsTestCoverage( val os: Os, val testJava: JvmCategory, val docsTestTypes: List<DocsTestType>, ) data class TestCoverage( val uuid: Int, val testType: TestType, val os: Os, val testJvmVersion: JvmVersion,Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Sun Aug 03 22:40:28 UTC 2025 - 25.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
): List<PerformanceTest> { val performanceTestType = performanceTestCoverage.type val performanceTestSpec = PerformanceTestSpec(performanceTestType, performanceTestCoverage.os) val scenarios = determineScenariosFor(performanceTestSpec, performanceTestConfigurations) val testProjectToScenarioDurations = determineScenarioTestDurations(performanceTestSpec.os, performanceTestDurations)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
4. Use dogfood-second to run a Gradle build which runs tests. */ val dogfoodTimestamp1 = "19800101010101+0000" val dogfoodTimestamp2 = "19800202020202+0000" val buildScanTagForType = buildScanTagParam("Gradleception") val buildScanTagForGroovyMajor = buildScanTagParam("Groovy$bundleGroovyMajor") val buildScanTags =Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu May 01 14:55:05 UTC 2025 - 7.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt
init = { id("${performanceTestProject.spec.asConfigurationId(model)}_Trigger") val performanceTestSpec = performanceTestProject.spec name = performanceTestProject.name + " (Trigger)" val os = Os.LINUX val type = performanceTestSpec.type applyDefaultSettings(os) params { text(Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
) class StageTriggers( model: CIBuildModel, stage: Stage, prevStage: Stage?, stageProject: StageProject, ) { val triggers: List<BaseGradleBuildType> init { triggers = mutableListOf() val allDependencies = stageProject.specificBuildTypes + stageProject.performanceTests + stageProject.functionalTests + stageProject.docsTestTriggers
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Jun 11 10:33:45 UTC 2025 - 6.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
// In this case, we simply put the elements into these buckets evenly. return list.chunked(list.size / expectedBucketNumber, smallElementAggregateFunction) } val largestElement = list.removeFirst()!! val largestElementSize = toIntFunction(largestElement) if (largestElementSize >= roughSizeOfEachBucket) { var bucketNumberOfFirstElement = determineBucketNumberForLargeElment(Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0)