Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for clip (0.05 sec)

  1. src/slices/example_test.go

    	// Output:
    	// 4
    	// [0 42 -10 8]
    	// 4
    	// 8
    }
    
    func ExampleClip() {
    	a := [...]int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    	s := a[:4:10]
    	clip := slices.Clip(s)
    	fmt.Println(cap(s))
    	fmt.Println(clip)
    	fmt.Println(len(clip))
    	fmt.Println(cap(clip))
    	// Output:
    	// 10
    	// [0 1 2 3]
    	// 4
    	// 4
    }
    
    func ExampleConcat() {
    	s1 := []int{0, 1, 2, 3}
    	s2 := []int{4, 5, 6}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs/en/docs/fastapi-cli.md

    # FastAPI CLI
    
    **FastAPI CLI** is a command line program that you can use to serve your FastAPI app, manage your FastAPI project, and more.
    
    When you install FastAPI (e.g. with `pip install fastapi`), it includes a package called `fastapi-cli`, this package provides the `fastapi` command in the terminal.
    
    To run your FastAPI app for development, you can use the `fastapi dev` command:
    
    <div class="termy">
    
    ```console
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 23:39:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/pt/docs/fastapi-cli.md

    # FastAPI CLI
    
    **FastAPI CLI** é uma interface por linha de comando do `fastapi` que você pode usar para rodar sua app FastAPI, gerenciar seu projeto FastAPI e mais.
    
    Quando você instala o FastAPI (ex.: com `pip install fastapi`), isso inclui um pacote chamado `fastapi-cli`. Esse pacote disponibiliza o comando `fastapi` no terminal.
    
    Para rodar seu app FastAPI em desenvolvimento, você pode usar o comando `fastapi dev`:
    
    <div class="termy">
    
    ```console
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jun 11 23:49:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildEnvironmentConfigurationConverter.java

    import org.gradle.launcher.cli.converter.BuildLayoutConverter;
    import org.gradle.launcher.cli.converter.BuildOptionBackedConverter;
    import org.gradle.launcher.cli.converter.InitialPropertiesConverter;
    import org.gradle.launcher.cli.converter.LayoutToPropertiesConverter;
    import org.gradle.launcher.cli.converter.StartParameterConverter;
    import org.gradle.launcher.configuration.AllProperties;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/build.gradle.kts

    }
    
    description = "Implementation for launching, controlling and communicating with Gradle Daemon from CLI and TAPI"
    
    dependencies {
        api(project(":base-services"))
        api(project(":build-events"))
        api(project(":build-operations"))
        api(project(":build-option"))
        api(project(":build-state"))
        api(project(":cli"))
        api(project(":concurrent"))
        api(project(":core"))
        api(project(":core-api"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. internal/config/etcd/etcd.go

    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/property/tests/property.sample.conf

    # tag::cli[]
    # gradle build
    # end::cli[]
    executable: gradle
    args: build -q
    expected-output-file: propertyGroovy.out
    allow-additional-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 15:37:47 UTC 2024
    - 176 bytes
    - Viewed (0)
  8. architecture/runtimes.md

    The diagram below shows the relationships between the different processes:
    
    ```mermaid
        graph LR
            
            gradle["Gradle CLI client"]
        
            gradlew["Gradlew CLI client"]
        
            subgraph IDE    
                tapi["Tooling API client"]
            end
            
            daemon["Gradle daemon"]
            gradle --> daemon
            gradlew --> daemon
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/tests/propertyConventionCallsites.sample.conf

    # tag::cli[]
    # gradle show
    # end::cli[]
    executable: gradle
    args: hello
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:09 UTC 2024
    - 125 bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    package ztunnelconfig
    
    import (
    	"bytes"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top