Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 2,390 for when (0.01 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
                canceled -> IOException("canceled", e)
                else -> e
              }
            listener.onFailure(this, exception, response)
            return
          }
          if (canceled) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) request for pipe wait operations.
     * Implements the FSCTL_PIPE_WAIT control code used to wait for a named pipe
     * to become available when attempting to connect to a busy pipe.
     *
     * @author mbechler
     */
    public class FsctlPipeWaitRequest implements Encodable {
    
        private final byte[] nameBytes;
        private final long timeout;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

        int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException;
    
        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
         * This method is called automatically when using try-with-resources statements.
         *
         * <p>The default implementation does nothing. Subclasses should override this method
         * if they need to perform cleanup operations.</p>
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/using-request-directly.md

    As **FastAPI** is actually **Starlette** underneath, with a layer of several tools on top, you can use Starlette's <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> object directly when you need to.
    
    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. tests/distinct_test.go

    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create users: %v", err)
    	}
    
    	var names []string
    	DB.Table("users").Where("name like ?", "distinct%").Order("name").Pluck("name", &names)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

         */
        public OpenSearchAccessResultData() {
        }
    
        /**
         * Creates a new instance of OpenSearchAccessResultData from a source map.
         * This constructor is used when loading data from OpenSearch.
         *
         * @param src The source map containing the access result data fields.
         * @throws OpenSearchAccessException if the data cannot be decoded.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      for (pushPromise in pushPromises) {
        result.addPush(pushPromise.wrap())
      }
    
      result.settings(settings)
      result.status(status)
      result.headers(headers)
      result.trailers(trailers)
    
      when (socketPolicy) {
        SocketPolicy.EXPECT_CONTINUE, SocketPolicy.CONTINUE_ALWAYS -> result.add100Continue()
        SocketPolicy.UPGRADE_TO_SSL_AT_END -> result.inTunnel()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1));
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
     * This extensible enum has four defined values, {@link #MAIN_COMPILE}, {@link #MAIN_RUNTIME},
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. ci/official/envs/windows_x86_2022

    # via a symlink.
    # Helpful since the internal CI utilizes a T:\ drive, part of which is mounted
    # to the container, and would result in C:\<path> != T:\<path> mismatches,
    # when using variables like `TFCI_OUTPUT_DIR` in `docker exec commands,
    # requiring conditional path adjustments throughout the CI scripts.
    # Note: This does not work for `docker cp` commands.
    # For a little more detail, see:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Mar 19 00:58:54 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top