Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for null_type (0.23 sec)

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

    				"self.m.size() == 2",
    				"'a' in self.m",
    				"type(self.m['a']) == null_type", // null check using runtime type checking
    				//"self.m['a'] == null",
    
    				"self.l.size() == 2",
    				"type(self.l[0]) == null_type",
    				//"self.l[0] == null",
    
    				"self.s.size() == 2",
    				"type(self.s[0]) == null_type",
    				//"self.s[0] == null",
    			},
    			errors: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation_test.go

    					Key:             "something",
    					ValueExpression: "true",
    				}},
    			},
    		},
    		expectedError: `spec.auditAnnotations[0].valueExpression: Invalid value: "true": must evaluate to one of [string null_type]`,
    	}, {
    		name: "invalid auditAnnotations valueExpression",
    		config: &admissionregistration.ValidatingAdmissionPolicy{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "config",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      auto tail_type = mlir::dyn_cast<ShapedType>(type1);
      auto full_type = mlir::dyn_cast<ShapedType>(type2);
      if (!tail_type || !full_type || !tail_type.hasRank() ||
          !full_type.hasRank() || tail_type.getRank() > full_type.getRank())
        return false;
      auto i1 = tail_type.getShape().rbegin(), e1 = tail_type.getShape().rend();
      auto i2 = full_type.getShape().rbegin();
      return std::equal(i1, e1, i2);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      FullTypeDef full_type;
      full_type.ParseFromArray(full_type_proto->data, full_type_proto->length);
      *op->node.mutable_def()->mutable_experimental_type() = full_type;
      RecordMutation(graph, *op, "setting fulltype");
    }
    
    void TF_SetRequestedDevice(TF_Graph* graph, TF_Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. src/database/sql/sql_test.go

    		t.Errorf("error = %q; want %q", err, want)
    	}
    }
    
    type nullTestRow struct {
    	nullParam    any
    	notNullParam any
    	scanNullVal  any
    }
    
    type nullTestSpec struct {
    	nullType    string
    	notNullType string
    	rows        [6]nullTestRow
    }
    
    func TestNullStringParam(t *testing.T) {
    	spec := nullTestSpec{"nullstring", "string", [6]nullTestRow{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top