Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for stringVar (0.29 sec)

  1. src/runtime/traceevent.go

    func (tl traceLocker) string(s string) traceArg {
    	return traceArg(trace.stringTab[tl.gen%2].put(tl.gen, s))
    }
    
    // uniqueString returns a traceArg representing s which may be passed to write.
    // The string is assumed to be unique or long, so it will be written out to
    // the trace eagerly.
    func (tl traceLocker) uniqueString(s string) traceArg {
    	return traceArg(trace.stringTab[tl.gen%2].emit(tl.gen, s))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/output/output.go

    func (pf *PrintFlags) AddFlags(cmd *cobra.Command) {
    	pf.JSONYamlPrintFlags.AddFlags(cmd)
    	pf.KubeTemplatePrintFlags.AddFlags(cmd)
    	cmd.Flags().StringVarP(pf.OutputFormat, "output", "o", *pf.OutputFormat, fmt.Sprintf("Output format. One of: %s.", strings.Join(pf.AllowedFormats(), "|")))
    	cmd.Flags().StringVarP(pf.OutputFormat, "experimental-output", "", *pf.OutputFormat, fmt.Sprintf("Output format. One of: %s.", strings.Join(pf.AllowedFormats(), "|")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    ==============================================================================*/
    #include <memory>
    #include <utility>
    
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Block.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/go/constant/example_test.go

    		if constant.Compare(a, token.LSS, b) {
    			return -1
    		}
    		if constant.Compare(a, token.GTR, b) {
    			return +1
    		}
    		return 0
    	})
    
    	for _, v := range vs {
    		fmt.Println(constant.StringVal(v))
    	}
    
    	// Output:
    	//
    	// Frame
    	// Z
    	// a
    	// bacon
    	// defer
    	// go
    }
    
    func ExampleSign() {
    	zero := constant.MakeInt64(0)
    	one := constant.MakeInt64(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/pprof/label.go

    // This is an initial implementation, but it will be replaced with something
    // that admits incremental immutable modification more efficiently.
    type labelMap map[string]string
    
    // String satisfies Stringer and returns key, value pairs in a consistent
    // order.
    func (l *labelMap) String() string {
    	if l == nil {
    		return ""
    	}
    	keyVals := make([]string, 0, len(*l))
    
    	for k, v := range *l {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <vector>
    
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Block.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/go/types/eval_test.go

    package p
    
    import "fmt"
    
    const c = 3.0
    type T []int
    type S struct{ X int }
    
    func f(a int, s string) S {
    	/* fmt.Println => func fmt.Println(a ...any) (n int, err error) */
    	/* fmt.Stringer.String => func (fmt.Stringer).String() string */
    	fmt.Println("calling f")
    
    	var fmt struct{ Println int }
    	/* fmt => var fmt struct{Println int} */
    	/* fmt.Println => field Println int */
    	/* f(1, "").X => field X int */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/test/framework/components/cluster/cluster.go

    //  limitations under the License.
    
    package cluster
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/kube"
    )
    
    // Cluster in a multicluster environment.
    type Cluster interface {
    	fmt.Stringer
    	kube.CLIClient
    
    	// Name of this cluster. Use for interacting with the cluster or validation against clusters.
    	// Use StableName instead of Name when creating subtests.
    	Name() string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. internal/grid/debug.go

    package grid
    
    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/authz.go

    			if err != nil {
    				return err
    			}
    			analyzer.Print(cmd.OutOrStdout())
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	cmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    		"The json file with Envoy config dump to be checked")
    	return cmd
    }
    
    func getConfigDumpFromFile(filename string) (*configdump.Wrapper, error) {
    	file, err := os.Open(filename)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top