Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 547 for both (0.06 seconds)

  1. internal/mountinfo/mountinfo_linux_test.go

    package mountinfo
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. internal/s3select/sql/value.go

    	if err != nil {
    		return false, err
    	}
    
    	// Check if either is nil
    	if v.IsNull() || a.IsNull() {
    		// If one is, both must be.
    		return boolCompare(op, v.IsNull(), a.IsNull())
    	}
    
    	if a.IsMissing() || v.IsMissing() {
    		// If one is, both must be.
    		return boolCompare(op, v.IsMissing(), a.IsMissing())
    	}
    
    	// Check array values
    	aArr, aOK := a.ToArray()
    	vArr, vOK := v.ToArray()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  3. docs/en/docs/reference/request.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 518 bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                */
    
                // The shared request should not accumulate repositories from both children
                if (sharedRequestHasChild1Repo && sharedRequestHasChild2Repo) {
                    fail("REPOSITORY LEAKAGE DETECTED: Shared request contains repositories from both children!");
                }
    
            } finally {
                // Clean up
                deleteRecursively(tempDir.toFile());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
         * 3a. ...either or both is NaN (so mean != value) then the new mean is NaN.
         * 3b. ...they are both the same infinities (so mean == value) then the mean is unchanged.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        return asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
       * Apply this method to both iterators and return normally only if both produce the same response.
       *
       * @see Stimulus#executeAndCompare(ListIterator, Iterator)
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  7. build-logic/build.gradle.kts

                    "which may cause two daemons to be spawned on CI and in IDEA. " +
                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    fun readProperties(propertiesFile: File) = java.util.Properties().apply {
        propertiesFile.inputStream().use { fis -> load(fis) }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        private var keySize: Int = 0
    
        init {
          ecdsa256()
        }
    
        /**
         * Sets the certificate to be valid in ```[notBefore..notAfter]```. Both endpoints are specified
         * in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default
         * interval, 24 hours starting when the certificate is created.
         */
        fun validityInterval(
          notBefore: Long,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  9. docs/integrations/veeam/README.md

    ## Prerequisites
    
    - One or both of Veeam Backup and Replication with support for S3 compatible object store (e.g. 9.5.4) and Veeam Backup for Office365 (VBO)
    - MinIO object storage set up per <https://docs.min.io/community/minio-object-store/index.html>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    import okhttp3.internal.http.toHttpDateOrNull
    import okhttp3.internal.toNonNegativeInt
    
    /**
     * Given a request and cached response, this figures out whether to use the network, the cache, or
     * both.
     *
     * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header
     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top