Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 791 for Prevent (0.16 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                    concurrentLimiter.recordFailure("user" + threadId, "192.168.2." + threadId);
                                    localFailures++;
                                    // Prevent lockout by resetting after 3 failures
                                    if (localFailures >= 3) {
                                        concurrentLimiter.recordSuccess("user" + threadId, "192.168.2." + threadId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("a", "aa", "aa")
        set("b", "bb", "bbb")
    
        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("c")).isNull()
    
        // A successful eviction should allow new writes.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
        cache.evictAll()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            return keepAliveDurationNs
          }
    
          else -> {
            // No connections, idle or in use.
            return -1
          }
        }
      }
    
      /** Returns true if no address policies prevent [connection] from being evicted. */
      private fun isEvictable(
        addressStates: Map<Address, AddressState>,
        connection: RealConnection,
      ): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    // Reject new lock requests immediately when this many are queued
    // for the local lock mutex.
    // We do not block unlocking or maintenance, but they add to the count.
    // The limit is set to allow for bursty behavior,
    // but prevent requests to overload the server completely.
    // Rejected clients are expected to retry.
    const lockMutexWaitLimit = 1000
    
    // lockRequesterInfo stores various info from the client for each lock that is requested.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                <sourceFileExclude>**/ForceGuavaCompilation*</sourceFileExclude>
              </sourceFileExcludes>
              <!-- The above exclusion doesn't actually matter unless I prevent Javadoc from autodiscovering the source in the sourcepath, which defaults to the source directory :\ Boo for -sourcepath. -->
              <sourcepath>doesnotexist</sourcepath>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This wrapper uses syscall.Flock to prevent concurrent adb commands,
    // so for now it only builds on platforms that support that system call.
    // TODO(#33974): use a more portable library for file locking.
    
    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        // Test that the first generated instance for different cgcb.Optional<T> is always absent().
        // Having generated cgcb.Optional<String> instances doesn't prevent absent() from being
        // generated for other cgcb.Optional types.
        assertEquals(
            com.google.common.base.Optional.absent(),
            generator.generateFresh(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Server Service RPC interface implementation for remote server administration (SMB1).
     */
    public class srvsvc {
    
        /**
         * Private constructor to prevent instantiation.
         */
        private srvsvc() {
        }
    
        /**
         * Gets the RPC interface syntax string.
         * @return the interface UUID and version
         */
        public static String getSyntax() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. docs/security/README.md

    The *Secure Channel* splits the object content into chunks of a fixed size of `65536` bytes. The last chunk may be smaller to avoid adding additional overhead and is treated specially to prevent truncation attacks. The nonce value is 96 bits long and generated randomly per object / multi-part part. The *Secure Channel* supports plaintexts up to `65536 * 2^32 = 256 TiB`.
    
    #### Randomness
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top