Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 982 for Prevent (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

        do {
          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * Invoked to request the service to stop.
       *
       * <p>By default this method does nothing.
       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Chars.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Character) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. architecture/tests/integration.md

    ### Implications of Test Setup
    
    - **Resource Allocation**: Ensure that the necessary resources (e.g., pods, namespaces) are allocated for the components being tested.
    - **Isolation**: Tests should be isolated to prevent interference between different components and test cases.
    - **Scalability**: The test setup should be scalable to accommodate additional tests and components in the future.
    
    ## Conclusion
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 00:57:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. internal/lsync/lrwmutex.go

    	"time"
    )
    
    // A LRWMutex is a mutual exclusion lock with timeouts.
    type LRWMutex struct {
    	id          string
    	source      string
    	isWriteLock bool
    	ref         int
    	mu          sync.Mutex // Mutex to prevent multiple simultaneous locks
    }
    
    // NewLRWMutex - initializes a new lsync RW mutex.
    func NewLRWMutex() *LRWMutex {
    	return &LRWMutex{}
    }
    
    // Lock holds a write lock on lm.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

        @Override
        public boolean contains(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Integer) && Ints.indexOf(array, (Integer) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@CheckForNull Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Integer) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Interners.java

        return newBuilder().strong().build();
      }
    
      /**
       * Returns a new thread-safe interner which retains a weak reference to each instance it has
       * interned, and so does not prevent these instances from being garbage-collected. This most
       * likely does not perform as well as {@link #newStrongInterner}, but is the best alternative when
       * the memory usage of that implementation is unacceptable.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build --action_env PYTHON_BIN_PATH="/usr/local/bin/python3"
    build --python_path="/usr/local/bin/python3"
    
    # Build TensorFlow v2
    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            // Read capabilities declared in capabilities.json
            readCapabilitiesFromJson()
    
            withModule<ReplaceCglibNodepWithCglibRule>("org.spockframework:spock-core")
            // Prevent Spock from pulling in Groovy and third-party dependencies - see https://github.com/spockframework/spock/issues/899
            withLibraryDependencies<DependencyRemovalByNameRule>(
                "org.spockframework:spock-core",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top