Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1841 - 1850 of 2,062 for Instance (0.12 seconds)

  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. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import org.apache.maven.project.MavenProject;
    
    /**
     * Instances of this interface retrieve and store data for the --resume / -r feature. This data is used to ensure newer
     * builds of the same project, that have the -r command-line flag, skip successfully built projects during earlier
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

                assertNull(e.fillInStackTrace());
                assertEquals(0, e.getStackTrace().length);
            }
        }
    
        @Test
        public void test_multipleInstances() {
            // Test that multiple instances maintain their own state
            UserRoleLoginException exception1 = new UserRoleLoginException(RootAction.class);
            UserRoleLoginException exception2 = new UserRoleLoginException(RootAction.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. internal/config/identity/openid/ecdsa-sha3_contrib.go

    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3"
    )
    
    // Specific instances for EC256 and company
    var (
    	SigningMethodES3256 *jwt.SigningMethodECDSA
    	SigningMethodES3384 *jwt.SigningMethodECDSA
    	SigningMethodES3512 *jwt.SigningMethodECDSA
    )
    
    func init() {
    	// ES256
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      /**
       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
       * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with
       * different parameters can be equal. That fact is a problem for {@code
       * testSeededHashFunctionEquals}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.7K bytes
    - Click Count (2)
  7. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

          for (Contributor contributor : contributors) {
            System.out.println(contributor.login + ": " + contributor.contributions);
          }
        }
      }
    
      private OkHttpContributors() {
        // No instances.
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
     * single step. This should be a more efficient implementation of multiple standard {@link ScopeArtifactFilter}
     * instances ORed together.
     *
     */
    public class CumulativeScopeArtifactFilter extends AbstractScopeArtifactFilter {
    
        private Set<String> scopes;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. 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)
  10. CODE_OF_CONDUCT.md

    
    ## Our Responsibilities
    
    Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
Back to Top