Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 2,072 for instances (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

        assertFailsWith<IllegalStateException> {
          response.peekBody(3)
        }
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/references/streaming.md

        yield Item(name="Plumbus", price=32.99)
        yield Item(name="Portal Gun", price=999.99)
    ```
    
    For full control over SSE fields (`event`, `id`, `retry`, `comment`), yield `ServerSentEvent` instances:
    
    ```python
    from collections.abc import AsyncIterable
    
    from fastapi import FastAPI
    from fastapi.sse import EventSourceResponse, ServerSentEvent
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Given
            SmbComTreeDisconnect instance1 = new SmbComTreeDisconnect(config);
            SmbComTreeDisconnect instance2 = new SmbComTreeDisconnect(mockConfig);
    
            // Then
            assertNotSame(instance1, instance2);
            assertEquals(instance1.getCommand(), instance2.getCommand());
            assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    import java.util.concurrent.RunnableFuture;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}
     * instances for each {@link Runnable} and {@link Callable} submitted to it. These tasks are run
     * with the abstract {@link #execute execute(Runnable)} method.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 17:47:46 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          @Override
          protected Iterator<E> newTargetIterator() {
            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * managed and injected throughout Maven's execution lifecycle. The framework is designed
     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jan 10 05:49:06 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

    import org.opensearch.index.query.RangeQueryBuilder;
    
    /**
     * Command class for handling term range query execution and conversion.
     * This class processes Lucene TermRangeQuery objects and converts them to OpenSearch QueryBuilder instances.
     */
    public class TermRangeQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(TermRangeQueryCommand.class);
    
        /**
         * Default constructor for TermRangeQueryCommand.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * A dictionary creator for stopwords files.
     * This class is responsible for creating {@link StopwordsFile} instances
     * from files that match the pattern "stopwords.*\\.txt".
     */
    public class StopwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(StopwordsCreator.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top