Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 363 for extractor (0.05 sec)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

            checkNotDestroyed();
    
            if (ciphertext == null || ciphertext.length <= GCM_IV_SIZE) {
                return null;
            }
    
            // Extract IV and ciphertext
            byte[] iv = new byte[GCM_IV_SIZE];
            System.arraycopy(ciphertext, 0, iv, 0, GCM_IV_SIZE);
    
            byte[] encryptedData = new byte[ciphertext.length - GCM_IV_SIZE];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    // sumHMAC calculate hmac between two input byte array.
    func sumHMAC(key []byte, data []byte) []byte {
    	hash := hmac.New(sha256.New, key)
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // extractSignedHeaders extract signed headers from Authorization header
    func extractSignedHeaders(signedHeaders []string, r *http.Request) (http.Header, APIErrorCode) {
    	reqHeaders := r.Header
    	reqQueries := r.Form
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/signature-v4_test.go

    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "us-west-1",
    			expected: ErrUnsignedHeaders,
    		},
    		// (3) Should fail to extract headers if the host header is not signed.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":      signV4Algorithm,
    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Expires":        "60",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                int action = SMBUtil.readInt4(outputBuffer, offset + 4);
                int fileNameLength = SMBUtil.readInt4(outputBuffer, offset + 8);
    
                // Extract filename
                byte[] fileNameBytes = new byte[fileNameLength];
                System.arraycopy(outputBuffer, offset + 12, fileNameBytes, 0, fileNameLength);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    	m["accessKey"] = accessKey
    	jwt := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, jwtgo.MapClaims(m))
    	return jwt.SignedString([]byte(tokenSecret))
    }
    
    // ExtractClaims extracts JWT claims from a security token using a secret key
    func ExtractClaims(token, secretKey string) (*jwt.MapClaims, error) {
    	if token == "" || secretKey == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. cmd/signature-v2.go

    		accessKey       string
    		err             error
    	)
    
    	var unescapedQueries []string
    	unescapedQueries, err = unescapeQueries(encodedQuery)
    	if err != nil {
    		return ErrInvalidQueryParams
    	}
    
    	// Extract the necessary values from presigned query, construct a list of new filtered queries.
    	for _, query := range unescapedQueries {
    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            }
        }
    
        /**
         * Runs the crawling process in a separate thread.
         * This method fetches URLs from the queue, accesses content, processes responses,
         * and extracts child URLs until the crawling process is done or no more URLs are available.
         */
        @Override
        public void run() {
            log(logHelper, LogType.START_THREAD, crawlerContext);
            int threadCheckCount = 0;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. fastapi/applications.py

            description: Annotated[
                Optional[str],
                Doc(
                    """
                    A description for the *path operation*.
    
                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals(l.getShare(), copy.getShare());
            assertEquals(l.getType(), copy.getType());
            assertSame(l.getURL(), copy.getURL());
        }
    
        @ParameterizedTest
        @DisplayName("queryLookup extracts values case-insensitively")
        @CsvSource({ "a=1&b=2,a,1", "A=1&a=2,a,1", // first match before next param
                "x=foo&Server=name,server,name", "paramOnly=,paramOnly,''", "noeq&other=1,other,1" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. scripts/docs.py

    header_with_permalink_pattern = re.compile(r"^(#{1,6}) (.+?)(\s*\{\s*#.*\s*\})\s*$")
    code_block3_pattern = re.compile(r"^\s*```")
    code_block4_pattern = re.compile(r"^\s*````")
    
    
    class VisibleTextExtractor(HTMLParser):
        """Extract visible text from a string with HTML tags."""
    
        def __init__(self):
            super().__init__()
            self.text_parts = []
    
        def handle_data(self, data):
            self.text_parts.append(data)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
Back to top