Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 162 for stringVar (0.16 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    					},
    				},
    			},
    			Out: &CustomResourceDefinition{},
    			ExpectOut: &CustomResourceDefinition{
    				Spec: CustomResourceDefinitionSpec{
    					Conversion: &CustomResourceConversion{
    						Webhook: &WebhookConversion{
    							ClientConfig: &WebhookClientConfig{URL: pointer.StringPtr("http://example.com")},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RequestTest.kt

      fun multipleTags() {
        val uuidTag = UUID.randomUUID()
        val stringTag = "dilophosaurus"
        val longTag = 20170815L as Long?
        val objectTag = Any()
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(Any::class.java, objectTag)
            .tag(UUID::class.java, uuidTag)
            .tag(String::class.java, stringTag)
            .tag(Long::class.javaObjectType, longTag)
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h"
    
    #include <cstdint>
    #include <cstring>
    #include <memory>
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/Twine.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/IR/Operation.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/helpers_test.go

    }
    
    //lint:file-ignore U1000 Ignore dummy types, used by tests.
    
    // dummy helper types
    type foo struct {
    	foo int
    }
    type bar struct {
    	str    string
    	strptr *string
    
    	ints      []int
    	stringMap map[string]string
    
    	foo    foo
    	fooptr *foo
    
    	bars   []foo
    	barMap map[string]foo
    
    	skipRecurseStruct  foo
    	skipRecursePointer *foo
    	skipRecurseList1   []foo
    	skipRecurseList2   []foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/syscall/js/js.go

    	case string:
    		return makeValue(stringVal(x))
    	case []any:
    		a := arrayConstructor.New(len(x))
    		for i, s := range x {
    			a.SetIndex(i, s)
    		}
    		return a
    	case map[string]any:
    		o := objectConstructor.New()
    		for k, v := range x {
    			o.Set(k, v)
    		}
    		return o
    	default:
    		panic("ValueOf: invalid value")
    	}
    }
    
    // stringVal copies string x to Javascript and returns a ref.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. src/fmt/print.go

    type Formatter interface {
    	Format(f State, verb rune)
    }
    
    // Stringer is implemented by any value that has a String method,
    // which defines the “native” format for that value.
    // The String method is used to print values passed as an operand
    // to any format that accepts a string or to an unformatted printer
    // such as [Print].
    type Stringer interface {
    	String() string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // constant.
    func stringConstantExpr(pass *analysis.Pass, expr ast.Expr) (string, bool) {
    	lit := pass.TypesInfo.Types[expr].Value
    	if lit != nil && lit.Kind() == constant.String {
    		return constant.StringVal(lit), true
    	}
    	return "", false
    }
    
    // checkCall triggers the print-specific checks if the call invokes a print function.
    func checkCall(pass *analysis.Pass) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    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[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/switch.go

    		sort.Slice(cc, func(i, j int) bool {
    			si := ir.StringVal(cc[i].lo)
    			sj := ir.StringVal(cc[j].lo)
    			if len(si) != len(sj) {
    				return len(si) < len(sj)
    			}
    			return si < sj
    		})
    
    		// runLen returns the string length associated with a
    		// particular run of exprClauses.
    		runLen := func(run []exprClause) int64 { return int64(len(ir.StringVal(run[0].lo))) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top