Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 696 for OK (2.29 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertInvalid("HTTP/2.1 200 OK")
        assertInvalid("HTTP/-.1 200 OK")
        assertInvalid("HTTP/1.- 200 OK")
        assertInvalid("HTTP/0.1 200 OK")
        assertInvalid("HTTP/101 200 OK")
        assertInvalid("HTTP/1.1_200 OK")
      }
    
      @Test
      fun nonThreeDigitCode() {
        assertInvalid("HTTP/1.1  OK")
        assertInvalid("HTTP/1.1 2 OK")
        assertInvalid("HTTP/1.1 20 OK")
        assertInvalid("HTTP/1.1 2000 OK")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. utils/tests/utils.go

    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), expect, got)
    			return
    		}
    
    		if valuer, ok := got.(driver.Valuer); ok {
    			got, _ = valuer.Value()
    		}
    
    		if valuer, ok := expect.(driver.Valuer); ok {
    			expect, _ = valuer.Value()
    		}
    
    		if got != nil {
    			got = reflect.Indirect(reflect.ValueOf(got)).Interface()
    		}
    
    		if expect != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. internal/s3select/sql/jsonpath.go

    				return nil, false, err
    			}
    			return jsonpathEval(p[1:], val)
    		default:
    			return nil, false, errKeyLookup
    		}
    
    	case p[0].Index != nil:
    		idx := *p[0].Index
    
    		arr, ok := v.([]interface{})
    		if !ok {
    			return nil, false, errIndexLookup
    		}
    
    		if idx >= len(arr) {
    			return nil, false, nil
    		}
    		return jsonpathEval(p[1:], arr[idx])
    
    	case p[0].ObjectWildcard:
    		switch kvs := v.(type) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/crypto/sse-kms.go

    // at least one SSE-KMS header.
    func (ssekms) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionKmsID]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryption]; ok {
    		// Return only true if the SSE header is specified and does not contain the SSE-S3 value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		subClaimValue := cred.ParentUser
    		if v, ok := claims[subClaim]; ok {
    			subFromToken, ok := v.(string)
    			if ok {
    				subClaimValue = subFromToken
    			}
    		}
    
    		roleArn := openid.DummyRoleARN.String()
    		s, ok := claims[roleArnClaim]
    		val, ok2 := s.(string)
    		if ok && ok2 {
    			roleArn = val
    		}
    		v, ok := res[cred.ParentUser]
    		if ok {
    			res[cred.ParentUser] = ParentUserInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. src/cmd/asm/internal/asm/parse.go

    // including forms involving multiple registers such as R1:R2.
    func (p *Parser) register(name string, prefix rune) (r1, r2 int16, scale int8, ok bool) {
    	// R1 or R(1) R1:R2 R1,R2 R1+R2, or R1*scale.
    	r1, ok = p.registerReference(name)
    	if !ok {
    		return
    	}
    	if prefix != 0 && prefix != '*' { // *AX is OK.
    		p.errorf("prefix %c not allowed for register: %c%s", prefix, prefix, name)
    	}
    	c := p.peek()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	}
    	if disp, ok := lkMap.Lookup(xhttp.ContentDisposition); ok {
    		putOpts.ContentDisposition = disp
    	}
    	if cc, ok := lkMap.Lookup(xhttp.CacheControl); ok {
    		putOpts.CacheControl = cc
    	}
    	if mode, ok := lkMap.Lookup(xhttp.AmzObjectLockMode); ok {
    		rmode := minio.RetentionMode(mode)
    		putOpts.Mode = rmode
    	}
    	if retainDateStr, ok := lkMap.Lookup(xhttp.AmzObjectLockRetainUntilDate); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. scan.go

    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. tensorflow/c/checkpoint_reader.cc

        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
          status = v2_reader_->Lookup(name, out_tensor->get());
          if (!status.ok()) out_tensor->reset();
        }
      }
      if (!status.ok()) {
        tsl::Set_TF_Status_from_Status(out_status, status);
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  10. cmd/auth-handler.go

    }
    
    // Verify if request has AWS PreSign Version '4'.
    func isRequestPresignedSignatureV4(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzCredential]
    	return ok
    }
    
    // Verify request has AWS PreSign Version '2'.
    func isRequestPresignedSignatureV2(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzAccessKeyID]
    	return ok
    }
    
    // Verify if request has AWS Post policy Signature Version '4'.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
Back to top