Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 339 for prevented (0.43 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
        void testPrivateConstructor() throws Exception {
            // Verify constructor is private
            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureCredentialStorage.java

            if (!destroyed) {
                boolean failedToDestroy = false;
                Exception destroyException = null;
    
                try {
                    // Mark as destroyed first to prevent further operations
                    destroyed = true;
    
                    // Try to destroy master key if it implements Destroyable
                    if (masterKey instanceof Destroyable) {
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/mdo/profiles.mdo

              <association>
                <type>RepositoryPolicy</type>
              </association>
            </field>
          </fields>
          <!-- prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
        // Wrap the codepoint with regular printable characters to prevent trimming.
        val body =
          FormBody
            .Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
        body.writeTo(buffer)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

    import okio.ByteString.Companion.decodeBase64
    import okio.ByteString.Companion.toByteString
    
    /**
     * Constrains which certificates are trusted. Pinning certificates defends against attacks on
     * certificate authorities. It also prevents connections through man-in-the-middle certificate
     * authorities either known or unknown to the application's user.
     * This class currently pins a certificate's Subject Public Key Info as described on
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       */
      public static boolean isNullOrEmpty(@Nullable String string) {
        return Platform.stringIsNullOrEmpty(string);
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} prepended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

     *
     * @author mbechler
     *
     */
    public final class SmbCopyUtil {
    
        private static final Logger log = LoggerFactory.getLogger(SmbCopyUtil.class);
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                log.error("Error during file handle finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent resource leaks during finalization
         */
        private void emergencyCloseHandle() {
            try {
                synchronized (this) {
                    // Force close the handle
                    this.open = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/primitives/Longs.java

        }
    
        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Long) && Longs.indexOf(array, (Long) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Long) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
Back to top