Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 1,386 for Exists (0.04 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        public void testConstantTimeMethodExists() throws Exception {
            // Use reflection to verify the constant-time method exists
            Method constantTimeMethod = NtlmPasswordAuthenticator.class.getDeclaredMethod("constantTimeEquals", char[].class, char[].class);
            assertNotNull(constantTimeMethod, "constantTimeEquals method should exist");
            constantTimeMethod.setAccessible(true);
    
            // Test the method directly
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
                // create it if necessary
                if ((flags & SmbConstants.O_EXCL) == SmbConstants.O_EXCL) {
                    // fail if already exists
                    this.openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                } else {
                    this.openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                }
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                    logger.info("Created storage bucket: {}", bucket);
                }
            } catch (final Exception e) {
                logger.warn("Failed to ensure bucket exists: {}", bucket, e);
            }
        }
    
        @Override
        public boolean isAvailable() {
            try {
                return storage.get(bucket) != null;
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        logger.warn("Thumbnail generator is not available: name={}", generatorName);
                    }
                } else if (logger.isDebugEnabled()) {
                    logger.debug("No image file exists: {}", noImageFile.getAbsolutePath());
                }
            } catch (final Exception e) {
                logger.warn("Failed to create thumbnail for {}", entity, e);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  5. cmd/update.go

    	return env.Get("KUBERNETES_SERVICE_HOST", "") != ""
    }
    
    // IsBOSH returns true if minio is deployed from a bosh package
    func IsBOSH() bool {
    	// "/var/vcap/bosh" exists in BOSH deployed instance.
    	_, err := os.Stat("/var/vcap/bosh")
    	if osIsNotExist(err) {
    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return mapEntry(key, value);
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        // TODO: move this to invariant checks once the appropriate hook exists?
        super.expectContents(expected);
        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong value for key " + entry.getKey(), entry.getValue(), getMap().get(entry.getKey()));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertTrue(result.contains(message));
                assertFalse(result.contains("\n"));
            }
    
            @Test
            @DisplayName("Should include stack trace when root cause exists")
            void testToStringWithRootCause() {
                String message = "Transport error";
                String rootMessage = "Root cause error";
                Exception rootCause = new IllegalArgumentException(rootMessage);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                return redirect(e.getActionClass());
            }
        }
    
        /**
         * Calls the parent's godHandPrologue method.
         * <p>
         * This method exists to allow subclasses or tests to override
         * the behavior of the parent class invocation.
         * </p>
         *
         * @param runtime the action runtime context
         * @return the action response from the parent
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            Path startingDirectory = context.options().directory().map(Paths::get).orElse(context.invokerRequest.cwd());
    
            Path mvnDir = startingDirectory.resolve(MVN_DIRECTORY);
    
            try {
                if (!Files.exists(mvnDir)) {
                    if (shouldSaveModifications()) {
                        Files.createDirectories(mvnDir);
                        context.success("Created .mvn directory at " + mvnDir);
                    } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/DocMap.java

        /**
         * Returns the value to which the specified key is mapped.
         *
         * @param key the key whose associated value is to be returned
         * @return the value to which the specified key is mapped, or null if no mapping exists
         */
        @Override
        public Object get(final Object key) {
            return parent.get(key);
        }
    
        /**
         * Associates the specified value with the specified key in this map.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top