Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 716 for addDep (0.13 sec)

  1. src/database/sql/sql.go

    			// with releaseConn.
    			rows = &Rows{
    				dc:    dc,
    				rowsi: rowsi,
    				// releaseConn set below
    			}
    			// addDep must be added before initContextClose or it could attempt
    			// to removeDep before it has been added.
    			s.db.addDep(s, rows)
    
    			// releaseConn must be set before initContextClose or it could
    			// release the connection before it is set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/resolver.go

    // expression or function body.
    func (d *declInfo) hasInitializer() bool {
    	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
    }
    
    // addDep adds obj to the set of objects d's init expression depends on.
    func (d *declInfo) addDep(obj Object) {
    	m := d.deps
    	if m == nil {
    		m = make(map[Object]bool)
    		d.deps = m
    	}
    	m[obj] = true
    }
    
    // arity checks that the lhs and rhs of a const or var decl
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/go/types/resolver.go

    // expression or function body.
    func (d *declInfo) hasInitializer() bool {
    	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
    }
    
    // addDep adds obj to the set of objects d's init expression depends on.
    func (d *declInfo) addDep(obj Object) {
    	m := d.deps
    	if m == nil {
    		m = make(map[Object]bool)
    		d.deps = m
    	}
    	m[obj] = true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/go/types/check.go

    	from := check.decl
    	if from == nil {
    		return // not in a package-level init expression
    	}
    	if _, found := check.objMap[to]; !found {
    		return // to is not a package-level object
    	}
    	from.addDep(to)
    }
    
    // Note: The following three alias-related functions are only used
    //       when Alias types are not enabled.
    
    // brokenAlias records that alias doesn't have a determined type yet.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check.go

    	from := check.decl
    	if from == nil {
    		return // not in a package-level init expression
    	}
    	if _, found := check.objMap[to]; !found {
    		return // to is not a package-level object
    	}
    	from.addDep(to)
    }
    
    // Note: The following three alias-related functions are only used
    //       when Alias types are not enabled.
    
    // brokenAlias records that alias doesn't have a determined type yet.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump

    // AddRef<T>::type is T if T is a reference; otherwise it's T&.  This
    // is the same as tr1::add_reference<T>::type.
    template <typename T>
    struct AddRef { typedef T& type; };  // NOLINT
    template <typename T>
    struct AddRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for AddRef.
    #define GTEST_ADD_REF_(T) typename ::std::tr1::gtest_internal::AddRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      auto add_op =
          rewriter.create<stablehlo::AddOp>(erf_op.getLoc(), erf_op, one_cst);
      auto lhs_mul_op = rewriter.create<stablehlo::MulOp>(
          half_cst.getLoc(), new_func.getArguments()[0], half_cst);
      auto output_mul_op = rewriter.create<stablehlo::MulOp>(lhs_mul_op.getLoc(),
                                                             lhs_mul_op, add_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        if (fuse_bias_constant) {
          Operation* add_op = FindUserOfType<stablehlo::AddOp>(op);
          if (add_op == nullptr) {
            LLVM_DEBUG(llvm::dbgs() << "Failed to find AddOp for bias fusion.\n");
            return failure();
          }
          Operation* bias_const_op = GetBiasConstOp(add_op);
          if (bias_const_op == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

        }
        if (output_arg.is_ref()) {
          // For all types that were added by this function call, make them refs.
          for (Type& type : llvm::make_range(&state_->types[original_size],
                                             state_->types.end())) {
            Type output_type;
            TF_RETURN_IF_ERROR(AddRef(type, &output_type));
            type = output_type;
          }
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader_test.go

    		t.Errorf("SymAlign(es3): expected 128, got %d", es3al)
    	}
    
    	// Add some relocations to the new symbols.
    	r1, _ := sb1.AddRel(objabi.R_ADDR)
    	r1.SetOff(0)
    	r1.SetSiz(1)
    	r1.SetSym(ts1)
    	r2, _ := sb1.AddRel(objabi.R_CALL)
    	r2.SetOff(3)
    	r2.SetSiz(8)
    	r2.SetSym(ts2)
    	r3, _ := sb2.AddRel(objabi.R_USETYPE)
    	r3.SetOff(7)
    	r3.SetSiz(1)
    	r3.SetSym(ts3)
    
    	// Add some data to the symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top