Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for toKill (0.19 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts

        (project as ProjectInternal).services.get<ArchiveOperations>(ArchiveOperations::class.java)
    
    fun findPluginJar(pluginClass: Class<*>) =
        toFile(pluginClass.protectionDomain.codeSource.location)
    
    fun isExternal(pluginClass: Class<*>) =
        !pluginClass.name.startsWith("org.gradle")
    
    fun toFile(url: URL): File? {
        return try {
            File(url.toURI())
        } catch (e: URISyntaxException) {
            null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

            NativeServices.initializeOnDaemon(tempRootDir.toFile(), NativeServicesMode.fromSystemProperties());
            this.fileSystem = FileSystems.getDefault();
        }
    
        @TearDown(Level.Trial)
        public void tearDownTrial() throws IOException {
            FileUtils.forceDelete(tempRootDir.toFile());
        }
    
        @Setup(Level.Iteration)
        public void setupIteration() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/LockFileReaderWriter.java

        @Nullable
        public List<String> readLockFile(String lockId) {
            checkValidRoot();
    
            Path lockFile = lockFilesRoot.resolve(decorate(lockId) + FILE_SUFFIX);
            listener.fileObserved(lockFile.toFile());
            if (Files.exists(lockFile)) {
                List<String> result;
                try {
                    result = Files.readAllLines(lockFile, CHARSET);
                } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/TaskNodeFactory.java

            @Nullable
            private File jarFileFor(Class<?> pluginClass) {
                return clazzToFile.computeIfAbsent(pluginClass, clazz -> toFile(pluginClass.getProtectionDomain().getCodeSource().getLocation()));
            }
    
            @Nullable
            private static File toFile(@Nullable URL url) {
                if (url == null) {
                    return null;
                }
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCacheTest.groovy

            1 * cachedArtifact.cachedAt >> 42L
            1 * cachedArtifact.getDescriptorHash() >> TestHashCodes.hashCodeFrom(42)
            1 * cachedArtifact.getCachedFile() >> commonRootPath.resolve("file.txt").toFile()
    
            1 * encoder.writeString("file.txt")
        }
    
        def "value serializer can expand relative path"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top