- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for isIdle (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "b", "b") while (taskFaker.isIdle()) { assertValue("a", "a", "a") assertValue("b", "b", "b") } } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun rebuildJournalOnRepeatedEdits(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) while (taskFaker.isIdle()) { set("a", "a", "a") set("b", "b", "b")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
sink: MutableCollection<in T>, maxElements: Int, ) = error("unsupported") } /** Returns true if no tasks have been scheduled. This runs the coordinator for confirmation. */ fun isIdle() = taskRunner.activeQueues().isEmpty() override fun close() { tasksExecutor.shutdownNow() } companion object { var instance = 0 @JvmField
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 12.6K bytes - Viewed (0) -
cmd/common-main.go
logger.Fatal(err, "Failed to connect to KMS") } GlobalKMS = KMS } func getTLSConfig() (x509Certs []*x509.Certificate, manager *certs.Manager, secureConn bool, err error) { if !(isFile(getPublicCertFile()) && isFile(getPrivateKeyFile())) { return nil, nil, false, nil } if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil { return nil, nil, false, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS)); userSettingsFile = resolveFile(userSettingsFile, workingDirectory); if (!userSettingsFile.isFile()) { throw new FileNotFoundException("The specified user settings file does not exist: " + userSettingsFile); } } else { userSettingsFile = DEFAULT_USER_SETTINGS_FILE;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
} gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) { gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc = classes[className] if (classDoc == null && getFileForClass(className).isFile()) { return getClassDoc(className) } return classDoc } gradlebuild.docs.dsl.docbook.model.ClassDoc getClassDoc(String className) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String path = getPathForLocalArtifact(request.getArtifact()); File file = new File(getRepository().getBasedir(), path); LocalArtifactResult result = new LocalArtifactResult(request); if (file.isFile()) { result.setFile(file); result.setAvailable(true); } return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java
super.processWebInfLib(); final WebResource[] possibleJars = listResources("/WEB-INF/plugin", false); for (final WebResource possibleJar : possibleJars) { if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) { try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) { final Manifest manifest = jarFile.getManifest();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); File dir = asciiFile.getParentFile(); assertTrue(Files.isDirectory().apply(dir)); assertFalse(Files.isFile().apply(dir)); assertFalse(Files.isDirectory().apply(asciiFile)); assertTrue(Files.isFile().apply(asciiFile)); } /** Returns a root path for the file system. */ private static File root() { return File.listRoots()[0]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
throw new FileAccessException("ECL0110", new Object[] { file.getAbsolutePath() }); } properties = new Properties(); store(); } else if (!this.propertiesFile.isFile()) { throw new FileAccessException("ECL0111", new Object[] { file.getAbsolutePath() }); } load(); } public synchronized void reload(final String path) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) } .map { projectBuildDirPath.relativize(it.toPath()).toString() to it } .apply { zip(rootBuildDir.resolve("report$projectPathName.zip"), this) } reports.filter { it.isFile && !it.toPath().startsWith(projectBuildDirPath) } .forEach { report ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0)