Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for strPtr (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation_test.go

    						Generic: schema.Generic{
    							Type: "array",
    						},
    						Extensions: schema.Extensions{
    							XListType: strPtr("set"),
    						},
    						Items: &schema.Structural{
    							Generic: schema.Generic{
    								Type: "array",
    							},
    							Extensions: schema.Extensions{
    								XListType: strPtr("set"),
    							},
    						},
    					},
    				},
    			},
    			errors: []validationMatch{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go

    			name:           "empty",
    			createFile:     true,
    			contents:       ``,
    			expectedResult: nil,
    			expectedError:  strptr("invalid service configuration object \"\""),
    		},
    		{
    			name:           "absent",
    			createFile:     false,
    			contents:       ``,
    			expectedResult: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    			group:              "sigs.k8s.io",
    			annotationValue:    "invalid",
    			oldAnnotationValue: strPtr("invalid"),
    			validateError:      okFn,
    		},
    		{
    			name:               "invalid annotation to missing",
    			group:              "sigs.k8s.io",
    			annotationValue:    "",
    			oldAnnotationValue: strPtr("invalid"),
    			validateError: func(t *testing.T, errors field.ErrorList) {
    				t.Helper()
    				if len(errors) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    			};
    
    			const argc = this.argv.length;
    
    			const argvPtrs = [];
    			this.argv.forEach((arg) => {
    				argvPtrs.push(strPtr(arg));
    			});
    			argvPtrs.push(0);
    
    			const keys = Object.keys(this.env).sort();
    			keys.forEach((key) => {
    				argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
    			});
    			argvPtrs.push(0);
    
    			const argv = offset;
    			argvPtrs.forEach((ptr) => {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/helpers_test.go

    	}
    	return paths
    }
    
    //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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. pkg/apis/certificates/v1beta1/defaults_test.go

    				Usages:     kubeletServerUsages,
    				SignerName: strPtr("example.com/not-kubelet-serving"),
    			},
    			expectedSignerName: "example.com/not-kubelet-serving",
    		},
    		"defaults usages if not set": {
    			csr: capi.CertificateSigningRequestSpec{
    				Request:    csrWithOpts(kubeletServerPEMOptions),
    				SignerName: strPtr("example.com/test"),
    			},
    			expectedSignerName: "example.com/test",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -# define strstr(haystack, needle) \
    -  (__extension__ (__builtin_constant_p (needle) && __string2_1bptr_p (needle) \
    -		  ? (((const char *) (needle))[0] == '\0'		      \
    -		     ? (char *) (size_t) (haystack)			      \
    -		     : (((const char *) (needle))[1] == '\0'		      \
    -			? strchr (haystack,				      \
    -				  ((const char *) (needle))[0]) 	      \
    -			: strstr (haystack, needle)))			      \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        I64Attr:$num_args,
        StrAttr:$device,
        ArrayAttr:$op_attrs,
        // TODO(b/173025975): consider using DictionaryAttr after we support
        // BEF conversion for this type.
        ArrayAttr:$op_func_attrs,
        I64Attr:$op_key,
        StrAttr:$op_name
      );
    
      let results = (outs
        TFRT_ChainType:$out_ch
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ConstOp: TensorflowMlrt_Op<"constop", []> {
      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
        The ConstOp creates a constant tensorflow::Tensor from serialized proto.
      }];
    
      let arguments = (ins
        StrAttr:$tensor_proto
      );
    
      let results = (outs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      let summary = "Send a value to a host.";
    
      let description = [{
        Send the value to the given host with the given rendezvous key.
      }];
    
      let arguments = (ins
        AnyType:$value,
        StrAttr:$key,
        StrAttr:$dst_host
      );
    
      let results = (outs);
    
      let assemblyFormat = [{$value $key $dst_host attr-dict `:` type($value)}];
    }
    
    def TfDevice_ReceiveOp : TfDevice_Op<"receive", []> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top