Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 368 for printfile (0.39 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
      tailrec fun File.isDescendentOf(directory: File): Boolean {
        val parentFile = parentFile ?: return false
        if (parentFile == directory) return true
        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            1 * invocationContext.getArgAction() >> Actions.doNothing()
            1 * invocationContext.createInvocation("linking lib", outputFile.parentFile, expectedArgs, operationLogger) >> invocation
            1 * queue.add(invocation)
            1 * queue.setLogLocation(LOG_LOCATION)
            0 * _
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformer.java

        }
    
        public static Transformer<String, File> from(File file) {
            if (file.isFile()) {
                File parentFile = file.getParentFile();
                return new RelativeFileNameTransformer(parentFile, parentFile);
            }
            return new RelativeFileNameTransformer(file, file);
        }
    
        @Override
        public String transform(File file) {
            String canonicalRoot;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

                // complete distribution is used from 'build/bin distribution'
                distributionDir.parentFile.parentFile.name
            } else {
                // gradle-runtime-api-info.jar in 'build/libs'
                testTask.classpath.filter { it.name.startsWith("gradle-runtime-api-info") }.singleFile.parentFile.parentFile.parentFile.name
            }
            return (
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 01 22:53:59 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
            return process(thumbnailId, responseData -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/GenerateIdeaModuleTest.groovy

            def existingOutputFolder = childProject.ideaModule.outputFile.parentFile
    
            when:
            childProject.idea.module.name = "foo"
    
            then:
            childProject.idea.module.name == "foo"
            childProject.ideaModule.outputFile.name == "foo.iml"
            childProject.ideaModule.outputFile.parentFile == existingOutputFolder
        }
    
        private applyPluginToProjects() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/net/http/internal/ascii/print.go

    }
    
    // lower returns the ASCII lowercase version of b.
    func lower(b byte) byte {
    	if 'A' <= b && b <= 'Z' {
    		return b + ('a' - 'A')
    	}
    	return b
    }
    
    // IsPrint returns whether s is ASCII and printable according to
    // https://tools.ietf.org/html/rfc20#section-4.2.
    func IsPrint(s string) bool {
    	for i := 0; i < len(s); i++ {
    		if s[i] < ' ' || s[i] > '~' {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            assertEquals('..', baseDirConverter.resolveAsRelativePath(baseDir.parentFile))
            assertEquals('..', baseDirConverter.resolveAsRelativePath('..'))
    
            assertEquals('..', baseDirConverter.resolveForDisplay(baseDir.parentFile))
        }
    
        @Test public void testAncestorToRelativePath() {
            def ancestor = baseDir.parentFile.parentFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/RemovePreviousOutputsStep.java

                        switch (type) {
                            case FILE:
                                File parentFile = root.getParentFile();
                                if (parentFile != null) {
                                    outputDirectoriesToPreserve.add(parentFile);
                                }
                                break;
                            case DIRECTORY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/PCHUtilsTest.groovy

                getTempDir() >> tempDir
            }
    
            when:
            def generated = PCHUtils.generatePCHSourceFile(spec, sourceFile)
    
            then:
            generated.name == "test.${extension}"
            generated.parentFile == pchSourceDir
            generated.text == "#include \"test.h\""
            pchSourceDir.assertContainsDescendants("test.h", "test.${extension}")
    
            where:
            type              | extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top