Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for toKill (0.25 sec)

  1. pkg/controller/daemon/update.go

    	if err != nil {
    		return fmt.Errorf("couldn't get node to daemon pod mapping for daemon set %q: %v", ds.Name, err)
    	}
    
    	toKeep := int(*ds.Spec.RevisionHistoryLimit)
    	toKill := len(old) - toKeep
    	if toKill <= 0 {
    		return nil
    	}
    
    	// Find all hashes of live pods
    	liveHashes := make(map[string]bool)
    	for _, pods := range nodesToDaemonPods {
    		for _, pod := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/AbstractCompilerPluginTest.groovy

            File f = Paths.get(parent.absolutePath, "${className}.java").toFile()
            parent.mkdirs()
            f.text = body
            return [f]
        }
    
        List<File> toModuleSourceFile(String body) {
            def className = "module-info"
            File parent = Paths.get(sourceFolder.absolutePath, "src", "main", "java").toFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

                    @OutputDirectory
                    Path outputDir
    
                    @TaskAction
                    def go() {
                        outputFile.toFile().text = inputFile.toFile().text
                        inputDir.toFile().listFiles().each { f -> outputDir.resolve(f.name).toFile().text = f.text }
                    }
                }
    
                task transform(type: TransformTask) {
                    inputFile = file("file1.txt").toPath()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

                    }
                });
    
                t.transform(project, systemSessionMock, beforePomFile, tempFile);
            }
            XmlAssert.assertThat(afterPomFile.toFile()).and(tempFile.toFile()).areIdentical();
        }
    
        @Test
        void transformJarConsumerPom() throws Exception {
            RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 12:04:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

            this.tempDirFile = tempDirPath.toFile();
    
            this.missingPath = tempDirPath.resolve("aaa-missing/bbb-missing/ccc-missing/ddd-missing/missing.txt");
            this.missingFile = missingPath.toFile();
            mkdirs(missingPath.getParent());
    
            this.existingPath = tempDirPath.resolve("aaa/bbb/ccc/ddd/missing.txt");
            this.existingFile = existingPath.toFile();
            mkdirs(existingPath.getParent());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/DefaultCachedExternalResourceIndexTest.groovy

            def fileName = "file.txt"
    
            when:
            serializer.write(encoder, value)
    
            then:
            _ * value.getCachedFile() >> commonPath.resolve(fileName).toFile()
    
            1 * encoder.writeString(fileName)
        }
    
        def "value serializer can expand relative path"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/net/URLUtilTest.java

            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt")));
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java

        @Deprecated
        @Override
        public File locatePom(File projectDirectory) {
            Path path = locatePom(projectDirectory != null ? projectDirectory.toPath() : null);
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path locatePom(Path projectDirectory) {
            return projectDirectory != null ? projectDirectory : Paths.get(System.getProperty("user.dir"));
        }
    
        @Deprecated
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/FileUtils.java

            }
        }
    
        /**
         * Returns the result of {@link Path#toFile()} if that will not throw an exception, null otherwise.
         */
        @Nullable
        private static File toFileIfAvailable(Path path) {
            if (path.getFileSystem() == FileSystems.getDefault()) {
                return path.toFile();
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 01:37:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

            if (value instanceof ConfigurableFileTree) {
                return ((ConfigurableFileTree) value).getDir();
            }
            return toFile(context, value);
        }
    
        private static File toFile(PropertyValidationContext context, Object value) {
            return context.getFileResolver().resolve(value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top