Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 688 for valid2 (0.05 sec)

  1. src/arena/arena.go

    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    package arena
    
    import (
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

            } catch( InterruptedException ie ) {
                state = 0;
                thread = null;
                throw new TransportException( ie );
            } finally {
                /* This guarantees that we leave in a valid state
                 */
                if (state != 0 && state != 3 && state != 4) {
                    if (log.level >= 1)
                        log.println("Invalid state: " + state);
                    state = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			},
    		},
    		// inputParts - 3.
    		// Case with valid parts,but parts are unsorted.
    		// Part size greater than 5 MiB.
    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    				{ETag: validPartMD5, PartNumber: 5},
    			},
    		},
    		// inputParts - 4.
    		// Case with valid part.
    		// Part size greater than 5 MiB.
    		{
    			[]CompletePart{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    		return ep, fmt.Errorf("empty or root endpoint is not supported")
    	}
    
    	var isLocal bool
    	var host string
    	u, err := url.Parse(arg)
    	if err == nil && u.Host != "" {
    		// URL style of endpoint.
    		// Valid URL style endpoint is
    		// - Scheme field must contain "http" or "https"
    		// - All field should be empty except Host and Path.
    		if !((u.Scheme == "http" || u.Scheme == "https") &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    // GetObjectAttributes ...
    func (api objectAPIHandlers) getObjectAttributesHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    	opts, valid := getAndValidateAttributesOpts(ctx, w, r, bucket, object)
    	if !valid {
    		return
    	}
    
    	var s3Error APIErrorCode
    	if opts.VersionID != "" {
    		s3Error = checkRequestAuthType(ctx, r, policy.GetObjectVersionAttributesAction, bucket, object)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                UnsignedInts.parseUnsignedInt(overflowAsString, radix);
              });
        }
      }
    
      public void testParseIntThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params-numeric-validations.md

    So, `0.5` would be a valid value. But `0.0` or `0` would not.
    
    And the same for <abbr title="less than"><code>lt</code></abbr>.
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        val certificate =
          HeldCertificate.Builder()
            .signedBy(root)
            .rsa2048()
            .build()
    
        val certificateByteString = certificate.certificate.encoded.toByteString()
    
        // Valid signature.
        val okHttpCertificate =
          CertificateAdapters.certificate
            .fromDer(certificateByteString)
        println(okHttpCertificate)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top