Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for exists (0.22 sec)

  1. cmd/object-api-input-checks.go

    }
    
    // Checks for PutObjectPart arguments validity, also validates if bucket exists.
    func checkPutObjectPartArgs(ctx context.Context, bucket, object, uploadID string) error {
    	return checkMultipartObjectArgs(ctx, bucket, object, uploadID)
    }
    
    // Checks for ListParts arguments validity, also validates if bucket exists.
    func checkListPartsArgs(ctx context.Context, bucket, object, uploadID string) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. manifests/charts/base/templates/validatingadmissionpolicy.yaml

            !(
              variables.isTelemetry && (
                (has(object.spec.tracing) ? object.spec.tracing : {}).exists(t, has(t.useRequestIdForTraceSampling)) ||
                (has(object.spec.metrics) ? object.spec.metrics : {}).exists(m, has(m.reportingInterval)) ||
                (has(object.spec.accessLogging) ? object.spec.accessLogging : {}).exists(l, has(l.filter))
              )
            )
    ---
    apiVersion: admissionregistration.k8s.io/v1
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                if ((webinfPath != null) && Files.exists(Paths.get(webinfPath))) {
                    return Paths.get(webinfPath, names);
                }
            } catch (final Throwable e) {
                // ignore
            }
            final String webinfBase = root + base;
            if (Files.exists(Paths.get(webinfBase))) {
                return Paths.get(webinfBase, names);
            }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. 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 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. 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 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                    .globalSettingsSource(
                            globalSettingsPath != null && Files.exists(globalSettingsPath)
                                    ? Source.fromPath(globalSettingsPath)
                                    : null)
                    .projectSettingsSource(
                            projectSettingsPath != null && Files.exists(projectSettingsPath)
                                    ? Source.fromPath(projectSettingsPath)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            assertNull(
                    updateCheckManager.readLastUpdated(touchFile, updateCheckManager.getRepositoryKey(remoteRepository)));
    
            assertFalse(updateCheckManager.getTouchfile(a).exists());
        }
    
        @Test
        void testMissingArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
            ArtifactRepository localRepository = localRepository();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                    .globalToolchainsSource(
                            globalToolchainsPath != null && Files.exists(globalToolchainsPath)
                                    ? Source.fromPath(globalToolchainsPath)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsPath != null && Files.exists(userToolchainsPath)
                                    ? Source.fromPath(userToolchainsPath)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    // Exists - checks whether target by target ID exists or not.
    func (list *TargetList) Exists(id TargetID) bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	_, found := list.targets[id]
    	return found
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top