Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,148 for wirst (0.02 sec)

  1. docs/en/docs/advanced/middleware.md

    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument.
    
    So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/environment-variables.md

    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/DialectVersion.java

         */
        public boolean atMost(final DialectVersion v) {
            return ordinal() <= v.ordinal();
        }
    
        /**
         * Get the minimum of two dialect versions
         *
         * @param a the first version to compare
         * @param b the second version to compare
         * @return smaller of the two versions
         */
        public static DialectVersion min(final DialectVersion a, final DialectVersion b) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/feature_request.md

    about: Suggest an idea
    title: ''
    labels: enhancement
    assignees: ''
    
    ---
    
    Start by telling us what problem you’re trying to solve. Often a solution already exists!
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 30 18:42:51 UTC 2018
    - 350 bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    	stmt := newDB.First(&result).Statement
    	str := stmt.SQL.String()
    
    	if !strings.Contains(str, "rgs.id = user.id") {
    		t.Errorf("The second join condition is over written instead of combining")
    	}
    
    	if !strings.Contains(str, "`users`.`company_id` = `companies`.`id`") && !strings.Contains(str, "\"users\".\"company_id\" = \"companies\".\"id\"") {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Share name contains invalid characters: " + share);
            }
        }
    
        /**
         * Validates integer for safe arithmetic operations
         *
         * @param a first operand
         * @param b second operand
         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Wait for reset timeout
            Thread.sleep(1100);
    
            // First success should transition to HALF_OPEN
            String result = circuitBreaker.executeWithCircuitBreaker(() -> "success 0");
            assertEquals("success 0", result, "Should execute in HALF_OPEN");
            assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Should be in HALF_OPEN after first success");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            String sessionId = "test_replace";
            List<String> cmdList1 = Arrays.asList("echo", "first");
            List<String> cmdList2 = Arrays.asList("echo", "second");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            try {
                // Start first process
                JobProcess jobProcess1 = processHelper.startProcess(sessionId, cmdList1, pbCall);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertNotNull(entry2);
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry1.getScope());
            assertEquals(DirectoryCacheScope.RECURSIVE_TREE, entry2.getScope());
    
            // Update first directory cache
            List<SmbFile> files1 = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(dir1, files1);
    
            // Update second directory cache
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    	wg := sync.WaitGroup{}
    	for i := 0; i < 100; i++ {
    		wg.Add(1)
    		go func() {
    			user := User{Name: "jinzhu"}
    			tx.Create(&user)
    
    			var result User
    			tx.First(&result)
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts.Keys()), 2)
    	for _, stmt := range conn.Stmts.Keys() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top