Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 607 for simplest (0.2 sec)

  1. src/bufio/example_test.go

    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. operator/README.md

    defines install time parameters like component and enablement and namespace, and K8s settings like resources, HPA spec etc. in a structured way.
    The simplest customization is to turn components on and off. For example, to turn on cni ([samples/cni-on.yaml](samples/cni-on.yaml):
    
    ```yaml
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    spec:
      components:
        cni:
          enabled: true
    ```
    
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EqualsTester.java

    import java.util.ArrayList;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    ---
    
    But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string.
    
    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    ```Python hl_lines="2  6-38  41-43"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

    import java.util.ArrayList;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for equals() and hashCode() methods of a class.
     *
     * <p>The simplest use case is:
     *
     * <pre>
     * new EqualsTester().addEqualityGroup(foo).testEquals();
     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
            .replace(Regex("(?m)simple boundary$"), "simple boundary \t \t")
            .replace("\n", "\r\n")
    
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     * cannot override this binding. This is because the lookup is always short-circuited in this
     * specific situation (plain @Inject request, and plain explicit binding for the same type.)
     *
     * The simplest solution is to use a custom @Named here so it isn't bound under the plain key.
     * This is only necessary for default components using @Typed that want to support overriding.
     *
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
     * "Choosing the right graph type"</a> section of the Guava User Guide for more details.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

    # First Steps
    
    The simplest FastAPI file could look like this:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top