Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 910 for exists (0.3 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

        public void assertFileExistence(File dir, String filename, boolean shouldExist) {
            File file = new File(dir, filename);
    
            if (shouldExist) {
                assertTrue(file.exists());
            } else {
                assertFalse(file.exists());
            }
        }
    
        public void assertFileContents(File dir, String filename, String contentsTest, String encoding) throws IOException {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    			meshConfigMapName, ctx.IstioNamespace(), err)
    	}
    	// values in the data are strings, while proto might use a
    	// different data type.  therefore, we have to get a value by a
    	// key
    	configYaml, exists := meshConfigMap.Data[configMapKey]
    	if !exists {
    		return nil, fmt.Errorf("missing configuration map key %q", configMapKey)
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                    boolean exists = installed.stream().map(this::getArtifactFromMap)
                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(500);
                        continue;
                    }
                    assertTrue(exists);
                    done = true;
                    break;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		// Validate volume does not exist.
    		{
    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    			volume: "exists",
    			path:   "as-file-not-found",
    			err:    errFileNotFound,
    		},
    		// TestXLStorage case - 3.
    		// Validate bad condition file exists as prefix/directory and
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            }
    
            if (outputFile.exists()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("The thumbnail file exists: {}", outputFile.getAbsolutePath());
                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(cos.done);
            assertTrue(file.exists());
            cos.close();
            assertTrue(cos.done);
            assertTrue(file.exists());
        }
    
        @Test
        public void inFileWithoutGet() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
    Java
    - Registered: Thu Apr 18 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setAvailable_Exists() {
            setAvailable_Exists(null);
        }
    
        public void setAvailable_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
            ExistsQueryBuilder builder = regExistsQ("available");
            if (opLambda != null) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 165.3K bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig.go

    	for !file.Exists(cniConfigFilepath) {
    		if strings.HasSuffix(cniConfigFilepath, ".conf") && file.Exists(cniConfigFilepath+"list") {
    			installLog.Infof("%s doesn't exist, but %[1]slist does; Using it as the CNI config file instead.", cniConfigFilepath)
    			cniConfigFilepath += "list"
    		} else if strings.HasSuffix(cniConfigFilepath, ".conflist") && file.Exists(cniConfigFilepath[:len(cniConfigFilepath)-4]) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsWebConfigCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setAvailable_Exists() {
            setAvailable_Exists(null);
        }
    
        public void setAvailable_Exists(ConditionOptionCall<ExistsQueryBuilder> opLambda) {
            ExistsQueryBuilder builder = regExistsQ("available");
            if (opLambda != null) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 172.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      }
    
      private interface HierarchyFixtureInterface {
        // Exists only for hierarchy mapping; no members.
      }
    
      private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface {
        // Exists only for hierarchy mapping; no members.
      }
    
      private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface {
        // Exists only for hierarchy mapping; no members.
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top