Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 474 for convenient (0.19 sec)

  1. docs/en/docs/tutorial/response-status-code.md

    ```
    
    `201` is the status code for "Created".
    
    But you don't have to memorize what each of these codes mean.
    
    You can use the convenience variables from `fastapi.status`.
    
    ```Python hl_lines="1  6"
    {!../../../docs_src/response_status_code/tutorial002.py!}
    ```
    
    They are just a convenience, they hold the same number, but that way you can use the editor's autocomplete to find them:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 29 14:02:58 UTC 2020
    - 4K bytes
    - Viewed (0)
  2. maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

    /**
     * Collects the output of the settings decrypter.
     *
     */
    public interface SettingsDecryptionResult {
    
        /**
         * Gets the decrypted server. This is a convenience method to retrieve the first element from {@link #getServers()}.
         *
         * @return The decrypted server or {@code null}.
         */
        Server getServer();
    
        /**
         * Gets the decrypted servers.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockCoordinationService.java

         */
        boolean withStateLock(InternalTransformer<ResourceLockState.Disposition, ResourceLockState> stateLockAction);
    
        /**
         * A convenience for using {@link #withStateLock(InternalTransformer)}.
         */
        void withStateLock(Runnable action);
    
        /**
         * A convenience for using {@link #withStateLock(InternalTransformer)}.
         */
        <T> T withStateLock(Supplier<T> action);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/internal/bytealg/equal_generic.go

    package bytealg
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    //
    // Equal is equivalent to bytes.Equal.
    // It is provided here for convenience,
    // because some packages cannot depend on bytes.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	// There is a test for this in package bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 628 bytes
    - Viewed (0)
  5. src/sort/sort.go

    		}
    	}
    	return true
    }
    
    // Convenience types for common cases
    
    // IntSlice attaches the methods of Interface to []int, sorting in increasing order.
    type IntSlice []int
    
    func (x IntSlice) Len() int           { return len(x) }
    func (x IntSlice) Less(i, j int) bool { return x[i] < x[j] }
    func (x IntSlice) Swap(i, j int)      { x[i], x[j] = x[j], x[i] }
    
    // Sort is a convenience method: x.Sort() calls Sort(x).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/embedded.go

    	out := e
    	out.obj = e.obj.DeepCopyObject()
    	copy(out.versions, e.versions)
    	return out
    }
    
    // NewEncodable creates an object that will be encoded with the provided codec on demand.
    // Provided as a convenience for test cases dealing with internal objects.
    func NewEncodable(e Encoder, obj Object, versions ...schema.GroupVersion) Object {
    	if _, ok := obj.(*Unknown); ok {
    		return obj
    	}
    	return encodable{e, obj, versions}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 02 09:39:03 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    			// It doesn't actually make sense to short-circuit here, since if
    			// you connect directly to a NodePort from outside the cluster,
    			// you only get the local endpoints. But it's simpler for us and
    			// slightly more convenient for users to have this case get
    			// short-circuited too.
    			output: "10.180.0.2:80, 10.180.1.2:80",
    			masq:   false,
    		},
    		{
    			name:     "pod to LB with eTP:Local",
    			sourceIP: "10.0.0.2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

              "current"
            ],
            "type": "object"
          },
          "io.k8s.apimachinery.pkg.api.resource.Quantity": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  9. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/SignatorySupport.java

     * limitations under the License.
     */
    package org.gradle.plugins.signing.signatory;
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    
    /**
     * Convenience base class for {@link Signatory} implementations.
     */
    public abstract class SignatorySupport implements Signatory {
    
        @Override
        public byte[] sign(InputStream toSign) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. hack/install-etcd.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script is convenience to download and install etcd in third_party.
    # Mostly just used by CI.
    # Usage: `hack/install-etcd.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 00:27:40 UTC 2020
    - 894 bytes
    - Viewed (0)
Back to top