Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,852 for example1 (0.31 sec)

  1. src/math/rand/v2/example_test.go

    package rand_test
    
    import (
    	"fmt"
    	"math/rand/v2"
    	"os"
    	"strings"
    	"text/tabwriter"
    	"time"
    )
    
    // These tests serve as an example but also make sure we don't change
    // the output of the random number generator when given a fixed seed.
    
    func Example() {
    	answers := []string{
    		"It is certain",
    		"It is decidedly so",
    		"Without a doubt",
    		"Yes definitely",
    		"You may rely on it",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. samples/open-telemetry/tracing/README.md

    ## Check tracing results
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 18 16:38:12 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/config_gradle.adoc

    They use `-Xmx512m` by default.
    
    *Example 1:* Set compile options for Java compilation tasks:
    ====
    include::sample[dir="snippets/buildEnvironment/javaCompileOptions/kotlin",files="build.gradle.kts[]"]
    include::sample[dir="snippets/buildEnvironment/javaCompileOptions/groovy",files="build.gradle[]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // checking. In this example, logf is a printf wrapper:
    //
    //	func logf(level int, format string, args ...any) {
    //		if enabled(level) {
    //			log.Printf(format, args...)
    //		}
    //	}
    //
    //	logf(3, "invalid request: %v") // logf format reads arg 1, but call has 0 args
    //
    // To enable printf checking on a function that is not found by this
    // analyzer's heuristics (for example, because control is obscured by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/README.md

    When configuring the chart, you should not include this.
    That is, `--set some.field=true` should be passed, not `--set defaults.some.field=true`.
    
    ### Examples
    
    #### Configuring mesh configuration settings
    
    Any [Mesh Config](https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/) options can be configured like below:
    
    ```yaml
    meshConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. architecture/ambient/peer-authentication.md

          - 9090
    name: converted_peer_authentication_strict-and-permissive-mtls
    scope: WORKLOAD_SELECTOR
    ```
    
    The above policies reject unauthenticated traffic at the ztunnel unless its destination is port 9090. For more complete examples, read through the [test cases](../../pilot/pkg/serviceregistry/kube/controller/ambientindex_test.go) in the `TestRBACConvert` function.
    
    ## PeerAuthentication and the Waypoint Proxy
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

        ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ### About `**user_in.dict()`
    
    #### Pydantic's `.dict()`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/preflight.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    var (
    	preflightExample = cmdutil.Examples(`
    		# Run pre-flight checks for kubeadm init using a config file.
    		kubeadm init phase preflight --config kubeadm-config.yaml
    		`)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/provider/ValueSource.java

     * For example, if the {@link #obtain()} method calls {@code System.getenv("FOO")} then changes to
     * the {@code FOO} environment variable only invalidate the cache if the value returned by the
     * {@code obtain()} method itself changes. The same applies to reading files or system properties.
     * Starting an external process with a standard API (for example, {@code java.lang.ProcessBuilder}) is
     * also allowed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:02:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    To see all the options you have, checkout the docs for <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic's exotic types</a>. You will see some examples in the next chapter.
    
    For example, as in the `Image` model we have a `url` field, we can declare it to be an instance of Pydantic's `HttpUrl` instead of a `str`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="2  8"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top