Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for extraction (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                // Test file name extraction
                assertEquals("file.txt", new SmbFile("smb1://server/share/file.txt").getName());
                // Test directory name extraction (should include trailing slash)
                assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName());
                // Test share name extraction
                assertEquals("share/", new SmbFile("smb1://server/share/").getName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    
    /**
     * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling,
     * result extraction, header encoding/decoding, and the round-trip of an
     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacLogonInfoTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    /**
     * Unit tests for PacLogonInfo class.
     * Tests the parsing and data extraction from PAC Logon Info structures.
     */
    class PacLogonInfoTest {
    
        private static final long TEST_FILETIME = 130640000000000000L;
        private static final String TEST_USERNAME = "testuser";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		secretKey, err := getTokenSigningKey()
    		if err != nil {
    			return nil, err
    		}
    		keys = append(keys, secretKey)
    	}
    
    	// Iterate over all keys and return with the first successful claim extraction
    	for _, key := range keys {
    		jwtClaims, err = getClaimsFromTokenWithSecret(u.Credentials.SessionToken, key)
    		if err == nil {
    			break
    		}
    	}
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Fix broken link in docs about OAuth 2.0 with scopes. PR [#275](https://github.com/tiangolo/fastapi/pull/275) by [@dmontagu](https://github.com/dmontagu).
    
    * Refactor param extraction using Pydantic `Field`:
        * Large refactor, improvement, and simplification of param extraction from *path operations*.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

    import java.util.Arrays;
    
    import jcifs.Decodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * DFS (Distributed File System) referral response buffer parser.
     * Decodes server responses to DFS referral requests, extracting information about
     * available DFS targets, path consumption details, and referral flags.
     *
     * @author mbechler
     */
    public class DfsReferralResponseBuffer implements Decodable {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    		},
    	}
    
    	for i, s := range sizes {
    		isMax := isMaxPartID(s.partN)
    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    ## Simple usage { #simple-usage }
    
    If you look at it, *path operation functions* are declared to be used whenever a *path* and *operation* matches, and then **FastAPI** takes care of calling the function with the correct parameters, extracting the data from the request.
    
    Actually, all (or most) of the web frameworks work in this same way.
    
    You never call those functions directly. They are called by your framework (in this case, **FastAPI**).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    ### Concurrency + Parallelism: Web + Machine Learning { #concurrency-parallelism-web-machine-learning }
    
    With **FastAPI** you can take advantage of concurrency that is very common for web development (the same main attraction of NodeJS).
    
    But you can also exploit the benefits of parallelism and multiprocessing (having multiple processes running in parallel) for **CPU bound** workloads like those in Machine Learning systems.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. cmd/iam.go

    		}
    
    		// Check if this is the first time we are
    		// encountering this LDAP user.
    		if _, ok := parentUserToCredsMap[cred.ParentUser]; !ok {
    			// Try to find the ldapUsername for this
    			// parentUser by extracting JWT claims
    			var (
    				jwtClaims *jwt.MapClaims
    				err       error
    			)
    
    			if cred.SessionToken == "" {
    				continue
    			}
    
    			if cred.IsServiceAccount() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top