Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for safely (0.04 seconds)

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

  1. cmd/postpolicyform.go

    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val any) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val any) string {
    	return strings.ToLower(toString(val))
    }
    
    // toInteger _ Safely convert interface to integer without causing panic.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. cmd/data-scanner-metric.go

    	if c != nil {
    		c2 := c.clone()
    		c = &c2
    	}
    	p.cycleInfoMu.Lock()
    	p.cycleInfo = c
    	p.cycleInfoMu.Unlock()
    }
    
    // getCycle returns the current cycle metrics.
    // If not nil, the returned value can safely be modified.
    func (p *scannerMetrics) getCycle() *currentScannerCycle {
    	p.cycleInfoMu.Lock()
    	defer p.cycleInfoMu.Unlock()
    	if p.cycleInfo == nil {
    		return nil
    	}
    	c := p.cycleInfo.clone()
    	return &c
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. cmd/erasure-healing.go

    	errPartMissing    = errors.New("part missing")
    )
    
    // Only heal on disks where we are sure that healing is needed. We can expand
    // this list as and when we figure out more errors can be added to this list safely.
    func shouldHealObjectOnDisk(erErr error, partsErrs []int, meta FileInfo, latestMeta FileInfo) (bool, bool, error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  4. cmd/erasure-multipart.go

    	// Wait for all renames to finish.
    	errs := g.Wait()
    
    	err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    	if err != nil {
    		er.cleanupMultipartPath(ctx, paths...)
    	}
    
    	// We can safely allow RenameFile errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure. Cleanup successful renames.
    	return evalDisks(disks, errs), err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/response-status-code.md

    These status codes have a name associated to recognize them, but the important part is the number.
    
    In short:
    
    * `100 - 199` are for "Information". You rarely use them directly.  Responses with these status codes cannot have a body.
    * **`200 - 299`** are for "Successful" responses. These are the ones you would use the most.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

     * project-by-project.
     *
     * <h2>Key Features:</h2>
     * <ul>
     *   <li>Concurrent execution of compatible build steps across projects</li>
     *   <li>Thread-safety validation for plugins</li>
     *   <li>Support for forked executions and lifecycle phases</li>
     *   <li>Dynamic build plan adjustment during execution</li>
     * </ul>
     *
     * <h2>Execution Strategy:</h2>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  7. docs/en/docs/features.md

    The whole **FastAPI** framework is based to satisfy that. Autocompletion works everywhere.
    
    You will rarely need to come back to the docs.
    
    Here's how your editor might help you:
    
    * in <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

     *
     * If output-file is provided, writes result to that file (avoids Windows file locking issues).
     * Otherwise, outputs to stdout.
     *
     * Outputs: Single line with space-separated quoted arguments (safe for batch scripts)
     */
    public class JvmConfigParser {
        public static void main(String[] args) {
            if (args.length < 2 || args.length > 3) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * (never less than 1, never more than 2), depending on project packaging.
         * <p>
         * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends
         * solely on the project packaging.
         *
         * @see #getPackaging()
         * @see #getPomArtifact()
         * @see #getMainArtifact()
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <p>Use DomUtils methods when you need:
     * <ul>
     * <li>Maven-specific element ordering (insertNewElement, insertContentElement)</li>
     * <li>High-level helpers (addGAVElements, createDependency, createPlugin)</li>
     * <li>Null-safe operations (updateElementContent, removeElement)</li>
     * <li>Update-or-create patterns (updateOrCreateChildElement)</li>
     * </ul>
     *
     * @see eu.maveniverse.domtrip.Element
     * @see eu.maveniverse.domtrip.Editor
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top