Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 162 for stringVar (0.58 sec)

  1. operator/cmd/mesh/install.go

    	cmd.PersistentFlags().StringArrayVarP(&args.Set, "set", "s", nil, setFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&args.ManifestsPath, "charts", "", "", ChartsDeprecatedStr)
    	cmd.PersistentFlags().StringVarP(&args.ManifestsPath, "manifests", "d", "", ManifestsFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&args.Revision, "revision", "r", "", revisionFlagHelpStr)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/encoding/json/encode_test.go

    	}
    }
    
    type StringTag struct {
    	BoolStr    bool    `json:",string"`
    	IntStr     int64   `json:",string"`
    	UintptrStr uintptr `json:",string"`
    	StrStr     string  `json:",string"`
    	NumberStr  Number  `json:",string"`
    }
    
    func TestRoundtripStringTag(t *testing.T) {
    	tests := []struct {
    		CaseName
    		in   StringTag
    		want string // empty to just test that we roundtrip
    	}{{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto.go

    // and returns the index of s in the string table.
    func (b *profileBuilder) stringIndex(s string) int64 {
    	id, ok := b.stringMap[s]
    	if !ok {
    		id = len(b.strings)
    		b.strings = append(b.strings, s)
    		b.stringMap[s] = id
    	}
    	return int64(id)
    }
    
    func (b *profileBuilder) flush() {
    	const dataFlush = 4096
    	if b.pb.nest == 0 && len(b.pb.data) > dataFlush {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	// together. If they are, we want to find out immediately.
    	lockInit(&trace.stringTab[0].lock, lockRankTraceStrings)
    	lockInit(&trace.stringTab[0].tab.mem.lock, lockRankTraceStrings)
    	lockInit(&trace.stringTab[1].lock, lockRankTraceStrings)
    	lockInit(&trace.stringTab[1].tab.mem.lock, lockRankTraceStrings)
    	lockInit(&trace.stackTab[0].tab.mem.lock, lockRankTraceStackTab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. src/debug/dwarf/const.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Constants
    
    package dwarf
    
    //go:generate stringer -type Attr -trimprefix=Attr
    
    // An Attr identifies the attribute type in a DWARF [Entry.Field].
    type Attr uint32
    
    const (
    	AttrSibling        Attr = 0x01
    	AttrLocation       Attr = 0x02
    	AttrName           Attr = 0x03
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. Makefile

    	@echo "Installing msgp" && go install -v github.com/tinylib/msgp@v1.1.10-0.20240227114326-6d6f813fff1b
    	@echo "Installing stringer" && go install -v golang.org/x/tools/cmd/stringer@latest
    
    crosscompile: ## cross compile minio
    	@(env bash $(PWD)/buildscripts/cross-compile.sh)
    
    verifiers: lint check-gen
    
    check-gen: ## check for updated autogenerated files
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/runtime/tracestack.go

    	fn := f.Function
    	const maxLen = 1 << 10
    	if len(fn) > maxLen {
    		fn = fn[len(fn)-maxLen:]
    	}
    	frame.funcID = trace.stringTab[gen%2].put(gen, fn)
    	frame.line = uint64(f.Line)
    	file := f.File
    	if len(file) > maxLen {
    		file = file[len(file)-maxLen:]
    	}
    	frame.fileID = trace.stringTab[gen%2].put(gen, file)
    	return frame
    }
    
    // tracefpunwindoff returns true if frame pointer unwinding for the tracer is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/index.go

    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    			// (not a constant) even if the string and the
    			// index are constant
    			x.mode = value
    			x.typ = universeByte // use 'byte' name
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. src/go/types/index.go

    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    			// (not a constant) even if the string and the
    			// index are constant
    			x.mode = value
    			x.typ = universeByte // use 'byte' name
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    		types.CheckSize(n.Heapaddr.Type())
    	}
    	if ir.IsConst(n, constant.String) {
    		// Emit string symbol now to avoid emitting
    		// any concurrently during the backend.
    		_ = staticdata.StringSym(n.Pos(), constant.StringVal(n.Val()))
    	}
    
    	if base.Flag.LowerW != 0 && n != nil {
    		ir.Dump("after walk expr", n)
    	}
    
    	base.Pos = lno
    	return n
    }
    
    func walkExpr1(n ir.Node, init *ir.Nodes) ir.Node {
    	switch n.Op() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top