Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 752 for gain (0.02 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            }
            toEvict.socket().closeQuietly()
            connectionListener.connectionClosed(toEvict)
            if (connections.isEmpty()) cleanupQueue.cancelAll()
    
            // Clean up again immediately.
            return 0L
          }
    
          earliestEvictableConnection != null -> {
            // A connection will be ready to evict soon.
            return earliestEvictableIdleAtNs + keepAliveDurationNs - now
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Add multiple resource source roots
            project.addSourceRoot(
                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources2")));
            project.addSourceRoot(
                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources3")));
    
            // Verify initial order
            List<Resource> resources = project.getResources();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/BufferCacheTest.java

        @DisplayName("releaseBuffer and getBuffer should implement buffer reuse")
        void testBufferReuse() {
            // Given
            byte[] originalBuffer = testCache.getBuffer();
    
            // When - release and get again
            testCache.releaseBuffer(originalBuffer);
            byte[] reusedBuffer = testCache.getBuffer();
    
            // Then
            assertSame(originalBuffer, reusedBuffer, "Released buffer should be reused");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. docs/es/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Aquí todavía no configuramos la env var
    $ python main.py
    
    // Como no configuramos la env var, obtenemos el valor por defecto
    
    Hello World from Python
    
    // Pero si creamos una variable de entorno primero
    $ export MY_NAME="Wade Wilson"
    
    // Y luego llamamos al programa nuevamente
    $ python main.py
    
    // Ahora puede leer la variable de entorno
    
    Hello Wade Wilson from Python
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

        val newTags = tags.plus(type, computed)
        if (compareAndSet(tags, newTags)) return computed
    
        // We lost the race. Possibly to other code that was putting a *different* key. Try again!
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // Retrying only makes sense if the invalid parameter is an tree id. If we have a stale file descriptor
                    // retrying make no sense, as it will never become available again.
                    if (params.contains(RequestParam.NO_RETRY)
                            || !(smbe.getCause() instanceof TransportException) && smbe.getNtStatus() != NtStatus.NT_STATUS_INVALID_PARAMETER) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  8. docs/en/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    {* ../../docs_src/async_tests/app_a_py39/main.py *}
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    {* ../../docs_src/async_tests/app_a_py39/test_main.py *}
    
    ## Run it { #run-it }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/bigger-applications.md

    ///
    
    ## Модуль main в `FastAPI` { #the-main-fastapi }
    
    Теперь давайте посмотрим на модуль `app/main.py`.
    
    Именно сюда вы импортируете и именно здесь вы используете класс `FastAPI`.
    
    Это основной файл вашего приложения, который объединяет всё в одно целое.
    
    И теперь, когда большая часть логики приложения разделена на отдельные модули, основной файл `app/main.py` будет достаточно простым.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        val requestSendStarted = e !is ConnectionShutdownException
    
        // The application layer has forbidden retries.
        if (!client.retryOnConnectionFailure) return false
    
        // We can't send the request body again.
        if (requestSendStarted && requestIsOneShot(e, userRequest)) return false
    
        // This exception is fatal.
        if (!isRecoverable(e, requestSendStarted)) return false
    
        // No more routes to attempt.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top