Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 239 for stringVar (0.16 sec)

  1. src/internal/coverage/encodemeta/encodefile.go

    	"fmt"
    	"internal/coverage"
    	"internal/coverage/stringtab"
    	"io"
    	"os"
    	"unsafe"
    )
    
    // This package contains APIs and helpers for writing out a meta-data
    // file (composed of a file header, offsets/lengths, and then a series of
    // meta-data blobs emitted by the compiler, one per Go package).
    
    type CoverageMetaFileWriter struct {
    	stab   stringtab.Writer
    	mfname string
    	w      *bufio.Writer
    	tmp    []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/op_or_arg_name_mapper.h

    #define TENSORFLOW_COMPILER_MLIR_OP_OR_ARG_NAME_MAPPER_H_
    
    #include <string>
    
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/PointerUnion.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    
    namespace tensorflow {
    
    // PointerUnion for operation and value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. test/fixedbugs/issue24547.go

    	type deep struct {
    		mystruct
    	}
    	s := struct {
    		deep
    		*bytes.Buffer
    	}{
    		deep{},
    		bytes.NewBufferString("ok"),
    	}
    
    	if got := s.String(); got != "ok" {
    		panic(got)
    	}
    
    	var i fmt.Stringer = s
    	if got := i.String(); got != "ok" {
    		panic(got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 27 18:56:36 UTC 2018
    - 757 bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/kubelet/flags.go

    	flagOpts := kubeletFlagsOpts{
    		nodeRegOpts:              nodeReg,
    		pauseImage:               images.GetPauseImage(cfg),
    		registerTaintsUsingFlags: registerTaintsUsingFlags,
    	}
    	stringMap := buildKubeletArgs(flagOpts)
    	argList := kubeadmutil.ArgumentsToCommand(stringMap, nodeReg.KubeletExtraArgs)
    	envFileContent := fmt.Sprintf("%s=%q\n", constants.KubeletEnvFileVariableName, strings.Join(argList, " "))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode_string.go

    // Code generated by "stringer -type=ErrorCode"; DO NOT EDIT.
    
    package typesinternal
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[InvalidSyntaxTree - -1]
    	_ = x[Test-1]
    	_ = x[BlankPkgName-2]
    	_ = x[MismatchedPkgName-3]
    	_ = x[InvalidPkgUse-4]
    	_ = x[BadImportPath-5]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue11614.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that incorrect expressions involving wrong anonymous interface
    // do not generate panics in Type Stringer.
    // Does not compile.
    
    package main
    
    type I interface {
    	int // ERROR "interface contains embedded non-interface|embedding non-interface type int requires"
    }
    
    func n() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 753 bytes
    - Viewed (0)
  7. src/go/types/resolver_test.go

    		import "math"
    		const pi = math.Pi
    		func sin(x float64) float64 {
    			return math.Sin(x)
    		}
    		var Println = fmt.Println
    		`,
    		`
    		package p
    		import "fmt"
    		type errorStringer struct { fmt.Stringer; error }
    		func f() string {
    			_ = "foo"
    			return fmt.Sprintf("%d", g())
    		}
    		func g() (x int) { return }
    		`,
    		`
    		package p
    		import . "go/parser"
    		import "sync"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. test/fixedbugs/bug243.go

    // without involving a real network.
    type T chan int
    
    var global T
    
    func Listen(x, y string) (T, string) {
    	global = make(chan int)
    	return global, y
    }
    
    func (t T) Addr() error {
    	return errors.New("stringer")
    }
    
    func (t T) Accept() (int, string) {
    	return <-t, ""
    }
    
    func Dial(x, y, z string) (int, string) {
    	global <- 1
    	return 0, ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 893 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/device_target.h

    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/Hashing.h"
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/ErrorHandling.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/specialoperand_string.go

    // Code generated by "stringer -type SpecialOperand -trimprefix SPOP_"; DO NOT EDIT.
    
    package arm64
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[SPOP_PLDL1KEEP-0]
    	_ = x[SPOP_BEGIN-0]
    	_ = x[SPOP_PLDL1STRM-1]
    	_ = x[SPOP_PLDL2KEEP-2]
    	_ = x[SPOP_PLDL2STRM-3]
    	_ = x[SPOP_PLDL3KEEP-4]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 07:18:42 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top