Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 162 for stringVar (0.76 sec)

  1. pkg/test/framework/components/istio/config.go

    			return nil, fmt.Errorf("failed parsing config options: %s", options)
    		}
    		out[strings.TrimSpace(parts[0])] = strings.TrimSpace(parts[1])
    	}
    	return out, nil
    }
    
    // String implements fmt.Stringer
    func (c *Config) String() string {
    	result := ""
    
    	result += fmt.Sprintf("SystemNamespace:                %s\n", c.SystemNamespace)
    	result += fmt.Sprintf("TelemetryNamespace:             %s\n", c.TelemetryNamespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec.go

    func rewriteValuedec_OpStringPtr(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (StringPtr (StringMake ptr _))
    	// result: ptr
    	for {
    		if v_0.Op != OpStringMake {
    			break
    		}
    		ptr := v_0.Args[0]
    		v.copyOf(ptr)
    		return true
    	}
    	// match: (StringPtr x:(Load <t> ptr mem))
    	// cond: t.IsString()
    	// result: @x.Block (Load <typ.BytePtr> ptr mem)
    	for {
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. src/go/constant/value_test.go

    			n := int64(0)
    			for i := 0; i < b.N; i++ {
    				x := MakeString(strings.Repeat("x", 100))
    				y := x
    				for j := 0; j < size-1; j++ {
    					y = BinaryOp(y, token.ADD, x)
    				}
    				n += int64(len(StringVal(y)))
    			}
    			if n != int64(b.N)*int64(size)*100 {
    				b.Fatalf("bad string %d != %d", n, int64(b.N)*int64(size)*100)
    			}
    		})
    	}
    }
    
    var bitLenTests = []struct {
    	val  int64
    	want int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/builtin.go

    	// Collapse runs of constant strings.
    	s := nn.Args
    	t := make([]ir.Node, 0, len(s))
    	for i := 0; i < len(s); {
    		var strs []string
    		for i < len(s) && ir.IsConst(s[i], constant.String) {
    			strs = append(strs, ir.StringVal(s[i]))
    			i++
    		}
    		if len(strs) > 0 {
    			t = append(t, ir.NewString(base.Pos, strings.Join(strs, "")))
    		}
    		if i < len(s) {
    			t = append(t, s[i])
    			i++
    		}
    	}
    	nn.Args = t
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/a.out.go

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package ppc64
    
    import "cmd/internal/obj"
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p ppc64
    
    /*
     * powerpc 64
     */
    const (
    	NSNAME = 8
    	NSYM   = 50
    	NREG   = 32 /* number of general registers */
    	NFREG  = 32 /* number of floating point registers */
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    }
    `
    		csrc = `
    package c
    
    import (
    	"a"
    	"fmt"
    	"html/template"
    )
    
    // go.dev/issue/46905: make sure template is not the first package qualified.
    var _ fmt.Stringer = 1 // ERRORx "cannot use 1.*as fmt\\.Stringer"
    
    // Packages should be fully qualified when there is ambiguity in reachable
    // packages. In this case both a (and for that matter html/template) import
    // text/template.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val header: String? = request.header("")
        val headersForName: List<String> = request.headers("")
        val body: RequestBody? = request.body
        var stringTag: String? = request.tag(String::class)
        stringTag = request.tag<String>()
        var tag: Any? = request.tag()
        tag = request.tag(Any::class.java)
        val builder: Request.Builder = request.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. pkg/kube/inject/webhook_test.go

    func splitYamlBytes(yaml []byte, t *testing.T) [][]byte {
    	t.Helper()
    	stringParts := strings.Split(string(yaml), yamlSeparator)
    	byteParts := make([][]byte, 0)
    	for _, stringPart := range stringParts {
    		byteParts = append(byteParts, getInjectableYamlDocs(stringPart, t)...)
    	}
    	if len(byteParts) == 0 {
    		t.Fatalf("Found no injectable parts")
    	}
    	return byteParts
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  9. internal/bucket/lifecycle/lifecycle.go

    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	}
    	ctx, span := tracing.Start(ctx, "Call mutating webhook",
    		attribute.String("configuration", configurationName),
    		attribute.String("webhook", h.Name),
    		attribute.Stringer("resource", attr.GetResource()),
    		attribute.String("subresource", attr.GetSubresource()),
    		attribute.String("operation", string(attr.GetOperation())),
    		attribute.String("UID", string(uid)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top