Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 321 for gain (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          futureTasks.removeAt(existingIndex) // Already scheduled later: reschedule below!
        }
        task.nextExecuteNanoTime = executeNanoTime
        taskRunner.logger.taskLog(task, this) {
          if (recurrence) {
            "run again after ${formatDuration(executeNanoTime - now)}"
          } else {
            "scheduled after ${formatDuration(executeNanoTime - now)}"
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. docs/ja/docs/environment-variables.md

    <div class="termy">
    
    ```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
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:39:04 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/en/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // Error importing sirius, it's not installed 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            // Second call with SAStruts.method
            mockRequest.setQueryString("SAStruts.method=execute");
            assertEquals(originalPath, webApiRequest.getServletPath());
    
            // Third call without SAStruts.method again
            mockRequest.setQueryString("page=1");
            assertEquals(customPath, webApiRequest.getServletPath());
        }
    
        // Simple mock implementation of HttpServletRequest for testing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    ## How it looks { #how-it-looks }
    
    Let's first just use the code and see how it works, and then we'll come back to understand what's happening.
    
    ## Create `main.py` { #create-main-py }
    
    Copy the example in a file `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Run it { #run-it }
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     */
    
    @NullUnmarked
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
      // stash these in static fields to avoid loading them over and over again (speeds up test
      // execution significantly)
    
      /**
       * This classloader disallows {@link java.lang.invoke.VarHandle}, which will prevent us from
       * selecting the {@code VarHandleAtomicHelper} strategy.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-updates.md

    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-nested-models.md

        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Again, doing just that declaration, with **FastAPI** you get:
    
    * Editor support (completion, etc.), even for nested models
    * Data conversion
    * Data validation
    * Automatic documentation
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            byte[] type2Token = type2Message.toByteArray();
    
            context.initSecContext(type2Token, 0, type2Token.length); // state -> 3 (established)
    
            // Try to call again
            SmbException e = assertThrows(SmbException.class, () -> {
                context.initSecContext(new byte[0], 0, 0);
            });
            assertEquals("Invalid state", e.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                assertThat(Thread.currentThread().isInterrupted()).isFalse();
              }
            });
    
        // Run these together.
        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top