Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,689 for Must (0.04 seconds)

  1. internal/ioutil/ioutil_test.go

    	writer := WriteOnClose(io.Discard)
    	if writer.HasWritten() {
    		t.Error("WriteOnCloser must not be marked as HasWritten")
    	}
    	writer.Write(nil)
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    	}
    
    	writer = WriteOnClose(io.Discard)
    	writer.Close()
    	if !writer.HasWritten() {
    		t.Error("WriteOnCloser must be marked as HasWritten")
    	}
    }
    
    // Test for AppendFile.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           *   called only once, just as it has its Executor.execute override called only once.)
           *
           * - if we return immediately from `execute` (in which case we never get here)
           *
           * - in the "reentrant submit" case of `execute` (in which case we must have started running a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java

    @Deprecated(since = "4.0.0")
    public interface SettingsBuilder {
    
        /**
         * Builds the effective settings of the specified settings files.
         *
         * @param request The settings building request that holds the parameters, must not be {@code null}.
         * @return The result of the settings building, never {@code null}.
         * @throws SettingsBuildingException If the effective settings could not be built.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

         *
         * @param mojos             list of mojos representing a project build
         * @param session           current session
         * @param mojoExecutionRunner mojo execution task which must be invoked by a strategy to actually run it
         * @throws LifecycleExecutionException
         */
        void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. fastapi/openapi/utils.py

    ) -> tuple[dict[str, Any], dict[str, Any], dict[str, Any]]:
        path = {}
        security_schemes: dict[str, Any] = {}
        definitions: dict[str, Any] = {}
        assert route.methods is not None, "Methods must be a list"
        if isinstance(route.response_class, DefaultPlaceholder):
            current_response_class: type[Response] = route.response_class.value
        else:
            current_response_class = route.response_class
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
     *          since this whole object is kept in the classloader between builds.
     *          Anything that changes must be in a val with a get() method that recomputes the value each time.
     */
    object BuildEnvironment {
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

     *   <li>Performance monitoring of nested operations</li>
     * </ul>
     *
     * <p>This interface is designed to be extended by specific request types that handle
     * different Maven operations. All implementations must be immutable to ensure thread safety
     * and predictable behavior in concurrent environments.
     *
     * @param <S> the type of ProtoSession associated with this request, allowing for
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. cmd/service.go

    	// Re-uses the same pid. This preserves the pid over multiple server-respawns.
    	return syscall.Exec(argv0, os.Args, os.Environ())
    }
    
    // freezeServices will freeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * Overwrites the active profiles based on a pre-Maven 4 "active profiles" list.
         * @param activeProfileIds A {@link List} of profile IDs that must be activated.
         * @deprecated Use {@link #activateOptionalProfile(String)} or {@link #activateRequiredProfile(String)} instead.
         */
        @Deprecated
        public void overwriteActiveProfiles(List<String> activeProfileIds) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. internal/etag/etag.go

    // computes the ETag as MD5 of the encrypted content but there is
    // no way to verify this assumption since the encryption happens
    // inside AWS S3.
    // Therefore, S3 clients must not make any assumption about ETags
    // in case of SSE-C or SSE-KMS except that the ETag is well-formed.
    //
    // To put all of this into a simple rule:
    //
    //	SSE-S3 : ETag == MD5
    //	SSE-C  : ETag != MD5
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top