Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nameVal (0.24 sec)

  1. src/database/sql/fakedb_test.go

    	for n, colspec := range strings.Split(parts[2], ",") {
    		if colspec == "" {
    			continue
    		}
    		nameVal := strings.Split(colspec, "=")
    		if len(nameVal) != 2 {
    			stmt.Close()
    			return nil, errf("SELECT on table %q has invalid column spec of %q (index %d)", stmt.table, colspec, n)
    		}
    		column, value := nameVal[0], nameVal[1]
    		_, ok := c.db.columnType(stmt.table, column)
    		if !ok {
    			stmt.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    			return field
    		}
    	case reflect.Map:
    		// If it's a map, attempt to use the field name as a key.
    		nameVal := reflect.ValueOf(fieldName)
    		if nameVal.Type().AssignableTo(receiver.Type().Key()) {
    			if hasArgs {
    				s.errorf("%s is not a method but has arguments", fieldName)
    			}
    			result := receiver.MapIndex(nameVal)
    			if !result.IsValid() {
    				switch s.tmpl.option.missingKey {
    				case mapInvalid:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/scope.cc

      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
                            /* disable_shape_inference */ false));
    }
    
    Scope Scope::DisabledShapeInferenceScope() {
      Graph* graph = new Graph(OpRegistry::Global());
      ShapeRefiner* refiner =
          new ShapeRefiner(graph->versions(), graph->op_registry());
      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pilot/pkg/model/gateway.go

    }
    
    var (
    	typeTag = monitoring.CreateLabel("type")
    	nameTag = monitoring.CreateLabel("name")
    
    	totalRejectedConfigs = monitoring.NewSum(
    		"pilot_total_rejected_configs",
    		"Total number of configs that Pilot had to reject or ignore.",
    	)
    )
    
    func RecordRejectedConfig(gatewayName string) {
    	totalRejectedConfigs.With(typeTag.Value("gateway"), nameTag.Value(gatewayName)).Increment()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/flowcontrol/v1/types.go

    package v1
    
    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    // These are valid wildcards.
    const (
    	APIGroupAll    = "*"
    	ResourceAll    = "*"
    	VerbAll        = "*"
    	NonResourceAll = "*"
    	NameAll        = "*"
    
    	NamespaceEvery = "*" // matches every particular namespace
    )
    
    // System preset priority level names
    const (
    	PriorityLevelConfigurationNameExempt   = "exempt"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top