Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 406 for cflags (0.25 sec)

  1. cmd/xl-storage-format-v2-legacy.go

    			return
    		}
    		x.Type = VersionType(zb0002)
    	}
    	{
    		var zb0003 uint8
    		zb0003, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    		x.Flags = xlFlags(zb0003)
    	}
    	o = bts
    	return
    }
    
    // unmarshalV unmarshals with a specific metadata version.
    func (j *xlMetaV2Version) unmarshalV(v uint8, bts []byte) (o []byte, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. internal/grid/muxserver.go

    			return
    		case <-outBlock:
    		}
    		msg := message{
    			MuxID: m.ID,
    			Op:    OpMuxServerMsg,
    			Flags: c.baseFlags,
    		}
    		if !ok {
    			hErr := handlerErr.Load()
    			if debugPrint {
    				fmt.Println("muxServer: Mux", m.ID, "send EOF", hErr)
    			}
    			msg.Flags |= FlagEOF
    			if hErr != nil {
    				msg.Flags |= FlagPayloadIsErr
    				msg.Payload = []byte(*hErr)
    			}
    			msg.setZeroPayloadFlag()
    			m.send(msg)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. operator/cmd/mesh/shared.go

    // --revision is an alias for --set revision=
    func applyFlagAliases(flags []string, manifestsPath, revision string) []string {
    	if manifestsPath != "" {
    		flags = append(flags, fmt.Sprintf("installPackagePath=%s", manifestsPath))
    	}
    	if revision != "" && revision != "default" {
    		flags = append(flags, fmt.Sprintf("revision=%s", revision))
    	}
    	return flags
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/main.go

    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/trie"
    	"github.com/minio/pkg/v2/words"
    )
    
    // GlobalFlags - global flags for minio.
    var GlobalFlags = []cli.Flag{
    	// Deprecated flag, so its hidden now - existing deployments will keep working.
    	cli.StringFlag{
    		Name:   "config-dir, C",
    		Value:  defaultConfigDir.Get(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-dump.go

    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    }
    
    const (
    	jsonOutput  = "json"
    	yamlOutput  = "yaml"
    	flagsOutput = "flags"
    )
    
    const (
    	istioOperatorTreeString = `
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    `
    )
    
    func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. doc/next/3-tools.md

    or copying the `go` binary.
    
    ### Vet {#vet}
    
    The `go vet` subcommand now includes the
    [stdversion](https://beta.pkg.go.dev/golang.org/x/tools/go/analysis/passes/stdversion)
    analyzer, which flags references to symbols that are too new for the version
    of Go in effect in the referring file. (The effective version is determined
    by the `go` directive in the file's enclosing `go.mod` file, and
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri May 03 01:02:40 GMT 2024
    - 977 bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

    if [[ ${TARGET_OS} ]]; then
        # Target explicitly set
        :
    elif [[ $LOCAL_OS == Linux ]]; then
        TARGET_OS=linux
        readlink_flags="-f"
    elif [[ $LOCAL_OS == Darwin ]]; then
        TARGET_OS=darwin
        readlink_flags=""
    else
        echo "This system's OS, $LOCAL_OS, isn't supported"
        exit 1
    fi
    
    # Build image to use
    TOOLS_REGISTRY_PROVIDER=${TOOLS_REGISTRY_PROVIDER:-gcr.io}
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. istioctl/pkg/version/version.go

    	versionCmd.Flags().VisitAll(func(flag *pflag.Flag) {
    		if flag.Name == "short" {
    			err := flag.Value.Set("true")
    			if err != nil {
    				fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
    			}
    		}
    		if flag.Name == "remote" {
    			err := flag.Value.Set("true")
    			if err != nil {
    				fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. docs/debugging/pprofgoparser/main.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. cmd/net.go

    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    				ip = v.IP
    			case *net.IPAddr:
    				ip = v.IP
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top