Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetSignature (0.19 sec)

  1. cmd/signature-v4.go

    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    // getSignature final signature in hexadecimal form.
    func getSignature(signingKey []byte, stringToSign string) string {
    	return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    }
    
    // Check to see if Policy is signed correctly.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      std::vector<quantfork::QuantizeRegionOp> all_ops;
      all_ops.reserve(128);
      func_.walk([&](quantfork::QuantizeRegionOp op) { all_ops.push_back(op); });
      return all_ops;
    }
    
    KernelSpecs::Signature QuantizeContext::GetSignature(
        quantfork::QuantizeRegionOp op) {
      KernelSpecs::Signature signature;
      signature.reserve(op.getInputSpecs().size() + op.getOutputSpecs().size());
      for (int i = 0; i < op.getNumOperands(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    		emptySHA256 + "\n" +
    		hashedChunk
    
    	// Get hmac signing key.
    	signingKey := getSigningKey(cr.cred.SecretKey, cr.seedDate, cr.region, serviceS3)
    
    	// Calculate signature.
    	newSignature := getSignature(signingKey, stringToSign)
    
    	return newSignature
    }
    
    // getTrailerChunkSignature - get trailer chunk signature.
    func (cr *s3ChunkedReader) getTrailerChunkSignature() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *
         * @param methodName
         *            メソッド名。{@literal null}や空文字列であってはいけません
         * @param argTypes
         *            引数型のな並び
         * @return シグニチャの文字列表現
         */
        public static String getSignature(final String methodName, final Class<?>... argTypes) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    					fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion),
    				},
    				"X-Amz-Date": []string{now.Format(iso8601Format)},
    				"X-Amz-Signature": []string{
    					getSignature(getSigningKey(globalActiveCred.SecretKey, now,
    						globalMinioDefaultRegion, serviceS3), "policy"),
    				},
    				"Policy": []string{"policy"},
    			},
    			expected: ErrNone,
    		},
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

      QuantParams GetOperandParams(Operation *op, int index) {
        return states_manager_.GetOperandParams(op, index);
      }
    
      // Return the signature of the op.
      KernelSpecs::Signature GetSignature(quantfork::QuantizeRegionOp op);
    
      // A heuristic to get quantization parameters satisfies the same scale
      // constraints:
      // - If there are immutable states,
      //   - use the single input, or,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    throw new GradleException(String.format(
                            "Could not convert javadoc comment to docbook.%nClass: %s%nMethod: %s%nComment: %s",
                            ownerClass.getClassName(), methodMetaData.getSignature(), rawCommentText), e);
                }
            } finally {
                listener.finish();
            }
        }
    
        private void adjustAccessorComment(DocCommentImpl docComment) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	// Get signining key.
    	signingkey := getSigningKey(secretAccessKey, t, location, "s3")
    	// Calculate signature.
    	signature := getSignature(signingkey, policyBase64)
    	return signature
    }
    
    func newPostRequestV2(endPoint, bucketName, objectName string, secretKey string, formInputData map[string]string) (*http.Request, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    		for _, ver := range v2 {
    			b, _ := json.Marshal(ver.header)
    			t.Log(string(b))
    			var x xlMetaV2Version
    			_, _ = x.unmarshalV(0, ver.meta)
    			b, _ = json.Marshal(x)
    			t.Log(string(b), x.getSignature())
    		}
    	}
    
    	for i := range vers {
    		t.Run(fmt.Sprintf("non-strict-q%d", i), func(t *testing.T) {
    			merged := mergeXLV2Versions(i, false, 0, vers...)
    			if len(merged) == 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top