Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 162 for stringVar (0.15 sec)

  1. src/cmd/vet/vet_test.go

    		cmd.Env = append(os.Environ(), "GOWORK=off")
    		cmd.Dir = "testdata/rangeloop"
    		cmd.Stderr = new(strings.Builder) // all vet output goes to stderr
    		cmd.Run()
    		stderr := cmd.Stderr.(fmt.Stringer).String()
    
    		filename := filepath.FromSlash("testdata/rangeloop/rangeloop.go")
    
    		// Unlike the tests above, which runs vet in cmd/vet/, this one
    		// runs it in subdirectory, so the "full names" in the output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    							const v = this._values[id];
    							this._values[id] = null;
    							this._ids.delete(v);
    							this._idPool.push(id);
    						}
    					},
    
    					// func stringVal(value string) ref
    					"syscall/js.stringVal": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, loadString(sp + 8));
    					},
    
    					// func valueGet(v ref, p string) ref
    					"syscall/js.valueGet": (sp) => {
    						sp >>>= 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    		fmt.Sprintf("The severity level of precheck at which to display messages. Valid values: %v", diag.GetAllLevelStrings()))
    	cmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat,
    		fmt.Sprintf("Output format: one of %v", formatting.MsgOutputFormatKeys))
    	cmd.PersistentFlags().StringVarP(&fromCompatibilityVersion, "from-version", "f", "",
    		"check changes since the provided version")
    	opts.AttachControlPlaneFlags(cmd)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/runtime/trace.go

    		trace.markWorkerLabels[gen%2][i] = traceArg(trace.stringTab[gen%2].put(gen, label))
    	}
    	for i, str := range traceBlockReasonStrings[:] {
    		trace.goBlockReasons[gen%2][i] = traceArg(trace.stringTab[gen%2].put(gen, str))
    	}
    	for i, str := range traceGoStopReasonStrings[:] {
    		trace.goStopReasons[gen%2][i] = traceArg(trace.stringTab[gen%2].put(gen, str))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CookieTest.kt

            "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure;         ; SameSite=Lax",
          )
        for (stringA in cookieStrings) {
          val cookieA = parseCookie(0, url, stringA!!)
          for (stringB in cookieStrings) {
            val cookieB = parseCookie(0, url, stringB!!)
            if (stringA == stringB) {
              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. src/html/template/js.go

    		switch t := a.(type) {
    		case JS:
    			return string(t)
    		case JSStr:
    			// TODO: normalize quotes.
    			return `"` + string(t) + `"`
    		case json.Marshaler:
    			// Do not treat as a Stringer.
    		case fmt.Stringer:
    			a = t.String()
    		}
    	} else {
    		for i, arg := range args {
    			args[i] = indirectToJSONMarshaler(arg)
    		}
    		a = fmt.Sprint(args...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

        return errors::InvalidArgument(absl::StrCat(
            "Length of input node array and data shape doesn't match (#arrays ",
            node_names.size(), ", #input_shapes ", node_shapes.size(), ")"));
      }
    
      // StringMap doesn't support reserve else reserve input map size here.
      for (int i = 0, end = node_names.size(); i < end; i++) {
        auto& name = node_names[i];
        const string& type = used_node_dtypes[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/context/context.go

    	go func() {
    		select {
    		case <-parent.Done():
    			child.cancel(false, parent.Err(), Cause(parent))
    		case <-child.Done():
    		}
    	}()
    }
    
    type stringer interface {
    	String() string
    }
    
    func contextName(c Context) string {
    	if s, ok := c.(stringer); ok {
    		return s.String()
    	}
    	return reflectlite.TypeOf(c).String()
    }
    
    func (c *cancelCtx) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/a.out.go

    )
    
    const (
    	C_XPRE  = 1 << 6 // match arm.C_WBIT, so Prog.String know how to print it
    	C_XPOST = 1 << 5 // match arm.C_PBIT, so Prog.String know how to print it
    )
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p arm64
    
    const (
    	AADC = obj.ABaseARM64 + obj.A_ARCHSPECIFIC + iota
    	AADCS
    	AADCSW
    	AADCW
    	AADD
    	AADDS
    	AADDSW
    	AADDW
    	AADR
    	AADRP
    	AAESD
    	AAESE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/types.go

    		celType:           celType,
    		defaultValue:      zeroVal,
    		MinSerializedSize: minSize,
    	}
    }
    
    // DeclType represents the universal type descriptor for OpenAPIv3 types.
    type DeclType struct {
    	fmt.Stringer
    
    	name string
    	// Fields contains a map of escaped CEL identifier field names to field declarations.
    	Fields      map[string]*DeclField
    	KeyType     *DeclType
    	ElemType    *DeclType
    	TypeParam   bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top