Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for tries (0.02 sec)

  1. cmd/prepare-storage.go

    	if err == nil {
    		return storageDisks, format, nil
    	}
    
    	tries++ // tried already once
    
    	// Wait on each try for an update.
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		// Only log once every 10 iterations, then reset the tries count.
    		verbose = tries >= 10
    		if verbose {
    			tries = 1
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  2. docs/en/docs/tutorial/query-param-models.md

    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra** data in the **query parameters**, they will receive an **error** response.
    
    For example, if the client tries to send a `tool` query parameter with a value of `plumbus`, like:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cookie-param-models.md

    If a client tries to send some **extra cookies**, they will receive an **error** response.
    
    Poor cookie banners with all their effort to get your consent for the <abbr title="This is another joke. Don't pay attention to me. Have some coffee for your cookie. ☕">API to reject it</abbr>. 🍪
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-form-models.md

    ///
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *}
    
    If a client tries to send some extra data, they will receive an **error** response.
    
    For example, if the client tries to send the form fields:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/header-param-models.md

    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    For example, if the client tries to send a `tool` header with a value of `plumbus`, they will receive an **error** response telling them that the header parameter `tool` is not allowed:
    
    ```json
    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/ModelResolver.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelResolver {
    
        /**
         * Tries to resolve the POM for the specified coordinates.
         *
         * @param groupId The group identifier of the POM, must not be {@code null}.
         * @param artifactId The artifact identifier of the POM, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Signals one or more errors during settings building. The settings builder tries to collect as many problems as
     * possible before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to
     * query the details of the failure.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. internal/lock/lock_nix.go

    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. internal/lsync/lrwmutex.go

    // blocks until the mutex is available.
    func (lm *LRWMutex) Lock() {
    	const isWriteLock = true
    	lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock)
    }
    
    // GetLock tries to get a write lock on lm before the timeout occurs.
    func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
    	const isWriteLock = true
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
     * before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to query the
     * details of the failure.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top