Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for getPkg (0.88 sec)

  1. src/go/internal/gccgoimporter/parser.go

    		pkgpath = strings.Join(parts[0:len(parts)-1], ".")
    		name = parts[len(parts)-1]
    	}
    
    	return
    }
    
    // getPkg returns the package for a given path. If the package is
    // not found but we have a package name, create the package and
    // add it to the p.imports map.
    func (p *parser) getPkg(pkgpath, name string) *types.Package {
    	// package unsafe is not in the imports map - handle explicitly
    	if pkgpath == "unsafe" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/runtime/os_aix.go

    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    	r, _ := syscall0(&libc__Errno)
    	mp.perrno = r
    
    }
    
    func minit() {
    	miniterrno()
    	minitSignals()
    	getg().m.procid = uint64(pthread_self())
    }
    
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/runtime/os_openbsd.go

    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, can not allocate memory.
    func minit() {
    	getg().m.procid = uint64(getthrid())
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/vet.txt

    # Package with external tests
    ! go vet m/vetpkg
    stderr 'Printf'
    
    # With tags
    ! go vet -tags tagtest m/vetpkg
    stderr 'c\.go.*Printf'
    
    # With flags on
    ! go vet -printf m/vetpkg
    stderr 'Printf'
    
    # With flags off
    go vet -printf=false m/vetpkg
    ! stderr .
    
    # With only test files (tests issue #23395)
    go vet m/onlytest
    ! stderr .
    
    # With only cgo files (tests issue #24193)
    [!cgo] skip
    [short] skip
    go vet m/onlycgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 799 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc

          if (const QuantizedType qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
        return failure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc

          if (auto qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
        return failure();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/os_dragonfly.go

    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    	getg().m.procid = uint64(lwp_gettid())
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. src/runtime/os_darwin.go

    		minitSignalStack()
    	}
    	minitSignalMask()
    	getg().m.procid = uint64(pthread_self())
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	// iOS does not support alternate signal stack.
    	// See minit.
    	if !(GOOS == "ios" && GOARCH == "arm64") {
    		unminitSignals()
    	}
    	getg().m.procid = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        if (preceding_cast.getArg().getDefiningOp()) {
          auto redundant_cast = preceding_cast.getArg().getDefiningOp<CastOp>();
          if (!redundant_cast || redundant_cast.getArg().getType() !=
                                     preceding_cast.getOut().getType()) {
            return failure();
          }
          raw_data_op.getOutput().replaceAllUsesWith(redundant_cast.getArg());
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    /// The quantization specification should match the expressed type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top