Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for Garg (0.15 sec)

  1. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    		*OutputFile = fmt.Sprintf("%s.o", input)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate.go

    	if len(mgArgs.Components) != 0 {
    		filteredManifests := name.ManifestMap{}
    		for _, cArg := range mgArgs.Components {
    			componentName := name.ComponentName(cArg)
    			if cManifests, ok := manifests[componentName]; ok {
    				filteredManifests[componentName] = cManifests
    			} else {
    				return fmt.Errorf("incorrect component name: %s. Valid options: %v", cArg, name.AllComponentNames)
    			}
    		}
    		manifests = filteredManifests
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    			case scanner.Ident:
    				if !acceptArg {
    					in.Error("bad syntax in definition for macro:", name)
    				}
    				arg := in.Stack.Text()
    				if i := lookup(args, arg); i >= 0 {
    					in.Error("duplicate argument", arg, "in definition for macro:", name)
    				}
    				args = append(args, arg)
    				acceptArg = false
    			default:
    				in.Error("bad definition for macro:", name)
    			}
    		}
    	}
    	var tokens []Token
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    			// Otherwise ignored.
    			continue
    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/cmd/buildid/buildid.go

    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	file := flag.Arg(0)
    	id, err := buildid.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !*wflag {
    		fmt.Printf("%s\n", id)
    		return
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    	case sqlFnNullIf:
    		if len(e.SFunc.ArgsList) != 2 {
    			return qProp{err: fmt.Errorf("%s needs exactly 2 arguments", string(funcName))}
    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. cmd/ftp-server.go

    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  9. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&sb, "var _cgo%d %s = %s; ", i,
    				gofmtLine(ptype), gofmtPos(arg, origArg.Pos()))
    			continue
    		}
    
    		// Check for &a[i].
    		if p.checkIndex(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for &x.
    		if p.checkAddr(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    		// Check for a[:].
    		if p.checkSlice(&sb, &sbCheck, arg, i) {
    			continue
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. internal/s3select/sql/evaluate.go

    	if err2 != nil {
    		return nil, err2
    	}
    
    	result := part1 && part2
    	if e.Not {
    		result = !result
    	}
    
    	return FromBool(result), nil
    }
    
    func (e *Like) evalLikeNode(r Record, arg *Value, tableAlias string) (*Value, error) {
    	inferTypeAsString(arg)
    
    	s, ok := arg.ToString()
    	if !ok {
    		err := errLikeNonStrArg
    		return nil, errLikeInvalidInputs(err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top