Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 283 for toKill (0.2 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. subprojects/core/src/main/java/org/gradle/initialization/DefaultBuildCancellationToken.java

        public void cancel() {
            List<Runnable> toCall = new ArrayList<Runnable>();
            synchronized (lock) {
                if (cancelled) {
                    return;
                }
                cancelled = true;
                toCall.addAll(callbacks);
                callbacks.clear();
            }
    
            List<Throwable> failures = new ArrayList<Throwable>();
            for (Runnable callback : toCall) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  5. test/fixedbugs/issue5162.go

    			src = strings.Replace(src, "TWOS", "2"+strings.Repeat(", 2", i-1), -1)
    			fmt.Print(src)
    			tocall = append(tocall, fmt.Sprintf("CheckEq%d_%s", i, strings.Title(typ)))
    		}
    	}
    	fmt.Println("func main() {")
    	for _, fun := range tocall {
    		fmt.Printf("\t%s()\n", fun)
    		fmt.Printf("\t%sExtraVar()\n", fun)
    	}
    	fmt.Println("}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 19:01:50 UTC 2013
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top