- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 610 for createFor (0.13 sec)
-
pkg/volume/util/recyclerclient/recycler_client_test.go
client := &mockRecyclerClient{ events: test.eventSequence, pod: test.existingPod, } err := internalRecycleVolumeByWatchingPodUntilCompletion(test.createPod.Name, test.createPod, client) receivedError := "" if err != nil { receivedError = err.Error() } if receivedError != test.expectedError { t.Errorf("Test %q failed, expected error %q, got %q", test.name, test.expectedError, receivedError)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 14:16:53 UTC 2022 - 8.5K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerTest.groovy
} def "can pack directory"() { def sourceOutputDir = temporaryFolder.file("source").createDir() def sourceSubDir = sourceOutputDir.file("subdir").createDir() def sourceDataFile = sourceSubDir.file("data.txt") sourceDataFile << "output" def targetOutputDir = temporaryFolder.file("target").createDir() def targetSubDir = targetOutputDir.file("subdir")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
status = env_->CreateDir(filepath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::ALREADY_EXISTS); } TEST_P(ModularFileSystemTest, TestCreateDirTwice) { const std::string dirpath = GetURIForPath("a_dir"); Status status = env_->CreateDir(dirpath); if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status; status = env_->CreateDir(dirpath);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 20:25:58 UTC 2022 - 71K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtDiagnosticConverter.kt
fun add(diagnostic: KtDiagnosticFactory0, creator: KaFirDiagnostic0Creator) { conversions[diagnostic] = creator } fun <A> add(diagnostic: KtDiagnosticFactory1<A>, creator: KaFirDiagnostic1Creator<A>) { conversions[diagnostic] = creator } fun <A, B> add(diagnostic: KtDiagnosticFactory2<A, B>, creator: KaFirDiagnostic2Creator<A, B>) { conversions[diagnostic] = creator
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy
new ClasspathWalker(TestFiles.fileSystem()), new DefaultClasspathBuilder(TestFiles.tmpDirTemporaryFileProvider(tmpDir.createDir("tmp"))) ) } def "creates JAR file for input directory"() { given: def inputFilesDir = tmpDir.createDir('inputFiles') writeClass(inputFilesDir, "org/gradle/MyClass") when: relocatedJarCreator.create(outputJar, [inputFilesDir])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 20.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/util_test.go
} func TestHasInitialEventsEndBookmarkAnnotation(t *testing.T) { createPod := func(name string) *example.Pod { return &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: name}} } createAnnotatedPod := func(name, value string) *example.Pod { p := createPod(name) p.Annotations = map[string]string{} p.Annotations[metav1.InitialEventsAnnotationKey] = value return p }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 11 12:07:39 UTC 2024 - 6.3K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
}) ads.ExpectEmptyResponse() // Create pod, due to wildcard subscribe we should receive it createPod(s, "pod", "sa", "127.0.0.1", "not-node") expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod") // A new pod should push only that one createPod(s, "pod2", "sa", "127.0.0.2", "node") expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy
} private void init() { if (!initialized) { userHomeDir = temporaryFolder.testDirectory.createDir("maven_home") userM2Directory = userHomeDir.createDir(".m2") userSettingsFile = userM2Directory.file("settings.xml") globalMavenDirectory = userHomeDir.createDir("m2_home") globalSettingsFile = globalMavenDirectory.file("conf/settings.xml")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy
given: settingsFile << """ include 'a', 'b' """ buildScript """ task ok """ def a = createDir('a') def b = createDir('b') def configurationCache = newConfigurationCacheFixture() when: inDirectory a configurationCacheRun ':ok' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
deletedFiles == [cacheEntry.parentFile] } def "deletes empty parent directories"() { given: def grandparent = cacheDir.createDir("a") def parent = grandparent.createDir("b") def file = parent.createFile("somefile") when: cleanupAction(finder([file]), { true }) .clean(cleanableStore, progressMonitor) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0)