Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,858 for Mode (0.15 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

        private byte[] preauthSalt;
    
        /**
         * Constructs an SMB2 negotiate request with the specified configuration and security mode.
         *
         * @param config the configuration for this request
         * @param securityMode the security mode flags for negotiation
         */
        public Smb2NegotiateRequest(final Configuration config, final int securityMode) {
            super(config, SMB2_NEGOTIATE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs_src/background_tasks/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 696 bytes
    - Viewed (0)
  3. docs_src/custom_response/tutorial008_py39.py

    from fastapi.responses import StreamingResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 360 bytes
    - Viewed (0)
  4. docs_src/events/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.on_event("shutdown")
    def shutdown_event():
        with open("log.txt", mode="a") as log:
            log.write("Application shutdown")
    
    
    @app.get("/items/")
    async def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 255 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

        }
    
        /*
         * static class SynInfo { final String src; final int offset, length; final String[] synonyms; Mode mode; int count;
         * SynInfo(String src, int offset, int length, String[] synonyms){ this.src = src; this.offset = offset; this.length
         * = length; this.synonyms = synonyms; }
         *
         * static enum Mode { PREV, SYN, AFTER; } }
         */
    
        static class MyTokensComparator implements Comparator<MyToken> {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. cmd/xl-storage_unix_test.go

    package cmd
    
    import (
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. callbacks/create.go

    		if !isDryRun {
    			return
    		}
    
    		ok, mode := hasReturning(db, supportReturning)
    		if ok {
    			if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok {
    				onConflict, _ := c.Expression.(clause.OnConflict)
    				if onConflict.DoNothing {
    					mode |= gorm.ScanOnConflictDoNothing
    				} else if len(onConflict.DoUpdates) > 0 || onConflict.UpdateAll {
    					mode |= gorm.ScanUpdate
    				}
    			}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        @DisplayName("Test encode with maximum security mode")
        void testEncodeWithMaxSecurityMode() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, 0xFFFF, defaultDialects);
    
            byte[] buffer = new byte[request.size()];
            request.encode(buffer, 0);
    
            // Verify max security mode value (2 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the current CRUD mode
         * @param expectedMode the expected CRUD mode
         * @param dictId the dictionary ID for error handling
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  10. .vscode/settings.json

    {
      "java.compile.nullAnalysis.mode": "automatic"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 52 bytes
    - Viewed (0)
Back to top