Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 750 for ensures (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * been written to. Otherwise the body would need to be buffered!
       *
       * For non-streaming requests with a body, headers must be prepared **after** the output stream
       * has been written to and closed. This ensures that the `Content-Length` header field receives
       * the proper value.
       */
      override fun writeRequestHeaders(request: Request) {
        val requestLine = RequestLine.get(request, carrier.route.proxy.type())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 17.5K bytes
    - Click Count (7)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     * loading and storing of properties from a file. It monitors the file for changes
     * and reloads the properties if the file is updated. This class is thread-safe and
     * ensures that the properties are always up-to-date.
     *
     * <p>Key Features:
     * <ul>
     *   <li>Automatically reloads properties if the file is modified.</li>
     *   <li>Supports custom check intervals for file modification checks.</li>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

            }
    
            if (log.isDebugEnabled()) {
                log.debug("Negotiated file read size is " + this.readSizeFile);
            }
        }
    
        /**
         * Ensures that the file descriptor is openend
         *
         * @throws CIFSException if an error occurs while opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      //
      // Certain operations (like SYN_STREAM) need to synchronize on both the frameWriter (to do
      // blocking I/O) and this (to create streams). Such operations must synchronize on 'this' last.
      // This ensures that we never wait for a blocking operation while holding 'this'.
    
      /** True if this peer initiated the connection. */
      internal val client: Boolean = builder.client
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

         * <p>
         * This method starts a process with the given command list, manages its execution,
         * handles timeouts, and logs relevant information. It ensures the process is destroyed
         * if it exceeds the allowed execution time or becomes unresponsive. The method also
         * captures and logs the process output for debugging purposes.
         * </p>
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Attaches an artifact to the project using the given file path. The artifact type will be
         * determined from the file extension. This method is thread-safe and ensures proper
         * synchronization of the project's artifact state.
         *
         * @param session the current build session
         * @param project the project to attach the artifact to
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                Map<String, Artifact> map = new HashMap<>();
                for (Artifact artifact : resolvedArtifacts) {
                    /**
                     * MNG-6300: resolvedArtifacts can be cache result; this ensures reactor files are always up-to-date
                     * During lifecycle the Artifact.getFile() can change from target/classes to the actual jar.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. cmd/erasure-decode.go

    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    			if err != nil {
    				switch {
    				case errors.Is(err, errFileNotFound):
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
       * the last one, then we achieve the intended rate. If a request comes and the last request was
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                throw new RepositoryMetadataReadException(
                        "Cannot read metadata from '" + mappingFile + "': " + e.getMessage(), e);
            }
        }
    
        /**
         * Ensures the last updated timestamp of the specified metadata does not refer to the future and fixes the local
         * metadata if necessary to allow proper merging/updating of metadata during deployment.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top