Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 673 for Valid (0.01 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    /// note | Technical Details
    
    Any function that is valid to use with:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> or
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    would be valid to use as a **FastAPI** dependency.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    		}
    	}
    
    	return res, nil
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    //   - Return an error when a pool cannot return N/2+1 valid bucket information
    //   - For each pool, check if the bucket exists in N/2+1 nodes before including it in the final result
    func (sys *S3PeerSys) ListBuckets(ctx context.Context, opts BucketOptions) ([]BucketInfo, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setError(400, "valid message");
                WebApiUtil.setError(500, "");
                WebApiUtil.setError(200, (String) null);
                WebApiUtil.setError(500, new RuntimeException("test"));
            } catch (Exception e) {
                fail("setError should handle valid parameter validation gracefully: " + e.getMessage());
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE })
        void testInvalidInformationLevels(int invalidLevel) {
            // Skip valid levels
            if (invalidLevel == FileSystemInformation.SMB_INFO_ALLOCATION || invalidLevel == FileSystemInformation.FS_SIZE_INFO) {
                return;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. maven-tests/mvnw

    if [ -d "$MAVEN_HOME" ]; then
      verbose "found existing MAVEN_HOME at $MAVEN_HOME"
      exec_maven "$@"
    fi
    
    case "${distributionUrl-}" in
    *?-bin.zip | *?maven-mvnd-?*-?*.zip) ;;
    *) die "distributionUrl is not valid, must match *-bin.zip or maven-mvnd-*.zip, but found '${distributionUrl-}'" ;;
    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    // TestCheckURL tests valid url.
    func TestCheckURL(t *testing.T) {
    	testCases := []struct {
    		urlStr     string
    		shouldPass bool
    	}{
    		{"", false},
    		{":", false},
    		{"http://localhost/", true},
    		{"http://127.0.0.1/", true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
            // Test method chaining
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

              continue
            }
    
            val token = parameter.groups[2]?.value
            val value =
              when {
                token == null -> {
                  // Value is "double-quoted". That's valid and our regex group already strips the quotes.
                  parameter.groups[3]!!.value
                }
                token.startsWith('\'') && token.endsWith('\'') && token.length > 2 -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Tests for KerberosEncData.
     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. doc/go_mem.html

    </p>
    
    <h2 id="badcompiler">Incorrect compilation</h2>
    
    <p>
    The Go memory model restricts compiler optimizations as much as it does Go programs.
    Some compiler optimizations that would be valid in single-threaded programs are not valid in all Go programs.
    In particular, a compiler must not introduce writes that do not exist in the original program,
    it must not allow a single read to observe multiple values,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top