Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for nameVal (0.67 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. src/internal/types/testdata/fixedbugs/issue62157.go

    	f(a, A, b /* ERROR "cannot use b (variable of type chan<- int) as namedA value in argument to f" */)
    	f(b /* ERROR "cannot use b (variable of type chan<- int) as namedA value in argument to f" */, A, a)
    	f(b /* ERROR "cannot use b (variable of type chan<- int) as namedA value in argument to f" */, a, A)
    	f(A, a, b /* ERROR "cannot use b (variable of type chan<- int) as namedA value in argument to f" */)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 23:22:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/internal/src/xpos.go

    		t.baseList = append(t.baseList, nil)
    		t.indexMap = make(map[*PosBase]int)
    		t.nameMap = make(map[string]int)
    	}
    
    	i := len(t.baseList)
    	t.indexMap[base] = i
    	t.baseList = append(t.baseList, base)
    
    	fileIndex, ok := t.nameMap[base.absFilename]
    	if !ok {
    		fileIndex = len(t.nameMap)
    		t.nameMap[base.absFilename] = fileIndex
    	}
    	base.fileIndex = fileIndex
    
    	return int32(i)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    tion(a,b){return this.insert(a,b,"right")},insertLeft:function(a,b){return this.insert(a,b,"left")},numberFormat:function(a,c){if(0===a.length)return a;if(!("numeral"in b))throw new ReferenceError('Using sanitation function "numberFormat" requires that you include numeral.js (http://numeraljs.com/)');return a=numeral().unformat(a),a=numeral(a).format(c.attr("data-sanitize-number-format"))},strip:function(b,c){var d=c.attr("data-sanitize-strip")||"";return a.split(d,function(c){var d=new RegExp(a...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/scope_internal.h

    class Scope::Impl {
     public:
      // A NameMap is used to keep track of suffixes for names used in a scope. A
      // name that has not been used so far in a scope will get no suffix. Later
      // uses of the same name will get suffixes _1, _2, _3, etc. Multiple scopes
      // can share the same NameMap. For instance, a new scope created using
      // WithControlDependencies() would share the same NameMap with the parent.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunction.ir.txt

          VALUE_PARAMETER name:a index:0 type:kotlin.Int
          VALUE_PARAMETER name:b index:1 type:kotlin.String
        FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
          BLOCK_BODY
            FUN LOCAL_FUNCTION name:call visibility:local modality:FINAL <> (a:kotlin.Int, b:kotlin.String) returnType:kotlin.Unit
              VALUE_PARAMETER name:a index:0 type:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/decompose.go

    	}
    	panic("too many fields in an SSAable struct")
    }
    
    type namedVal struct {
    	locIndex, valIndex int // f.NamedValues[f.Names[locIndex]][valIndex] = key
    }
    
    // deleteNamedVals removes particular values with debugger names from f's naming data structures,
    // removes all values with OpInvalid, and re-sorts the list of Names.
    func deleteNamedVals(f *Func, toDelete []namedVal) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionMultipleCapturing.ir.txt

            BLOCK_BODY
              VAR name:x type:kotlin.Int [var]
              FUN LOCAL_FUNCTION name:call visibility:local modality:FINAL <> (a:kotlin.Int) returnType:kotlin.Unit
                VALUE_PARAMETER name:a index:0 type:kotlin.Int
                BLOCK_BODY
                  CALL 'public final fun consume (obj: kotlin.Any): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top